@opencode/core 0.0.0-dev-787 → 0.0.0-dev-791

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 (562) hide show
  1. package/dist/agent.js +71 -71
  2. package/dist/aisdk-native.js +72 -72
  3. package/dist/aisdk.js +77 -77
  4. package/dist/app.js +9 -9
  5. package/dist/artifact.js +194 -194
  6. package/dist/bus.js +60 -60
  7. package/dist/chunks/{form-whb2nay0.js → form-01rpw1qv.js} +22 -22
  8. package/dist/chunks/{form-r0j6xsz8.js → form-05d441b2.js} +22 -22
  9. package/dist/chunks/{form-3bgf9gas.js → form-0c7bpw4e.js} +3 -3
  10. package/dist/chunks/{form-4m2hvhqe.js → form-0pzjnp4k.js} +4 -4
  11. package/dist/chunks/{form-w81j1vy6.js → form-10c0p7z3.js} +7 -7
  12. package/dist/chunks/{form-w557k37g.js → form-139nhzzp.js} +26 -26
  13. package/dist/chunks/{form-2swc61r8.js → form-19b2ztj7.js} +8 -8
  14. package/dist/chunks/{form-zmgx6wkw.js → form-19v0kb1w.js} +7 -7
  15. package/dist/chunks/{form-afm6xdv3.js → form-1d86nf37.js} +1 -1
  16. package/dist/chunks/{form-d91gx192.js → form-1p6cc7cx.js} +15 -15
  17. package/dist/chunks/{form-1p9n8pqr.js → form-1qs0jgz8.js} +8 -8
  18. package/dist/chunks/{form-bdhd9h6e.js → form-1yq9hg58.js} +4 -4
  19. package/dist/chunks/{form-w9g24b4r.js → form-2149gj6c.js} +26 -26
  20. package/dist/chunks/{form-d8jxt81g.js → form-24papxa4.js} +28 -28
  21. package/dist/chunks/{form-kbtcw8xz.js → form-26wfx3k0.js} +6 -6
  22. package/dist/chunks/{form-nzzdn40q.js → form-2jmys8k9.js} +32 -32
  23. package/dist/chunks/{form-k58mk6kn.js → form-2ymbxe2a.js} +15 -15
  24. package/dist/chunks/{form-t9rqwped.js → form-39n7peaz.js} +17 -17
  25. package/dist/chunks/{form-c4xned13.js → form-3h6x4vk4.js} +11 -11
  26. package/dist/chunks/{form-r17fbvme.js → form-3qgwywyc.js} +3 -3
  27. package/dist/chunks/{form-k2b9ebj4.js → form-3sj1dac3.js} +7 -7
  28. package/dist/chunks/{form-crrcr980.js → form-495vdj1c.js} +7 -7
  29. package/dist/chunks/{form-0q0tresn.js → form-49d4rty4.js} +17 -17
  30. package/dist/chunks/{form-r542h3bh.js → form-4f25tdd0.js} +4 -4
  31. package/dist/chunks/{form-r71dghqg.js → form-4jenwqe1.js} +27 -27
  32. package/dist/chunks/{form-r3wrm2s0.js → form-4wzmybmb.js} +13 -13
  33. package/dist/chunks/{form-v9vs06em.js → form-55g2q5p5.js} +1 -1
  34. package/dist/chunks/{form-85vwxjmf.js → form-5870dma9.js} +7 -7
  35. package/dist/chunks/{form-w1ph6wdf.js → form-5czt8ehm.js} +8 -8
  36. package/dist/chunks/{form-cdamb71v.js → form-5hrkd4hp.js} +6 -6
  37. package/dist/chunks/{form-m2bzqjs9.js → form-5j8ph1qd.js} +29 -29
  38. package/dist/chunks/{form-8cg7mtm3.js → form-5whx36p1.js} +3 -3
  39. package/dist/chunks/{form-sf9ycpb4.js → form-5wmmx33t.js} +6 -6
  40. package/dist/chunks/{form-1ydwk751.js → form-665akccg.js} +15 -15
  41. package/dist/chunks/{form-yts2a8qm.js → form-67wwskyb.js} +3 -3
  42. package/dist/chunks/{form-etrnj9s7.js → form-6f6jm3cp.js} +3 -3
  43. package/dist/chunks/{form-6w6fvajz.js → form-6qmwk56z.js} +39 -39
  44. package/dist/chunks/{form-fv0gq29x.js → form-6qsc8bte.js} +14 -14
  45. package/dist/chunks/{form-1p8n4tg7.js → form-6t6n7z4g.js} +7 -7
  46. package/dist/chunks/{form-qsrm9yq9.js → form-6y38v4f2.js} +5 -5
  47. package/dist/chunks/{form-whnhdn7f.js → form-6z00g8bn.js} +4 -4
  48. package/dist/chunks/{form-zhw1z1kb.js → form-75nzay9j.js} +22 -22
  49. package/dist/chunks/{form-0gth4b5d.js → form-785kt1nq.js} +30 -30
  50. package/dist/chunks/{form-nqj08935.js → form-79tfqp9f.js} +1 -1
  51. package/dist/chunks/{form-bz2rmm6x.js → form-7agpffk8.js} +4 -4
  52. package/dist/chunks/{form-za7m4eht.js → form-7b6h81bb.js} +4 -4
  53. package/dist/chunks/{form-y88x6xtw.js → form-7cwm169k.js} +28 -28
  54. package/dist/chunks/{form-ng5g1vyn.js → form-7hfrmca8.js} +1 -1
  55. package/dist/chunks/{form-534cnr7j.js → form-7hqvmvs7.js} +17 -17
  56. package/dist/chunks/{form-a5fx33f2.js → form-7nqkf5r1.js} +4 -4
  57. package/dist/chunks/{form-jk7vbzey.js → form-7rr5h0zr.js} +8 -8
  58. package/dist/chunks/{form-s45770bx.js → form-7rv4jjk5.js} +37 -37
  59. package/dist/chunks/{form-1h7wn8wb.js → form-7stykpj4.js} +33 -33
  60. package/dist/chunks/{form-pv1fqqkg.js → form-7ypjkqw5.js} +3 -3
  61. package/dist/chunks/{form-08sxv5h9.js → form-81zmd5dp.js} +16 -16
  62. package/dist/chunks/{form-kas838dp.js → form-82p7ywwd.js} +1 -1
  63. package/dist/chunks/{form-e76qcsfg.js → form-88pbdasn.js} +4 -4
  64. package/dist/chunks/{form-ysme3vfm.js → form-8cnjhhhz.js} +16 -16
  65. package/dist/chunks/{form-08v1fe0d.js → form-8d70nmw5.js} +10 -10
  66. package/dist/chunks/{form-qpc8m78k.js → form-8h5tjk24.js} +2 -2
  67. package/dist/chunks/{form-3bqg2k1d.js → form-8m9dyvqe.js} +7 -7
  68. package/dist/chunks/{form-5az55tk0.js → form-8rg9h9rf.js} +14 -14
  69. package/dist/chunks/{form-2qz9vgxk.js → form-90wkhppp.js} +7 -7
  70. package/dist/chunks/{form-spz5sz38.js → form-963hk181.js} +5 -5
  71. package/dist/chunks/{form-h2pdg52j.js → form-97efk2he.js} +19 -19
  72. package/dist/chunks/{form-077tkhm1.js → form-9dd5622s.js} +19 -19
  73. package/dist/chunks/{form-nd2vd1g9.js → form-9fjscgt9.js} +50 -50
  74. package/dist/chunks/{form-8mrh1q34.js → form-9me36f2x.js} +7 -7
  75. package/dist/chunks/{form-p0wr151k.js → form-9n50p2fd.js} +12 -12
  76. package/dist/chunks/{form-ygcy7kze.js → form-9v17a1m3.js} +10 -10
  77. package/dist/chunks/{form-strh6rv4.js → form-9x63vb7q.js} +18 -18
  78. package/dist/chunks/{form-f72sdcfm.js → form-9zt6fxcw.js} +28 -28
  79. package/dist/chunks/{form-wtnh9baf.js → form-a2ppfby6.js} +18 -18
  80. package/dist/chunks/{form-eyrz4ycd.js → form-a5shfyb2.js} +7 -7
  81. package/dist/chunks/{form-msj4mgeb.js → form-a8c6f01y.js} +7 -7
  82. package/dist/chunks/{form-zmjnchdd.js → form-a9vajmgg.js} +3 -3
  83. package/dist/chunks/{form-4q7drmzz.js → form-ac3czqys.js} +16 -16
  84. package/dist/chunks/{form-cdpxzsw5.js → form-amt3fy1y.js} +30 -30
  85. package/dist/chunks/{form-sf9y72b7.js → form-anvcme1c.js} +3 -3
  86. package/dist/chunks/{form-7m5j0kb4.js → form-b14sh48k.js} +8 -8
  87. package/dist/chunks/{form-6mjm7zxm.js → form-b7rebrt2.js} +41 -41
  88. package/dist/chunks/{form-74t29akg.js → form-bbmj4mnh.js} +134 -134
  89. package/dist/chunks/{form-brv4jfaf.js → form-bexj7x6s.js} +4 -4
  90. package/dist/chunks/{form-jkdcm5hg.js → form-bhfd478d.js} +3 -3
  91. package/dist/chunks/{form-3fy85vkh.js → form-bpkxevtq.js} +4 -4
  92. package/dist/chunks/{form-5aktsc5z.js → form-bpn4bk7k.js} +16 -16
  93. package/dist/chunks/{form-4jtdakfj.js → form-c09y0a8j.js} +9 -9
  94. package/dist/chunks/{form-d4vxj6mz.js → form-c5chrm98.js} +36 -36
  95. package/dist/chunks/{form-m5e6dbbg.js → form-c8pp1k19.js} +16 -16
  96. package/dist/chunks/{form-m5vks3yv.js → form-ccxyytbx.js} +5 -5
  97. package/dist/chunks/{form-rcfczq6v.js → form-ch7k79dh.js} +5 -5
  98. package/dist/chunks/{form-4jgac5zt.js → form-cjhteg90.js} +5 -5
  99. package/dist/chunks/{form-5asgddgx.js → form-ckn0kvtp.js} +3 -3
  100. package/dist/chunks/{form-bg1rqwjw.js → form-cqfxst5x.js} +23 -23
  101. package/dist/chunks/{form-d8asytdz.js → form-csytqz48.js} +11 -11
  102. package/dist/chunks/{form-1vz1ns2k.js → form-cvb39fh3.js} +8 -8
  103. package/dist/chunks/{form-4tqs0jzk.js → form-d8p3t516.js} +3 -3
  104. package/dist/chunks/{form-4qeh9rjn.js → form-dc1wkmnt.js} +7 -7
  105. package/dist/chunks/{form-y88ea6bf.js → form-dcqztyc0.js} +14 -14
  106. package/dist/chunks/{form-6x59me16.js → form-de87a3dm.js} +4 -4
  107. package/dist/chunks/{form-h7cs4frj.js → form-dee54pyj.js} +18 -18
  108. package/dist/chunks/{form-zsjmk57r.js → form-dj2nvf49.js} +5 -5
  109. package/dist/chunks/{form-kdnw01cx.js → form-djtzg767.js} +22 -22
  110. package/dist/chunks/{form-8tntncgh.js → form-dkpjsqx5.js} +4 -4
  111. package/dist/chunks/{form-hj956mk8.js → form-dnk8746q.js} +82 -82
  112. package/dist/chunks/{form-7r8an6fe.js → form-dq8yjqh8.js} +11 -11
  113. package/dist/chunks/{form-jtxc186n.js → form-dszjwkzq.js} +22 -22
  114. package/dist/chunks/{form-s7ff7xj8.js → form-dx7w2ywp.js} +17 -17
  115. package/dist/chunks/{form-dkzzyy3p.js → form-e0nv7jq6.js} +2 -2
  116. package/dist/chunks/{form-emfjbeb6.js → form-e1gzcs88.js} +14 -14
  117. package/dist/chunks/{form-25drhth7.js → form-e1x810h0.js} +7 -7
  118. package/dist/chunks/{form-ftjkm5sx.js → form-e35tjqxj.js} +352 -352
  119. package/dist/chunks/{form-hk1bjgns.js → form-e4ah3ejq.js} +17 -17
  120. package/dist/chunks/{form-jmsbq57h.js → form-e8d4rb7h.js} +14 -14
  121. package/dist/chunks/{form-p1k8q8dm.js → form-egvq556q.js} +1 -1
  122. package/dist/chunks/{form-1e963z14.js → form-eh2pqcde.js} +11 -11
  123. package/dist/chunks/{form-62wce9zg.js → form-er2n76ej.js} +10 -10
  124. package/dist/chunks/{form-vhgc00n4.js → form-erfxr3zn.js} +13 -13
  125. package/dist/chunks/{form-tvcjrze5.js → form-erppfcw0.js} +13 -13
  126. package/dist/chunks/{form-w6yaejhr.js → form-f26b0hvj.js} +5 -5
  127. package/dist/chunks/{form-2bswbpgz.js → form-f4krjp8e.js} +3 -3
  128. package/dist/chunks/{form-mjsyx3br.js → form-f7295des.js} +8 -8
  129. package/dist/chunks/{form-zkw232et.js → form-f8vchc90.js} +17 -17
  130. package/dist/chunks/{form-kzwff88q.js → form-feknp5zt.js} +7 -7
  131. package/dist/chunks/{form-pyc3gczw.js → form-fnm34e0k.js} +3 -3
  132. package/dist/chunks/{form-cwp201bk.js → form-fqg2m573.js} +5 -5
  133. package/dist/chunks/{form-qhaaa42p.js → form-fqms6rvt.js} +11 -11
  134. package/dist/chunks/{form-zdx72ve0.js → form-fs4enjx7.js} +4 -4
  135. package/dist/chunks/{form-n9y0drfj.js → form-fyh94gg6.js} +4 -4
  136. package/dist/chunks/{form-ck4ctv5s.js → form-g3zv75fm.js} +72 -72
  137. package/dist/chunks/{form-bcpk48rq.js → form-g63xhc1v.js} +25 -25
  138. package/dist/chunks/{form-7nw90t2b.js → form-gatjdcn9.js} +11 -11
  139. package/dist/chunks/{form-4z6ejq83.js → form-gm32q8m8.js} +8 -8
  140. package/dist/chunks/{form-ev846520.js → form-gtr6916j.js} +17 -17
  141. package/dist/chunks/form-gv6z28ma.js +265 -0
  142. package/dist/chunks/{form-eam9ngfz.js → form-gvrjngtk.js} +3 -3
  143. package/dist/chunks/{form-qb4ptby6.js → form-h9xvjfqn.js} +9 -9
  144. package/dist/chunks/{form-gqmpcfh7.js → form-hdc2a5xz.js} +29 -29
  145. package/dist/chunks/{form-h71885tz.js → form-hfcy1fgt.js} +2 -2
  146. package/dist/chunks/{form-4m4g3ztp.js → form-hpj67xa1.js} +1 -1
  147. package/dist/chunks/{form-ftnnxnk0.js → form-htpmzgt8.js} +18 -18
  148. package/dist/chunks/{form-w6brw106.js → form-hzvjaebq.js} +8 -8
  149. package/dist/chunks/{form-yctgsgmg.js → form-jbygarch.js} +8 -8
  150. package/dist/chunks/form-jexvg71v.js +26 -0
  151. package/dist/chunks/{form-8ynnnc9x.js → form-jfk5jv3z.js} +11 -11
  152. package/dist/chunks/{form-g0md4990.js → form-jgkp38kk.js} +11 -11
  153. package/dist/chunks/{form-20bfbk4x.js → form-jp4e3d39.js} +29 -29
  154. package/dist/chunks/{form-f159ec1q.js → form-jv5cg5jm.js} +1 -1
  155. package/dist/chunks/{form-69emmher.js → form-jwj3xwfh.js} +16 -16
  156. package/dist/chunks/{form-hak3spcr.js → form-jz77ka2x.js} +39 -39
  157. package/dist/chunks/{form-etbjc7bm.js → form-k1fk9gak.js} +1 -1
  158. package/dist/chunks/{form-e5v1smj8.js → form-k1ngrrvr.js} +2 -2
  159. package/dist/chunks/{form-b9my7n24.js → form-k4efmry4.js} +12 -12
  160. package/dist/chunks/{form-r4wk1s47.js → form-k5daehwd.js} +5 -5
  161. package/dist/chunks/{form-kkb7zeg6.js → form-k732j073.js} +7 -7
  162. package/dist/chunks/{form-vt4gvjnz.js → form-kht0bw8h.js} +9 -9
  163. package/dist/chunks/{form-ryeap3sb.js → form-kmgb3tdh.js} +19 -19
  164. package/dist/chunks/{form-tprfp288.js → form-kmrmenc1.js} +33 -33
  165. package/dist/chunks/{form-94e33dpz.js → form-kn4zqwcq.js} +1 -1
  166. package/dist/chunks/{form-jsc3kmd1.js → form-ktvb9mw0.js} +4 -4
  167. package/dist/chunks/{form-dw25s8w6.js → form-kyd5p4kc.js} +6 -6
  168. package/dist/chunks/{form-xfp7ht4r.js → form-m96ddqb0.js} +4 -4
  169. package/dist/chunks/{form-qmh7vbk2.js → form-me0dhgxs.js} +4 -4
  170. package/dist/chunks/{form-0tazdck3.js → form-mmdz7z9c.js} +16 -16
  171. package/dist/chunks/{form-gyjcgtja.js → form-mmynath4.js} +11 -11
  172. package/dist/chunks/{form-7rem6gay.js → form-mvd4m6v7.js} +24 -24
  173. package/dist/chunks/{form-d05tpv5s.js → form-my4fcshq.js} +6 -6
  174. package/dist/chunks/{form-859wtsez.js → form-n1qp63sd.js} +11 -11
  175. package/dist/chunks/{form-3p5bwpjr.js → form-n3jp0npr.js} +1 -1
  176. package/dist/chunks/{form-pebd3fx8.js → form-n9fe6bxj.js} +14 -14
  177. package/dist/chunks/{form-w87f5jj8.js → form-na8r46wf.js} +8 -8
  178. package/dist/chunks/{form-bgvmpsbb.js → form-nc4w622v.js} +3 -3
  179. package/dist/chunks/{form-76t83kqq.js → form-nctbn4kr.js} +10 -10
  180. package/dist/chunks/{form-z0b3rp99.js → form-nrk34cdy.js} +7 -7
  181. package/dist/chunks/{form-zcmv5xke.js → form-nryt75sa.js} +12 -12
  182. package/dist/chunks/{form-kw6k3grm.js → form-nt927v07.js} +8 -8
  183. package/dist/chunks/{form-a4ww6fpm.js → form-nv9tsjma.js} +5 -5
  184. package/dist/chunks/{form-5g90fmrv.js → form-nw5eecxx.js} +1 -1
  185. package/dist/chunks/{form-g93tcs9e.js → form-nyerw5g8.js} +9 -9
  186. package/dist/chunks/{form-jr2msrb8.js → form-nzfywte0.js} +7 -7
  187. package/dist/chunks/{form-q52thbbg.js → form-p095z00d.js} +12 -12
  188. package/dist/chunks/{form-yqveydy6.js → form-p76me67c.js} +3 -3
  189. package/dist/chunks/{form-jz12c36j.js → form-p8pjvayg.js} +1 -1
  190. package/dist/chunks/{form-venxc8x9.js → form-pb9fhdan.js} +40 -40
  191. package/dist/chunks/{form-pg93aazs.js → form-pmxqycbb.js} +21 -21
  192. package/dist/chunks/{form-fg9p65nk.js → form-prq7xxp2.js} +4 -4
  193. package/dist/chunks/{form-229tvxdn.js → form-px7qpgcn.js} +3 -3
  194. package/dist/chunks/{form-xa63j88h.js → form-q26nxxn1.js} +3 -3
  195. package/dist/chunks/{form-0kwy0x33.js → form-q7y3b9g0.js} +3 -3
  196. package/dist/chunks/{form-t521gf9q.js → form-qa8wq1bx.js} +8 -8
  197. package/dist/chunks/{form-c0am625a.js → form-qf4h7f4y.js} +17 -17
  198. package/dist/chunks/{form-cv6amnmh.js → form-qfz6bxfd.js} +3 -3
  199. package/dist/chunks/{form-35rvwrkz.js → form-qmet73b8.js} +16 -16
  200. package/dist/chunks/{form-zh4pxxzd.js → form-qn3nex76.js} +10 -10
  201. package/dist/chunks/{form-njjkp6y7.js → form-qtcppqdt.js} +2 -2
  202. package/dist/chunks/{form-9ewsxdwp.js → form-qwcxdf4f.js} +31 -31
  203. package/dist/chunks/{form-jptpdyy1.js → form-r00x6xar.js} +17 -17
  204. package/dist/chunks/{form-cf3f13z6.js → form-r2jsee34.js} +7 -7
  205. package/dist/chunks/{form-w2eysc6j.js → form-r41sfy63.js} +4 -4
  206. package/dist/chunks/{form-v0kt3d5p.js → form-r6dpxxw1.js} +34 -34
  207. package/dist/chunks/{form-3adw4bt5.js → form-rp6t20zc.js} +7 -7
  208. package/dist/chunks/{form-vzxj76h2.js → form-s7a9cbah.js} +1 -1
  209. package/dist/chunks/{form-t9a5srby.js → form-s974wghs.js} +17 -17
  210. package/dist/chunks/{form-m7e4wn3x.js → form-sbmqae13.js} +37 -37
  211. package/dist/chunks/{form-2bsf0ydr.js → form-sjta0jj4.js} +24 -24
  212. package/dist/chunks/{form-vq89e0ys.js → form-sm06k54w.js} +3 -3
  213. package/dist/chunks/{form-nrkkswm5.js → form-spjexxm5.js} +4 -4
  214. package/dist/chunks/{form-watd9xyc.js → form-sqmtsnc0.js} +18 -18
  215. package/dist/chunks/{form-v5n206yn.js → form-sre2qj4k.js} +1 -1
  216. package/dist/chunks/{form-0xn3qqfa.js → form-srrmv808.js} +6 -6
  217. package/dist/chunks/{form-3n7gb103.js → form-sx2yhfq6.js} +2 -2
  218. package/dist/chunks/{form-557a5d2x.js → form-sx5cm6q5.js} +10 -10
  219. package/dist/chunks/{form-c6w2rarq.js → form-t1dy5emn.js} +7 -7
  220. package/dist/chunks/{form-0cfnayfa.js → form-t1pcdn2a.js} +12 -12
  221. package/dist/chunks/{form-nq1mg43n.js → form-t48jrnqq.js} +2 -2
  222. package/dist/chunks/{form-k1er6ch8.js → form-t5fmgy39.js} +8 -8
  223. package/dist/chunks/{form-a6a793ff.js → form-t7pxmh1n.js} +5 -5
  224. package/dist/chunks/{form-hqfcqev6.js → form-t7zcy0tw.js} +4 -4
  225. package/dist/chunks/{form-9c85yqf9.js → form-tb44hknz.js} +15 -15
  226. package/dist/chunks/{form-86n7trx6.js → form-tf9vm30n.js} +6 -6
  227. package/dist/chunks/{form-160yv0cs.js → form-tg1vr1qt.js} +7 -7
  228. package/dist/chunks/{form-z3x6r1x7.js → form-thtgp2wh.js} +43 -43
  229. package/dist/chunks/{form-mfnmbggz.js → form-trsw7mcc.js} +30 -30
  230. package/dist/chunks/{form-xngxe0eg.js → form-twm7m2ma.js} +15 -15
  231. package/dist/chunks/{form-04g95qft.js → form-v2abt96x.js} +13 -13
  232. package/dist/chunks/{form-rwpydztv.js → form-v8nw92bz.js} +42 -42
  233. package/dist/chunks/{form-p4ymwxb0.js → form-vbngttk8.js} +28 -28
  234. package/dist/chunks/{form-jtq42j1x.js → form-vedxzeza.js} +10 -10
  235. package/dist/chunks/{form-t4qpp180.js → form-vg4q9z25.js} +5 -5
  236. package/dist/chunks/{form-qh5g3qaw.js → form-vq0qa3sh.js} +7 -7
  237. package/dist/chunks/{form-v2x06h94.js → form-vrw307mm.js} +6 -6
  238. package/dist/chunks/{form-facq85rr.js → form-w5sfctq3.js} +5 -5
  239. package/dist/chunks/{form-wr3re1en.js → form-w687dnns.js} +3 -3
  240. package/dist/chunks/{form-za1h6cmh.js → form-w7jfwa7t.js} +3 -3
  241. package/dist/chunks/{form-ta8ftn0r.js → form-w99myxkr.js} +3 -3
  242. package/dist/chunks/{form-gz1tw812.js → form-w9gbtwvg.js} +13 -13
  243. package/dist/chunks/{form-qt3tdkb6.js → form-wd2p9ady.js} +10 -10
  244. package/dist/chunks/{form-5k4n6v37.js → form-weqc7sb9.js} +3 -3
  245. package/dist/chunks/{form-k3cx6fhe.js → form-wfdx5ztx.js} +3 -3
  246. package/dist/chunks/{form-055bjmn7.js → form-wm4c88gv.js} +11 -11
  247. package/dist/chunks/{form-kfb05gh2.js → form-xa7agtm7.js} +22 -22
  248. package/dist/chunks/{form-cnf1d5bk.js → form-xaynk9n5.js} +11 -11
  249. package/dist/chunks/{form-xz2tvs09.js → form-xbknznh5.js} +5 -5
  250. package/dist/chunks/{form-4pgz2acm.js → form-xcg3rj9z.js} +13 -13
  251. package/dist/chunks/{form-pc4htsrk.js → form-xdnd5bjh.js} +4 -4
  252. package/dist/chunks/{form-agbyznsk.js → form-xhkbh2m4.js} +13 -13
  253. package/dist/chunks/{form-xxschbft.js → form-xjr6c8m4.js} +3 -3
  254. package/dist/chunks/{form-63xym3gh.js → form-xmx7xj34.js} +3 -3
  255. package/dist/chunks/{form-9b6aqs4r.js → form-xt638z52.js} +27 -27
  256. package/dist/chunks/{form-n320gsn2.js → form-xvn8mnch.js} +3 -3
  257. package/dist/chunks/{form-br5fknxr.js → form-xypxsy7p.js} +10 -10
  258. package/dist/chunks/{form-19t5ypyb.js → form-y1knm9fe.js} +31 -31
  259. package/dist/chunks/{form-301m5qae.js → form-y3wh9epp.js} +26 -26
  260. package/dist/chunks/{form-zz290ktj.js → form-yes8byrk.js} +28 -28
  261. package/dist/chunks/{form-pw67yfsm.js → form-ygjw22g4.js} +7 -7
  262. package/dist/chunks/{form-fs8wbmmk.js → form-yhmtfygm.js} +3 -3
  263. package/dist/chunks/{form-v33b7p49.js → form-yje62p5e.js} +6 -6
  264. package/dist/chunks/{form-hv52nxmr.js → form-yse1kzrm.js} +77 -77
  265. package/dist/chunks/{form-hm5bfe36.js → form-ytj9msyr.js} +25 -25
  266. package/dist/chunks/{form-brwzaxyz.js → form-z36g0r9d.js} +9 -9
  267. package/dist/chunks/{form-ccj5vgdx.js → form-z7yksqyp.js} +39 -39
  268. package/dist/chunks/{form-25q2essn.js → form-zdewxzj9.js} +33 -33
  269. package/dist/chunks/{form-v7k8qgpv.js → form-zgq5ynfz.js} +6 -6
  270. package/dist/chunks/{form-0db0r454.js → form-zkf772vp.js} +19 -19
  271. package/dist/chunks/{form-by8ty0bx.js → form-zpdbqgja.js} +3 -3
  272. package/dist/codemode/fetch.js +106 -106
  273. package/dist/codemode/instructions.js +3 -3
  274. package/dist/codemode/tool.js +112 -112
  275. package/dist/command.js +71 -71
  276. package/dist/config/discovery.js +66 -66
  277. package/dist/config/integration.js +3 -3
  278. package/dist/config/normalize.js +80 -80
  279. package/dist/config/plugin/agent.js +95 -95
  280. package/dist/config/plugin/command.js +185 -185
  281. package/dist/config/plugin/compaction.js +127 -127
  282. package/dist/config/plugin/compatibility.js +110 -110
  283. package/dist/config/plugin/formatter.js +94 -94
  284. package/dist/config/plugin/image.js +93 -93
  285. package/dist/config/plugin/instruction.js +93 -93
  286. package/dist/config/plugin/location-watcher.js +93 -93
  287. package/dist/config/plugin/mcp.js +105 -105
  288. package/dist/config/plugin/policy.js +93 -93
  289. package/dist/config/plugin/provider.js +93 -93
  290. package/dist/config/plugin/reference.js +94 -94
  291. package/dist/config/plugin/shell.js +95 -95
  292. package/dist/config/plugin/skill-file.js +107 -107
  293. package/dist/config/plugin/skill.js +113 -113
  294. package/dist/config/plugin/snapshot.js +93 -93
  295. package/dist/config/plugin/source.js +96 -96
  296. package/dist/config/plugin/tool-output.js +93 -93
  297. package/dist/config/plugin/websearch.js +94 -94
  298. package/dist/config/plugin/worktree.js +94 -94
  299. package/dist/config.js +93 -93
  300. package/dist/console-access.js +3 -3
  301. package/dist/credential.js +64 -64
  302. package/dist/database/database.js +58 -58
  303. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  304. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  305. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  306. package/dist/database/drizzle/index.js +10 -10
  307. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  308. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  309. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  310. package/dist/database/drizzle.js +10 -10
  311. package/dist/database/migration.gen.js +48 -48
  312. package/dist/database/migration.js +57 -57
  313. package/dist/database/v1-migration.bun.js +21 -21
  314. package/dist/effect/app-node-builder.js +278 -278
  315. package/dist/effect/keyed-mutex.js +3 -3
  316. package/dist/environment/environment.js +73 -73
  317. package/dist/environment/index.js +74 -74
  318. package/dist/environment/unavailable.js +3 -3
  319. package/dist/event-logger.js +10 -10
  320. package/dist/file-access.js +117 -117
  321. package/dist/file-mutation.js +75 -75
  322. package/dist/file-write.js +120 -120
  323. package/dist/filesystem/file-watch.js +13 -13
  324. package/dist/filesystem/location-watcher-policy.js +5 -5
  325. package/dist/filesystem/location-watcher.js +199 -199
  326. package/dist/filesystem/search.js +78 -78
  327. package/dist/filesystem/watcher.js +3 -3
  328. package/dist/filesystem.js +79 -79
  329. package/dist/flag.js +93 -93
  330. package/dist/form.js +65 -65
  331. package/dist/formatter/builtins.js +3 -3
  332. package/dist/formatter.js +71 -71
  333. package/dist/generate.js +88 -88
  334. package/dist/git.js +7 -7
  335. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  336. package/dist/github-copilot/copilot-provider.js +3 -3
  337. package/dist/github-copilot/models.js +74 -74
  338. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  339. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  340. package/dist/image/photon.js +1 -1
  341. package/dist/image.js +5 -5
  342. package/dist/instance/service.js +5 -5
  343. package/dist/instance.js +362 -362
  344. package/dist/instruction-discovery.js +75 -75
  345. package/dist/instructions/builtins.js +70 -70
  346. package/dist/integration/connection.js +3 -3
  347. package/dist/integration.js +68 -68
  348. package/dist/job/list.js +3 -3
  349. package/dist/job/recovery.js +2 -2
  350. package/dist/job.js +68 -68
  351. package/dist/kv.js +63 -63
  352. package/dist/location-activity.js +76 -76
  353. package/dist/location-lifecycle.js +112 -112
  354. package/dist/location-service-map.js +70 -70
  355. package/dist/location-services.js +360 -360
  356. package/dist/location.js +69 -69
  357. package/dist/managed-policy.js +2 -2
  358. package/dist/mcp/client.js +52 -52
  359. package/dist/mcp/connection.js +73 -73
  360. package/dist/mcp/index.js +86 -86
  361. package/dist/mcp/instructions.js +141 -141
  362. package/dist/mcp/oauth.js +11 -11
  363. package/dist/mcp/pool.js +75 -75
  364. package/dist/mcp/stdio.js +114 -114
  365. package/dist/modal/models.js +74 -74
  366. package/dist/model-resolver.js +79 -79
  367. package/dist/model.js +79 -79
  368. package/dist/models-dev.js +90 -90
  369. package/dist/permission/saved.js +69 -69
  370. package/dist/permission.js +115 -115
  371. package/dist/persistent-pty/index.js +78 -78
  372. package/dist/persistent-pty.js +62 -62
  373. package/dist/plugin/agent.js +66 -66
  374. package/dist/plugin/command.js +85 -85
  375. package/dist/plugin/goal.js +3 -3
  376. package/dist/plugin/hooks.js +5 -5
  377. package/dist/plugin/host.js +192 -192
  378. package/dist/plugin/identity.js +4 -4
  379. package/dist/plugin/instance.js +5 -5
  380. package/dist/plugin/internal.js +339 -339
  381. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  382. package/dist/plugin/models-dev.js +79 -79
  383. package/dist/plugin/module.js +92 -92
  384. package/dist/plugin/optimize.js +3 -3
  385. package/dist/plugin/plan.js +108 -108
  386. package/dist/plugin/provider/amazon-bedrock.js +76 -76
  387. package/dist/plugin/provider/azure.js +97 -97
  388. package/dist/plugin/provider/chatgpt.js +95 -95
  389. package/dist/plugin/provider/claude-agent/aisdk.js +85 -85
  390. package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
  391. package/dist/plugin/provider/claude-agent/claude/sessions.js +10 -10
  392. package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
  393. package/dist/plugin/provider/claude-agent/index.js +106 -106
  394. package/dist/plugin/provider/claude-agent/instructions.js +81 -81
  395. package/dist/plugin/provider/claude-agent/integration.js +82 -82
  396. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  397. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  398. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  399. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  400. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  401. package/dist/plugin/provider/claude-agent/provider.js +79 -79
  402. package/dist/plugin/provider/claude-agent/session.js +80 -80
  403. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  404. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  405. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  406. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  407. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  408. package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
  409. package/dist/plugin/provider/cloudflare-ai-gateway.js +94 -94
  410. package/dist/plugin/provider/cloudflare-workers-ai.js +94 -94
  411. package/dist/plugin/provider/configured.js +90 -90
  412. package/dist/plugin/provider/credential-settings.js +66 -66
  413. package/dist/plugin/provider/digitalocean.js +78 -78
  414. package/dist/plugin/provider/github-copilot.js +80 -80
  415. package/dist/plugin/provider/gitlab.js +78 -78
  416. package/dist/plugin/provider/google-vertex.js +91 -91
  417. package/dist/plugin/provider/llmgateway.js +67 -67
  418. package/dist/plugin/provider/lmstudio.js +100 -100
  419. package/dist/plugin/provider/local.js +97 -97
  420. package/dist/plugin/provider/modal.js +78 -78
  421. package/dist/plugin/provider/ollama.js +100 -100
  422. package/dist/plugin/provider/openai-context-caps.js +76 -76
  423. package/dist/plugin/provider/openai.js +97 -97
  424. package/dist/plugin/provider/opencode.js +116 -116
  425. package/dist/plugin/provider/openrouter.js +74 -74
  426. package/dist/plugin/provider/poe.js +67 -67
  427. package/dist/plugin/provider/refresh.js +65 -65
  428. package/dist/plugin/provider/sap-ai-core.js +73 -73
  429. package/dist/plugin/provider/snowflake-cortex.js +94 -94
  430. package/dist/plugin/provider/vllm.js +100 -100
  431. package/dist/plugin/provider/xai.js +74 -74
  432. package/dist/plugin/provider.js +180 -180
  433. package/dist/plugin/sdk.js +67 -67
  434. package/dist/plugin/service.js +3 -3
  435. package/dist/plugin/skill.js +111 -111
  436. package/dist/plugin/supervisor.js +349 -349
  437. package/dist/plugin/tool-input-repair.js +3 -3
  438. package/dist/plugin/update.js +6 -6
  439. package/dist/plugin/vcs/git.js +70 -70
  440. package/dist/plugin/vcs/hg.js +70 -70
  441. package/dist/plugin/verbosity.js +76 -76
  442. package/dist/plugin/warming.js +93 -93
  443. package/dist/plugin/websearch/exa.js +5 -5
  444. package/dist/plugin/websearch/firecrawl.js +8 -8
  445. package/dist/plugin/websearch/index.js +9 -9
  446. package/dist/plugin/websearch/mcp.js +3 -3
  447. package/dist/plugin/websearch/parallel.js +8 -8
  448. package/dist/plugin/websearch/provider.js +3 -3
  449. package/dist/plugin/websearch/tavily.js +5 -5
  450. package/dist/plugin/websearch/tinyfish.js +6 -6
  451. package/dist/plugin.js +201 -201
  452. package/dist/project/schema.js +5 -5
  453. package/dist/project.js +70 -70
  454. package/dist/provider.js +78 -78
  455. package/dist/pty.js +84 -84
  456. package/dist/reference/instructions.js +74 -74
  457. package/dist/reference.js +73 -73
  458. package/dist/repository-cache.js +68 -68
  459. package/dist/ripgrep.js +77 -77
  460. package/dist/rpc.js +70 -70
  461. package/dist/schedule/check.js +196 -196
  462. package/dist/schedule.js +209 -209
  463. package/dist/session/background.js +3 -3
  464. package/dist/session/blob.js +93 -93
  465. package/dist/session/command.js +64 -64
  466. package/dist/session/compaction.js +130 -130
  467. package/dist/session/context.js +155 -155
  468. package/dist/session/diff.js +70 -70
  469. package/dist/session/environment.js +5 -5
  470. package/dist/session/error.js +4 -4
  471. package/dist/session/execution/restart.js +122 -122
  472. package/dist/session/execution.js +124 -124
  473. package/dist/session/generate.js +156 -156
  474. package/dist/session/history.js +99 -99
  475. package/dist/session/inbox.js +106 -106
  476. package/dist/session/info.js +2 -2
  477. package/dist/session/instruction-entry.js +63 -63
  478. package/dist/session/instructions.js +106 -106
  479. package/dist/session/model-request.js +127 -127
  480. package/dist/session/model-transport.js +7 -7
  481. package/dist/session/move.js +127 -127
  482. package/dist/session/projector.js +104 -104
  483. package/dist/session/prompt.js +109 -109
  484. package/dist/session/revert.js +102 -102
  485. package/dist/session/run-coordinator.js +3 -3
  486. package/dist/session/runner/index.js +3 -3
  487. package/dist/session/runner/llm.js +204 -204
  488. package/dist/session/runner/model.js +82 -82
  489. package/dist/session/runner/publish-llm-event.js +111 -111
  490. package/dist/session/runner/retry.js +3 -3
  491. package/dist/session/runner/step.js +122 -122
  492. package/dist/session/runner/to-llm-message.js +100 -100
  493. package/dist/session/schema.js +5 -5
  494. package/dist/session/session.js +142 -142
  495. package/dist/session/shell.js +103 -103
  496. package/dist/session/skill.js +109 -109
  497. package/dist/session/stats.js +8 -8
  498. package/dist/session/store.js +105 -105
  499. package/dist/session/stored.js +3 -3
  500. package/dist/session/subagent-job.js +184 -184
  501. package/dist/session/title.js +159 -159
  502. package/dist/session/to-session-error.js +110 -110
  503. package/dist/session/transfer.js +122 -122
  504. package/dist/session/usage.js +3 -3
  505. package/dist/session.js +190 -190
  506. package/dist/shared-cache.js +5 -5
  507. package/dist/shell/parse.js +2 -2
  508. package/dist/shell/select.js +11 -11
  509. package/dist/shell.js +104 -104
  510. package/dist/skill/discovery.js +5 -5
  511. package/dist/skill/instructions.js +113 -113
  512. package/dist/skill.js +116 -116
  513. package/dist/snapshot.js +75 -75
  514. package/dist/tool/mcp.js +140 -140
  515. package/dist/tool/plugin/artifact.js +183 -183
  516. package/dist/tool/plugin/edit.js +120 -120
  517. package/dist/tool/plugin/glob.js +127 -127
  518. package/dist/tool/plugin/grep.js +128 -128
  519. package/dist/tool/plugin/image-generate.js +193 -193
  520. package/dist/tool/plugin/mcp-resource.js +123 -123
  521. package/dist/tool/plugin/opencode.js +123 -123
  522. package/dist/tool/plugin/patch.js +127 -127
  523. package/dist/tool/plugin/question.js +110 -110
  524. package/dist/tool/plugin/read.js +129 -129
  525. package/dist/tool/plugin/schedule.js +200 -200
  526. package/dist/tool/plugin/shell.js +190 -190
  527. package/dist/tool/plugin/skill.js +117 -117
  528. package/dist/tool/plugin/subagent.js +191 -191
  529. package/dist/tool/plugin/todo.js +114 -114
  530. package/dist/tool/plugin/webfetch.js +112 -112
  531. package/dist/tool/plugin/websearch.js +117 -117
  532. package/dist/tool/plugin/write.js +127 -127
  533. package/dist/tool/read-filesystem.js +80 -80
  534. package/dist/tool/search.js +74 -74
  535. package/dist/tool-output.js +5 -5
  536. package/dist/tool.js +114 -114
  537. package/dist/usage-limits.js +76 -76
  538. package/dist/v1/config/agent.js +3 -3
  539. package/dist/v1/config/command.js +3 -3
  540. package/dist/v1/config/migrate.js +74 -74
  541. package/dist/v1/config/plugin.js +3 -3
  542. package/dist/v1/config/provider.js +3 -3
  543. package/dist/variant.js +76 -76
  544. package/dist/vcs.js +71 -71
  545. package/dist/voice.js +77 -77
  546. package/dist/websearch.js +79 -79
  547. package/dist/wellknown/plugin.js +65 -65
  548. package/dist/wellknown.js +66 -66
  549. package/dist/workspace/driver.js +5 -5
  550. package/dist/workspace.js +72 -72
  551. package/dist/worktree/git.js +6 -6
  552. package/dist/worktree/strategies.js +72 -72
  553. package/dist/worktree.js +82 -82
  554. package/package.json +9 -9
  555. package/dist/chunks/form-0pnkskv6.js +0 -26
  556. package/dist/chunks/form-k4zrb1y4.js +0 -265
  557. /package/dist/chunks/{form-y3rv9zjk.js → form-0aqjddd3.js} +0 -0
  558. /package/dist/chunks/{form-xd9kb7g5.js → form-22bgjs7d.js} +0 -0
  559. /package/dist/chunks/{form-n9st2s08.js → form-2mf0etys.js} +0 -0
  560. /package/dist/chunks/{form-80mg3ag8.js → form-775hqbnd.js} +0 -0
  561. /package/dist/chunks/{form-gveczaxv.js → form-8jrrxtbx.js} +0 -0
  562. /package/dist/chunks/{form-ze75qvmd.js → form-j9nxzz3g.js} +0 -0
@@ -5,30 +5,30 @@ import {
5
5
  RelativePath2
6
6
  } from "./form-z5v4ffb3.js";
7
7
  import {
8
- Service86
9
- } from "./form-4pgz2acm.js";
8
+ Service88
9
+ } from "./form-xcg3rj9z.js";
10
10
  import {
11
- Service59
12
- } from "./form-534cnr7j.js";
11
+ Service68
12
+ } from "./form-7hqvmvs7.js";
13
13
  import {
14
- Service54
15
- } from "./form-9c85yqf9.js";
14
+ Service47
15
+ } from "./form-tb44hknz.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  GlobInput2,
19
19
  Entry2
20
- } from "./form-301m5qae.js";
20
+ } from "./form-y3wh9epp.js";
21
21
  import {
22
22
  pathType2,
23
23
  bounded2
24
- } from "./form-ng5g1vyn.js";
24
+ } from "./form-7hfrmca8.js";
25
25
  import {
26
26
  invocation2,
27
- Service71
28
- } from "./form-z3x6r1x7.js";
27
+ Service69
28
+ } from "./form-thtgp2wh.js";
29
29
  import {
30
- Service51
31
- } from "./form-kdnw01cx.js";
30
+ Service67
31
+ } from "./form-djtzg767.js";
32
32
  import {
33
33
  __export
34
34
  } from "./form-9rqn6x4v.js";
@@ -37,17 +37,17 @@ import {
37
37
  var exports_glob = {};
38
38
  __export(exports_glob, {
39
39
  GlobTool: () => exports_glob,
40
- Input: () => Input9,
41
- Output: () => Output6,
42
- Plugin: () => Plugin28,
43
- name: () => name9,
40
+ Input: () => Input10,
41
+ Output: () => Output7,
42
+ Plugin: () => Plugin14,
43
+ name: () => name10,
44
44
  toModelContent: () => toModelContent5
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai/effect";
47
47
  import { Effect, Schema } from "effect";
48
48
  import path from "path";
49
- var name9 = "glob";
50
- var Input9 = Schema.Struct({
49
+ var name10 = "glob";
50
+ var Input10 = Schema.Struct({
51
51
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
52
52
  path: Schema.optionalKey(RelativePath2).annotate({
53
53
  description: "Directory to search. Defaults to the current working directory."
@@ -59,7 +59,7 @@ var Input9 = Schema.Struct({
59
59
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
60
60
  })
61
61
  });
62
- var Output6 = Schema.Array(Entry2);
62
+ var Output7 = Schema.Array(Entry2);
63
63
  var toModelContent5 = (entries, truncated = false) => {
64
64
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
65
65
  if (truncated)
@@ -67,26 +67,26 @@ var toModelContent5 = (entries, truncated = false) => {
67
67
  return lines.join(`
68
68
  `);
69
69
  };
70
- var Plugin28 = {
70
+ var Plugin14 = {
71
71
  id: "opencode.tool.glob",
72
72
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
73
- const environment = yield* Service59;
74
- const ripgrep = yield* Service54;
75
- const location = yield* Service86;
76
- const access = yield* Service51;
77
- const permission = yield* Service71;
73
+ const environment = yield* Service68;
74
+ const ripgrep = yield* Service47;
75
+ const location = yield* Service88;
76
+ const access = yield* Service67;
77
+ const permission = yield* Service69;
78
78
  yield* ctx.tool.transform((editor) => editor.add({
79
- name: name9,
79
+ name: name10,
80
80
  options: { codemode: false },
81
81
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
82
- input: Input9,
83
- output: Output6,
82
+ input: Input10,
83
+ output: Output7,
84
84
  execute: (input, context) => Effect.gen(function* () {
85
85
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
86
86
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
87
87
  yield* access.authorizeExternal([target], context);
88
88
  yield* permission.assert({
89
- action: name9,
89
+ action: name10,
90
90
  resources: [input.pattern],
91
91
  save: ["*"],
92
92
  metadata: {
@@ -118,4 +118,4 @@ var Plugin28 = {
118
118
  })
119
119
  };
120
120
 
121
- export { name9, Input9, Output6, toModelContent5, Plugin28, exports_glob };
121
+ export { name10, Input10, Output7, toModelContent5, Plugin14, exports_glob };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID16
3
- } from "./form-t9a5srby.js";
3
+ } from "./form-s974wghs.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./form-6q2bdcd1.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./form-2p60zmnr.js";
4
4
  import {
5
5
  base2
6
- } from "./form-v2x06h94.js";
6
+ } from "./form-vrw307mm.js";
7
7
  import {
8
8
  __export
9
9
  } from "./form-9rqn6x4v.js";
@@ -12,10 +12,10 @@ import {
12
12
  var exports_status = {};
13
13
  __export(exports_status, {
14
14
  ClaudeStatus: () => exports_status,
15
- make: () => make8
15
+ make: () => make4
16
16
  });
17
17
  import { Effect, Semaphore, SubscriptionRef } from "effect";
18
- var make8 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
18
+ var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
19
19
  const state = yield* SubscriptionRef.make({ type: "checking" });
20
20
  const lock = yield* Semaphore.make(1);
21
21
  const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
@@ -33,4 +33,4 @@ var make8 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
33
33
  return { state, refresh, report };
34
34
  });
35
35
 
36
- export { make8, exports_status };
36
+ export { make4, exports_status };
@@ -2,13 +2,13 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./form-p1k8q8dm.js";
5
+ } from "./form-egvq556q.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make35,
9
+ make34,
10
10
  makeWithDefaults2
11
- } from "./form-xz2tvs09.js";
11
+ } from "./form-xbknznh5.js";
12
12
  import {
13
13
  __export
14
14
  } from "./form-9rqn6x4v.js";
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make35,
25
+ make: () => make34,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -3,13 +3,13 @@ import {
3
3
  llmClient2
4
4
  } from "./form-0ma9gw4f.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./form-ryeap3sb.js";
6
+ Service80,
7
+ node84
8
+ } from "./form-kmgb3tdh.js";
9
9
  import {
10
- Service62,
11
- node65
12
- } from "./form-r0j6xsz8.js";
10
+ Service59,
11
+ node61
12
+ } from "./form-05d441b2.js";
13
13
  import {
14
14
  retryOneShot2
15
15
  } from "./form-2fc7eemy.js";
@@ -18,18 +18,18 @@ import {
18
18
  } from "./form-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
- var exports_generate = {};
22
- __export(exports_generate, {
23
- Generate: () => exports_generate,
24
- InvalidRequestError: () => InvalidRequestError3,
21
+ var exports_generate2 = {};
22
+ __export(exports_generate2, {
23
+ Generate: () => exports_generate2,
24
+ InvalidRequestError: () => InvalidRequestError2,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service21,
28
+ Service: () => Service58,
29
29
  UnavailableError: () => UnavailableError4,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer11,
32
- node: () => node25
31
+ layer: () => layer21,
32
+ node: () => node60
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
58
58
  }) {
59
59
  }
60
60
 
61
- class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
61
+ class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
62
62
  message: Schema.String,
63
63
  field: Schema.optional(Schema.String)
64
64
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service21 extends Context.Service()("@opencode/Generate") {
84
+ class Service58 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer11 = Layer.effect(Service21, Effect.gen(function* () {
86
+ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service62;
89
- const models = yield* Service79;
88
+ const resolver = yield* Service59;
89
+ const models = yield* Service80;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -163,7 +163,7 @@ var layer11 = Layer.effect(Service21, Effect.gen(function* () {
163
163
  };
164
164
  });
165
165
  const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
166
- return Service21.of({
166
+ return Service58.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
176
176
  if (error._tag === "Integration.Authorization")
177
177
  return error;
178
178
  if (error._tag === "SessionRunnerModel.VariantUnavailableError")
179
- return new InvalidRequestError3({ message: error.message, field: "model.variant" });
179
+ return new InvalidRequestError2({ message: error.message, field: "model.variant" });
180
180
  if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
181
181
  return new UnsupportedModelError2({
182
182
  providerID: ref.providerID,
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
184
184
  capability: type,
185
185
  message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
186
186
  });
187
- return new InvalidRequestError3({ message: error.message, field: "model" });
187
+ return new InvalidRequestError2({ message: error.message, field: "model" });
188
188
  }
189
189
  function providerError(ref, error) {
190
190
  const reason = error.reason;
191
191
  if (reason._tag === "InvalidRequest" && reason.http === undefined)
192
- return new InvalidRequestError3({ message: reason.message });
192
+ return new InvalidRequestError2({ message: reason.message });
193
193
  if (reason._tag === "UnsupportedOperation")
194
- return new InvalidRequestError3({ message: reason.message });
194
+ return new InvalidRequestError2({ message: reason.message });
195
195
  const status = "http" in reason ? reason.http?.status : undefined;
196
196
  const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
197
197
  return new ProviderRequestError2({
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node25 = makeLocationNode({
219
- service: Service21,
220
- layer: layer11,
221
- deps: [node65, node83, llmClient2, requestExecutor2]
218
+ var node60 = makeLocationNode({
219
+ service: Service58,
220
+ layer: layer21,
221
+ deps: [node61, node84, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service21, layer11, node25, exports_generate };
224
+ export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service58, layer21, node60, exports_generate2 };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./form-svcy3p9a.js";
4
4
  import {
5
5
  DEFAULT_SEARCH_TIMEOUT_MS2
6
- } from "./form-301m5qae.js";
6
+ } from "./form-y3wh9epp.js";
7
7
  import {
8
8
  __export
9
9
  } from "./form-9rqn6x4v.js";
@@ -5,13 +5,13 @@ import {
5
5
  makeLocalDriver2
6
6
  } from "./form-cwrgdav8.js";
7
7
  import {
8
- Service86,
9
- node90
10
- } from "./form-4pgz2acm.js";
8
+ Service88,
9
+ node92
10
+ } from "./form-xcg3rj9z.js";
11
11
  import {
12
- Service60,
13
- node62
14
- } from "./form-2bsf0ydr.js";
12
+ Service75,
13
+ node78
14
+ } from "./form-sjta0jj4.js";
15
15
  import {
16
16
  __export
17
17
  } from "./form-9rqn6x4v.js";
@@ -20,26 +20,26 @@ import {
20
20
  var exports_environment3 = {};
21
21
  __export(exports_environment3, {
22
22
  EnvironmentService: () => exports_environment3,
23
- Service: () => Service59,
24
- node: () => node61
23
+ Service: () => Service68,
24
+ node: () => node70
25
25
  });
26
26
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
27
27
  import { makeLocationNode } from "@opencode/util/effect/app-node";
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
30
- class Service59 extends Context.Service()("@opencode/Environment") {
30
+ class Service68 extends Context.Service()("@opencode/Environment") {
31
31
  }
32
- var layer = Layer.effect(Service59, Effect.gen(function* () {
32
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
33
33
  const spawner = yield* ChildProcessSpawner;
34
- const location = yield* Service86;
35
- const workspace = yield* Service60;
34
+ const location = yield* Service88;
35
+ const workspace = yield* Service75;
36
36
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
37
- return Service59.of({ files: makeFiles2(driver), spawner: driver.spawner });
37
+ return Service68.of({ files: makeFiles2(driver), spawner: driver.spawner });
38
38
  }));
39
- var node61 = makeLocationNode({
40
- service: Service59,
39
+ var node70 = makeLocationNode({
40
+ service: Service68,
41
41
  layer,
42
- deps: [CrossSpawnSpawner.node, node90, node62]
42
+ deps: [CrossSpawnSpawner.node, node92, node78]
43
43
  });
44
44
 
45
- export { Service59, node61, exports_environment3 };
45
+ export { Service68, node70, exports_environment3 };
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2,
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
375
375
  `;
376
376
 
377
377
  // src/plugin/optimize.ts
378
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
379
379
  const id = model.id.toLowerCase();
380
380
  if (!id.includes("gpt"))
381
381
  return;
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
410
410
  return;
411
411
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
412
412
  });
413
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
414
414
  var models = new WeakMap;
415
415
  var resolveModel2 = (ctx, event) => Effect.gen(function* () {
416
416
  const cached = models.get(event);
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
447
447
  });
448
448
  }
449
449
 
450
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
450
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-08v1fe0d.js";
3
+ } from "./form-8d70nmw5.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
6
  } from "./form-3v8g72cx.js";
7
7
  import {
8
8
  MAX_RESPONSE_BYTES3,
9
9
  call2
10
- } from "./form-w2eysc6j.js";
10
+ } from "./form-r41sfy63.js";
11
11
  import {
12
- register3
13
- } from "./form-xxschbft.js";
12
+ register2
13
+ } from "./form-xjr6c8m4.js";
14
14
  import {
15
15
  __export
16
16
  } from "./form-9rqn6x4v.js";
@@ -18,7 +18,7 @@ import {
18
18
  // src/plugin/websearch/tinyfish.ts
19
19
  var exports_tinyfish = {};
20
20
  __export(exports_tinyfish, {
21
- Plugin: () => Plugin44,
21
+ Plugin: () => Plugin23,
22
22
  WebSearchTinyFish: () => exports_tinyfish,
23
23
  endpoint: () => endpoint6
24
24
  });
@@ -54,11 +54,11 @@ var InitializedNotification = Schema.Struct({
54
54
  jsonrpc: Schema.Literal("2.0"),
55
55
  method: Schema.Literal("notifications/initialized")
56
56
  });
57
- var Plugin44 = define({
57
+ var Plugin23 = define({
58
58
  id: "opencode.websearch.tinyfish",
59
59
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
60
60
  const http = yield* HttpClient.HttpClient;
61
- yield* register3(ctx, {
61
+ yield* register2(ctx, {
62
62
  id: "tinyfish",
63
63
  name: "TinyFish",
64
64
  env: "TINYFISH_API_KEY",
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
109
109
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
110
110
  }));
111
111
 
112
- export { endpoint6, Plugin44, exports_tinyfish };
112
+ export { endpoint6, Plugin23, exports_tinyfish };
@@ -5,19 +5,19 @@ import {
5
5
  NonNegativeInt2
6
6
  } from "./form-z5v4ffb3.js";
7
7
  import {
8
- Service59
9
- } from "./form-534cnr7j.js";
8
+ Service68
9
+ } from "./form-7hqvmvs7.js";
10
10
  import {
11
- Service47
12
- } from "./form-b9my7n24.js";
11
+ Service53
12
+ } from "./form-k4efmry4.js";
13
13
  import {
14
14
  invocation2,
15
- Service71
16
- } from "./form-z3x6r1x7.js";
15
+ Service69
16
+ } from "./form-thtgp2wh.js";
17
17
  import {
18
- Service51,
18
+ Service67,
19
19
  resolvePath2
20
- } from "./form-kdnw01cx.js";
20
+ } from "./form-djtzg767.js";
21
21
  import {
22
22
  output2,
23
23
  notice2,
@@ -25,35 +25,35 @@ import {
25
25
  notification2
26
26
  } from "./form-89287pr7.js";
27
27
  import {
28
- Service66,
28
+ Service87,
29
29
  name17
30
- } from "./form-35rvwrkz.js";
30
+ } from "./form-qmet73b8.js";
31
31
  import {
32
32
  NotFoundError8,
33
- Service56
34
- } from "./form-ccj5vgdx.js";
33
+ Service55
34
+ } from "./form-z7yksqyp.js";
35
35
  import {
36
- Service23
37
- } from "./form-hj956mk8.js";
36
+ Service22
37
+ } from "./form-dnk8746q.js";
38
38
  import {
39
39
  scan3
40
- } from "./form-vzxj76h2.js";
40
+ } from "./form-s7a9cbah.js";
41
41
  import {
42
42
  __export
43
43
  } from "./form-9rqn6x4v.js";
44
44
 
45
45
  // src/tool/plugin/shell.ts
46
- var exports_shell2 = {};
47
- __export(exports_shell2, {
46
+ var exports_shell = {};
47
+ __export(exports_shell, {
48
48
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
49
- Input: () => Input7,
50
- Plugin: () => Plugin24,
51
- ShellTool: () => exports_shell2,
52
- name: () => name7
49
+ Input: () => Input11,
50
+ Plugin: () => Plugin15,
51
+ ShellTool: () => exports_shell,
52
+ name: () => name11
53
53
  });
54
54
  import { ToolFailure } from "@opencode/ai/effect";
55
55
  import { Deferred, Effect, Schema, Scope } from "effect";
56
- var name7 = "shell";
56
+ var name11 = "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 Input7 = Schema.Struct({
70
+ var Input11 = 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,18 +113,18 @@ Output is streaming to: ${file}`,
113
113
  truncated: false,
114
114
  status: "running"
115
115
  });
116
- var Plugin24 = {
116
+ var Plugin15 = {
117
117
  id: "opencode.tool.shell",
118
118
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
119
- const sessions = yield* Service23;
120
- const jobs = yield* Service47;
119
+ const sessions = yield* Service22;
120
+ const jobs = yield* Service53;
121
121
  const scope = yield* Scope.Scope;
122
- const environment = yield* Service59;
123
- const access = yield* Service51;
124
- const shell = yield* Service56;
125
- const shellSelect = yield* Service66;
122
+ const environment = yield* Service68;
123
+ const access = yield* Service67;
124
+ const shell = yield* Service55;
125
+ const shellSelect = yield* Service87;
126
126
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
127
- const permission = yield* Service71;
127
+ const permission = yield* Service69;
128
128
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
129
129
  const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
130
130
  invocation.cwd = target.absolute;
@@ -137,7 +137,7 @@ var Plugin24 = {
137
137
  yield* access.authorizeExternal([target, ...directories], context);
138
138
  if (parsed.commands.length > 0)
139
139
  yield* permission.assert({
140
- action: name7,
140
+ action: name11,
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 Plugin24 = {
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: name7,
175
+ name: name11,
176
176
  options: { codemode: false },
177
177
  description: description(),
178
- input: Input7,
178
+ input: Input11,
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;
@@ -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: name7,
215
+ type: name11,
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[name7];
245
+ const tool = event.tools[name11];
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 { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin24, exports_shell2 };
256
+ export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin15, exports_shell };