@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
@@ -3,42 +3,42 @@ import {
3
3
  } from "./form-z0h12gs8.js";
4
4
  import {
5
5
  Ref3,
6
- Service79
7
- } from "./form-ryeap3sb.js";
6
+ Service80
7
+ } from "./form-kmgb3tdh.js";
8
8
  import {
9
9
  Service76
10
- } from "./form-jtxc186n.js";
10
+ } from "./form-dszjwkzq.js";
11
11
  import {
12
12
  observe2
13
13
  } from "./form-mm06edep.js";
14
14
  import {
15
- Service59
16
- } from "./form-534cnr7j.js";
15
+ Service68
16
+ } from "./form-7hqvmvs7.js";
17
17
  import {
18
18
  SessionMessage2
19
19
  } from "./form-gftt206x.js";
20
20
  import {
21
21
  invocation2,
22
- Service71
23
- } from "./form-z3x6r1x7.js";
22
+ Service69
23
+ } from "./form-thtgp2wh.js";
24
24
  import {
25
- Service51
26
- } from "./form-kdnw01cx.js";
25
+ Service67
26
+ } from "./form-djtzg767.js";
27
27
  import {
28
- Service21
29
- } from "./form-y88x6xtw.js";
28
+ Service58
29
+ } from "./form-7cwm169k.js";
30
30
  import {
31
31
  text2
32
32
  } from "./form-8b3vzgkx.js";
33
33
  import {
34
- Service47
35
- } from "./form-b9my7n24.js";
34
+ Service53
35
+ } from "./form-k4efmry4.js";
36
36
  import {
37
37
  detect2
38
38
  } from "./form-4pyp9zr9.js";
39
39
  import {
40
- Service23
41
- } from "./form-hj956mk8.js";
40
+ Service22
41
+ } from "./form-dnk8746q.js";
42
42
  import {
43
43
  collectBoundedResponseBody2
44
44
  } from "./form-3v8g72cx.js";
@@ -50,13 +50,13 @@ import {
50
50
  var exports_image_generate = {};
51
51
  __export(exports_image_generate, {
52
52
  ImageGenerateTool: () => exports_image_generate,
53
- Input: () => Input3,
53
+ Input: () => Input12,
54
54
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
55
- Output: () => Output3,
56
- Plugin: () => Plugin20,
55
+ Output: () => Output8,
56
+ Plugin: () => Plugin16,
57
57
  defaultModel: () => defaultModel2,
58
- description: () => description2,
59
- name: () => name3
58
+ description: () => description6,
59
+ name: () => name12
60
60
  });
61
61
  import path from "path";
62
62
  import { ToolFailure } from "@opencode/ai/effect";
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
64
64
  import { Global } from "@opencode/util/global";
65
65
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
66
66
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
67
- var name3 = "experimental_image_generate";
67
+ var name12 = "experimental_image_generate";
68
68
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
69
69
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
70
70
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -75,7 +75,7 @@ var EXTENSIONS = {
75
75
  "image/webp": ".webp",
76
76
  "image/gif": ".gif"
77
77
  };
78
- var description2 = [
78
+ var description6 = [
79
79
  "Generates a new image, or edits existing ones.",
80
80
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
81
81
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -84,7 +84,7 @@ var description2 = [
84
84
  "Don't repeat a request unless the user asks."
85
85
  ].join(`
86
86
  `);
87
- var Input3 = Schema.Struct({
87
+ var Input12 = Schema.Struct({
88
88
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
89
89
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
90
90
  }),
@@ -98,25 +98,25 @@ var Input3 = Schema.Struct({
98
98
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
99
99
  })
100
100
  });
101
- var Output3 = Schema.Struct({
101
+ var Output8 = Schema.Struct({
102
102
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
103
103
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
104
104
  model: Schema.String.annotate({ description: "providerID/modelID" })
105
105
  });
106
- var Plugin20 = {
106
+ var Plugin16 = {
107
107
  id: "opencode.tool.image-generate",
108
108
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
109
- const access = yield* Service51;
110
- const environment = yield* Service59;
111
- const generate = yield* Service21;
109
+ const access = yield* Service67;
110
+ const environment = yield* Service68;
111
+ const generate = yield* Service58;
112
112
  const global = yield* Global.Service;
113
113
  const http = yield* HttpClient.HttpClient;
114
114
  const config = yield* Service76;
115
- const jobs = yield* Service47;
115
+ const jobs = yield* Service53;
116
116
  const scope = yield* Scope.Scope;
117
- const sessions = yield* Service23;
118
- const models = yield* Service79;
119
- const permission = yield* Service71;
117
+ const sessions = yield* Service22;
118
+ const models = yield* Service80;
119
+ const permission = yield* Service69;
120
120
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
121
121
  const available = yield* models.available(["image"]);
122
122
  if (!input) {
@@ -201,7 +201,7 @@ var Plugin20 = {
201
201
  state: info.status,
202
202
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
203
203
  }),
204
- metadata: { source: name3, jobID: input.id, state: info.status, path: input.file }
204
+ metadata: { source: name12, jobID: input.id, state: info.status, path: input.file }
205
205
  });
206
206
  yield* jobs.completeBackground(input.notificationID);
207
207
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -220,11 +220,11 @@ var Plugin20 = {
220
220
  if (!enabled || imageGenerate(loaded.entries) === false)
221
221
  return;
222
222
  editor.add({
223
- name: name3,
223
+ name: name12,
224
224
  options: { codemode: false },
225
- description: description2,
226
- input: Input3,
227
- output: Output3,
225
+ description: description6,
226
+ input: Input12,
227
+ output: Output8,
228
228
  execute: (input, context) => Effect.gen(function* () {
229
229
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
230
230
  const model = resolved.model;
@@ -233,7 +233,7 @@ var Plugin20 = {
233
233
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
234
234
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
235
235
  yield* permission.assert({
236
- action: name3,
236
+ action: name12,
237
237
  resources: [ref],
238
238
  save: ["*"],
239
239
  metadata: { ...input, model: ref },
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
287
287
  yield* jobs.start({
288
288
  id,
289
289
  notificationID,
290
- type: name3,
290
+ type: name12,
291
291
  title: input.prompt,
292
292
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
293
293
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -326,4 +326,4 @@ function acceptsImages(model) {
326
326
  return model.capabilities.input.some((item) => item.startsWith("image"));
327
327
  }
328
328
 
329
- export { name3, MAX_INPUT_BYTES2, description2, Input3, Output3, Plugin20, defaultModel2, exports_image_generate };
329
+ export { name12, MAX_INPUT_BYTES2, description6, Input12, Output8, Plugin16, defaultModel2, exports_image_generate };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Service77,
3
- node80
4
- } from "./form-bgvmpsbb.js";
3
+ node81
4
+ } from "./form-nc4w622v.js";
5
5
  import {
6
- Service86,
7
- node90
8
- } from "./form-4pgz2acm.js";
6
+ Service88,
7
+ node92
8
+ } from "./form-xcg3rj9z.js";
9
9
  import {
10
10
  Service76,
11
- node79
12
- } from "./form-jtxc186n.js";
11
+ node80
12
+ } from "./form-dszjwkzq.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
@@ -25,10 +25,10 @@ import {
25
25
  var exports_source = {};
26
26
  __export(exports_source, {
27
27
  ConfigPluginSource: () => exports_source,
28
- Service: () => Service4,
28
+ Service: () => Service12,
29
29
  empty: () => empty2,
30
- layer: () => layer5,
31
- node: () => node6
30
+ layer: () => layer8,
31
+ node: () => node14
32
32
  });
33
33
  import { FSUtil } from "@opencode/util/fs-util";
34
34
  import { Host } from "@opencode/plugin/host";
@@ -36,13 +36,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
37
37
  import path from "path";
38
38
  import { fileURLToPath, pathToFileURL } from "url";
39
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
39
+ class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
41
+ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
42
42
  const config = yield* Service76;
43
43
  const watcher = yield* Service77;
44
44
  const fs = yield* FSUtil.Service;
45
- const location = yield* Service86;
45
+ const location = yield* Service88;
46
46
  const configuredChanges = yield* PubSub.unbounded();
47
47
  const watched = new Set;
48
48
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -61,7 +61,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
61
61
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
62
62
  }
63
63
  });
64
- return Service4.of({
64
+ return Service12.of({
65
65
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
66
66
  const entries = yield* config.entries();
67
67
  const operations = yield* scan(fs, location, entries);
@@ -73,14 +73,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
73
73
  })), Stream.fromPubSub(configuredChanges))
74
74
  });
75
75
  }));
76
- var node6 = makeLocationNode({
77
- service: Service4,
78
- layer: layer5,
79
- deps: [node79, FSUtil.node, node80, node90]
76
+ var node14 = makeLocationNode({
77
+ service: Service12,
78
+ layer: layer8,
79
+ deps: [node80, FSUtil.node, node81, node92]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
- service: Service4,
83
- layer: Layer.succeed(Service4, Service4.of({
82
+ service: Service12,
83
+ layer: Layer.succeed(Service12, Service12.of({
84
84
  operations: () => Effect.succeed([]),
85
85
  changes: () => Stream.never
86
86
  })),
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
138
138
  })).pipe(Effect.map((operations) => operations.flat()));
139
139
  });
140
140
 
141
- export { Service4, layer5, node6, empty2, exports_source };
141
+ export { Service12, layer8, node14, empty2, exports_source };
@@ -8,7 +8,7 @@ import {
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
10
10
  __export(exports_stored, {
11
- File: () => File3,
11
+ File: () => File2,
12
12
  FileRef: () => FileRef2,
13
13
  Ref: () => Ref2,
14
14
  SessionStored: () => exports_stored,
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
28
28
  var ref2 = (hash) => `media:${hash}`;
29
29
  var { data: _, ...attachment } = FileAttachment.fields;
30
30
  var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
31
- var File3 = Schema.Union([FileAttachment, FileRef2]);
31
+ var File2 = Schema.Union([FileAttachment, FileRef2]);
32
32
  var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
33
- var files = Schema.Array(File3).pipe(optional);
33
+ var files = Schema.Array(File2).pipe(optional);
34
34
  var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
35
35
  var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
36
36
 
37
- export { Ref2, refHash2, ref2, FileRef2, File3, ToolFileRef2, UserPayload3, User3, exports_stored };
37
+ export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
@@ -6,9 +6,9 @@ import {
6
6
  var exports_pending = {};
7
7
  __export(exports_pending, {
8
8
  PendingTools: () => exports_pending,
9
- make: () => make10
9
+ make: () => make6
10
10
  });
11
- function make10() {
11
+ function make6() {
12
12
  const calls = new Map;
13
13
  const replacements = new Map;
14
14
  let next;
@@ -64,4 +64,4 @@ function make10() {
64
64
  };
65
65
  }
66
66
 
67
- export { make10, exports_pending };
67
+ export { make6, exports_pending };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service71
3
- } from "./form-z3x6r1x7.js";
2
+ Service69
3
+ } from "./form-thtgp2wh.js";
4
4
  import {
5
5
  Service40
6
6
  } from "./form-2jjfs7g5.js";
@@ -31,7 +31,7 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
31
31
  parsed.hash = "";
32
32
  const url = parsed.href;
33
33
  const execution = yield* Service40;
34
- const permission = yield* Service71;
34
+ const permission = yield* Service69;
35
35
  const source = { type: "tool", messageID: execution.messageID, id: execution.id };
36
36
  yield* permission.assert({
37
37
  action: "webfetch",
@@ -10,7 +10,7 @@ __export(exports_console_access, {
10
10
  configured: () => configured2,
11
11
  defaultServer: () => defaultServer2,
12
12
  headers: () => headers2,
13
- node: () => node21,
13
+ node: () => node17,
14
14
  server: () => server2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -19,7 +19,7 @@ var Options2 = Context.Reference("@opencode/ConsoleAccess/Options", {
19
19
  defaultValue: () => ({ poll: true })
20
20
  });
21
21
  var configured2 = (options) => makeGlobalNode({ service: Options2, layer: Layer.succeed(Options2, { poll: options?.poll ?? true }), deps: [] });
22
- var node21 = configured2();
22
+ var node17 = configured2();
23
23
  var defaultServer2 = "https://opencode.ai/console";
24
24
  function server2(value) {
25
25
  const server = typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer2;
@@ -33,4 +33,4 @@ function headers2(value) {
33
33
  };
34
34
  }
35
35
 
36
- export { Options2, configured2, node21, defaultServer2, server2, headers2, exports_console_access };
36
+ export { Options2, configured2, node17, defaultServer2, server2, headers2, exports_console_access };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./form-8cg7mtm3.js";
3
+ } from "./form-5whx36p1.js";
4
4
  import {
5
5
  __export
6
6
  } from "./form-9rqn6x4v.js";
@@ -9,22 +9,22 @@ import {
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service11,
13
- node: () => node13
12
+ Service: () => Service3,
13
+ node: () => node4
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service11 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service3 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service11, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service11.of({
27
+ return Service3.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
52
+ var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
53
53
 
54
- export { Service11, node13, exports_update };
54
+ export { Service3, node4, exports_update };
@@ -2,9 +2,9 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./form-z5v4ffb3.js";
4
4
  import {
5
- Service88,
6
- node92
7
- } from "./form-w6brw106.js";
5
+ Service90,
6
+ node94
7
+ } from "./form-hzvjaebq.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
@@ -12,9 +12,9 @@ import {
12
12
  same2
13
13
  } from "./form-bstexjd6.js";
14
14
  import {
15
- Service90,
16
- node94
17
- } from "./form-1vz1ns2k.js";
15
+ Service79,
16
+ node83
17
+ } from "./form-cvb39fh3.js";
18
18
  import {
19
19
  __export
20
20
  } from "./form-9rqn6x4v.js";
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service61,
33
+ Service: () => Service38,
34
34
  isError: () => isError2,
35
- node: () => node64,
35
+ node: () => node42,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service61 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service38 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  var isError2 = Schema.is(Schema.Union([
96
96
  InvalidBranchError2,
@@ -107,13 +107,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
107
107
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
108
108
  });
109
109
  });
110
- var layer = Layer.effect(Service61, Effect.gen(function* () {
110
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
111
111
  const fs = yield* FSUtil.Service;
112
- const git = yield* Service88;
112
+ const git = yield* Service90;
113
113
  const flock = yield* EffectFlock.Service;
114
114
  const global = yield* Global.Service;
115
- const kv = yield* Service90;
116
- return Service61.of({
115
+ const kv = yield* Service79;
116
+ return Service38.of({
117
117
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
118
118
  if (input.branch)
119
119
  yield* validateBranch2(input.branch);
@@ -175,10 +175,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
175
175
  })
176
176
  });
177
177
  }));
178
- var node64 = makeGlobalNode({
179
- service: Service61,
178
+ var node42 = makeGlobalNode({
179
+ service: Service38,
180
180
  layer,
181
- deps: [EffectFlock.node, FSUtil.node, node92, Global.node, node94]
181
+ deps: [EffectFlock.node, FSUtil.node, node94, Global.node, node83]
182
182
  });
183
183
  function errorMessage(error) {
184
184
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -187,4 +187,4 @@ function cacheOperation(effect, operation, target) {
187
187
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
188
188
  }
189
189
 
190
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service61, isError2, validateBranch2, node64, exports_repository_cache };
190
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service38, isError2, validateBranch2, node42, exports_repository_cache };
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
8
8
  AGENT_OPTION: () => AGENT_OPTION2,
9
9
  ClaudeSystemPrompt: () => exports_system_prompt,
10
10
  INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
11
- make: () => make16,
11
+ make: () => make10,
12
12
  utility: () => utility2
13
13
  });
14
14
  var AGENT_OPTION2 = "claudeCodeAgent";
@@ -19,7 +19,7 @@ var primary = {
19
19
  snapshot: false,
20
20
  append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
21
21
  };
22
- function make16(role, instructions) {
22
+ function make10(role, instructions) {
23
23
  const blocks = [primary.append];
24
24
  if (role)
25
25
  blocks.push(`# Agent role (from OpenCode)
@@ -37,4 +37,4 @@ function utility2(prompt) {
37
37
  `) || "You are a text generation helper. Return only the requested output.";
38
38
  }
39
39
 
40
- export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make16, utility2, exports_system_prompt };
40
+ export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make10, utility2, exports_system_prompt };
@@ -12,19 +12,19 @@ import {
12
12
  // src/shell/select.ts
13
13
  var exports_select = {};
14
14
  __export(exports_select, {
15
- Options: () => Options6,
16
- Service: () => Service66,
15
+ Options: () => Options9,
16
+ Service: () => Service87,
17
17
  ShellSelect: () => exports_select,
18
18
  args: () => args2,
19
- configured: () => configured8,
19
+ configured: () => configured12,
20
20
  environment: () => environment2,
21
21
  gitbash: () => gitbash2,
22
22
  list: () => list5,
23
23
  login: () => login2,
24
24
  name: () => name17,
25
- node: () => node69,
25
+ node: () => node91,
26
26
  ps: () => ps2,
27
- resolve: () => resolve2
27
+ resolve: () => resolve5
28
28
  });
29
29
  import path from "path";
30
30
  import { readFile } from "fs/promises";
@@ -44,11 +44,11 @@ var META = {
44
44
  sh: { login: true },
45
45
  zsh: { login: true }
46
46
  };
47
- var Options6 = Schema.Struct({
47
+ var Options9 = Schema.Struct({
48
48
  gitbash: Schema.optional(Schema.String)
49
49
  });
50
50
 
51
- class Service66 extends Context.Service()("@opencode/ShellSelect") {
51
+ class Service87 extends Context.Service()("@opencode/ShellSelect") {
52
52
  }
53
53
  function stat(file) {
54
54
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -165,7 +165,7 @@ function environment2(bin, filter) {
165
165
  }
166
166
  var defaultConfigured;
167
167
  var defaultCompatible;
168
- function resolve2(input, configShell, options, bin) {
168
+ function resolve5(input, configShell, options, bin) {
169
169
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
170
170
  if (configShell)
171
171
  return select(configShell, options, filter, bin);
@@ -181,7 +181,7 @@ function resolve2(input, configShell, options, bin) {
181
181
  defaultConfigured = { bin, value };
182
182
  return value;
183
183
  }
184
- resolve2.reset = () => {
184
+ resolve5.reset = () => {
185
185
  defaultConfigured = undefined;
186
186
  defaultCompatible = undefined;
187
187
  };
@@ -189,7 +189,7 @@ async function list5(options, bin) {
189
189
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
190
190
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
191
191
  }
192
- var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
192
+ var layer = (options) => Layer.effect(Service87, Effect.gen(function* () {
193
193
  const global = yield* Global.Service;
194
194
  const state = create4({
195
195
  name: "shell-select",
@@ -200,16 +200,16 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
200
200
  }
201
201
  })
202
202
  });
203
- return Service66.of({
203
+ return Service87.of({
204
204
  transform: state.transform,
205
205
  reload: state.reload,
206
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
+ resolve: (input) => Effect.sync(() => resolve5(input, state.get().shell, options, global.bin)),
207
207
  list: () => Effect.promise(() => list5(options, global.bin))
208
208
  });
209
209
  }));
210
- function configured8(options) {
211
- return makeLocationNode({ service: Service66, layer: layer(options), deps: [Global.node] });
210
+ function configured12(options) {
211
+ return makeLocationNode({ service: Service87, layer: layer(options), deps: [Global.node] });
212
212
  }
213
- var node69 = configured8();
213
+ var node91 = configured12();
214
214
 
215
- export { Options6, Service66, gitbash2, name17, login2, ps2, args2, environment2, resolve2, list5, configured8, node69, exports_select };
215
+ export { Options9, Service87, gitbash2, name17, login2, ps2, args2, environment2, resolve5, list5, configured12, node91, exports_select };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service92,
3
3
  node96
4
- } from "./form-pv1fqqkg.js";
4
+ } from "./form-7ypjkqw5.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
@@ -10,10 +10,10 @@ import {
10
10
  decodeMessageRows2,
11
11
  decodeMessageRowsWithRefs2,
12
12
  load6
13
- } from "./form-zmjnchdd.js";
13
+ } from "./form-a9vajmgg.js";
14
14
  import {
15
15
  fromRow2
16
- } from "./form-v9vs06em.js";
16
+ } from "./form-55g2q5p5.js";
17
17
  import {
18
18
  __export
19
19
  } from "./form-9rqn6x4v.js";
@@ -22,9 +22,9 @@ import {
22
22
  var exports_store = {};
23
23
  __export(exports_store, {
24
24
  ListInput: () => ListInput3,
25
- Service: () => Service73,
25
+ Service: () => Service71,
26
26
  SessionStore: () => exports_store,
27
- node: () => node76
27
+ node: () => node73
28
28
  });
29
29
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
54
54
  var ListAllInput = Schema.Struct(ListInputBase);
55
55
  var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
56
56
 
57
- class Service73 extends Context.Service()("@opencode/SessionStore") {
57
+ class Service71 extends Context.Service()("@opencode/SessionStore") {
58
58
  }
59
- var layer = Layer.effect(Service73, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
60
60
  const { db } = yield* Service92;
61
61
  const messageRows = Effect.fnUntraced(function* (input) {
62
62
  const direction = input.cursor?.direction ?? "next";
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
71
71
  return direction === "previous" ? rows.toReversed() : rows;
72
72
  });
73
73
  const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
74
- return Service73.of({
74
+ return Service71.of({
75
75
  get: Effect.fnUntraced(function* (sessionID) {
76
76
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
77
77
  return row ? fromRow2(row) : undefined;
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
143
143
  })
144
144
  });
145
145
  }));
146
- var node76 = makeGlobalNode({ service: Service73, layer, deps: [node96] });
146
+ var node73 = makeGlobalNode({ service: Service71, layer, deps: [node96] });
147
147
 
148
- export { ListInput3, Service73, node76, exports_store };
148
+ export { ListInput3, Service71, node73, exports_store };