@opencode/core 0.0.0-dev-875 → 0.0.0-dev-877

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 (568) hide show
  1. package/dist/agent.js +70 -70
  2. package/dist/aisdk-native.js +70 -70
  3. package/dist/aisdk.js +75 -75
  4. package/dist/app.js +7 -7
  5. package/dist/artifact.js +188 -188
  6. package/dist/bus.js +59 -59
  7. package/dist/chunks/{git-0jwmsjqf.js → git-00varkfn.js} +10 -10
  8. package/dist/chunks/{git-mdmbsy22.js → git-03bqgv3d.js} +13 -13
  9. package/dist/chunks/{git-xjbsd7zy.js → git-04whjz6n.js} +7 -7
  10. package/dist/chunks/{git-afarzbax.js → git-0frc0r1x.js} +25 -25
  11. package/dist/chunks/{git-ykm2zcsg.js → git-0gqnrxt9.js} +22 -22
  12. package/dist/chunks/{git-1etmrnss.js → git-0jb5754p.js} +16 -16
  13. package/dist/chunks/{git-k5kff2d4.js → git-0m3b16eq.js} +13 -13
  14. package/dist/chunks/{git-ctfdew44.js → git-0q8f2k41.js} +10 -10
  15. package/dist/chunks/{git-fq65x449.js → git-0qak39qg.js} +9 -9
  16. package/dist/chunks/{git-tnb4xd20.js → git-0x3y91hs.js} +11 -11
  17. package/dist/chunks/{git-sj2acvnz.js → git-0z761sfe.js} +12 -12
  18. package/dist/chunks/{git-2648h344.js → git-1d9m9zxv.js} +24 -24
  19. package/dist/chunks/{git-wsakdcx3.js → git-1djj0b5c.js} +7 -7
  20. package/dist/chunks/{git-jv21w6k5.js → git-1ecdfnj3.js} +2 -2
  21. package/dist/chunks/{git-27w5k9zf.js → git-1ep2p91f.js} +1 -1
  22. package/dist/chunks/{git-5m6a7xby.js → git-1mjfhd2z.js} +5 -5
  23. package/dist/chunks/{git-yqh7xrf3.js → git-1r07hmxk.js} +1 -1
  24. package/dist/chunks/{git-p5tk1xdz.js → git-1xckstgy.js} +9 -9
  25. package/dist/chunks/{git-77rvnvng.js → git-20hs46rx.js} +1 -1
  26. package/dist/chunks/{git-4w21cvg1.js → git-20sbf82m.js} +5 -5
  27. package/dist/chunks/{git-8b3vzgkx.js → git-25h84942.js} +3 -3
  28. package/dist/chunks/{git-yk0cqbcw.js → git-2dahv1c9.js} +4 -4
  29. package/dist/chunks/{git-98b8cv9y.js → git-2eze3ev9.js} +10 -10
  30. package/dist/chunks/{git-v7sjzkrq.js → git-2g9wma4e.js} +45 -45
  31. package/dist/chunks/{git-g98stj40.js → git-2h7yn6a1.js} +1 -1
  32. package/dist/chunks/{git-msj4425n.js → git-2pvm1zmp.js} +3 -3
  33. package/dist/chunks/{git-6f6jm3cp.js → git-31avdb49.js} +3 -3
  34. package/dist/chunks/{git-nd8b88b8.js → git-394p07bv.js} +16 -16
  35. package/dist/chunks/{git-0mgprbja.js → git-39sgvy3e.js} +2 -2
  36. package/dist/chunks/{git-fepyqj80.js → git-3ewxmk4s.js} +13 -13
  37. package/dist/chunks/{git-rcbjwvze.js → git-3gv0spa2.js} +3 -3
  38. package/dist/chunks/{git-z65p847k.js → git-3zz32vjr.js} +25 -25
  39. package/dist/chunks/{git-3ntrdxkx.js → git-41q5jgkh.js} +1 -1
  40. package/dist/chunks/{git-p8rrjbrm.js → git-44h066km.js} +12 -12
  41. package/dist/chunks/{git-4jze6zp5.js → git-49433ye1.js} +7 -7
  42. package/dist/chunks/{git-gbeqs22t.js → git-4a6d9e1s.js} +3 -3
  43. package/dist/chunks/{git-nkx9v1k7.js → git-4cbycqt3.js} +5 -5
  44. package/dist/chunks/{git-r7yxfaj3.js → git-4ckwpsmh.js} +10 -10
  45. package/dist/chunks/{git-8z9ny10k.js → git-4csvnawe.js} +9 -9
  46. package/dist/chunks/{git-dr3qbmxv.js → git-4k4h4j8h.js} +6 -6
  47. package/dist/chunks/{git-5m6y62w0.js → git-4rbegt9x.js} +18 -18
  48. package/dist/chunks/{git-mzdr9h9h.js → git-4s2fjq3h.js} +10 -10
  49. package/dist/chunks/{git-tann50kq.js → git-4t2sgz32.js} +12 -12
  50. package/dist/chunks/{git-4w3a3h6m.js → git-4vsk53av.js} +22 -22
  51. package/dist/chunks/{git-20wrxdg1.js → git-4y1dkp2x.js} +9 -9
  52. package/dist/chunks/{git-v305347d.js → git-53yc0731.js} +5 -5
  53. package/dist/chunks/{git-40za9wsf.js → git-5enarcya.js} +4 -4
  54. package/dist/chunks/{git-wjpb9sqw.js → git-5pf1s9ew.js} +36 -36
  55. package/dist/chunks/{git-1vb9a70p.js → git-5ssd9z4k.js} +6 -6
  56. package/dist/chunks/{git-0kfj05k0.js → git-5z0ewh0k.js} +33 -33
  57. package/dist/chunks/{git-vktteb34.js → git-60tvtmqn.js} +7 -7
  58. package/dist/chunks/{git-nwdgk0aq.js → git-611b2d5d.js} +1 -1
  59. package/dist/chunks/{git-jv5ccajn.js → git-61qraad9.js} +3 -3
  60. package/dist/chunks/{git-xmx7xj34.js → git-63xym3gh.js} +3 -3
  61. package/dist/chunks/{git-2ms591wd.js → git-6795q8e3.js} +9 -9
  62. package/dist/chunks/{git-t1rtcvv4.js → git-6a8yk7g9.js} +2 -2
  63. package/dist/chunks/{git-4etb0gbj.js → git-6gmb6c3p.js} +10 -10
  64. package/dist/chunks/{git-y4n6pw34.js → git-6ss6ngz0.js} +3 -3
  65. package/dist/chunks/{git-bd06yyhm.js → git-6t40r86m.js} +8 -8
  66. package/dist/chunks/{git-5b8n7syd.js → git-7862g246.js} +24 -24
  67. package/dist/chunks/{git-7hyppg7q.js → git-78q90azy.js} +10 -10
  68. package/dist/chunks/{git-e880cd0j.js → git-7b03s8dy.js} +20 -20
  69. package/dist/chunks/{git-530xg6vw.js → git-7ke2z32d.js} +1 -1
  70. package/dist/chunks/{git-rsacfx58.js → git-7ms6p5ct.js} +29 -29
  71. package/dist/chunks/{git-st082zzh.js → git-7twge7vh.js} +7 -7
  72. package/dist/chunks/{git-6s1f67sn.js → git-7z34tv57.js} +13 -13
  73. package/dist/chunks/{git-z0qgjq7p.js → git-83shbj64.js} +16 -16
  74. package/dist/chunks/{git-mv65g5kx.js → git-8kpj8dgw.js} +40 -40
  75. package/dist/chunks/{git-bb3mmwvh.js → git-8sxe6kv8.js} +1 -1
  76. package/dist/chunks/{git-trbj5262.js → git-8v80kk81.js} +75 -75
  77. package/dist/chunks/{git-z7d1se52.js → git-8wyfgy84.js} +44 -44
  78. package/dist/chunks/{git-67wwskyb.js → git-8xz27cp9.js} +3 -3
  79. package/dist/chunks/{git-45drd1ny.js → git-91pq3adq.js} +2 -2
  80. package/dist/chunks/{git-4y8cj6a6.js → git-92x12kkd.js} +9 -9
  81. package/dist/chunks/{git-azsc1wyq.js → git-92y7h8dm.js} +3 -3
  82. package/dist/chunks/{git-jpeh7dbr.js → git-97d9kncm.js} +10 -10
  83. package/dist/chunks/{git-c1fpb6ys.js → git-98j9v5dh.js} +361 -361
  84. package/dist/chunks/{git-1zcg1m2c.js → git-9b3g47fp.js} +13 -13
  85. package/dist/chunks/{git-8j9jb473.js → git-9cgrg5sn.js} +36 -36
  86. package/dist/chunks/{git-yzndy881.js → git-9csbj8z0.js} +5 -5
  87. package/dist/chunks/{git-a4cdtn27.js → git-9d9y7nf6.js} +8 -8
  88. package/dist/chunks/{git-h7new7c4.js → git-9j9dggvf.js} +15 -15
  89. package/dist/chunks/{git-kppgs101.js → git-9n47qn5z.js} +23 -23
  90. package/dist/chunks/{git-g4w2r3gg.js → git-9trbd0dd.js} +7 -7
  91. package/dist/chunks/{git-xsawa0je.js → git-9vmsqv1h.js} +3 -3
  92. package/dist/chunks/{git-5km8j6qy.js → git-9ycj3fcq.js} +13 -13
  93. package/dist/chunks/{git-xzaka5a0.js → git-9zxzvr8s.js} +30 -30
  94. package/dist/chunks/{git-mmzs51g0.js → git-a4h8tact.js} +3 -3
  95. package/dist/chunks/{git-djmxqttn.js → git-abgnc9fg.js} +15 -15
  96. package/dist/chunks/{git-mjysxtvk.js → git-aqsf8b5y.js} +6 -6
  97. package/dist/chunks/{git-3cbjf1nt.js → git-ayjs7tqn.js} +1 -1
  98. package/dist/chunks/{git-rqb5tm54.js → git-azzq76h2.js} +22 -22
  99. package/dist/chunks/{git-md1v6sgb.js → git-b5h8zkmc.js} +13 -13
  100. package/dist/chunks/{git-ky67gy21.js → git-b8ba6mjn.js} +4 -4
  101. package/dist/chunks/{git-1f4ehbcj.js → git-bfef7565.js} +31 -31
  102. package/dist/chunks/{git-bmw1c1w2.js → git-bqzcd44k.js} +7 -7
  103. package/dist/chunks/{git-drdkqb7r.js → git-bvtjjqvm.js} +32 -32
  104. package/dist/chunks/{git-7fjscqpw.js → git-bwrw929x.js} +7 -7
  105. package/dist/chunks/{git-2m9kne9v.js → git-bx2ghzcj.js} +28 -28
  106. package/dist/chunks/{git-xeqnzmnf.js → git-bybkjpkj.js} +17 -17
  107. package/dist/chunks/{git-49ytdyqv.js → git-c019f3c1.js} +48 -48
  108. package/dist/chunks/{git-y7aayjrc.js → git-c4zh2v72.js} +6 -6
  109. package/dist/chunks/{git-m8sd3wmf.js → git-cp6k9vjq.js} +4 -4
  110. package/dist/chunks/{git-jr4vmd28.js → git-cqa12jg5.js} +12 -12
  111. package/dist/chunks/{git-3ay6yzp4.js → git-cr44ae3x.js} +3 -3
  112. package/dist/chunks/{git-pg5vpynd.js → git-cshqytk6.js} +30 -30
  113. package/dist/chunks/{git-9h06ddcp.js → git-cvs0tqag.js} +6 -6
  114. package/dist/chunks/{git-ynan9jk6.js → git-d5z6mkpf.js} +6 -6
  115. package/dist/chunks/{git-s4kt4hv1.js → git-dkhpjg5z.js} +9 -9
  116. package/dist/chunks/{git-kq0yfxbt.js → git-e388bv6v.js} +6 -6
  117. package/dist/chunks/{git-3fxf21pt.js → git-e8m9b6pv.js} +7 -7
  118. package/dist/chunks/{git-z1vvxzc0.js → git-eb8qw4j6.js} +19 -19
  119. package/dist/chunks/{git-gp6yxnrc.js → git-ec3jn864.js} +5 -5
  120. package/dist/chunks/{git-gpdrfecg.js → git-ew421enx.js} +27 -27
  121. package/dist/chunks/{git-bd51gcj4.js → git-ezh572rb.js} +27 -27
  122. package/dist/chunks/{git-0jphaf65.js → git-f4pvszhr.js} +14 -14
  123. package/dist/chunks/{git-h7kp09kc.js → git-f8y715rk.js} +23 -23
  124. package/dist/chunks/{git-2bnxrx9g.js → git-f9zhf18s.js} +7 -7
  125. package/dist/chunks/git-fcwwbh22.js +26 -0
  126. package/dist/chunks/{git-4h897baf.js → git-fd7zzepq.js} +1 -1
  127. package/dist/chunks/{git-rhd4ef66.js → git-fekv06st.js} +23 -23
  128. package/dist/chunks/{git-gwz5xkxn.js → git-fhagczq0.js} +14 -14
  129. package/dist/chunks/{git-7fxw094p.js → git-fjydg50v.js} +1 -1
  130. package/dist/chunks/{git-jc740628.js → git-fmz0vg6g.js} +15 -15
  131. package/dist/chunks/{git-xj1ksz36.js → git-fnx943sm.js} +3 -3
  132. package/dist/chunks/{git-hrs2gzzj.js → git-fregt7rm.js} +2 -2
  133. package/dist/chunks/{git-fczy16rh.js → git-frv9eft2.js} +33 -33
  134. package/dist/chunks/{git-2n444ktb.js → git-fyfzbt3s.js} +3 -3
  135. package/dist/chunks/{git-mkxaysvp.js → git-fyg08hs0.js} +5 -5
  136. package/dist/chunks/{git-6kpc0nwt.js → git-g1s7606r.js} +11 -11
  137. package/dist/chunks/{git-55ngdm5m.js → git-g4sh17b8.js} +39 -39
  138. package/dist/chunks/{git-m4w5ebb9.js → git-g5ysjf19.js} +12 -12
  139. package/dist/chunks/{git-1x6fq9p1.js → git-g71ss1xn.js} +8 -8
  140. package/dist/chunks/{git-g1k61010.js → git-gb1g2x4k.js} +25 -25
  141. package/dist/chunks/{git-ckn0kvtp.js → git-ggx84v7x.js} +3 -3
  142. package/dist/chunks/{git-me215f18.js → git-gnkmn8c6.js} +1 -1
  143. package/dist/chunks/{git-x219w6te.js → git-gr3xza4k.js} +5 -5
  144. package/dist/chunks/{git-818t107x.js → git-gtxqc62w.js} +19 -19
  145. package/dist/chunks/{git-w2z1zxee.js → git-gvr1wrwc.js} +15 -15
  146. package/dist/chunks/{git-2zarbs9g.js → git-gw8qytxn.js} +33 -33
  147. package/dist/chunks/{git-ra40zrct.js → git-gwv2mpj6.js} +30 -30
  148. package/dist/chunks/{git-s08m6qw8.js → git-h1x2z473.js} +28 -28
  149. package/dist/chunks/{git-x0v7ycvc.js → git-h3bkzmev.js} +6 -6
  150. package/dist/chunks/{git-4qvfwaq6.js → git-h9bh2nqk.js} +2 -2
  151. package/dist/chunks/{git-nphhqmd7.js → git-h9jz8k2w.js} +41 -41
  152. package/dist/chunks/{git-dvnqv6yn.js → git-hced1q2j.js} +3 -3
  153. package/dist/chunks/{git-vq7vv3nk.js → git-hh6wnwm8.js} +16 -16
  154. package/dist/chunks/{git-ckh9py1e.js → git-hkaenk79.js} +9 -9
  155. package/dist/chunks/{git-ddj8zy88.js → git-hrav46rw.js} +17 -17
  156. package/dist/chunks/{git-jfj792ae.js → git-hvqp069m.js} +10 -10
  157. package/dist/chunks/{git-7tpyp9vw.js → git-hw621kav.js} +7 -7
  158. package/dist/chunks/{git-7g2gp4mw.js → git-j384620m.js} +15 -15
  159. package/dist/chunks/{git-mr00pmf2.js → git-j3kswyhf.js} +3 -3
  160. package/dist/chunks/{git-neheaczg.js → git-j41w8xdk.js} +13 -13
  161. package/dist/chunks/{git-wn1h7kga.js → git-jfw03jt9.js} +3 -3
  162. package/dist/chunks/{git-e7vcsbw8.js → git-jp5e8g4e.js} +28 -28
  163. package/dist/chunks/{git-mwymqehm.js → git-jsc8ycs5.js} +7 -7
  164. package/dist/chunks/{git-7bvve1ef.js → git-jtsrwzj5.js} +4 -4
  165. package/dist/chunks/{git-jk3rwvc2.js → git-jw32pn92.js} +10 -10
  166. package/dist/chunks/{git-hwwe2nrh.js → git-jxqms9w4.js} +11 -11
  167. package/dist/chunks/{git-sxmggh6x.js → git-kj8281nx.js} +4 -4
  168. package/dist/chunks/{git-vzn2aggs.js → git-kk89jyzz.js} +20 -20
  169. package/dist/chunks/{git-txdsg1gc.js → git-kq493ejx.js} +15 -15
  170. package/dist/chunks/{git-caz22v9f.js → git-kqnb2wzg.js} +23 -23
  171. package/dist/chunks/{git-258sxg8z.js → git-kv1m4r0t.js} +9 -9
  172. package/dist/chunks/{git-bj78ahtb.js → git-kvmx4gfp.js} +6 -6
  173. package/dist/chunks/{git-gkn9gevw.js → git-kwhhx56s.js} +12 -12
  174. package/dist/chunks/{git-nhhy2sd3.js → git-kxhqpggx.js} +19 -19
  175. package/dist/chunks/{git-vpsy2dmg.js → git-kzva7xr5.js} +24 -24
  176. package/dist/chunks/{git-wc036jqw.js → git-m3m5k6hy.js} +12 -12
  177. package/dist/chunks/{git-4krr2nde.js → git-m8zx2yvr.js} +1 -1
  178. package/dist/chunks/{git-8z6m94af.js → git-mb7mbhnz.js} +1 -1
  179. package/dist/chunks/{git-4hwr469f.js → git-mbk8h3wg.js} +7 -7
  180. package/dist/chunks/{git-pqyke20e.js → git-md69vhb1.js} +15 -15
  181. package/dist/chunks/{git-8cg9c955.js → git-mm27w63f.js} +7 -7
  182. package/dist/chunks/{git-bqa8ney4.js → git-mrpnjyvf.js} +7 -7
  183. package/dist/chunks/{git-8pezm2ch.js → git-nbkgmrnq.js} +8 -8
  184. package/dist/chunks/{git-4erkqbak.js → git-nf2d1zh5.js} +28 -28
  185. package/dist/chunks/{git-v9xnb7wg.js → git-nh2md1vs.js} +6 -6
  186. package/dist/chunks/{git-q98zat53.js → git-nteew1ty.js} +17 -17
  187. package/dist/chunks/{git-ecj07vsr.js → git-ntzzxe9p.js} +3 -3
  188. package/dist/chunks/{git-czwy3yzx.js → git-nyxvvj5y.js} +6 -6
  189. package/dist/chunks/{git-qxtarq3x.js → git-p0tjaf5p.js} +72 -72
  190. package/dist/chunks/{git-xkbbmxj3.js → git-p29q87c6.js} +8 -8
  191. package/dist/chunks/{git-nmgr0jfg.js → git-p7kjdt1b.js} +6 -6
  192. package/dist/chunks/{git-san51twj.js → git-p82q7yen.js} +18 -18
  193. package/dist/chunks/{git-6kkmdptb.js → git-p9605bcp.js} +8 -8
  194. package/dist/chunks/{git-z5sqz1zb.js → git-pavzvnye.js} +25 -25
  195. package/dist/chunks/{git-b0cfyxc9.js → git-pb9ydyhq.js} +25 -25
  196. package/dist/chunks/{git-y88xvhfg.js → git-pcyqp9fj.js} +19 -19
  197. package/dist/chunks/{git-6wmkrcd0.js → git-pekb3kta.js} +30 -30
  198. package/dist/chunks/{git-2g7023vw.js → git-pnvbew7m.js} +20 -20
  199. package/dist/chunks/{git-yj3dqh2s.js → git-pty4hktj.js} +18 -18
  200. package/dist/chunks/{git-1v2g13eq.js → git-pxrqm68d.js} +4 -4
  201. package/dist/chunks/{git-859r5hwh.js → git-q0yp49a8.js} +33 -33
  202. package/dist/chunks/{git-94g9nn05.js → git-q9z2tc81.js} +33 -33
  203. package/dist/chunks/{git-70jrmdyd.js → git-qax158c6.js} +4 -4
  204. package/dist/chunks/{git-mxz29pf6.js → git-qaytk5qx.js} +17 -17
  205. package/dist/chunks/{git-pgzkxqxx.js → git-qz8etm46.js} +2 -2
  206. package/dist/chunks/{git-fyhpthh4.js → git-r0jctb9s.js} +1 -1
  207. package/dist/chunks/{git-43tepy49.js → git-r169pjrs.js} +2 -2
  208. package/dist/chunks/{git-26yz0n4z.js → git-r4ra5fvg.js} +16 -16
  209. package/dist/chunks/{git-qkc4txyr.js → git-r6z5xtd7.js} +6 -6
  210. package/dist/chunks/{git-t62dywgn.js → git-r7zrbnjn.js} +3 -3
  211. package/dist/chunks/{git-gdqvcj7q.js → git-rfyfdpdh.js} +19 -19
  212. package/dist/chunks/{git-mr371stg.js → git-rk1rnymw.js} +10 -10
  213. package/dist/chunks/{git-18xfhrya.js → git-rsfbxv4d.js} +16 -16
  214. package/dist/chunks/{git-3k4vaw3h.js → git-rt18gyq5.js} +16 -16
  215. package/dist/chunks/{git-anvcme1c.js → git-rzg6y5rp.js} +3 -3
  216. package/dist/chunks/{git-vmxsyvj6.js → git-s26c8eb5.js} +3 -3
  217. package/dist/chunks/{git-8dp1pxha.js → git-s2t1sdmb.js} +11 -11
  218. package/dist/chunks/{git-tr70arys.js → git-s49mjxh7.js} +8 -8
  219. package/dist/chunks/{git-m683gbeq.js → git-s8xvt5rk.js} +5 -5
  220. package/dist/chunks/{git-z9j96w8z.js → git-scfsrjt6.js} +12 -12
  221. package/dist/chunks/{git-pcb441r4.js → git-sj3sd7dm.js} +8 -8
  222. package/dist/chunks/{git-shbascdy.js → git-sjj4ev8f.js} +13 -13
  223. package/dist/chunks/{git-j0p3wt22.js → git-sp3g7ra2.js} +7 -7
  224. package/dist/chunks/{git-0j7gp832.js → git-sqjzf8x2.js} +3 -3
  225. package/dist/chunks/{git-kzdam8c6.js → git-sx27c7qs.js} +3 -3
  226. package/dist/chunks/{git-zwrnq9k1.js → git-tcp6xf8t.js} +13 -13
  227. package/dist/chunks/{git-knwt2rnc.js → git-tn46mmh5.js} +1 -1
  228. package/dist/chunks/{git-6efgt9fr.js → git-tp0ex5xf.js} +20 -20
  229. package/dist/chunks/{git-0xvpbdhz.js → git-tq5mrxsw.js} +4 -4
  230. package/dist/chunks/{git-qsm149em.js → git-tqqy5sm4.js} +18 -18
  231. package/dist/chunks/{git-ny4jqg6h.js → git-tsz3kxr2.js} +12 -12
  232. package/dist/chunks/{git-w79nt68w.js → git-v0t96s7a.js} +3 -3
  233. package/dist/chunks/{git-26wfx3k0.js → git-v4bj6baw.js} +3 -3
  234. package/dist/chunks/{git-40km7fwj.js → git-v56pf686.js} +29 -29
  235. package/dist/chunks/{git-29avq3cp.js → git-v758rt9q.js} +7 -7
  236. package/dist/chunks/{git-97858afg.js → git-va4hdphv.js} +24 -24
  237. package/dist/chunks/{git-5d9f9s81.js → git-vevq54rd.js} +21 -21
  238. package/dist/chunks/{git-ne21ayb1.js → git-vgrhwy1q.js} +27 -27
  239. package/dist/chunks/{git-wt4esca3.js → git-vk5ee1tp.js} +15 -15
  240. package/dist/chunks/{git-qfz6bxfd.js → git-vmqe41cb.js} +3 -3
  241. package/dist/chunks/{git-yraf8ad8.js → git-vs8t80zk.js} +7 -7
  242. package/dist/chunks/{git-px7qpgcn.js → git-vt2d6wap.js} +3 -3
  243. package/dist/chunks/{git-3crhqrgy.js → git-vveecbvg.js} +10 -10
  244. package/dist/chunks/{git-sah8y7c0.js → git-w4vxjk9w.js} +45 -45
  245. package/dist/chunks/{git-wr3re1en.js → git-w687dnns.js} +3 -3
  246. package/dist/chunks/{git-nx4vzyjd.js → git-wegkxhrn.js} +1 -1
  247. package/dist/chunks/{git-srk7je24.js → git-wer643hq.js} +4 -4
  248. package/dist/chunks/{git-qa8wq1bx.js → git-wgz5mth4.js} +7 -7
  249. package/dist/chunks/{git-hz2mz9x2.js → git-wjxd5znf.js} +10 -10
  250. package/dist/chunks/{git-yx3b9wnq.js → git-wq7h4fzf.js} +13 -13
  251. package/dist/chunks/{git-rh17qn9g.js → git-ws6bkvx4.js} +11 -11
  252. package/dist/chunks/{git-c7cw818c.js → git-wt99tj4q.js} +3 -3
  253. package/dist/chunks/{git-vq1mwpzf.js → git-wtr4aekm.js} +18 -18
  254. package/dist/chunks/{git-spqq7br9.js → git-x2cyss11.js} +15 -15
  255. package/dist/chunks/{git-mnb0gnk7.js → git-x7p75687.js} +4 -4
  256. package/dist/chunks/{git-hmwwhwz5.js → git-x95n2smq.js} +17 -17
  257. package/dist/chunks/{git-3p2s76hn.js → git-x9aygtt9.js} +8 -8
  258. package/dist/chunks/{git-gm52mcbv.js → git-x9g5m248.js} +9 -9
  259. package/dist/chunks/{git-fhmv9g5t.js → git-xsskj9ss.js} +6 -6
  260. package/dist/chunks/{git-atj4teez.js → git-xtevw68n.js} +12 -12
  261. package/dist/chunks/{git-xjr6c8m4.js → git-xxschbft.js} +3 -3
  262. package/dist/chunks/{git-t48jrnqq.js → git-y1n277rb.js} +2 -2
  263. package/dist/chunks/{git-ctmpqb7w.js → git-y9x9m3cp.js} +7 -7
  264. package/dist/chunks/git-yczr3d9p.js +265 -0
  265. package/dist/chunks/{git-t64cy5gr.js → git-ye3hegqv.js} +87 -87
  266. package/dist/chunks/{git-s94p9e0n.js → git-yhwpy9x1.js} +151 -151
  267. package/dist/chunks/{git-81b37fex.js → git-yjs4xt5n.js} +9 -9
  268. package/dist/chunks/{git-a9j2s6ks.js → git-ykerj1ry.js} +31 -31
  269. package/dist/chunks/{git-pqfjz2pw.js → git-yxvhnmhq.js} +1 -1
  270. package/dist/chunks/{git-a3fn0gmm.js → git-z0c26qk4.js} +1 -1
  271. package/dist/chunks/{git-smvx4crh.js → git-znw5ah2c.js} +20 -20
  272. package/dist/chunks/{git-86bhhzhr.js → git-zpzp6d8n.js} +5 -5
  273. package/dist/chunks/{git-hw99hsx1.js → git-zx9gjdah.js} +14 -14
  274. package/dist/chunks/{git-j2a6e62b.js → git-zy7phst8.js} +7 -7
  275. package/dist/codemode/execution.js +3 -3
  276. package/dist/codemode/fetch.js +107 -107
  277. package/dist/codemode/instructions.js +10 -10
  278. package/dist/codemode/tool.js +114 -114
  279. package/dist/command.js +72 -72
  280. package/dist/config/discovery.js +67 -67
  281. package/dist/config/normalize.js +79 -79
  282. package/dist/config/plugin/agent.js +93 -93
  283. package/dist/config/plugin/command.js +190 -190
  284. package/dist/config/plugin/compaction.js +129 -129
  285. package/dist/config/plugin/compatibility.js +110 -110
  286. package/dist/config/plugin/formatter.js +92 -92
  287. package/dist/config/plugin/image.js +91 -91
  288. package/dist/config/plugin/instruction.js +92 -92
  289. package/dist/config/plugin/location-watcher.js +93 -93
  290. package/dist/config/plugin/mcp.js +103 -103
  291. package/dist/config/plugin/policy.js +91 -91
  292. package/dist/config/plugin/provider.js +91 -91
  293. package/dist/config/plugin/reference.js +92 -92
  294. package/dist/config/plugin/shell.js +91 -91
  295. package/dist/config/plugin/skill-file.js +107 -107
  296. package/dist/config/plugin/skill.js +113 -113
  297. package/dist/config/plugin/snapshot.js +91 -91
  298. package/dist/config/plugin/source.js +94 -94
  299. package/dist/config/plugin/tool-output.js +91 -91
  300. package/dist/config/plugin/websearch.js +90 -90
  301. package/dist/config/plugin/worktree.js +92 -92
  302. package/dist/config.js +95 -95
  303. package/dist/console-access.js +7 -7
  304. package/dist/credential.js +70 -70
  305. package/dist/database/database.js +58 -58
  306. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  307. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  308. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  309. package/dist/database/drizzle/index.js +8 -8
  310. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  311. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  312. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  313. package/dist/database/drizzle.js +8 -8
  314. package/dist/database/migration.gen.js +47 -47
  315. package/dist/database/migration.js +57 -57
  316. package/dist/database/v1-migration.bun.js +16 -16
  317. package/dist/effect/app-node-builder.js +281 -281
  318. package/dist/environment/environment.js +74 -74
  319. package/dist/environment/index.js +76 -76
  320. package/dist/environment/unavailable.js +3 -3
  321. package/dist/event-logger.js +9 -9
  322. package/dist/file-access.js +118 -118
  323. package/dist/file-mutation.js +76 -76
  324. package/dist/file-write.js +121 -121
  325. package/dist/filesystem/file-watch.js +14 -14
  326. package/dist/filesystem/location-watcher-policy.js +5 -5
  327. package/dist/filesystem/location-watcher.js +205 -205
  328. package/dist/filesystem/search.js +79 -79
  329. package/dist/filesystem/watcher.js +9 -9
  330. package/dist/filesystem.js +84 -84
  331. package/dist/flag.js +91 -91
  332. package/dist/form.js +70 -70
  333. package/dist/formatter/builtins.js +3 -3
  334. package/dist/formatter.js +71 -71
  335. package/dist/generate.js +88 -88
  336. package/dist/git.js +2 -2
  337. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  338. package/dist/github-copilot/copilot-provider.js +3 -3
  339. package/dist/github-copilot/models.js +80 -80
  340. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  341. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  342. package/dist/image/notice.js +3 -3
  343. package/dist/image/photon.js +1 -1
  344. package/dist/image.js +5 -5
  345. package/dist/instance/service.js +5 -5
  346. package/dist/instance.js +365 -365
  347. package/dist/instruction-discovery.js +71 -71
  348. package/dist/instructions/builtins.js +72 -72
  349. package/dist/instructions/index.js +3 -3
  350. package/dist/integration.js +66 -66
  351. package/dist/job/list.js +3 -3
  352. package/dist/job/recovery.js +2 -2
  353. package/dist/job.js +68 -68
  354. package/dist/kv.js +63 -63
  355. package/dist/location-activity.js +79 -79
  356. package/dist/location-lifecycle.js +112 -112
  357. package/dist/location-service-map.js +71 -71
  358. package/dist/location-services.js +364 -364
  359. package/dist/location.js +72 -72
  360. package/dist/mcp/client.js +54 -54
  361. package/dist/mcp/connection.js +72 -72
  362. package/dist/mcp/index.js +84 -84
  363. package/dist/mcp/instructions.js +142 -142
  364. package/dist/mcp/oauth.js +13 -13
  365. package/dist/mcp/pool.js +78 -78
  366. package/dist/mcp/stdio.js +115 -115
  367. package/dist/modal/models.js +80 -80
  368. package/dist/model-resolver.js +79 -79
  369. package/dist/model.js +75 -75
  370. package/dist/models-dev.js +81 -81
  371. package/dist/permission/saved.js +72 -72
  372. package/dist/permission/sql.js +3 -3
  373. package/dist/permission.js +115 -115
  374. package/dist/persistent-pty/index.js +69 -69
  375. package/dist/persistent-pty.js +61 -61
  376. package/dist/plugin/agent.js +65 -65
  377. package/dist/plugin/command.js +83 -83
  378. package/dist/plugin/goal.js +3 -3
  379. package/dist/plugin/hooks.js +5 -5
  380. package/dist/plugin/host.js +196 -196
  381. package/dist/plugin/identity.js +5 -5
  382. package/dist/plugin/instance.js +5 -5
  383. package/dist/plugin/internal.js +342 -342
  384. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  385. package/dist/plugin/models-dev.js +76 -76
  386. package/dist/plugin/module.js +90 -90
  387. package/dist/plugin/optimize.js +4 -4
  388. package/dist/plugin/plan.js +108 -108
  389. package/dist/plugin/provider/amazon-bedrock.js +74 -74
  390. package/dist/plugin/provider/azure.js +95 -95
  391. package/dist/plugin/provider/chatgpt.js +93 -93
  392. package/dist/plugin/provider/claude-agent/aisdk.js +83 -83
  393. package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
  394. package/dist/plugin/provider/claude-agent/claude/session.js +3 -3
  395. package/dist/plugin/provider/claude-agent/claude/sessions.js +11 -11
  396. package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
  397. package/dist/plugin/provider/claude-agent/index.js +105 -105
  398. package/dist/plugin/provider/claude-agent/instructions.js +79 -79
  399. package/dist/plugin/provider/claude-agent/integration.js +80 -80
  400. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  401. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  402. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  403. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  404. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  405. package/dist/plugin/provider/claude-agent/provider.js +77 -77
  406. package/dist/plugin/provider/claude-agent/session.js +80 -80
  407. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  408. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  409. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  410. package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
  411. package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
  412. package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
  413. package/dist/plugin/provider/configured.js +88 -88
  414. package/dist/plugin/provider/credential-settings.js +63 -63
  415. package/dist/plugin/provider/digitalocean.js +76 -76
  416. package/dist/plugin/provider/github-copilot.js +78 -78
  417. package/dist/plugin/provider/gitlab.js +76 -76
  418. package/dist/plugin/provider/google-vertex.js +89 -89
  419. package/dist/plugin/provider/llmgateway.js +63 -63
  420. package/dist/plugin/provider/lmstudio.js +98 -98
  421. package/dist/plugin/provider/local.js +95 -95
  422. package/dist/plugin/provider/modal.js +76 -76
  423. package/dist/plugin/provider/ollama.js +98 -98
  424. package/dist/plugin/provider/openai-context-caps.js +74 -74
  425. package/dist/plugin/provider/openai.js +95 -95
  426. package/dist/plugin/provider/opencode.js +116 -116
  427. package/dist/plugin/provider/openrouter.js +72 -72
  428. package/dist/plugin/provider/poe.js +63 -63
  429. package/dist/plugin/provider/refresh.js +62 -62
  430. package/dist/plugin/provider/sap-ai-core.js +71 -71
  431. package/dist/plugin/provider/snowflake-cortex.js +92 -92
  432. package/dist/plugin/provider/vllm.js +98 -98
  433. package/dist/plugin/provider/xai.js +72 -72
  434. package/dist/plugin/provider.js +183 -183
  435. package/dist/plugin/sdk.js +66 -66
  436. package/dist/plugin/skill.js +111 -111
  437. package/dist/plugin/supervisor.js +352 -352
  438. package/dist/plugin/tool-input-repair.js +3 -3
  439. package/dist/plugin/update.js +5 -5
  440. package/dist/plugin/vcs/git.js +70 -70
  441. package/dist/plugin/vcs/hg.js +70 -70
  442. package/dist/plugin/verbosity.js +74 -74
  443. package/dist/plugin/warming.js +92 -92
  444. package/dist/plugin/websearch/exa.js +7 -7
  445. package/dist/plugin/websearch/firecrawl.js +8 -8
  446. package/dist/plugin/websearch/index.js +9 -9
  447. package/dist/plugin/websearch/mcp.js +3 -3
  448. package/dist/plugin/websearch/parallel.js +6 -6
  449. package/dist/plugin/websearch/provider.js +3 -3
  450. package/dist/plugin/websearch/tavily.js +7 -7
  451. package/dist/plugin/websearch/tinyfish.js +6 -6
  452. package/dist/plugin.js +199 -199
  453. package/dist/project/icon.js +3 -3
  454. package/dist/project/sql.js +2 -2
  455. package/dist/project.js +65 -65
  456. package/dist/provider.js +74 -74
  457. package/dist/pty.js +80 -80
  458. package/dist/reference/instructions.js +72 -72
  459. package/dist/reference.js +70 -70
  460. package/dist/repository-cache.js +66 -66
  461. package/dist/ripgrep.js +76 -76
  462. package/dist/rpc.js +71 -71
  463. package/dist/schedule/check.js +200 -200
  464. package/dist/schedule/sql.js +4 -4
  465. package/dist/schedule.js +206 -206
  466. package/dist/session/blob.js +92 -92
  467. package/dist/session/command.js +62 -62
  468. package/dist/session/compaction.js +132 -132
  469. package/dist/session/context.js +159 -159
  470. package/dist/session/diff.js +71 -71
  471. package/dist/session/environment.js +5 -5
  472. package/dist/session/error.js +2 -2
  473. package/dist/session/execution/restart.js +131 -131
  474. package/dist/session/execution.js +124 -124
  475. package/dist/session/generate.js +160 -160
  476. package/dist/session/history.js +98 -98
  477. package/dist/session/inbox.js +109 -109
  478. package/dist/session/info.js +2 -2
  479. package/dist/session/instruction-entry.js +69 -69
  480. package/dist/session/instruction-state.js +5 -5
  481. package/dist/session/instructions.js +103 -103
  482. package/dist/session/message-updater.js +3 -3
  483. package/dist/session/model-request.js +127 -127
  484. package/dist/session/model-transport.js +5 -5
  485. package/dist/session/move.js +128 -128
  486. package/dist/session/projector.js +104 -104
  487. package/dist/session/prompt.js +108 -108
  488. package/dist/session/revert.js +101 -101
  489. package/dist/session/runner/index.js +3 -3
  490. package/dist/session/runner/llm.js +208 -208
  491. package/dist/session/runner/model.js +80 -80
  492. package/dist/session/runner/publish-llm-event.js +112 -112
  493. package/dist/session/runner/retry.js +4 -4
  494. package/dist/session/runner/step.js +123 -123
  495. package/dist/session/runner/to-llm-message.js +99 -99
  496. package/dist/session/schema.js +5 -5
  497. package/dist/session/session.js +139 -139
  498. package/dist/session/shell.js +101 -101
  499. package/dist/session/skill.js +108 -108
  500. package/dist/session/sql.js +3 -3
  501. package/dist/session/stats.js +10 -10
  502. package/dist/session/store.js +104 -104
  503. package/dist/session/subagent-completion.js +3 -3
  504. package/dist/session/subagent-job.js +185 -185
  505. package/dist/session/system-prompt.js +5 -5
  506. package/dist/session/title.js +162 -162
  507. package/dist/session/to-session-error.js +111 -111
  508. package/dist/session/transfer.js +122 -122
  509. package/dist/session.js +196 -196
  510. package/dist/shared-cache.js +5 -5
  511. package/dist/shell/parse.js +2 -2
  512. package/dist/shell/select.js +9 -9
  513. package/dist/shell.js +104 -104
  514. package/dist/skill/discovery.js +5 -5
  515. package/dist/skill/instructions.js +111 -111
  516. package/dist/skill.js +116 -116
  517. package/dist/snapshot.js +73 -73
  518. package/dist/tool/mcp.js +139 -139
  519. package/dist/tool/plugin/artifact.js +187 -187
  520. package/dist/tool/plugin/edit.js +125 -125
  521. package/dist/tool/plugin/glob.js +130 -130
  522. package/dist/tool/plugin/grep.js +129 -129
  523. package/dist/tool/plugin/image-generate.js +197 -197
  524. package/dist/tool/plugin/mcp-resource.js +125 -125
  525. package/dist/tool/plugin/opencode.js +122 -122
  526. package/dist/tool/plugin/patch.js +128 -128
  527. package/dist/tool/plugin/question.js +108 -108
  528. package/dist/tool/plugin/read.js +131 -131
  529. package/dist/tool/plugin/schedule.js +205 -205
  530. package/dist/tool/plugin/shell.js +192 -192
  531. package/dist/tool/plugin/skill.js +117 -117
  532. package/dist/tool/plugin/subagent.js +196 -196
  533. package/dist/tool/plugin/todo.js +114 -114
  534. package/dist/tool/plugin/webfetch.js +108 -108
  535. package/dist/tool/plugin/websearch.js +115 -115
  536. package/dist/tool/plugin/write.js +124 -124
  537. package/dist/tool/read-filesystem.js +76 -76
  538. package/dist/tool/search.js +75 -75
  539. package/dist/tool-output.js +5 -5
  540. package/dist/tool.js +122 -122
  541. package/dist/usage-limits.js +74 -74
  542. package/dist/v1/config/agent.js +2 -2
  543. package/dist/v1/config/command.js +3 -3
  544. package/dist/v1/config/mcp.js +3 -3
  545. package/dist/v1/config/migrate.js +72 -72
  546. package/dist/v1/config/permission.js +3 -3
  547. package/dist/v1/config/provider.js +3 -3
  548. package/dist/variant.js +72 -72
  549. package/dist/vcs.js +73 -73
  550. package/dist/voice.js +73 -73
  551. package/dist/websearch.js +71 -71
  552. package/dist/wellknown/plugin.js +64 -64
  553. package/dist/wellknown.js +65 -65
  554. package/dist/workspace/driver.js +5 -5
  555. package/dist/workspace.js +71 -71
  556. package/dist/worktree/git.js +5 -5
  557. package/dist/worktree/sql.js +3 -3
  558. package/dist/worktree/strategies.js +72 -72
  559. package/dist/worktree.js +78 -78
  560. package/package.json +9 -9
  561. package/dist/chunks/git-bs1vm4fj.js +0 -26
  562. package/dist/chunks/git-vrtat2e8.js +0 -265
  563. /package/dist/chunks/{git-aj7mw0zk.js → git-034tev2y.js} +0 -0
  564. /package/dist/chunks/{git-ed9p54rh.js → git-0cty9tzn.js} +0 -0
  565. /package/dist/chunks/{git-gb4bpkf1.js → git-36qg6swj.js} +0 -0
  566. /package/dist/chunks/{git-qdh3dv6a.js → git-a96kghqz.js} +0 -0
  567. /package/dist/chunks/{git-s9193vtn.js → git-dfsy2zcm.js} +0 -0
  568. /package/dist/chunks/{git-7f3a4d73.js → git-nyjexfs1.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service92
3
- } from "./git-xj1ksz36.js";
3
+ } from "./git-fnx943sm.js";
4
4
  import {
5
5
  Service91
6
- } from "./git-7fxw094p.js";
6
+ } from "./git-fjydg50v.js";
7
7
  import {
8
- Service50
9
- } from "./git-5m6a7xby.js";
8
+ Service62
9
+ } from "./git-1mjfhd2z.js";
10
10
  import {
11
11
  RelativePath2
12
12
  } from "./git-z5v4ffb3.js";
13
13
  import {
14
- Service42
15
- } from "./git-vq1mwpzf.js";
14
+ Service55
15
+ } from "./git-wtr4aekm.js";
16
16
  import {
17
17
  SessionEvent2
18
18
  } from "./git-ec1grn59.js";
19
19
  import {
20
20
  MessageNotFoundError2
21
- } from "./git-530xg6vw.js";
21
+ } from "./git-7ke2z32d.js";
22
22
  import {
23
23
  SessionMessageTable2
24
- } from "./git-8z6m94af.js";
24
+ } from "./git-mb7mbhnz.js";
25
25
  import {
26
26
  decodeMessageRowSync2
27
- } from "./git-nkx9v1k7.js";
27
+ } from "./git-4cbycqt3.js";
28
28
  import {
29
29
  __export
30
30
  } from "./git-9rqn6x4v.js";
@@ -40,11 +40,11 @@ __export(exports_revert, {
40
40
  import { and, asc, eq, gt } from "drizzle-orm";
41
41
  import { Effect } from "effect";
42
42
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
43
- const instances = yield* Service50;
43
+ const instances = yield* Service62;
44
44
  const database = yield* Service92;
45
45
  const bus = yield* Service91;
46
46
  return yield* Effect.gen(function* () {
47
- const snapshot = yield* Service42;
47
+ const snapshot = yield* Service55;
48
48
  const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
49
49
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
50
50
  const restore = new Map;
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
72
72
  }).pipe(instances.provide(input.session));
73
73
  });
74
74
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
75
- const instances = yield* Service50;
75
+ const instances = yield* Service62;
76
76
  const bus = yield* Service91;
77
77
  yield* Effect.gen(function* () {
78
- const snapshot = yield* Service42;
78
+ const snapshot = yield* Service55;
79
79
  if (!session.revert)
80
80
  return;
81
81
  const original = session.revert.snapshot;
@@ -8,11 +8,11 @@ import {
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
13
  isSafeRelativePath: () => isSafeRelativePath2,
14
14
  isSafeSegment: () => isSafeSegment2,
15
- node: () => node13
15
+ node: () => node12
16
16
  });
17
17
  import path from "path";
18
18
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -50,9 +50,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
50
50
  }) {
51
51
  }
52
52
 
53
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
53
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
54
54
  }
55
- var layer = Layer.effect(Service11, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
56
56
  const fs = yield* FSUtil.Service;
57
57
  const global = yield* Global.Service;
58
58
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
65
65
  return true;
66
66
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
67
67
  });
68
- return Service11.of({
68
+ return Service10.of({
69
69
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
70
70
  const base = url.endsWith("/") ? url : `${url}/`;
71
71
  const source = new URL(base);
@@ -152,6 +152,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
152
152
  })
153
153
  });
154
154
  }));
155
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
155
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
156
156
 
157
- export { isSafeSegment2, isSafeRelativePath2, Service11, node13, exports_discovery };
157
+ export { isSafeSegment2, isSafeRelativePath2, Service10, node12, exports_discovery };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service77,
3
- node80
4
- } from "./git-pqyke20e.js";
2
+ Service80,
3
+ node84
4
+ } from "./git-md69vhb1.js";
5
5
  import {
6
- Service87,
7
- node91
8
- } from "./git-tnb4xd20.js";
6
+ Service88,
7
+ node92
8
+ } from "./git-0x3y91hs.js";
9
9
  import {
10
- Service76,
11
- node79
12
- } from "./git-55ngdm5m.js";
10
+ Service79,
11
+ node83
12
+ } from "./git-g4sh17b8.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: () => Service7,
28
+ Service: () => Service3,
29
29
  empty: () => empty2,
30
- layer: () => layer7,
31
- node: () => node9
30
+ layer: () => layer4,
31
+ node: () => node4
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 Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
39
+ class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
- var layer7 = Layer.effect(Service7, Effect.gen(function* () {
42
- const config = yield* Service76;
43
- const watcher = yield* Service77;
41
+ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
42
+ const config = yield* Service79;
43
+ const watcher = yield* Service80;
44
44
  const fs = yield* FSUtil.Service;
45
- const location = yield* Service87;
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 layer7 = Layer.effect(Service7, 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 Service7.of({
64
+ return Service3.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 layer7 = Layer.effect(Service7, Effect.gen(function* () {
73
73
  })), Stream.fromPubSub(configuredChanges))
74
74
  });
75
75
  }));
76
- var node9 = makeLocationNode({
77
- service: Service7,
78
- layer: layer7,
79
- deps: [node79, FSUtil.node, node80, node91]
76
+ var node4 = makeLocationNode({
77
+ service: Service3,
78
+ layer: layer4,
79
+ deps: [node83, FSUtil.node, node84, node92]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
- service: Service7,
83
- layer: Layer.succeed(Service7, Service7.of({
82
+ service: Service3,
83
+ layer: Layer.succeed(Service3, Service3.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 { Service7, layer7, node9, empty2, exports_source };
141
+ export { Service3, layer4, node4, empty2, exports_source };
@@ -2,13 +2,13 @@ import {
2
2
  RelativePath2
3
3
  } from "./git-z5v4ffb3.js";
4
4
  import {
5
- Service87,
6
- node91
7
- } from "./git-tnb4xd20.js";
5
+ Service88,
6
+ node92
7
+ } from "./git-0x3y91hs.js";
8
8
  import {
9
- Service46,
10
- node48
11
- } from "./git-8dp1pxha.js";
9
+ Service76,
10
+ node79
11
+ } from "./git-s2t1sdmb.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
@@ -21,11 +21,11 @@ import {
21
21
  var exports_search2 = {};
22
22
  __export(exports_search2, {
23
23
  FileSystemSearch: () => exports_search2,
24
- Service: () => Service41,
25
- configured: () => configured4,
24
+ Service: () => Service46,
25
+ configured: () => configured5,
26
26
  fffLayer: () => fffLayer2,
27
27
  makeFffLayer: () => makeFffLayer2,
28
- node: () => node43
28
+ node: () => node49
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import path from "path";
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
33
33
  import { Fff } from "#fff";
34
34
  import fuzzysort from "fuzzysort";
35
35
  import { FileSystem } from "@opencode/schema/filesystem";
36
- class Service41 extends Context.Service()("@opencode/FileSystem/Search") {
36
+ class Service46 extends Context.Service()("@opencode/FileSystem/Search") {
37
37
  }
38
38
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
39
39
  function emptyIndex() {
@@ -52,9 +52,9 @@ function search(index, input) {
52
52
  });
53
53
  });
54
54
  }
55
- var ripgrepLayer = Layer.effect(Service41, Effect.gen(function* () {
56
- const location = yield* Service87;
57
- const ripgrep = yield* Service46;
55
+ var ripgrepLayer = Layer.effect(Service46, Effect.gen(function* () {
56
+ const location = yield* Service88;
57
+ const ripgrep = yield* Service76;
58
58
  const scope = yield* Scope.Scope;
59
59
  const clock = yield* Clock.Clock;
60
60
  const home = isHome2(location.directory);
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service41, Effect.gen(function* () {
99
99
  Deferred.doneUnsafe(attempt, exit);
100
100
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
101
101
  });
102
- return Service41.of({
102
+ return Service46.of({
103
103
  find: (input) => Effect.gen(function* () {
104
104
  yield* refresh;
105
105
  return search(index, input);
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
119
119
  return { ok: false, error };
120
120
  }
121
121
  }
122
- var makeFffLayer2 = (create) => Layer.effect(Service41, Effect.gen(function* () {
123
- const location = yield* Service87;
122
+ var makeFffLayer2 = (create) => Layer.effect(Service46, Effect.gen(function* () {
123
+ const location = yield* Service88;
124
124
  let state;
125
125
  yield* Effect.addFinalizer(() => Effect.sync(() => {
126
126
  if (typeof state === "object" && state.result.ok)
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service41, Effect.gen(function* ()
152
152
  }
153
153
  return current.result.value;
154
154
  });
155
- return Service41.of({
155
+ return Service46.of({
156
156
  find: (input) => Effect.gen(function* () {
157
157
  const finder = yield* picker;
158
158
  if (!finder)
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service41, Effect.gen(function* ()
200
200
  }));
201
201
  var fffLayer2 = makeFffLayer2(Fff.create);
202
202
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
203
- const location = yield* Service87;
203
+ const location = yield* Service88;
204
204
  if (location.workspaceID)
205
205
  return ripgrepLayer;
206
206
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
207
207
  return ripgrepLayer;
208
208
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
209
209
  }));
210
- function configured4(options) {
211
- return makeLocationNode({ service: Service41, layer: layer(options), deps: [node91, node48] });
210
+ function configured5(options) {
211
+ return makeLocationNode({ service: Service46, layer: layer(options), deps: [node92, node79] });
212
212
  }
213
- var node43 = configured4();
213
+ var node49 = configured5();
214
214
 
215
- export { Service41, makeFffLayer2, fffLayer2, configured4, node43, exports_search2 };
215
+ export { Service46, makeFffLayer2, fffLayer2, configured5, node49, exports_search2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service77
3
- } from "./git-pqyke20e.js";
2
+ Service80
3
+ } from "./git-md69vhb1.js";
4
4
  import {
5
- Service87
6
- } from "./git-tnb4xd20.js";
5
+ Service88
6
+ } from "./git-0x3y91hs.js";
7
7
  import {
8
- Service76
9
- } from "./git-55ngdm5m.js";
8
+ Service79
9
+ } from "./git-g4sh17b8.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./git-t62dywgn.js";
12
+ } from "./git-r7zrbnjn.js";
13
13
  import {
14
14
  File2,
15
- Service55
16
- } from "./git-818t107x.js";
15
+ Service43
16
+ } from "./git-gtxqc62w.js";
17
17
  import {
18
18
  __export
19
19
  } from "./git-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin29
25
+ Plugin: () => Plugin17
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin29 = define({
34
+ var Plugin17 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service55;
37
+ const discovery = yield* Service43;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service76;
39
+ const config = yield* Service79;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service87;
44
- const watcher = yield* Service77;
43
+ const location = yield* Service88;
44
+ const watcher = yield* Service80;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin29, exports_instruction };
183
+ export { Plugin17, exports_instruction };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID15,
2
+ ID12,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./git-xeqnzmnf.js";
5
+ } from "./git-bybkjpkj.js";
6
6
  import {
7
7
  __export
8
8
  } from "./git-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin14
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin27
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin14 = define({
60
+ var Plugin27 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin14 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID15.make("general"), (item) => {
70
+ editor.update(ID12.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID15.make("explore"), (item) => {
76
+ editor.update(ID12.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID15.make("compaction"), (item) => {
83
+ editor.update(ID12.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID15.make("title"), (item) => {
88
+ editor.update(ID12.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID15.make("summary"), (item) => {
95
+ editor.update(ID12.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin14 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin14, exports_agent };
106
+ export { Plugin27, exports_agent2 };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-vktteb34.js";
3
+ } from "./git-60tvtmqn.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./git-z65p847k.js";
6
+ } from "./git-3zz32vjr.js";
7
7
  import {
8
8
  key3
9
9
  } from "./git-n320gsn2.js";
10
10
  import {
11
11
  ID18,
12
12
  MethodID2
13
- } from "./git-h7new7c4.js";
13
+ } from "./git-9j9dggvf.js";
14
14
  import {
15
15
  ID17
16
- } from "./git-26yz0n4z.js";
16
+ } from "./git-r4ra5fvg.js";
17
17
  import {
18
18
  ID16,
19
19
  Family2
20
- } from "./git-vq7vv3nk.js";
20
+ } from "./git-hh6wnwm8.js";
21
21
  import {
22
22
  bootstrap2
23
23
  } from "./git-yb20nhc3.js";
24
24
  import {
25
- Service35
26
- } from "./git-29avq3cp.js";
25
+ Service36
26
+ } from "./git-v758rt9q.js";
27
27
  import {
28
28
  start3
29
- } from "./git-v305347d.js";
29
+ } from "./git-53yc0731.js";
30
30
  import {
31
31
  activeCredential2
32
- } from "./git-y7aayjrc.js";
32
+ } from "./git-c4zh2v72.js";
33
33
 
34
34
  // src/plugin/provider/digitalocean.ts
35
35
  import { define } from "@opencode/plugin/effect/plugin";
@@ -124,7 +124,7 @@ var oauth = {
124
124
  var DigitalOceanPlugin2 = define({
125
125
  id: "opencode.provider.digitalocean",
126
126
  effect: Effect.fn(function* (ctx) {
127
- const cache = yield* Service35;
127
+ const cache = yield* Service36;
128
128
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
129
129
  const discovered = yield* start3({
130
130
  integrationID,
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service76
3
- } from "./git-55ngdm5m.js";
2
+ Service79
3
+ } from "./git-g4sh17b8.js";
4
4
  import {
5
- Service39
6
- } from "./git-4hwr469f.js";
5
+ Service52
6
+ } from "./git-mbk8h3wg.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./git-mm06edep.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin22
18
+ Plugin: () => Plugin3
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin22 = define({
22
+ var Plugin3 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service76;
26
- const image = yield* Service39;
25
+ const config = yield* Service79;
26
+ const image = yield* Service52;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin22 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin22, exports_image };
46
+ export { Plugin3, exports_image };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service89,
3
3
  node93
4
- } from "./git-x0v7ycvc.js";
4
+ } from "./git-h3bkzmev.js";
5
5
  import {
6
6
  __export
7
7
  } from "./git-9rqn6x4v.js";
@@ -9,28 +9,28 @@ import {
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info29,
12
+ Info: () => Info30,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref5,
15
- Service: () => Service87,
15
+ Service: () => Service88,
16
16
  boundNode: () => boundNode2,
17
- node: () => node91,
17
+ node: () => node92,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info29, Ref as Ref5, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
22
22
  import { FSUtil } from "@opencode/util/fs-util";
23
23
  import { LayerNode } from "@opencode/util/effect/layer-node";
24
24
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
25
- class Service87 extends Context.Service()("@opencode/Location") {
25
+ class Service88 extends Context.Service()("@opencode/Location") {
26
26
  }
27
- var node91 = LayerNode.unbound(Service87, tags.values.location);
28
- var layer = (ref) => Layer.effect(Service87, Effect.gen(function* () {
27
+ var node92 = LayerNode.unbound(Service88, tags.values.location);
28
+ var layer = (ref) => Layer.effect(Service88, Effect.gen(function* () {
29
29
  const fs = yield* FSUtil.Service;
30
30
  const project = yield* Service89;
31
31
  const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
32
32
  const resolved = yield* project.resolve(ref.directory, { persist });
33
- return Service87.of({
33
+ return Service88.of({
34
34
  directory: ref.directory,
35
35
  workspaceID: ref.workspaceID,
36
36
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service87, Effect.gen(function* () {
38
38
  });
39
39
  }));
40
40
  var boundNode2 = (ref) => makeLocationNode({
41
- service: Service87,
41
+ service: Service88,
42
42
  layer: layer(ref),
43
43
  deps: [FSUtil.node, node93]
44
44
  });
45
45
 
46
- export { Info29, Ref5, response2, Service87, node91, boundNode2, exports_location };
46
+ export { Info30, Ref5, response2, Service88, node92, boundNode2, exports_location };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service59
3
- } from "./git-40km7fwj.js";
2
+ Service14
3
+ } from "./git-v56pf686.js";
4
4
  import {
5
5
  __export
6
6
  } from "./git-9rqn6x4v.js";
@@ -8,17 +8,17 @@ import {
8
8
  // src/tool/plugin/write.ts
9
9
  var exports_write = {};
10
10
  __export(exports_write, {
11
- Input: () => Input6,
11
+ Input: () => Input8,
12
12
  Output: () => Output5,
13
- Plugin: () => Plugin43,
13
+ Plugin: () => Plugin46,
14
14
  WriteTool: () => exports_write,
15
- name: () => name6,
15
+ name: () => name8,
16
16
  toModelContent: () => toModelContent3
17
17
  });
18
18
  import { ToolFailure } from "@opencode/ai/effect";
19
19
  import { Effect, Schema } from "effect";
20
- var name6 = "write";
21
- var Input6 = Schema.Struct({
20
+ var name8 = "write";
21
+ var Input8 = Schema.Struct({
22
22
  path: Schema.String.annotate({
23
23
  description: "Path to the file to write to"
24
24
  }),
@@ -31,19 +31,19 @@ var Output5 = Schema.Struct({
31
31
  existed: Schema.Boolean
32
32
  });
33
33
  var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
34
- var Plugin43 = {
34
+ var Plugin46 = {
35
35
  id: "opencode.tool.write",
36
36
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
37
- const fileWrite = yield* Service59;
37
+ const fileWrite = yield* Service14;
38
38
  yield* ctx.tool.transform((editor) => editor.add({
39
- name: name6,
39
+ name: name8,
40
40
  options: { codemode: false, permission: "edit" },
41
41
  description: `Writes a file to the local filesystem, overwriting if one exists.
42
42
 
43
43
  Missing parent directories are created automatically.
44
44
 
45
45
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
46
- input: Input6,
46
+ input: Input8,
47
47
  output: Output5,
48
48
  execute: (input, context) => Effect.gen(function* () {
49
49
  const written = yield* fileWrite.write(input, context);
@@ -58,4 +58,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
58
58
  })
59
59
  };
60
60
 
61
- export { name6, Input6, Output5, toModelContent3, Plugin43, exports_write };
61
+ export { name8, Input8, Output5, toModelContent3, Plugin46, exports_write };