@opencode/core 0.0.0-dev-533 → 0.0.0-dev-535

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 (553) hide show
  1. package/dist/agent.js +67 -67
  2. package/dist/aisdk-native.js +74 -74
  3. package/dist/aisdk.js +79 -79
  4. package/dist/app.js +7 -7
  5. package/dist/artifact.js +205 -205
  6. package/dist/bus.js +60 -60
  7. package/dist/chunks/{app-xjbsd7zy.js → app-04whjz6n.js} +7 -7
  8. package/dist/chunks/{app-8skzerzh.js → app-0cm63a3m.js} +6 -6
  9. package/dist/chunks/{app-g2xv4c4k.js → app-0fvb9573.js} +18 -18
  10. package/dist/chunks/{app-gzvgqn5v.js → app-0g0m3z6r.js} +34 -34
  11. package/dist/chunks/{app-zcdgyvyy.js → app-0sxs0ahv.js} +20 -20
  12. package/dist/chunks/{app-4dkwhq0x.js → app-0sydnbwh.js} +10 -10
  13. package/dist/chunks/{app-48p0twde.js → app-0t903sfa.js} +19 -19
  14. package/dist/chunks/{app-8es3pha2.js → app-0y15sqga.js} +10 -10
  15. package/dist/chunks/{app-kqr2nxfm.js → app-0ykm6z6e.js} +7 -7
  16. package/dist/chunks/{app-0hm3620q.js → app-0ypwcab7.js} +20 -20
  17. package/dist/chunks/{app-yyn80yge.js → app-102hkecv.js} +18 -18
  18. package/dist/chunks/{app-vq7g5cgb.js → app-19by32j3.js} +32 -32
  19. package/dist/chunks/{app-8esgw3e4.js → app-1apm81n6.js} +17 -17
  20. package/dist/chunks/{app-gze38h3p.js → app-1ccdbfbm.js} +43 -43
  21. package/dist/chunks/{app-r96ere88.js → app-1e1dknnq.js} +3 -3
  22. package/dist/chunks/{app-becnq02w.js → app-1k4ep9vv.js} +65 -65
  23. package/dist/chunks/{app-6h8vcvjm.js → app-1z0pgt0q.js} +7 -7
  24. package/dist/chunks/{app-k46dd5bg.js → app-20pht57w.js} +3 -3
  25. package/dist/chunks/{app-adtfdgqn.js → app-2akjzwap.js} +172 -172
  26. package/dist/chunks/{app-gks4fcev.js → app-2ar23h6q.js} +21 -21
  27. package/dist/chunks/{app-rmeffpf9.js → app-2ejc4ws6.js} +9 -9
  28. package/dist/chunks/{app-jxaghtyn.js → app-2fphmk5s.js} +22 -22
  29. package/dist/chunks/{app-8tbv5t3x.js → app-2kcfn90y.js} +13 -13
  30. package/dist/chunks/{app-mf63ygpr.js → app-2kg89srt.js} +3 -3
  31. package/dist/chunks/{app-f568412b.js → app-2kv9862h.js} +6 -6
  32. package/dist/chunks/{app-b8yrdqmv.js → app-2z1fgw1a.js} +15 -15
  33. package/dist/chunks/{app-9kea9kdp.js → app-3ar77cfh.js} +8 -8
  34. package/dist/chunks/{app-pyc3gczw.js → app-3ay6yzp4.js} +3 -3
  35. package/dist/chunks/{app-7699c8n2.js → app-3k6qx9tw.js} +12 -12
  36. package/dist/chunks/{app-hp0r7qfy.js → app-3qf0ty7d.js} +32 -32
  37. package/dist/chunks/{app-06vty4ag.js → app-3rjt4x3n.js} +10 -10
  38. package/dist/chunks/{app-p5jqqejg.js → app-3vvvrw44.js} +7 -7
  39. package/dist/chunks/{app-tbp70m14.js → app-42nfgrgt.js} +28 -28
  40. package/dist/chunks/{app-beffzag1.js → app-49rfffkn.js} +3 -3
  41. package/dist/chunks/{app-169q198c.js → app-4brm2gf6.js} +10 -10
  42. package/dist/chunks/{app-8cg7mtm3.js → app-4d2dtj2f.js} +3 -3
  43. package/dist/chunks/{app-f152d69v.js → app-4hstt5c6.js} +7 -7
  44. package/dist/chunks/{app-2n0gzjy1.js → app-4pektwre.js} +5 -5
  45. package/dist/chunks/{app-9rma6r3d.js → app-4rarxpf7.js} +13 -13
  46. package/dist/chunks/{app-dfr4zkq4.js → app-4tkjgnd1.js} +18 -18
  47. package/dist/chunks/{app-x150ncgg.js → app-55g2q5p5.js} +1 -1
  48. package/dist/chunks/{app-qgnqczc7.js → app-5fts795d.js} +13 -13
  49. package/dist/chunks/{app-jrq59xfw.js → app-5fzqp67y.js} +6 -6
  50. package/dist/chunks/{app-2q7aaym5.js → app-5h1pqjv0.js} +10 -10
  51. package/dist/chunks/{app-wgepdrx8.js → app-5jhjzfke.js} +4 -4
  52. package/dist/chunks/{app-z8n5afnk.js → app-5w42mrth.js} +2 -2
  53. package/dist/chunks/{app-tb2mrvc9.js → app-62zd5tzk.js} +6 -6
  54. package/dist/chunks/{app-h13930ja.js → app-6qw7kx8x.js} +10 -10
  55. package/dist/chunks/{app-vva8v1sq.js → app-6xfwbecb.js} +5 -5
  56. package/dist/chunks/{app-czwy3yzx.js → app-6y2b864j.js} +6 -6
  57. package/dist/chunks/{app-e6n9ma6q.js → app-6y6y33bs.js} +1 -1
  58. package/dist/chunks/{app-0vmgx0b1.js → app-70230rnk.js} +15 -15
  59. package/dist/chunks/{app-mgtetj66.js → app-70mxs2ne.js} +22 -22
  60. package/dist/chunks/{app-1k8ay1ny.js → app-70pterc5.js} +4 -4
  61. package/dist/chunks/{app-dj4jbt3y.js → app-7283rze0.js} +10 -10
  62. package/dist/chunks/{app-8g6n6r2g.js → app-78ydxygr.js} +26 -26
  63. package/dist/chunks/{app-tep5r3z4.js → app-7ez97q7s.js} +16 -16
  64. package/dist/chunks/{app-cageb4n9.js → app-7ga3ckd2.js} +25 -25
  65. package/dist/chunks/{app-vn5z203d.js → app-7n24dshq.js} +4 -4
  66. package/dist/chunks/{app-zd97ezhm.js → app-7nhyzk3z.js} +31 -31
  67. package/dist/chunks/{app-weqgtcgy.js → app-7rkejn50.js} +25 -25
  68. package/dist/chunks/{app-q53z66dj.js → app-7vrybhtj.js} +15 -15
  69. package/dist/chunks/{app-v70a4ftn.js → app-7vvamr0d.js} +12 -12
  70. package/dist/chunks/{app-ae4ev18a.js → app-7ysxb1ac.js} +19 -19
  71. package/dist/chunks/{app-8g46d24t.js → app-81vmeerd.js} +28 -28
  72. package/dist/chunks/{app-5p9pzyf2.js → app-86p455we.js} +8 -8
  73. package/dist/chunks/{app-h9hc66h4.js → app-8bjrjs1n.js} +3 -3
  74. package/dist/chunks/{app-93xmyh8q.js → app-8hfctyyf.js} +6 -6
  75. package/dist/chunks/{app-qze16xt8.js → app-8hm264az.js} +27 -27
  76. package/dist/chunks/{app-c48qafqz.js → app-8jvwtavp.js} +10 -10
  77. package/dist/chunks/{app-d3gfwtm4.js → app-8msqj5xh.js} +25 -25
  78. package/dist/chunks/{app-yvynh0g6.js → app-8n0mnj53.js} +13 -13
  79. package/dist/chunks/{app-4redp3t7.js → app-8r437q1c.js} +10 -10
  80. package/dist/chunks/{app-pjms48w8.js → app-8vnnvrdh.js} +5 -5
  81. package/dist/chunks/{app-yd5ac8hs.js → app-8w877cjn.js} +15 -15
  82. package/dist/chunks/app-8xy5czmr.js +26 -0
  83. package/dist/chunks/{app-3xcdf921.js → app-8zkx8257.js} +1 -1
  84. package/dist/chunks/{app-yaq6emrw.js → app-9543gnfy.js} +36 -36
  85. package/dist/chunks/{app-jbwmawta.js → app-97rgft6n.js} +9 -9
  86. package/dist/chunks/{app-kdmzdg5q.js → app-98xdtdx3.js} +10 -10
  87. package/dist/chunks/{app-hwcc1nj5.js → app-9hwp9hha.js} +1 -1
  88. package/dist/chunks/{app-w0evfggq.js → app-9jcwpdmg.js} +19 -19
  89. package/dist/chunks/{app-jv5ccajn.js → app-9zwexsxs.js} +3 -3
  90. package/dist/chunks/{app-s0t3mqd4.js → app-a32c5rbn.js} +30 -30
  91. package/dist/chunks/{app-wx5p54wp.js → app-a75cs2bx.js} +17 -17
  92. package/dist/chunks/{app-mex5dxtg.js → app-adgt61e4.js} +1 -1
  93. package/dist/chunks/{app-071xepzr.js → app-aqh131q4.js} +5 -5
  94. package/dist/chunks/{app-rj7jtxy8.js → app-atz1w742.js} +1 -1
  95. package/dist/chunks/{app-wn0kmnbv.js → app-b3dj5ck4.js} +4 -4
  96. package/dist/chunks/{app-2hzhdr8n.js → app-b3mjnz5r.js} +52 -52
  97. package/dist/chunks/{app-3yaf1m62.js → app-b4k47k2s.js} +3 -3
  98. package/dist/chunks/{app-my8asq5t.js → app-b7r9xgaf.js} +13 -13
  99. package/dist/chunks/{app-4ebhcamw.js → app-be0z2gw1.js} +7 -7
  100. package/dist/chunks/{app-9tybept6.js → app-bf3sz844.js} +8 -8
  101. package/dist/chunks/{app-s8qtxmzm.js → app-bfmm6xpm.js} +3 -3
  102. package/dist/chunks/{app-0vhpcja6.js → app-bgbk73tx.js} +37 -37
  103. package/dist/chunks/{app-yrhp02xd.js → app-bn1k3pn9.js} +25 -25
  104. package/dist/chunks/{app-nsf78apk.js → app-brnz1phy.js} +7 -7
  105. package/dist/chunks/{app-xcxgyafb.js → app-bt05df1g.js} +24 -24
  106. package/dist/chunks/{app-rza8kqzc.js → app-bwqmm0q7.js} +3 -3
  107. package/dist/chunks/{app-b4bt5gam.js → app-c1vhr2fd.js} +20 -20
  108. package/dist/chunks/{app-tjxs9v8v.js → app-c4htd4p1.js} +16 -16
  109. package/dist/chunks/{app-xmx7xj34.js → app-c6x7d2ts.js} +3 -3
  110. package/dist/chunks/{app-w52z0eac.js → app-c7txahyk.js} +29 -29
  111. package/dist/chunks/{app-fwrnbwjt.js → app-ca3eqs78.js} +8 -8
  112. package/dist/chunks/{app-4bwthz3m.js → app-cg3fcpn4.js} +5 -5
  113. package/dist/chunks/{app-cfjcx576.js → app-ch4wgb30.js} +3 -3
  114. package/dist/chunks/{app-r6v5d5gw.js → app-cj1hhp9n.js} +15 -15
  115. package/dist/chunks/{app-77sxxbp4.js → app-cp56srzq.js} +84 -84
  116. package/dist/chunks/{app-73pbse2v.js → app-cr2aqxhy.js} +2 -2
  117. package/dist/chunks/{app-gj6dq5y6.js → app-cws484wx.js} +16 -16
  118. package/dist/chunks/{app-mkvd73jg.js → app-cyeeys1d.js} +19 -19
  119. package/dist/chunks/{app-0djtmv4b.js → app-d07xvmxs.js} +18 -18
  120. package/dist/chunks/{app-4ygb74tw.js → app-d390zwf3.js} +6 -6
  121. package/dist/chunks/{app-w2c7mkxr.js → app-d6qqy0kp.js} +19 -19
  122. package/dist/chunks/{app-rc4n4342.js → app-d7zscc40.js} +14 -14
  123. package/dist/chunks/{app-4kzsaxfv.js → app-d9jb52kh.js} +31 -31
  124. package/dist/chunks/{app-0whjz4pc.js → app-dby55q07.js} +31 -31
  125. package/dist/chunks/{app-7tpyp9vw.js → app-ddvn7d3w.js} +7 -7
  126. package/dist/chunks/{app-cjfw41j6.js → app-df9ht006.js} +3 -3
  127. package/dist/chunks/{app-xxqzzn4e.js → app-dnv2jr33.js} +11 -11
  128. package/dist/chunks/{app-qk716t33.js → app-drvw4phj.js} +43 -43
  129. package/dist/chunks/{app-gbpy8919.js → app-dsavrejy.js} +1 -1
  130. package/dist/chunks/{app-428pgh8a.js → app-dvgrwqdr.js} +29 -29
  131. package/dist/chunks/{app-ccna5efk.js → app-dvzb6bhz.js} +28 -28
  132. package/dist/chunks/{app-2ar9wm5b.js → app-e0g7avb1.js} +33 -33
  133. package/dist/chunks/{app-av3nfg5h.js → app-e3gda57p.js} +12 -12
  134. package/dist/chunks/{app-ahbhp2ec.js → app-e641zj5b.js} +10 -10
  135. package/dist/chunks/{app-99f43fvk.js → app-ea6g4p7p.js} +7 -7
  136. package/dist/chunks/{app-jmpm2y7z.js → app-ejjzey60.js} +14 -14
  137. package/dist/chunks/{app-hh9z9kk8.js → app-erdqt2z2.js} +6 -6
  138. package/dist/chunks/{app-vccbeb40.js → app-eyk0726g.js} +44 -44
  139. package/dist/chunks/{app-ya33m8dr.js → app-fe230j03.js} +11 -11
  140. package/dist/chunks/{app-6wz8nwr9.js → app-ff0db4kk.js} +10 -10
  141. package/dist/chunks/{app-5ty7kmb9.js → app-fpdrc9jq.js} +17 -17
  142. package/dist/chunks/{app-4fy04zw8.js → app-frgs4mm6.js} +10 -10
  143. package/dist/chunks/{app-8sj943nq.js → app-g2n20eww.js} +5 -5
  144. package/dist/chunks/{app-wnvqrhn4.js → app-g3p1t9vz.js} +79 -79
  145. package/dist/chunks/{app-p9x26950.js → app-g3wj12x4.js} +7 -7
  146. package/dist/chunks/{app-fs1yyne5.js → app-gbr34mwp.js} +41 -41
  147. package/dist/chunks/{app-yv4wm2m5.js → app-gm1mpjtv.js} +4 -4
  148. package/dist/chunks/{app-s2z7me2g.js → app-grv4183s.js} +8 -8
  149. package/dist/chunks/{app-ca0nsfrc.js → app-gykqfep1.js} +38 -38
  150. package/dist/chunks/{app-ygeqj5xt.js → app-gzvybjsy.js} +9 -9
  151. package/dist/chunks/{app-cxn1zqes.js → app-h1phpm51.js} +13 -13
  152. package/dist/chunks/{app-3hxn8zvt.js → app-h230aekk.js} +17 -17
  153. package/dist/chunks/{app-ry4q0rgv.js → app-h2kz1wwy.js} +29 -29
  154. package/dist/chunks/{app-8v5mxf6a.js → app-h5exk3wg.js} +30 -30
  155. package/dist/chunks/{app-w0wjeem8.js → app-h8q1g1me.js} +2 -2
  156. package/dist/chunks/{app-3qgwywyc.js → app-hkf8spj2.js} +6 -6
  157. package/dist/chunks/{app-qwqahdfg.js → app-hm91xa0c.js} +18 -18
  158. package/dist/chunks/{app-mean7acv.js → app-hsx2h283.js} +11 -11
  159. package/dist/chunks/{app-exwhc5hz.js → app-hxen89em.js} +7 -7
  160. package/dist/chunks/{app-knx8k99d.js → app-j2zb0azv.js} +13 -13
  161. package/dist/chunks/{app-5zpqhmp2.js → app-ja2hdmbx.js} +4 -4
  162. package/dist/chunks/{app-7zfjnsm1.js → app-jcnvmaww.js} +1 -1
  163. package/dist/chunks/{app-f698gxgx.js → app-jrjjzcah.js} +4 -4
  164. package/dist/chunks/{app-r0k8y559.js → app-k353tb7m.js} +35 -35
  165. package/dist/chunks/{app-2dh93vah.js → app-k5jykw5m.js} +8 -8
  166. package/dist/chunks/{app-k4vdf3hn.js → app-k64p22ea.js} +1 -1
  167. package/dist/chunks/{app-415jqnng.js → app-k6d3thxk.js} +17 -17
  168. package/dist/chunks/{app-dcsm6amq.js → app-k85f4n8y.js} +4 -4
  169. package/dist/chunks/{app-v39rthcz.js → app-kb2zgvc1.js} +8 -8
  170. package/dist/chunks/{app-f36f6awb.js → app-kd6k99f7.js} +13 -13
  171. package/dist/chunks/{app-ap6cz3e4.js → app-kn9zvzdd.js} +25 -25
  172. package/dist/chunks/{app-9ydsfh5k.js → app-kpn50t51.js} +13 -13
  173. package/dist/chunks/{app-5v3drhbv.js → app-mg0rtydx.js} +5 -5
  174. package/dist/chunks/{app-krarb4xw.js → app-mgz81j2y.js} +22 -22
  175. package/dist/chunks/{app-j89azhq6.js → app-mqje0md7.js} +5 -5
  176. package/dist/chunks/{app-1v2g13eq.js → app-msd2a3qm.js} +1 -1
  177. package/dist/chunks/{app-s320htan.js → app-mtf4xfdw.js} +7 -7
  178. package/dist/chunks/{app-mm9ydekk.js → app-mvj007a9.js} +52 -52
  179. package/dist/chunks/{app-xezxa014.js → app-mx98cjbb.js} +10 -10
  180. package/dist/chunks/{app-f2nzj6et.js → app-mz3s4az1.js} +7 -7
  181. package/dist/chunks/{app-8cgan64h.js → app-n38yxt4x.js} +11 -11
  182. package/dist/chunks/{app-4v29yf8j.js → app-n40kd4sr.js} +13 -13
  183. package/dist/chunks/{app-h9j1355w.js → app-n8wacb9q.js} +18 -18
  184. package/dist/chunks/{app-pvb0wt0x.js → app-ne20cfjw.js} +5 -5
  185. package/dist/chunks/{app-94kcbdre.js → app-nhxmfrj0.js} +3 -3
  186. package/dist/chunks/{app-peqnwnqb.js → app-nkry3zgq.js} +30 -30
  187. package/dist/chunks/{app-d7zr3k29.js → app-nrjeyzms.js} +159 -159
  188. package/dist/chunks/{app-15gyfapn.js → app-nrsk0200.js} +1 -1
  189. package/dist/chunks/{app-0wxqvfmz.js → app-nx7twb95.js} +13 -13
  190. package/dist/chunks/{app-2dkjcnxp.js → app-p5vbbmsv.js} +4 -4
  191. package/dist/chunks/{app-nsp0vp68.js → app-pap1h8b3.js} +9 -9
  192. package/dist/chunks/{app-6wqybc29.js → app-pasr5s42.js} +30 -30
  193. package/dist/chunks/{app-023tr5s6.js → app-prf7c0f4.js} +6 -6
  194. package/dist/chunks/{app-m5a0fc4t.js → app-q4tbkvb5.js} +9 -9
  195. package/dist/chunks/{app-jhwp234h.js → app-q65mdntm.js} +3 -3
  196. package/dist/chunks/{app-dfwwgke2.js → app-q6ctshyr.js} +12 -12
  197. package/dist/chunks/{app-zpqsxwba.js → app-q6rv9k60.js} +6 -6
  198. package/dist/chunks/{app-8jzdtxe1.js → app-q74804nd.js} +7 -7
  199. package/dist/chunks/{app-zq563afj.js → app-qb9atvh8.js} +13 -13
  200. package/dist/chunks/{app-f8s27sep.js → app-qesfpy69.js} +5 -5
  201. package/dist/chunks/{app-e8yqp6nf.js → app-qhwjmhww.js} +15 -15
  202. package/dist/chunks/{app-g6c5vbsh.js → app-qjhe7n4a.js} +1 -1
  203. package/dist/chunks/{app-rmv7fhs4.js → app-qnqasnye.js} +3 -3
  204. package/dist/chunks/{app-77apcsw3.js → app-qv932755.js} +7 -7
  205. package/dist/chunks/{app-z88rdk3t.js → app-qvtnw8rj.js} +8 -8
  206. package/dist/chunks/{app-bapm1zye.js → app-qzp3tz88.js} +1 -1
  207. package/dist/chunks/{app-xzjvh1r0.js → app-r0j4kmq9.js} +2 -2
  208. package/dist/chunks/{app-pnak1v5v.js → app-r0ndwm6n.js} +8 -8
  209. package/dist/chunks/{app-4f25tdd0.js → app-r542h3bh.js} +4 -4
  210. package/dist/chunks/{app-41kfwpax.js → app-r77927cf.js} +15 -15
  211. package/dist/chunks/{app-axbznw5v.js → app-rh664r3j.js} +20 -20
  212. package/dist/chunks/{app-93jzr7p3.js → app-rkspr0fm.js} +21 -21
  213. package/dist/chunks/{app-hwjex0zk.js → app-rwcc01tt.js} +3 -3
  214. package/dist/chunks/{app-ks3bka04.js → app-rx1196nr.js} +6 -6
  215. package/dist/chunks/{app-4cnwvq4h.js → app-rxxbhnha.js} +5 -5
  216. package/dist/chunks/{app-6861a8w4.js → app-seb996h4.js} +4 -4
  217. package/dist/chunks/{app-z080rjh6.js → app-sf9y72b7.js} +3 -3
  218. package/dist/chunks/{app-933ag3kz.js → app-spsnvrer.js} +340 -340
  219. package/dist/chunks/{app-ht03y230.js → app-sq9brptb.js} +20 -20
  220. package/dist/chunks/{app-4j2st2tz.js → app-t52wqe1d.js} +21 -21
  221. package/dist/chunks/{app-zbtxqjkv.js → app-ta4cyzw3.js} +1 -1
  222. package/dist/chunks/{app-gxs71cxp.js → app-tg7s7b5t.js} +3 -3
  223. package/dist/chunks/{app-n84nsxw0.js → app-thje1pb5.js} +14 -14
  224. package/dist/chunks/{app-e555njzm.js → app-tjrdxz06.js} +14 -14
  225. package/dist/chunks/{app-sepvwm40.js → app-tzz6b5w9.js} +24 -24
  226. package/dist/chunks/{app-krsy2pbe.js → app-v0qy9jrx.js} +21 -21
  227. package/dist/chunks/{app-zty0rhxm.js → app-v5qjwjn4.js} +4 -4
  228. package/dist/chunks/{app-3q0n77m9.js → app-vep1cp0k.js} +7 -7
  229. package/dist/chunks/{app-sbz71ybr.js → app-vg0erq9k.js} +2 -2
  230. package/dist/chunks/{app-ck49668h.js → app-vhd00v78.js} +10 -10
  231. package/dist/chunks/{app-3ze6avpc.js → app-vqqg7mky.js} +16 -16
  232. package/dist/chunks/{app-px7qpgcn.js → app-vt2d6wap.js} +3 -3
  233. package/dist/chunks/{app-9jnmndgv.js → app-vzyjc182.js} +4 -4
  234. package/dist/chunks/{app-40za9wsf.js → app-w2eysc6j.js} +7 -7
  235. package/dist/chunks/{app-dj2p6exq.js → app-w335jgkb.js} +3 -3
  236. package/dist/chunks/{app-h0rg6s60.js → app-w76xjer3.js} +3 -3
  237. package/dist/chunks/{app-jzkzesp4.js → app-w7bpp972.js} +12 -12
  238. package/dist/chunks/{app-rpz083xr.js → app-w9cgn27r.js} +2 -2
  239. package/dist/chunks/{app-e9x9f5s4.js → app-wb0nc97n.js} +9 -9
  240. package/dist/chunks/{app-qtf35215.js → app-weqc7sb9.js} +3 -3
  241. package/dist/chunks/{app-qsdghx1p.js → app-wfdx5ztx.js} +3 -3
  242. package/dist/chunks/{app-dqee6hk6.js → app-wkw2nc14.js} +10 -10
  243. package/dist/chunks/{app-w687dnns.js → app-wr3re1en.js} +3 -3
  244. package/dist/chunks/{app-f081805b.js → app-wvdda5g9.js} +33 -33
  245. package/dist/chunks/{app-dgn0z867.js → app-x3sre7d0.js} +12 -12
  246. package/dist/chunks/{app-scgrs5gk.js → app-x6nf6007.js} +5 -5
  247. package/dist/chunks/{app-9a1bg1e0.js → app-xawr44ws.js} +6 -6
  248. package/dist/chunks/{app-738setp6.js → app-xb3aa8vx.js} +8 -8
  249. package/dist/chunks/{app-rs0w3rej.js → app-xdhra0hk.js} +1 -1
  250. package/dist/chunks/{app-gvjnjcdg.js → app-xf5gr4wh.js} +28 -28
  251. package/dist/chunks/{app-dhs6ajsf.js → app-xhtt5hdf.js} +31 -31
  252. package/dist/chunks/{app-2v28484r.js → app-xsyz7z5y.js} +7 -7
  253. package/dist/chunks/{app-68yk0sbf.js → app-xvf68myt.js} +12 -12
  254. package/dist/chunks/{app-xjr6c8m4.js → app-xxschbft.js} +3 -3
  255. package/dist/chunks/{app-znjfpv5m.js → app-xz07m27x.js} +7 -7
  256. package/dist/chunks/{app-3sgnb8ye.js → app-y64vbv9r.js} +10 -10
  257. package/dist/chunks/{app-9rgr5dz2.js → app-yfmbdz01.js} +1 -1
  258. package/dist/chunks/{app-8xz27cp9.js → app-yts2a8qm.js} +3 -3
  259. package/dist/chunks/{app-351b30z6.js → app-yx186a0m.js} +8 -8
  260. package/dist/chunks/{app-h763rggj.js → app-yyggqxat.js} +4 -4
  261. package/dist/chunks/{app-w5qm3j8h.js → app-z2g7e1my.js} +5 -5
  262. package/dist/chunks/{app-5waxe0zg.js → app-z3xf6ba0.js} +6 -6
  263. package/dist/chunks/{app-pkqtsexv.js → app-z7ffkdqt.js} +17 -17
  264. package/dist/chunks/{app-s7d9mxy2.js → app-zrt85y3r.js} +8 -8
  265. package/dist/chunks/{app-57pzxzjx.js → app-zs8j2h5y.js} +7 -7
  266. package/dist/chunks/{app-29hw4ss4.js → app-zsgmj270.js} +5 -5
  267. package/dist/chunks/{app-yc9fq4e8.js → app-zw6d6ftc.js} +3 -3
  268. package/dist/chunks/{app-87mgrrkc.js → app-zy5pfpj2.js} +19 -19
  269. package/dist/chunks/{app-963hk181.js → app-zyfhsknv.js} +7 -7
  270. package/dist/codemode/execution.js +3 -3
  271. package/dist/codemode/fetch.js +110 -110
  272. package/dist/codemode/instructions.js +6 -6
  273. package/dist/codemode/tool.js +115 -115
  274. package/dist/command.js +73 -73
  275. package/dist/config/discovery.js +68 -68
  276. package/dist/config/integration.js +5 -5
  277. package/dist/config/normalize.js +83 -83
  278. package/dist/config/plugin/agent.js +101 -101
  279. package/dist/config/plugin/command.js +189 -189
  280. package/dist/config/plugin/compaction.js +130 -130
  281. package/dist/config/plugin/compatibility.js +113 -113
  282. package/dist/config/plugin/formatter.js +100 -100
  283. package/dist/config/plugin/image.js +97 -97
  284. package/dist/config/plugin/instruction.js +100 -100
  285. package/dist/config/plugin/location-watcher.js +101 -101
  286. package/dist/config/plugin/mcp.js +110 -110
  287. package/dist/config/plugin/policy.js +99 -99
  288. package/dist/config/plugin/provider.js +99 -99
  289. package/dist/config/plugin/reference.js +100 -100
  290. package/dist/config/plugin/shell.js +101 -101
  291. package/dist/config/plugin/skill-file.js +110 -110
  292. package/dist/config/plugin/skill.js +112 -112
  293. package/dist/config/plugin/snapshot.js +99 -99
  294. package/dist/config/plugin/source.js +102 -102
  295. package/dist/config/plugin/tool-output.js +100 -100
  296. package/dist/config/plugin/websearch.js +100 -100
  297. package/dist/config/plugin/worktree.js +100 -100
  298. package/dist/config.js +95 -95
  299. package/dist/credential.js +72 -72
  300. package/dist/database/database.js +58 -58
  301. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  302. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  303. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  304. package/dist/database/drizzle/index.js +10 -10
  305. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  306. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  307. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  308. package/dist/database/drizzle.js +10 -10
  309. package/dist/database/migration.gen.js +48 -48
  310. package/dist/database/migration.js +49 -49
  311. package/dist/database/v1-migration.bun.js +21 -21
  312. package/dist/effect/app-node-builder.js +274 -274
  313. package/dist/effect/keyed-mutex.js +3 -3
  314. package/dist/environment/environment.js +75 -75
  315. package/dist/environment/index.js +79 -79
  316. package/dist/environment/unavailable.js +3 -3
  317. package/dist/event-logger.js +10 -10
  318. package/dist/file-access.js +122 -122
  319. package/dist/file-mutation.js +78 -78
  320. package/dist/file-write.js +125 -125
  321. package/dist/filesystem/file-watch.js +10 -10
  322. package/dist/filesystem/location-watcher-policy.js +5 -5
  323. package/dist/filesystem/location-watcher.js +202 -202
  324. package/dist/filesystem/search.js +81 -81
  325. package/dist/filesystem.js +86 -86
  326. package/dist/form.js +71 -71
  327. package/dist/formatter/builtins.js +3 -3
  328. package/dist/formatter.js +68 -68
  329. package/dist/generate.js +82 -82
  330. package/dist/git.js +7 -7
  331. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  332. package/dist/github-copilot/copilot-provider.js +3 -3
  333. package/dist/github-copilot/models.js +84 -84
  334. package/dist/github-copilot/responses/openai-responses-language-model.js +8 -8
  335. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  336. package/dist/image/photon.js +1 -1
  337. package/dist/image.js +5 -5
  338. package/dist/instance/service.js +5 -5
  339. package/dist/instance.js +363 -363
  340. package/dist/instruction-discovery.js +72 -72
  341. package/dist/instructions/builtins.js +73 -73
  342. package/dist/instructions/index.js +3 -3
  343. package/dist/integration/connection.js +3 -3
  344. package/dist/integration.js +79 -79
  345. package/dist/job.js +66 -66
  346. package/dist/kv.js +63 -63
  347. package/dist/location-activity.js +73 -73
  348. package/dist/location-lifecycle.js +115 -115
  349. package/dist/location-service-map.js +72 -72
  350. package/dist/location-services.js +362 -362
  351. package/dist/location.js +75 -75
  352. package/dist/managed-policy.js +2 -2
  353. package/dist/mcp/client.js +19 -19
  354. package/dist/mcp/connection.js +74 -74
  355. package/dist/mcp/index.js +87 -87
  356. package/dist/mcp/instructions.js +147 -147
  357. package/dist/mcp/oauth.js +14 -14
  358. package/dist/mcp/stdio.js +74 -74
  359. package/dist/modal/models.js +84 -84
  360. package/dist/model-resolver.js +81 -81
  361. package/dist/model.js +75 -75
  362. package/dist/models-dev.js +86 -86
  363. package/dist/permission/saved.js +69 -69
  364. package/dist/permission.js +118 -118
  365. package/dist/persistent-pty/index.js +68 -68
  366. package/dist/persistent-pty.js +62 -62
  367. package/dist/plugin/agent.js +66 -66
  368. package/dist/plugin/command.js +86 -86
  369. package/dist/plugin/goal.js +3 -3
  370. package/dist/plugin/hooks.js +5 -5
  371. package/dist/plugin/host.js +193 -193
  372. package/dist/plugin/identity.js +5 -5
  373. package/dist/plugin/instance.js +5 -5
  374. package/dist/plugin/internal.js +341 -341
  375. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  376. package/dist/plugin/models-dev.js +81 -81
  377. package/dist/plugin/module.js +98 -98
  378. package/dist/plugin/optimize.js +4 -4
  379. package/dist/plugin/plan.js +111 -111
  380. package/dist/plugin/provider/amazon-bedrock.js +78 -78
  381. package/dist/plugin/provider/azure.js +103 -103
  382. package/dist/plugin/provider/chatgpt.js +101 -101
  383. package/dist/plugin/provider/claude-agent/aisdk.js +87 -87
  384. package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
  385. package/dist/plugin/provider/claude-agent/claude/session.js +2 -2
  386. package/dist/plugin/provider/claude-agent/claude/sessions.js +9 -9
  387. package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
  388. package/dist/plugin/provider/claude-agent/index.js +109 -109
  389. package/dist/plugin/provider/claude-agent/instructions.js +85 -85
  390. package/dist/plugin/provider/claude-agent/integration.js +84 -84
  391. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  392. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +6 -6
  393. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  394. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  395. package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
  396. package/dist/plugin/provider/claude-agent/provider.js +81 -81
  397. package/dist/plugin/provider/claude-agent/session.js +82 -82
  398. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  399. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  400. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  401. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  402. package/dist/plugin/provider/cloudflare-ai-gateway.js +100 -100
  403. package/dist/plugin/provider/cloudflare-workers-ai.js +100 -100
  404. package/dist/plugin/provider/configured.js +96 -96
  405. package/dist/plugin/provider/credential-settings.js +66 -66
  406. package/dist/plugin/provider/digitalocean.js +80 -80
  407. package/dist/plugin/provider/github-copilot.js +82 -82
  408. package/dist/plugin/provider/gitlab.js +80 -80
  409. package/dist/plugin/provider/google-vertex.js +97 -97
  410. package/dist/plugin/provider/llmgateway.js +66 -66
  411. package/dist/plugin/provider/lmstudio.js +107 -107
  412. package/dist/plugin/provider/local.js +104 -104
  413. package/dist/plugin/provider/modal.js +80 -80
  414. package/dist/plugin/provider/ollama.js +107 -107
  415. package/dist/plugin/provider/openai-context-caps.js +78 -78
  416. package/dist/plugin/provider/openai.js +103 -103
  417. package/dist/plugin/provider/opencode.js +119 -119
  418. package/dist/plugin/provider/openrouter.js +76 -76
  419. package/dist/plugin/provider/poe.js +66 -66
  420. package/dist/plugin/provider/refresh.js +65 -65
  421. package/dist/plugin/provider/sap-ai-core.js +75 -75
  422. package/dist/plugin/provider/snowflake-cortex.js +100 -100
  423. package/dist/plugin/provider/vllm.js +105 -105
  424. package/dist/plugin/provider/xai.js +76 -76
  425. package/dist/plugin/provider.js +185 -185
  426. package/dist/plugin/sdk.js +67 -67
  427. package/dist/plugin/service.js +3 -3
  428. package/dist/plugin/skill.js +114 -114
  429. package/dist/plugin/supervisor.js +351 -351
  430. package/dist/plugin/tool-input-repair.js +3 -3
  431. package/dist/plugin/update.js +6 -6
  432. package/dist/plugin/vcs/git.js +71 -71
  433. package/dist/plugin/vcs/hg.js +71 -71
  434. package/dist/plugin/verbosity.js +78 -78
  435. package/dist/plugin/warming.js +100 -100
  436. package/dist/plugin/websearch/exa.js +7 -7
  437. package/dist/plugin/websearch/firecrawl.js +6 -6
  438. package/dist/plugin/websearch/index.js +9 -9
  439. package/dist/plugin/websearch/mcp.js +5 -5
  440. package/dist/plugin/websearch/parallel.js +6 -6
  441. package/dist/plugin/websearch/provider.js +3 -3
  442. package/dist/plugin/websearch/tavily.js +7 -7
  443. package/dist/plugin/websearch/tinyfish.js +8 -8
  444. package/dist/plugin.js +206 -206
  445. package/dist/project/schema.js +7 -7
  446. package/dist/project.js +76 -76
  447. package/dist/provider.js +78 -78
  448. package/dist/pty.js +85 -85
  449. package/dist/reference/instructions.js +75 -75
  450. package/dist/reference.js +73 -73
  451. package/dist/repository-cache.js +68 -68
  452. package/dist/ripgrep.js +80 -80
  453. package/dist/rpc.js +72 -72
  454. package/dist/schedule/check.js +197 -197
  455. package/dist/schedule.js +204 -204
  456. package/dist/session/blob.js +96 -96
  457. package/dist/session/command.js +64 -64
  458. package/dist/session/compaction.js +132 -132
  459. package/dist/session/context.js +160 -160
  460. package/dist/session/diff.js +71 -71
  461. package/dist/session/environment.js +5 -5
  462. package/dist/session/error.js +4 -4
  463. package/dist/session/execution/restart.js +120 -120
  464. package/dist/session/execution.js +123 -123
  465. package/dist/session/generate.js +159 -159
  466. package/dist/session/history.js +102 -102
  467. package/dist/session/inbox.js +111 -111
  468. package/dist/session/info.js +2 -2
  469. package/dist/session/instruction-entry.js +66 -66
  470. package/dist/session/instruction-state.js +2 -2
  471. package/dist/session/instructions.js +109 -109
  472. package/dist/session/model-request.js +129 -129
  473. package/dist/session/model-transport.js +7 -7
  474. package/dist/session/move.js +128 -128
  475. package/dist/session/projector.js +107 -107
  476. package/dist/session/prompt.js +113 -113
  477. package/dist/session/revert.js +105 -105
  478. package/dist/session/run-coordinator.js +3 -3
  479. package/dist/session/runner/index.js +3 -3
  480. package/dist/session/runner/llm.js +202 -202
  481. package/dist/session/runner/model.js +84 -84
  482. package/dist/session/runner/publish-llm-event.js +113 -113
  483. package/dist/session/runner/retry.js +3 -3
  484. package/dist/session/runner/step.js +124 -124
  485. package/dist/session/runner/to-llm-message.js +103 -103
  486. package/dist/session/schema.js +5 -5
  487. package/dist/session/session.js +145 -145
  488. package/dist/session/shell.js +111 -111
  489. package/dist/session/skill.js +112 -112
  490. package/dist/session/stats.js +8 -8
  491. package/dist/session/store.js +108 -108
  492. package/dist/session/subagent-job.js +187 -187
  493. package/dist/session/system-prompt.js +5 -5
  494. package/dist/session/title.js +158 -158
  495. package/dist/session/to-session-error.js +112 -112
  496. package/dist/session/transfer.js +120 -120
  497. package/dist/session/usage.js +3 -3
  498. package/dist/session.js +193 -193
  499. package/dist/shared-cache.js +5 -5
  500. package/dist/shell/parse.js +3 -3
  501. package/dist/shell/select.js +7 -7
  502. package/dist/shell.js +114 -114
  503. package/dist/skill/discovery.js +5 -5
  504. package/dist/skill/instructions.js +116 -116
  505. package/dist/skill.js +119 -119
  506. package/dist/snapshot.js +76 -76
  507. package/dist/tool/mcp.js +144 -144
  508. package/dist/tool/plugin/artifact.js +186 -186
  509. package/dist/tool/plugin/edit.js +130 -130
  510. package/dist/tool/plugin/glob.js +135 -135
  511. package/dist/tool/plugin/grep.js +133 -133
  512. package/dist/tool/plugin/image-generate.js +196 -196
  513. package/dist/tool/plugin/mcp-resource.js +129 -129
  514. package/dist/tool/plugin/opencode.js +126 -126
  515. package/dist/tool/plugin/patch.js +123 -123
  516. package/dist/tool/plugin/question.js +111 -111
  517. package/dist/tool/plugin/read.js +133 -133
  518. package/dist/tool/plugin/schedule.js +201 -201
  519. package/dist/tool/plugin/shell.js +189 -189
  520. package/dist/tool/plugin/skill.js +118 -118
  521. package/dist/tool/plugin/subagent.js +194 -194
  522. package/dist/tool/plugin/todo.js +117 -117
  523. package/dist/tool/plugin/webfetch.js +116 -116
  524. package/dist/tool/plugin/websearch.js +120 -120
  525. package/dist/tool/plugin/write.js +132 -132
  526. package/dist/tool/read-filesystem.js +82 -82
  527. package/dist/tool/search.js +77 -77
  528. package/dist/tool-output.js +5 -5
  529. package/dist/tool.js +125 -125
  530. package/dist/usage-limits.js +76 -76
  531. package/dist/v1/config/agent.js +4 -4
  532. package/dist/v1/config/command.js +3 -3
  533. package/dist/v1/config/mcp.js +3 -3
  534. package/dist/v1/config/migrate.js +76 -76
  535. package/dist/v1/config/permission.js +3 -3
  536. package/dist/v1/config/provider.js +3 -3
  537. package/dist/variant.js +76 -76
  538. package/dist/vcs.js +74 -74
  539. package/dist/voice.js +72 -72
  540. package/dist/websearch.js +79 -79
  541. package/dist/wellknown/plugin.js +66 -66
  542. package/dist/wellknown.js +63 -63
  543. package/dist/workspace/driver.js +5 -5
  544. package/dist/workspace.js +72 -72
  545. package/dist/worktree/git.js +6 -6
  546. package/dist/worktree/strategies.js +73 -73
  547. package/dist/worktree.js +83 -83
  548. package/package.json +8 -8
  549. package/dist/chunks/app-2e4hd1ta.js +0 -26
  550. /package/dist/chunks/{app-j9ntjbjw.js → app-308km6gf.js} +0 -0
  551. /package/dist/chunks/{app-xkm85qpg.js → app-mqhk7c7q.js} +0 -0
  552. /package/dist/chunks/{app-jb6bh10s.js → app-w1x0pj73.js} +0 -0
  553. /package/dist/chunks/{app-pqh38k57.js → app-yhekzpvh.js} +0 -0
@@ -5,11 +5,11 @@ import {
5
5
  // src/shared-cache.ts
6
6
  var exports_shared_cache = {};
7
7
  __export(exports_shared_cache, {
8
- Service: () => Service13,
8
+ Service: () => Service30,
9
9
  SharedCache: () => exports_shared_cache,
10
10
  fingerprint: () => fingerprint2,
11
11
  interval: () => interval2,
12
- node: () => node15,
12
+ node: () => node33,
13
13
  transient: () => transient2
14
14
  });
15
15
  import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
18
18
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  var interval2 = Duration.minutes(10);
20
20
 
21
- class Service13 extends Context.Service()("@opencode/SharedCache") {
21
+ class Service30 extends Context.Service()("@opencode/SharedCache") {
22
22
  }
23
23
  var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
24
24
  var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
25
25
  var unread = Duration.toMillis(Duration.hours(24));
26
- var layer = Layer.effect(Service13, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
27
27
  const run = yield* FiberSet.makeRuntime();
28
28
  const entries = new Map;
29
29
  const start = Effect.fnUntraced(function* (key, entry, load) {
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
59
59
  }))));
60
60
  return yield* Fiber.join(entry.loading);
61
61
  });
62
- return Service13.of({ get });
62
+ return Service30.of({ get });
63
63
  }));
64
- var node15 = makeGlobalNode({ service: Service13, layer, deps: [] });
64
+ var node33 = makeGlobalNode({ service: Service30, layer, deps: [] });
65
65
 
66
- export { interval2, Service13, fingerprint2, transient2, node15, exports_shared_cache };
66
+ export { interval2, Service30, fingerprint2, transient2, node33, exports_shared_cache };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service90,
3
3
  node93
4
- } from "./app-z8n5afnk.js";
4
+ } from "./app-5w42mrth.js";
5
5
  import {
6
- Service87,
7
- node90
8
- } from "./app-gj6dq5y6.js";
6
+ Service83,
7
+ node86
8
+ } from "./app-cws484wx.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
12
  } from "./app-40y6dtc2.js";
13
13
  import {
14
- Service82,
15
- node85
16
- } from "./app-351b30z6.js";
14
+ Service86,
15
+ node89
16
+ } from "./app-yx186a0m.js";
17
17
  import {
18
18
  latest2,
19
19
  Service78,
20
20
  node81
21
- } from "./app-zcdgyvyy.js";
21
+ } from "./app-0sxs0ahv.js";
22
22
  import {
23
23
  detect2
24
24
  } from "./app-4pyp9zr9.js";
25
25
  import {
26
- Service25,
27
- node28
28
- } from "./app-77sxxbp4.js";
26
+ Service32,
27
+ node35
28
+ } from "./app-cp56srzq.js";
29
29
  import {
30
30
  __export
31
31
  } from "./app-9rqn6x4v.js";
@@ -36,23 +36,23 @@ __export(exports_artifact2, {
36
36
  Artifact: () => exports_artifact2,
37
37
  Capability: () => Capability2,
38
38
  Content: () => Content2,
39
- CreateInput: () => CreateInput3,
40
- DisabledError: () => DisabledError3,
41
- Event: () => Event4,
39
+ CreateInput: () => CreateInput5,
40
+ DisabledError: () => DisabledError4,
41
+ Event: () => Event7,
42
42
  FileMissingError: () => FileMissingError2,
43
- ID: () => ID6,
44
- Info: () => Info6,
43
+ ID: () => ID8,
44
+ Info: () => Info9,
45
45
  InvalidError: () => InvalidError3,
46
46
  LocalProviderID: () => LocalProviderID2,
47
- NotFoundError: () => NotFoundError4,
48
- Provider: () => Provider2,
47
+ NotFoundError: () => NotFoundError5,
48
+ Provider: () => Provider3,
49
49
  ProviderError: () => ProviderError2,
50
50
  ProviderID: () => ProviderID2,
51
- ProviderNotFoundError: () => ProviderNotFoundError2,
52
- Service: () => Service23,
53
- UpdateInput: () => UpdateInput2,
51
+ ProviderNotFoundError: () => ProviderNotFoundError3,
52
+ Service: () => Service31,
53
+ UpdateInput: () => UpdateInput3,
54
54
  locate: () => locate2,
55
- node: () => node26
55
+ node: () => node34
56
56
  });
57
57
  import { randomUUID } from "node:crypto";
58
58
  import fs from "node:fs/promises";
@@ -61,13 +61,13 @@ import { lookup } from "mime-types";
61
61
  import {
62
62
  Capability as Capability2,
63
63
  Content as Content2,
64
- CreateInput as CreateInput3,
65
- Event as Event4,
66
- ID as ID6,
67
- Info as Info6,
68
- Provider as Provider2,
64
+ CreateInput as CreateInput5,
65
+ Event as Event7,
66
+ ID as ID8,
67
+ Info as Info9,
68
+ Provider as Provider3,
69
69
  ProviderID as ProviderID2,
70
- UpdateInput as UpdateInput2
70
+ UpdateInput as UpdateInput3
71
71
  } from "@opencode/schema/artifact";
72
72
  import { Global } from "@opencode/util/global";
73
73
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -75,14 +75,14 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
75
75
  var LocalProviderID2 = ProviderID2.make("local");
76
76
  var ItemPrefix = "artifact:item:";
77
77
 
78
- class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
78
+ class DisabledError4 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
79
79
  get message() {
80
80
  return "Artifacts are disabled; set experimental.artifacts in config";
81
81
  }
82
82
  }
83
83
 
84
- class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
85
- artifactID: ID6
84
+ class NotFoundError5 extends Schema.TaggedError()("Artifact.NotFoundError", {
85
+ artifactID: ID8
86
86
  }) {
87
87
  get message() {
88
88
  return `Artifact not found: ${this.artifactID}`;
@@ -90,7 +90,7 @@ class NotFoundError4 extends Schema.TaggedError()("Artifact.NotFoundError", {
90
90
  }
91
91
 
92
92
  class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError", {
93
- artifactID: ID6,
93
+ artifactID: ID8,
94
94
  path: Schema.String
95
95
  }) {
96
96
  get message() {
@@ -98,7 +98,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
98
98
  }
99
99
  }
100
100
 
101
- class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
101
+ class ProviderNotFoundError3 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
102
102
  providerID: ProviderID2
103
103
  }) {
104
104
  get message() {
@@ -124,10 +124,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
124
124
  }
125
125
  }
126
126
 
127
- class Service23 extends Context.Service()("@opencode/Artifact") {
127
+ class Service31 extends Context.Service()("@opencode/Artifact") {
128
128
  }
129
129
  var StoredRecord = Schema.Struct({
130
- info: Info6,
130
+ info: Info9,
131
131
  directory: Schema.String,
132
132
  projectID: Schema.String
133
133
  });
@@ -140,16 +140,16 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
140
140
  const decoded = decodeStoredRecord(stored);
141
141
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
142
142
  }));
143
- var layer = Layer.effect(Service23, Effect.gen(function* () {
143
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
144
144
  const bus = yield* Service90;
145
145
  const config = yield* Service78;
146
146
  const global = yield* Global.Service;
147
- const kv = yield* Service82;
148
- const location = yield* Service87;
149
- const sessions = yield* Service25;
147
+ const kv = yield* Service86;
148
+ const location = yield* Service83;
149
+ const sessions = yield* Service32;
150
150
  const rootDir = path.join(global.data, "artifacts");
151
151
  const itemDir = (id) => path.join(rootDir, id);
152
- const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
152
+ const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError5({ artifactID: id }))));
153
153
  const localProvider = {
154
154
  id: LocalProviderID2,
155
155
  name: "Local",
@@ -188,13 +188,13 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
188
188
  }
189
189
  }
190
190
  }),
191
- notify: changes2(snapshotProviders, () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid))
191
+ notify: changes2(snapshotProviders, () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid))
192
192
  });
193
193
  const isEnabled = Effect.fn("Artifact.enabled")(function* () {
194
194
  const entries = yield* config.entries();
195
195
  return latest2(entries, "experimental")?.artifacts === true;
196
196
  });
197
- const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
197
+ const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError4)));
198
198
  const activeDefaultID = () => {
199
199
  const data = state.get();
200
200
  return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
@@ -203,17 +203,17 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
203
203
  const data = state.get();
204
204
  const target = requested ?? activeDefaultID();
205
205
  const found = data.providers.get(target);
206
- return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
206
+ return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError3({ providerID: target }));
207
207
  };
208
208
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
209
- return Service23.of({
209
+ return Service31.of({
210
210
  transform: state.transform,
211
211
  reload: state.reload,
212
212
  enabled: isEnabled,
213
213
  providers: Effect.fn("Artifact.providers")(function* () {
214
214
  yield* requireEnabled();
215
215
  const defaultID = activeDefaultID();
216
- return Array.from(state.get().providers.values(), (provider) => Provider2.make({
216
+ return Array.from(state.get().providers.values(), (provider) => Provider3.make({
217
217
  id: provider.id,
218
218
  name: provider.name,
219
219
  capabilities: [...provider.capabilities],
@@ -250,10 +250,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
250
250
  const files = yield* normalizeFiles(encodeStringFiles(input.files));
251
251
  const entry = yield* resolveEntry(files, input.entry);
252
252
  const provider = yield* resolveProvider(input.provider);
253
- const id = ID6.create();
253
+ const id = ID8.create();
254
254
  const now = yield* Clock.currentTimeMillis;
255
255
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
256
- const info = Info6.make({
256
+ const info = Info9.make({
257
257
  id,
258
258
  provider: provider.id,
259
259
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -297,7 +297,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
297
297
  const now = yield* Clock.currentTimeMillis;
298
298
  const sessionID = input.sessionID ?? existing.info.sessionID;
299
299
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
300
- const info = Info6.make({
300
+ const info = Info9.make({
301
301
  id,
302
302
  provider: existing.info.provider,
303
303
  ...sessionID === undefined ? {} : { sessionID },
@@ -341,10 +341,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
341
341
  })
342
342
  });
343
343
  }));
344
- var node26 = makeLocationNode({
345
- service: Service23,
344
+ var node34 = makeLocationNode({
345
+ service: Service31,
346
346
  layer,
347
- deps: [node93, node81, Global.node, node85, node90, node28]
347
+ deps: [node93, node81, Global.node, node89, node86, node35]
348
348
  });
349
349
  function encodeStringFiles(files) {
350
350
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -485,4 +485,4 @@ function readDirectoryFiles(baseDir) {
485
485
  });
486
486
  }
487
487
 
488
- export { Capability2, Content2, CreateInput3, Event4, ID6, Info6, Provider2, ProviderID2, UpdateInput2, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service23, locate2, node26, exports_artifact2 };
488
+ export { Capability2, Content2, CreateInput5, Event7, ID8, Info9, Provider3, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError4, NotFoundError5, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service31, locate2, node34, exports_artifact2 };
@@ -2,15 +2,15 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service36
6
- } from "./app-vccbeb40.js";
5
+ Service44
6
+ } from "./app-eyk0726g.js";
7
7
  import {
8
8
  invocation2,
9
- Service73
10
- } from "./app-gze38h3p.js";
9
+ Service68
10
+ } from "./app-1ccdbfbm.js";
11
11
  import {
12
12
  MEDIA_MIMES2
13
- } from "./app-n84nsxw0.js";
13
+ } from "./app-thje1pb5.js";
14
14
  import {
15
15
  __export
16
16
  } from "./app-9rqn6x4v.js";
@@ -19,15 +19,15 @@ import {
19
19
  var exports_mcp_resource = {};
20
20
  __export(exports_mcp_resource, {
21
21
  McpResourceTools: () => exports_mcp_resource,
22
- Plugin: () => Plugin42
22
+ Plugin: () => Plugin4
23
23
  });
24
24
  import { ToolFailure } from "@opencode/ai/effect";
25
25
  import { Effect, Schema } from "effect";
26
- var Plugin42 = {
26
+ var Plugin4 = {
27
27
  id: "opencode.tools.mcp-resources",
28
28
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
29
- const mcp = yield* Service36;
30
- const permission = yield* Service73;
29
+ const mcp = yield* Service44;
30
+ const permission = yield* Service68;
31
31
  yield* ctx.tool.transform((editor) => {
32
32
  editor.add({
33
33
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin42 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin42, exports_mcp_resource };
96
+ export { Plugin4, exports_mcp_resource };
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service54,
14
+ Service: () => Service60,
15
15
  SizeError: () => SizeError2,
16
- node: () => node55
16
+ node: () => node61
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service54 extends Context.Service()("@opencode/Image") {
45
+ class Service60 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service54, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
48
48
  const state = create4({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service54.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service60.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node55 = makeLocationNode({ service: Service54, layer, deps: [] });
79
+ var node61 = makeLocationNode({ service: Service60, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service54, node55, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service60, node61, exports_image2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service87
3
- } from "./app-gj6dq5y6.js";
2
+ Service83
3
+ } from "./app-cws484wx.js";
4
4
  import {
5
5
  Service78
6
- } from "./app-zcdgyvyy.js";
6
+ } from "./app-0sxs0ahv.js";
7
7
  import {
8
8
  Service18
9
- } from "./app-scgrs5gk.js";
9
+ } from "./app-x6nf6007.js";
10
10
  import {
11
- make20
12
- } from "./app-sbz71ybr.js";
11
+ make4
12
+ } from "./app-vg0erq9k.js";
13
13
  import {
14
14
  observe2
15
15
  } from "./app-tvtps2q9.js";
@@ -21,7 +21,7 @@ import {
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin27
24
+ Plugin: () => Plugin22
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin27 = define({
32
+ var Plugin22 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const config = yield* Service78;
36
36
  const formatter = yield* Service18;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service87;
39
+ const location = yield* Service83;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -44,7 +44,7 @@ var Plugin27 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make20({
47
+ const builtIns = make4({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin27, exports_formatter };
88
+ export { Plugin22, exports_formatter };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./app-rpz083xr.js";
4
+ } from "./app-w9cgn27r.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service90,
8
8
  node93
9
- } from "./app-z8n5afnk.js";
9
+ } from "./app-5w42mrth.js";
10
10
  import {
11
11
  llmClient2
12
12
  } from "./app-0ma9gw4f.js";
@@ -15,19 +15,19 @@ import {
15
15
  } from "./app-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./app-zty0rhxm.js";
18
+ } from "./app-v5qjwjn4.js";
19
19
  import {
20
- Service74,
21
- node77
22
- } from "./app-4dkwhq0x.js";
20
+ Service69,
21
+ node70
22
+ } from "./app-0sydnbwh.js";
23
23
  import {
24
- Service27,
25
- node31
26
- } from "./app-wnvqrhn4.js";
24
+ Service34,
25
+ node38
26
+ } from "./app-g3p1t9vz.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./app-4f25tdd0.js";
30
+ } from "./app-r542h3bh.js";
31
31
  import {
32
32
  __export
33
33
  } from "./app-9rqn6x4v.js";
@@ -75,8 +75,8 @@ var isUntitled2 = (session) => isExactRootFallback({
75
75
  var layer3 = Layer.effect(Service2, Effect.gen(function* () {
76
76
  const bus = yield* Service90;
77
77
  const llm = yield* LLMClient.Service;
78
- const context = yield* Service27;
79
- const store = yield* Service74;
78
+ const context = yield* Service34;
79
+ const store = yield* Service69;
80
80
  const db = (yield* Service91).db;
81
81
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
82
82
  const chunks = [];
@@ -163,7 +163,7 @@ Recent conversation:
163
163
  var node3 = makeLocationNode({
164
164
  service: Service2,
165
165
  layer: layer3,
166
- deps: [node93, llmClient2, node31, node77, node94]
166
+ deps: [node93, llmClient2, node38, node70, node94]
167
167
  });
168
168
 
169
169
  export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./app-z5v4ffb3.js";
4
4
  import {
5
- node92
6
- } from "./app-pnak1v5v.js";
5
+ node88
6
+ } from "./app-r0ndwm6n.js";
7
7
  import {
8
- Service87,
9
- node90
10
- } from "./app-gj6dq5y6.js";
8
+ Service83,
9
+ node86
10
+ } from "./app-cws484wx.js";
11
11
  import {
12
12
  create4
13
13
  } from "./app-40y6dtc2.js";
14
14
  import {
15
- make31
16
- } from "./app-023tr5s6.js";
15
+ make22
16
+ } from "./app-prf7c0f4.js";
17
17
  import {
18
18
  __export
19
19
  } from "./app-9rqn6x4v.js";
@@ -21,9 +21,9 @@ import {
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service70,
24
+ Service: () => Service24,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node73
26
+ node: () => node27
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service70 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service70, Effect.gen(function* () {
37
- const location = yield* Service87;
36
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
37
+ const location = yield* Service83;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make31;
39
+ const git = yield* make22;
40
40
  const state = create4({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service70.of({ ...state, directory: location.directory });
58
+ return Service24.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node73 = makeLocationNode({
61
- service: Service70,
60
+ var node27 = makeLocationNode({
61
+ service: Service24,
62
62
  layer,
63
- deps: [node90, Global.node, node92, FSUtil.node]
63
+ deps: [node86, Global.node, node88, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service70, node73, exports_strategies };
66
+ export { Service24, node27, exports_strategies };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service90
3
- } from "./app-z8n5afnk.js";
3
+ } from "./app-5w42mrth.js";
4
4
  import {
5
5
  Service80,
6
6
  Event15
7
- } from "./app-8skzerzh.js";
7
+ } from "./app-0cm63a3m.js";
8
8
  import {
9
9
  __export
10
10
  } from "./app-9rqn6x4v.js";
@@ -12,12 +12,12 @@ import {
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin2,
15
+ Plugin: () => Plugin19,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin2 = define({
20
+ var Plugin19 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service90;
@@ -45,4 +45,4 @@ var Plugin2 = define({
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin2, exports_plugin };
48
+ export { Plugin19, exports_plugin };
@@ -2,8 +2,8 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./app-z5v4ffb3.js";
4
4
  import {
5
- Service87
6
- } from "./app-gj6dq5y6.js";
5
+ Service83
6
+ } from "./app-cws484wx.js";
7
7
  import {
8
8
  __export
9
9
  } from "./app-9rqn6x4v.js";
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
54
54
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
55
55
  const fs = yield* FSUtil.Service;
56
56
  const global = yield* Global.Service;
57
- const location = yield* Service87;
57
+ const location = yield* Service83;
58
58
  const system = (() => {
59
59
  if (options?.system === false)
60
60
  return;