@opencode/core 0.0.0-dev-20145 → 0.0.0-dev-20147

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{skill-e7rjtbrt.js → schema-01q8mg5a.js} +84 -84
  8. package/dist/chunks/{skill-0mh1e9y1.js → schema-02jbgszr.js} +13 -13
  9. package/dist/chunks/{skill-8zqs9j7p.js → schema-02kbzxrb.js} +11 -11
  10. package/dist/chunks/{skill-2ah7ysh0.js → schema-02v3faq5.js} +11 -11
  11. package/dist/chunks/{skill-zpgxpqb4.js → schema-02wmds2c.js} +4 -4
  12. package/dist/chunks/{skill-r3fbjycb.js → schema-0338tv42.js} +13 -13
  13. package/dist/chunks/{skill-sm3bfvq1.js → schema-06qxp9s1.js} +4 -4
  14. package/dist/chunks/{skill-xx40e851.js → schema-0attd1ej.js} +10 -10
  15. package/dist/chunks/{skill-7dqw4kz8.js → schema-0jwsre1p.js} +5 -5
  16. package/dist/chunks/{skill-cxda8v36.js → schema-0kryq94n.js} +8 -8
  17. package/dist/chunks/{skill-kvam5x8m.js → schema-0mk5rbah.js} +9 -9
  18. package/dist/chunks/{skill-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{skill-qwgayvxk.js → schema-12f5qzcf.js} +3 -3
  20. package/dist/chunks/{skill-1bbkgx8g.js → schema-1bbkgx8g.js} +1 -1
  21. package/dist/chunks/{skill-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{skill-784hb5j4.js → schema-1ed2t66p.js} +4 -4
  23. package/dist/chunks/{skill-9r9pvceh.js → schema-1hhry64t.js} +10 -10
  24. package/dist/chunks/{skill-desz0zm1.js → schema-1htzjx3s.js} +9 -9
  25. package/dist/chunks/{skill-3wma3xyp.js → schema-1kr2za8g.js} +8 -8
  26. package/dist/chunks/{skill-0k6hwwk0.js → schema-1qp06jtb.js} +13 -13
  27. package/dist/chunks/{skill-1ygqh575.js → schema-1ygqh575.js} +2 -2
  28. package/dist/chunks/{skill-js4k01fh.js → schema-216v1y3s.js} +18 -18
  29. package/dist/chunks/{skill-21r38tys.js → schema-21r38tys.js} +1 -1
  30. package/dist/chunks/{skill-1h7wfcaz.js → schema-21zbynkh.js} +7 -7
  31. package/dist/chunks/{skill-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{skill-ypa9dv21.js → schema-2jgevnf2.js} +22 -22
  33. package/dist/chunks/{skill-ph842b28.js → schema-2k71kv7p.js} +4 -4
  34. package/dist/chunks/{skill-y6e1za1j.js → schema-2vvj6rba.js} +1 -1
  35. package/dist/chunks/{skill-g2dcbz99.js → schema-3497bcg9.js} +3 -3
  36. package/dist/chunks/{skill-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{skill-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{skill-45h5gcz9.js → schema-3j9d4fgr.js} +10 -10
  39. package/dist/chunks/{skill-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{skill-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{skill-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{skill-fy0pjwcg.js → schema-44k7vfsg.js} +29 -29
  43. package/dist/chunks/{skill-jtpyz2ab.js → schema-4knz5bpk.js} +26 -26
  44. package/dist/chunks/{skill-rz7n2h8x.js → schema-4p8415jn.js} +16 -16
  45. package/dist/chunks/{skill-2ybvvep6.js → schema-4rdyamb0.js} +9 -9
  46. package/dist/chunks/{skill-1k1qm0zz.js → schema-4xqhn9wd.js} +8 -8
  47. package/dist/chunks/{skill-x9n1am6t.js → schema-53fyba40.js} +4 -4
  48. package/dist/chunks/{skill-54tcyq79.js → schema-54tcyq79.js} +2 -2
  49. package/dist/chunks/{skill-2fgn2we9.js → schema-57ez7d0k.js} +9 -9
  50. package/dist/chunks/{skill-89cak31j.js → schema-58yj0nne.js} +27 -27
  51. package/dist/chunks/{skill-ndmv45hp.js → schema-5cmxdwv8.js} +3 -3
  52. package/dist/chunks/{skill-5daktx2q.js → schema-5daktx2q.js} +1 -1
  53. package/dist/chunks/{skill-m00d8cwd.js → schema-5e82d4zs.js} +10 -10
  54. package/dist/chunks/{skill-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/{skill-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{skill-p37cw4rj.js → schema-5yzzbxa7.js} +8 -8
  57. package/dist/chunks/{skill-3n9ws13k.js → schema-5z7zcbfb.js} +24 -24
  58. package/dist/chunks/{skill-k57m52j4.js → schema-61cd6e58.js} +16 -16
  59. package/dist/chunks/{skill-1xt1ck0n.js → schema-62v4907p.js} +24 -24
  60. package/dist/chunks/{skill-ddw6g656.js → schema-64fh688z.js} +21 -21
  61. package/dist/chunks/{skill-q7cwvqv2.js → schema-659sfxq9.js} +17 -17
  62. package/dist/chunks/{skill-669tq793.js → schema-669tq793.js} +1 -1
  63. package/dist/chunks/{skill-bxxbtj1z.js → schema-66dga76z.js} +9 -9
  64. package/dist/chunks/{skill-ygyn82hw.js → schema-6c158f61.js} +24 -24
  65. package/dist/chunks/{skill-9n6wwvty.js → schema-6en7jsbn.js} +22 -22
  66. package/dist/chunks/{skill-356w9sc2.js → schema-6ftnbkqh.js} +34 -34
  67. package/dist/chunks/{skill-2402vzrj.js → schema-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{skill-0jq9fyba.js → schema-6hjx5zpb.js} +9 -9
  69. package/dist/chunks/{skill-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{skill-g56wnp9w.js → schema-6pc27hjz.js} +4 -4
  71. package/dist/chunks/{skill-np5vqw47.js → schema-6y0m36e6.js} +31 -31
  72. package/dist/chunks/{skill-m3ff8ftt.js → schema-6z06gbqc.js} +7 -7
  73. package/dist/chunks/{skill-kw22r3mz.js → schema-71v07zn3.js} +20 -20
  74. package/dist/chunks/{skill-8eyyjf5p.js → schema-76yj2t14.js} +39 -39
  75. package/dist/chunks/{skill-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{skill-ba0j4cn7.js → schema-80q6mq1f.js} +17 -17
  77. package/dist/chunks/{skill-80k1653w.js → schema-899k0336.js} +3 -3
  78. package/dist/chunks/{skill-hthh481t.js → schema-8a6crgjk.js} +30 -30
  79. package/dist/chunks/{skill-e88405wg.js → schema-8cznwert.js} +3 -3
  80. package/dist/chunks/{skill-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{skill-ndmyd9d5.js → schema-8kkpa49p.js} +5 -5
  82. package/dist/chunks/{skill-rca4fktc.js → schema-8pgwyz8n.js} +5 -5
  83. package/dist/chunks/{skill-b21tmpnr.js → schema-9213mvz8.js} +17 -17
  84. package/dist/chunks/{skill-wpp0cjj3.js → schema-95st8b4j.js} +22 -22
  85. package/dist/chunks/{skill-76z9w757.js → schema-97z86zxn.js} +28 -28
  86. package/dist/chunks/{skill-e2ej6pb4.js → schema-98yh1srd.js} +21 -21
  87. package/dist/chunks/{skill-paqp76c5.js → schema-9bs9pkv6.js} +25 -25
  88. package/dist/chunks/{skill-tsjayg5k.js → schema-9e1jtxq5.js} +24 -24
  89. package/dist/chunks/{skill-nfd8ax6m.js → schema-9hk2fva0.js} +11 -11
  90. package/dist/chunks/{skill-4cfdkkdd.js → schema-9kgeezcq.js} +9 -9
  91. package/dist/chunks/{skill-n2tgnc1d.js → schema-9m1eaqh3.js} +33 -33
  92. package/dist/chunks/{skill-dgh680jd.js → schema-9m1qw5e9.js} +11 -11
  93. package/dist/chunks/{skill-eybvzfm1.js → schema-9qmdww31.js} +9 -9
  94. package/dist/chunks/{skill-vx0kyp13.js → schema-9rmbnpj5.js} +2 -2
  95. package/dist/chunks/{skill-n9nv1g2s.js → schema-9td8kqq4.js} +7 -7
  96. package/dist/chunks/{skill-3z3adtzj.js → schema-9wqzfaac.js} +43 -43
  97. package/dist/chunks/{skill-5k1sdwzd.js → schema-9zbf59cj.js} +14 -14
  98. package/dist/chunks/{skill-cr1y3afn.js → schema-aa14mxtt.js} +11 -11
  99. package/dist/chunks/{skill-aaet6srn.js → schema-aaet6srn.js} +2 -2
  100. package/dist/chunks/{skill-mx9vqzsb.js → schema-acd4vkpt.js} +6 -6
  101. package/dist/chunks/{skill-crbnvd3c.js → schema-achwqtgz.js} +12 -12
  102. package/dist/chunks/{skill-kc10jv2c.js → schema-aegspdvt.js} +16 -16
  103. package/dist/chunks/{skill-6mezrnrt.js → schema-aezpzgnt.js} +13 -13
  104. package/dist/chunks/{skill-1a5fcw83.js → schema-anbdq9pc.js} +24 -24
  105. package/dist/chunks/{skill-q21eqekq.js → schema-aqkbpc1t.js} +17 -17
  106. package/dist/chunks/{skill-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{skill-vwxyxd08.js → schema-b8abjh2k.js} +29 -29
  108. package/dist/chunks/{skill-32hq6f21.js → schema-b8f26xyk.js} +18 -18
  109. package/dist/chunks/{skill-0n9kfdtr.js → schema-bawhc7q1.js} +10 -10
  110. package/dist/chunks/{skill-bjtzbw4r.js → schema-bjtzbw4r.js} +3 -3
  111. package/dist/chunks/{skill-jaq3ytct.js → schema-bpratrbj.js} +11 -11
  112. package/dist/chunks/{skill-ttaejpt4.js → schema-c131hp6h.js} +16 -16
  113. package/dist/chunks/{skill-3cfzdc8e.js → schema-c78bbtc9.js} +5 -5
  114. package/dist/chunks/{skill-1wz7hgfw.js → schema-cdyvr9f3.js} +11 -11
  115. package/dist/chunks/{skill-0t098hqn.js → schema-ce5fknq2.js} +5 -5
  116. package/dist/chunks/{skill-pt2zr2js.js → schema-ceks70kf.js} +12 -12
  117. package/dist/chunks/{skill-ceakxp93.js → schema-cetybxe3.js} +16 -16
  118. package/dist/chunks/{skill-jvf3yq6v.js → schema-ckf8nxjz.js} +4 -4
  119. package/dist/chunks/{skill-w7dnnvtj.js → schema-cmw1rd1q.js} +26 -26
  120. package/dist/chunks/{skill-hqy9engs.js → schema-cv6v52d9.js} +17 -17
  121. package/dist/chunks/{skill-wdy5gqmf.js → schema-cxd4szcz.js} +3 -3
  122. package/dist/chunks/{skill-6maj52c4.js → schema-ddxb0dnv.js} +49 -49
  123. package/dist/chunks/{skill-bsqx64w4.js → schema-de52ckkz.js} +4 -4
  124. package/dist/chunks/{skill-r8dt68cj.js → schema-df71sjqe.js} +18 -18
  125. package/dist/chunks/{skill-2y34zzjz.js → schema-dg5bcj4q.js} +6 -6
  126. package/dist/chunks/{skill-xkntkrq7.js → schema-dmqcgk4z.js} +5 -5
  127. package/dist/chunks/{skill-pmxs7qb3.js → schema-drwq78ky.js} +7 -7
  128. package/dist/chunks/{skill-jpz2fptw.js → schema-e04544d7.js} +16 -16
  129. package/dist/chunks/{skill-jv01nqvq.js → schema-e6hmchc5.js} +5 -5
  130. package/dist/chunks/{skill-z08hfnnz.js → schema-e6zwr77z.js} +25 -25
  131. package/dist/chunks/{skill-t550f9t1.js → schema-eaj1djv9.js} +8 -8
  132. package/dist/chunks/{skill-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{skill-n0ces9wr.js → schema-edc4vr76.js} +293 -293
  134. package/dist/chunks/{skill-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{skill-45hw2ke2.js → schema-eq20ba7x.js} +6 -6
  136. package/dist/chunks/{skill-x5h9rc8d.js → schema-es758s33.js} +20 -20
  137. package/dist/chunks/{skill-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{skill-vyb0kg0e.js → schema-f9hw48zx.js} +5 -5
  139. package/dist/chunks/{skill-dvep9rg9.js → schema-faj2svbs.js} +9 -9
  140. package/dist/chunks/{skill-j6agxh7h.js → schema-fm2djhtr.js} +11 -11
  141. package/dist/chunks/{skill-xtgbwqve.js → schema-fm32kww2.js} +16 -16
  142. package/dist/chunks/{skill-ymy1ksmb.js → schema-fn7m6sq4.js} +4 -4
  143. package/dist/chunks/{skill-b4yy89wj.js → schema-fnckqvkz.js} +41 -41
  144. package/dist/chunks/{skill-076c2a0m.js → schema-fxpxkdge.js} +23 -23
  145. package/dist/chunks/{skill-6g3zqvt4.js → schema-g3f2t215.js} +44 -44
  146. package/dist/chunks/{skill-6vw8ar2t.js → schema-gah6wse8.js} +7 -7
  147. package/dist/chunks/{skill-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{skill-gfvb90ym.js → schema-gfvb90ym.js} +2 -2
  149. package/dist/chunks/{skill-jq5fe594.js → schema-ggxapr4n.js} +14 -14
  150. package/dist/chunks/{skill-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{skill-h12rgdpb.js → schema-gvdvajq4.js} +21 -21
  152. package/dist/chunks/{skill-g8xxs4tx.js → schema-h2r7bbkd.js} +8 -8
  153. package/dist/chunks/{skill-s9hxjcvx.js → schema-h6ata8bv.js} +23 -23
  154. package/dist/chunks/{skill-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{skill-d72m39bh.js → schema-h7e5g0tn.js} +6 -6
  156. package/dist/chunks/{skill-03584vt6.js → schema-ha8h07mp.js} +22 -22
  157. package/dist/chunks/{skill-jqs9mv6c.js → schema-hdwy771y.js} +11 -11
  158. package/dist/chunks/{skill-zmgj1fzg.js → schema-hf0mkt0x.js} +1 -1
  159. package/dist/chunks/{skill-nxhqveyz.js → schema-hkfg6fzm.js} +5 -5
  160. package/dist/chunks/{skill-ka0vvha2.js → schema-hx5a9m6n.js} +24 -24
  161. package/dist/chunks/schema-hxa7m5za.js +4 -0
  162. package/dist/chunks/{skill-8j39572n.js → schema-j0v6s4pa.js} +14 -14
  163. package/dist/chunks/{skill-rxrdsmb2.js → schema-j1zk5myr.js} +168 -168
  164. package/dist/chunks/{skill-44ak30pa.js → schema-j34bs4nz.js} +4 -4
  165. package/dist/chunks/{skill-tb4yenby.js → schema-j433k3ah.js} +25 -25
  166. package/dist/chunks/{skill-j56e64zr.js → schema-j56e64zr.js} +1 -1
  167. package/dist/chunks/{skill-e2g652f9.js → schema-jd3ht1x4.js} +6 -6
  168. package/dist/chunks/{skill-qwfb2xj5.js → schema-jdj92c4g.js} +18 -18
  169. package/dist/chunks/{skill-dg9j5cn4.js → schema-jg25py4x.js} +15 -15
  170. package/dist/chunks/{skill-989kzmra.js → schema-jvexc5ky.js} +5 -5
  171. package/dist/chunks/{skill-7pyj7ba3.js → schema-jvzqejyw.js} +13 -13
  172. package/dist/chunks/{skill-xdk9p2qn.js → schema-jw80jp6b.js} +21 -21
  173. package/dist/chunks/{skill-vtmy20gp.js → schema-k268tg8b.js} +3 -3
  174. package/dist/chunks/{skill-nzks3jc8.js → schema-k3c624dm.js} +3 -3
  175. package/dist/chunks/{skill-3bmc3qgf.js → schema-kga0f6yw.js} +5 -5
  176. package/dist/chunks/{skill-k3s30ds8.js → schema-m0f2xe1s.js} +35 -35
  177. package/dist/chunks/{skill-vhws4k5z.js → schema-m1tf57me.js} +9 -9
  178. package/dist/chunks/{skill-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{skill-w458ceda.js → schema-m65z8mqv.js} +43 -43
  180. package/dist/chunks/{skill-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{skill-fax38eh1.js → schema-mjvn4zm4.js} +13 -13
  182. package/dist/chunks/{skill-wgf9w8df.js → schema-mrty011c.js} +43 -43
  183. package/dist/chunks/{skill-rcb365h2.js → schema-ms84bj92.js} +43 -43
  184. package/dist/chunks/{skill-detfqq7a.js → schema-mssxhbmx.js} +32 -32
  185. package/dist/chunks/{skill-janct095.js → schema-mwm07mde.js} +6 -6
  186. package/dist/chunks/{skill-7x6w4dbm.js → schema-n4v0pxzg.js} +8 -8
  187. package/dist/chunks/{skill-qnt03sa9.js → schema-n965dgn2.js} +9 -9
  188. package/dist/chunks/{skill-nq7qbqzc.js → schema-nq7qbqzc.js} +2 -2
  189. package/dist/chunks/{skill-44h5tttr.js → schema-nzyhnfxz.js} +4 -4
  190. package/dist/chunks/schema-p2h6zvwc.js +18 -0
  191. package/dist/chunks/{skill-e30mydyk.js → schema-p2wfcwv1.js} +12 -12
  192. package/dist/chunks/{skill-0rmsjf05.js → schema-pceeejwg.js} +8 -8
  193. package/dist/chunks/{skill-xfppak84.js → schema-phwvgf2n.js} +29 -29
  194. package/dist/chunks/{skill-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{skill-pknna89w.js → schema-pknna89w.js} +1 -1
  196. package/dist/chunks/{skill-psazpmmj.js → schema-psazpmmj.js} +2 -2
  197. package/dist/chunks/schema-pvpvsgsg.js +26 -0
  198. package/dist/chunks/{skill-tpj24wtk.js → schema-q11was2t.js} +16 -16
  199. package/dist/chunks/schema-q4hmxj4a.js +252 -0
  200. package/dist/chunks/{skill-6zgs0efr.js → schema-q8n9d2sh.js} +6 -6
  201. package/dist/chunks/{skill-757464b7.js → schema-qe26s0zb.js} +8 -8
  202. package/dist/chunks/{skill-qsdy395h.js → schema-qsdy395h.js} +1 -1
  203. package/dist/chunks/{skill-tfsxcdsg.js → schema-qsxgc847.js} +31 -31
  204. package/dist/chunks/{skill-shd3frcx.js → schema-qthnzapq.js} +34 -34
  205. package/dist/chunks/{skill-wxqe1knm.js → schema-r1ht1y7w.js} +11 -11
  206. package/dist/chunks/{skill-r2m716tb.js → schema-r2m716tb.js} +2 -2
  207. package/dist/chunks/{skill-cgf4qtyb.js → schema-r3c4069c.js} +1 -1
  208. package/dist/chunks/{skill-4smefg5w.js → schema-r5xqv1fp.js} +5 -5
  209. package/dist/chunks/{skill-vncycja5.js → schema-r98e92ep.js} +4 -4
  210. package/dist/chunks/{skill-0m84ww24.js → schema-r99neq4v.js} +6 -6
  211. package/dist/chunks/{skill-p394qth2.js → schema-raajgtb1.js} +15 -15
  212. package/dist/chunks/{skill-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{skill-p0b4ytnr.js → schema-rph3zd4r.js} +6 -6
  214. package/dist/chunks/{skill-fm2qvscf.js → schema-ryr25ayn.js} +4 -4
  215. package/dist/chunks/{skill-2bs0ggh2.js → schema-s1tzw9nx.js} +12 -12
  216. package/dist/chunks/{skill-7nd6xv06.js → schema-s28xa88k.js} +11 -11
  217. package/dist/chunks/{skill-rwb475tr.js → schema-s2a3m5zj.js} +17 -17
  218. package/dist/chunks/{skill-nt0zepmg.js → schema-s3d1hc87.js} +20 -20
  219. package/dist/chunks/{skill-pggxf35t.js → schema-s4q2v5s3.js} +12 -12
  220. package/dist/chunks/{skill-remax6fx.js → schema-s56b7sj7.js} +16 -16
  221. package/dist/chunks/{skill-3p2et0b5.js → schema-sb3nhjgb.js} +31 -31
  222. package/dist/chunks/{skill-mef68v83.js → schema-sc1s8qey.js} +10 -10
  223. package/dist/chunks/{skill-cyergeqz.js → schema-scayhw0d.js} +20 -20
  224. package/dist/chunks/{skill-29vy68en.js → schema-sgajxdys.js} +21 -21
  225. package/dist/chunks/{skill-qs9ybea7.js → schema-shhpa2wx.js} +16 -16
  226. package/dist/chunks/{skill-2s1jxc06.js → schema-sp0b9gx5.js} +9 -9
  227. package/dist/chunks/{skill-0qgv8nb2.js → schema-sp3cfktr.js} +5 -5
  228. package/dist/chunks/{skill-6sfbes5t.js → schema-sqtna5cg.js} +15 -15
  229. package/dist/chunks/{skill-ayzg8ccg.js → schema-svr80ky5.js} +59 -59
  230. package/dist/chunks/{skill-vbwnpg03.js → schema-sydz09wp.js} +29 -29
  231. package/dist/chunks/{skill-t79xy2mh.js → schema-szfqz0v7.js} +14 -14
  232. package/dist/chunks/{skill-tx6vdhd3.js → schema-t37tr4jd.js} +33 -33
  233. package/dist/chunks/{skill-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{skill-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{skill-tdstcens.js → schema-tdstcens.js} +1 -1
  236. package/dist/chunks/{skill-k80vaxk4.js → schema-tp9yn0rb.js} +4 -4
  237. package/dist/chunks/{skill-1ew86vmq.js → schema-tqk88y0w.js} +28 -28
  238. package/dist/chunks/{skill-tvtrv512.js → schema-tvtrv512.js} +1 -1
  239. package/dist/chunks/{skill-at1kfnmk.js → schema-tx9w5tca.js} +8 -8
  240. package/dist/chunks/{skill-j348xy3d.js → schema-v8mjc2yy.js} +3 -3
  241. package/dist/chunks/{skill-veqvce7d.js → schema-veqvce7d.js} +1 -1
  242. package/dist/chunks/{skill-1xq60cdz.js → schema-vevrkrar.js} +26 -26
  243. package/dist/chunks/{skill-dek97kfv.js → schema-vh918eyq.js} +57 -57
  244. package/dist/chunks/{skill-nnabp7az.js → schema-vjjjrtg8.js} +3 -3
  245. package/dist/chunks/{skill-hkagk5ex.js → schema-vmgq4x8b.js} +2 -2
  246. package/dist/chunks/{skill-27w69yv8.js → schema-vmwh049b.js} +9 -9
  247. package/dist/chunks/{skill-w9fx5cjc.js → schema-vtp78vb3.js} +9 -9
  248. package/dist/chunks/{skill-rkbnrd1t.js → schema-vvvs0jwh.js} +4 -4
  249. package/dist/chunks/{skill-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{skill-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{skill-x0vzmp4x.js → schema-w1ad28wa.js} +8 -8
  252. package/dist/chunks/{skill-m7p4v1r8.js → schema-w3ba67bf.js} +5 -5
  253. package/dist/chunks/{skill-qdbfzzkj.js → schema-w3d830pe.js} +84 -84
  254. package/dist/chunks/{skill-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{skill-6sevay56.js → schema-wbeghawe.js} +13 -13
  256. package/dist/chunks/{skill-m2gm9xbj.js → schema-wc287v3v.js} +9 -9
  257. package/dist/chunks/{skill-wd87259q.js → schema-wd87259q.js} +1 -1
  258. package/dist/chunks/{skill-w2v1h5sx.js → schema-wkbehqst.js} +48 -48
  259. package/dist/chunks/{skill-vcbxa09f.js → schema-wnavy81w.js} +29 -29
  260. package/dist/chunks/{skill-255190bg.js → schema-wrsptv21.js} +4 -4
  261. package/dist/chunks/{skill-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{skill-qdbakdjh.js → schema-x2rw7g36.js} +5 -5
  263. package/dist/chunks/{skill-j778ss5y.js → schema-x5aajpce.js} +8 -8
  264. package/dist/chunks/{skill-53mc4csb.js → schema-x7x071nx.js} +11 -11
  265. package/dist/chunks/{skill-yf10kn3d.js → schema-xfk06v0t.js} +8 -8
  266. package/dist/chunks/{skill-m6xen6sw.js → schema-xfkq7hhm.js} +24 -24
  267. package/dist/chunks/{skill-d7cz7sg9.js → schema-xgdsspm4.js} +8 -8
  268. package/dist/chunks/{skill-rymvgm1a.js → schema-xhsj2xcy.js} +6 -6
  269. package/dist/chunks/{skill-pmcn358j.js → schema-xj9an458.js} +8 -8
  270. package/dist/chunks/{skill-dqc48bmt.js → schema-xmx293k5.js} +21 -21
  271. package/dist/chunks/{skill-04eds587.js → schema-xqv87xzy.js} +22 -22
  272. package/dist/chunks/{skill-yv7rq0ve.js → schema-xrk2dg0j.js} +26 -26
  273. package/dist/chunks/{skill-eem71r3p.js → schema-y0cr4b1c.js} +4 -4
  274. package/dist/chunks/{skill-nschnc00.js → schema-y0xmc8cr.js} +5 -5
  275. package/dist/chunks/{skill-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{skill-5f90fjb2.js → schema-y5df08dr.js} +5 -5
  277. package/dist/chunks/{skill-y71avatq.js → schema-y71avatq.js} +1 -1
  278. package/dist/chunks/{skill-fr9fe95s.js → schema-y91sxvbc.js} +38 -38
  279. package/dist/chunks/{skill-xmf8p64g.js → schema-yctgz9ak.js} +3 -3
  280. package/dist/chunks/{skill-fnaaq7pg.js → schema-yhbs15xx.js} +11 -11
  281. package/dist/chunks/{skill-f2n192rq.js → schema-yp2x3t23.js} +4 -4
  282. package/dist/chunks/{skill-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{skill-s4enseaf.js → schema-yrznvahk.js} +2 -2
  284. package/dist/chunks/{skill-nkaaqjfc.js → schema-ywmyccm2.js} +22 -22
  285. package/dist/chunks/{skill-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{skill-29x78va6.js → schema-z63w68vq.js} +6 -6
  287. package/dist/chunks/{skill-9frcw0w4.js → schema-z6zxveg6.js} +9 -9
  288. package/dist/chunks/{skill-ydjanfww.js → schema-za5cqyrv.js} +17 -17
  289. package/dist/chunks/{skill-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{skill-m1tcka5g.js → schema-zffm6dk0.js} +17 -17
  291. package/dist/chunks/{skill-pmgm2vdm.js → schema-zg5v86p0.js} +3 -3
  292. package/dist/chunks/{skill-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{skill-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +79 -79
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +212 -212
  304. package/dist/config/plugin/compaction.js +160 -160
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +122 -122
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +75 -75
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/file.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/ignore.js +1 -1
  427. package/dist/filesystem/location-watcher-policy.js +2 -2
  428. package/dist/filesystem/location-watcher.js +227 -227
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +93 -93
  431. package/dist/filesystem/watcher-binding.js +3 -3
  432. package/dist/filesystem/watcher.js +15 -15
  433. package/dist/filesystem.js +94 -94
  434. package/dist/form.js +86 -86
  435. package/dist/formatter/builtins.js +2 -2
  436. package/dist/formatter.js +87 -87
  437. package/dist/generate.js +103 -103
  438. package/dist/git.js +6 -6
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +99 -99
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/id/id.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +363 -363
  463. package/dist/instruction-discovery.js +85 -85
  464. package/dist/instructions/builtins.js +87 -87
  465. package/dist/instructions/index.js +5 -5
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +86 -86
  468. package/dist/job.js +79 -79
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +69 -69
  471. package/dist/location-activity.js +132 -132
  472. package/dist/location-lifecycle.js +107 -107
  473. package/dist/location-mutation.js +104 -104
  474. package/dist/location-service-map.js +86 -86
  475. package/dist/location-services.js +360 -360
  476. package/dist/location.js +83 -83
  477. package/dist/managed-policy.js +5 -5
  478. package/dist/mcp/client.js +91 -91
  479. package/dist/mcp/index.js +108 -108
  480. package/dist/mcp/instructions.js +128 -128
  481. package/dist/mcp/oauth.js +75 -75
  482. package/dist/mcp/stdio.js +90 -90
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +99 -99
  485. package/dist/model-resolver.js +98 -98
  486. package/dist/model.js +102 -102
  487. package/dist/models-dev.js +107 -107
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +80 -80
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +117 -117
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +86 -86
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +75 -75
  497. package/dist/plugin/agent.js +102 -102
  498. package/dist/plugin/command.js +99 -99
  499. package/dist/plugin/compaction.js +131 -131
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +218 -218
  502. package/dist/plugin/identity.js +3 -3
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +334 -334
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +96 -96
  507. package/dist/plugin/module.js +7 -7
  508. package/dist/plugin/optimize.js +2 -2
  509. package/dist/plugin/plan.js +102 -102
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  512. package/dist/plugin/provider/azure.js +122 -122
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +119 -119
  518. package/dist/plugin/provider/digitalocean.js +93 -93
  519. package/dist/plugin/provider/dynamic.js +2 -2
  520. package/dist/plugin/provider/factory.js +1 -1
  521. package/dist/plugin/provider/gateway.js +2 -2
  522. package/dist/plugin/provider/github-copilot.js +93 -93
  523. package/dist/plugin/provider/gitlab.js +93 -93
  524. package/dist/plugin/provider/google-vertex.js +90 -90
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +77 -77
  527. package/dist/plugin/provider/lmstudio.js +122 -122
  528. package/dist/plugin/provider/modal.js +92 -92
  529. package/dist/plugin/provider/nvidia.js +1 -1
  530. package/dist/plugin/provider/ollama.js +122 -122
  531. package/dist/plugin/provider/openai.js +92 -92
  532. package/dist/plugin/provider/opencode.js +95 -95
  533. package/dist/plugin/provider/openrouter.js +91 -91
  534. package/dist/plugin/provider/perplexity.js +2 -2
  535. package/dist/plugin/provider/poe.js +78 -78
  536. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  537. package/dist/plugin/provider/sap-ai-core.js +91 -91
  538. package/dist/plugin/provider/sdk-factory.js +1 -1
  539. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  540. package/dist/plugin/provider/venice.js +2 -2
  541. package/dist/plugin/provider/vercel.js +90 -90
  542. package/dist/plugin/provider/vllm.js +120 -120
  543. package/dist/plugin/provider/xai.js +91 -91
  544. package/dist/plugin/provider/zenmux.js +1 -1
  545. package/dist/plugin/provider.js +160 -160
  546. package/dist/plugin/sdk.js +74 -74
  547. package/dist/plugin/service.js +3 -3
  548. package/dist/plugin/skill.js +139 -139
  549. package/dist/plugin/source-directory.js +1 -1
  550. package/dist/plugin/supervisor.js +349 -349
  551. package/dist/plugin/tool-input-repair.js +4 -4
  552. package/dist/plugin/update.js +6 -6
  553. package/dist/plugin/vcs/git.js +86 -86
  554. package/dist/plugin/vcs/hg.js +86 -86
  555. package/dist/plugin/verbosity.js +93 -93
  556. package/dist/plugin/warming.js +121 -121
  557. package/dist/plugin/websearch/exa.js +7 -7
  558. package/dist/plugin/websearch/firecrawl.js +8 -8
  559. package/dist/plugin/websearch/index.js +9 -9
  560. package/dist/plugin/websearch/mcp.js +2 -2
  561. package/dist/plugin/websearch/parallel.js +8 -8
  562. package/dist/plugin/websearch/tavily.js +6 -6
  563. package/dist/plugin/websearch/tinyfish.js +8 -8
  564. package/dist/plugin.js +229 -229
  565. package/dist/project/schema.js +8 -8
  566. package/dist/project/sql.js +4 -4
  567. package/dist/project.js +84 -84
  568. package/dist/provider.js +101 -101
  569. package/dist/pty/protocol.js +1 -1
  570. package/dist/pty/schema.js +3 -3
  571. package/dist/pty/ticket.js +1 -1
  572. package/dist/pty.js +98 -98
  573. package/dist/reference/instructions.js +89 -89
  574. package/dist/reference.js +91 -91
  575. package/dist/repository-cache.js +81 -81
  576. package/dist/repository.js +3 -3
  577. package/dist/ripgrep/binary.js +2 -2
  578. package/dist/ripgrep.js +97 -97
  579. package/dist/rpc.js +86 -86
  580. package/dist/schema.js +1 -1
  581. package/dist/session/command.js +74 -74
  582. package/dist/session/compaction.js +128 -128
  583. package/dist/session/context.js +152 -152
  584. package/dist/session/diff.js +88 -88
  585. package/dist/session/environment.js +5 -5
  586. package/dist/session/error.js +7 -7
  587. package/dist/session/event.js +1 -1
  588. package/dist/session/execution/restart.js +221 -221
  589. package/dist/session/execution.js +128 -128
  590. package/dist/session/generate.js +153 -153
  591. package/dist/session/history.js +15 -15
  592. package/dist/session/inbox.js +90 -90
  593. package/dist/session/info.js +3 -3
  594. package/dist/session/instruction-entry.js +79 -79
  595. package/dist/session/instruction-state.js +8 -8
  596. package/dist/session/instructions.js +97 -97
  597. package/dist/session/message-updater.js +4 -4
  598. package/dist/session/message.js +1 -1
  599. package/dist/session/model-request.js +119 -119
  600. package/dist/session/model-transport.js +9 -9
  601. package/dist/session/move.js +130 -130
  602. package/dist/session/projector.js +86 -86
  603. package/dist/session/prompt.js +105 -105
  604. package/dist/session/provider-context.js +3 -3
  605. package/dist/session/revert.js +90 -90
  606. package/dist/session/run-coordinator.js +3 -3
  607. package/dist/session/runner/index.js +3 -3
  608. package/dist/session/runner/llm.js +229 -229
  609. package/dist/session/runner/max-steps.js +1 -1
  610. package/dist/session/runner/model.js +98 -98
  611. package/dist/session/runner/publish-llm-event.js +3 -3
  612. package/dist/session/runner/retry.js +112 -112
  613. package/dist/session/runner/step.js +124 -124
  614. package/dist/session/runner/to-llm-message.js +2 -2
  615. package/dist/session/schema.js +5 -5
  616. package/dist/session/session.js +172 -172
  617. package/dist/session/shell.js +138 -138
  618. package/dist/session/skill.js +103 -103
  619. package/dist/session/sql.js +5 -5
  620. package/dist/session/stats.js +73 -73
  621. package/dist/session/store.js +85 -85
  622. package/dist/session/subagent-completion.js +1 -1
  623. package/dist/session/subagent-job.js +208 -208
  624. package/dist/session/system-prompt.js +5 -5
  625. package/dist/session/title.js +154 -154
  626. package/dist/session/to-session-error.js +111 -111
  627. package/dist/session/transfer.js +214 -214
  628. package/dist/session/usage.js +1 -1
  629. package/dist/session.js +216 -216
  630. package/dist/shell/parse.js +6 -6
  631. package/dist/shell/result.js +1 -1
  632. package/dist/shell/scan.js +1 -1
  633. package/dist/shell/select.js +15 -15
  634. package/dist/shell.js +140 -140
  635. package/dist/skill/discovery.js +2 -2
  636. package/dist/skill/instructions.js +107 -107
  637. package/dist/skill.js +112 -112
  638. package/dist/snapshot.js +93 -93
  639. package/dist/state.js +1 -1
  640. package/dist/tool/html-markdown.js +1 -1
  641. package/dist/tool/http-body.js +1 -1
  642. package/dist/tool/mcp.js +127 -127
  643. package/dist/tool/plugin/edit.js +120 -120
  644. package/dist/tool/plugin/file-diff.js +1 -1
  645. package/dist/tool/plugin/glob.js +124 -124
  646. package/dist/tool/plugin/grep.js +114 -114
  647. package/dist/tool/plugin/mcp-resource.js +116 -116
  648. package/dist/tool/plugin/opencode.js +3 -3
  649. package/dist/tool/plugin/patch.js +120 -120
  650. package/dist/tool/plugin/question.js +105 -105
  651. package/dist/tool/plugin/read.js +125 -125
  652. package/dist/tool/plugin/shell.js +215 -215
  653. package/dist/tool/plugin/skill.js +111 -111
  654. package/dist/tool/plugin/subagent.js +219 -219
  655. package/dist/tool/plugin/webfetch.js +108 -108
  656. package/dist/tool/plugin/websearch.js +112 -112
  657. package/dist/tool/plugin/write.js +120 -120
  658. package/dist/tool/read-filesystem.js +96 -96
  659. package/dist/tool/runtime.js +1 -1
  660. package/dist/tool-output.js +8 -8
  661. package/dist/tool.js +14 -14
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +5 -5
  672. package/dist/v1/config/attachment.js +4 -4
  673. package/dist/v1/config/command.js +3 -3
  674. package/dist/v1/config/config.js +16 -16
  675. package/dist/v1/config/error.js +4 -4
  676. package/dist/v1/config/formatter.js +5 -5
  677. package/dist/v1/config/layout.js +1 -1
  678. package/dist/v1/config/lsp.js +5 -5
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +92 -92
  681. package/dist/v1/config/permission.js +7 -7
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/v1/config/server.js +2 -2
  686. package/dist/v1/config/skills.js +3 -3
  687. package/dist/v1/permission.js +1 -1
  688. package/dist/variant.js +93 -93
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +89 -89
  691. package/dist/websearch.js +84 -84
  692. package/dist/wellknown/plugin.js +76 -76
  693. package/dist/wellknown.js +81 -81
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +76 -76
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +10 -10
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +98 -98
  702. package/package.json +8 -8
  703. package/dist/chunks/skill-0mesazry.js +0 -4
  704. package/dist/chunks/skill-9aadv3ms.js +0 -252
  705. package/dist/chunks/skill-dxj72tfx.js +0 -18
  706. package/dist/chunks/skill-k1t86pbz.js +0 -26
  707. /package/dist/chunks/{skill-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{skill-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{skill-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{skill-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{skill-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{skill-24dcb14g.js → schema-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{skill-2710q6r3.js → schema-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{skill-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{skill-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{skill-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{skill-359p4xyc.js → schema-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{skill-3asan66x.js → schema-3asan66x.js} +0 -0
  719. /package/dist/chunks/{skill-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{skill-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{skill-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{skill-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{skill-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{skill-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{skill-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{skill-53557ph1.js → schema-53557ph1.js} +0 -0
  727. /package/dist/chunks/{skill-550bvhaj.js → schema-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{skill-6prwharc.js → schema-6prwharc.js} +0 -0
  729. /package/dist/chunks/{skill-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{skill-7m9af43g.js → schema-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{skill-822emrt2.js → schema-822emrt2.js} +0 -0
  732. /package/dist/chunks/{skill-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{skill-8n3pysct.js → schema-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{skill-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{skill-922hggd3.js → schema-922hggd3.js} +0 -0
  736. /package/dist/chunks/{skill-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{skill-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{skill-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{skill-af5trqkr.js → schema-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{skill-afrmfg78.js → schema-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{skill-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{skill-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{skill-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{skill-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{skill-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{skill-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{skill-d9fn303g.js → schema-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{skill-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{skill-dajrwvna.js → schema-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{skill-dap0rakb.js → schema-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{skill-df08tz66.js → schema-df08tz66.js} +0 -0
  752. /package/dist/chunks/{skill-dy18nga0.js → schema-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{skill-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{skill-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{skill-ec1grn59.js → schema-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{skill-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{skill-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{skill-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{skill-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{skill-faypxj3z.js → schema-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{skill-fd410y7t.js → schema-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{skill-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{skill-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{skill-g86h250q.js → schema-g86h250q.js} +0 -0
  765. /package/dist/chunks/{skill-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{skill-gftt206x.js → schema-gftt206x.js} +0 -0
  767. /package/dist/chunks/{skill-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{skill-hk9envan.js → schema-hk9envan.js} +0 -0
  769. /package/dist/chunks/{skill-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{skill-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{skill-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{skill-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{skill-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{skill-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{skill-mp448xyj.js → schema-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{skill-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{skill-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{skill-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{skill-njntx4h6.js → schema-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{skill-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{skill-q74kybfr.js → schema-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{skill-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{skill-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{skill-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{skill-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{skill-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{skill-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{skill-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{skill-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{skill-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{skill-w803qqfp.js → schema-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{skill-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{skill-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{skill-wtztk69x.js → schema-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{skill-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{skill-x61499pn.js → schema-x61499pn.js} +0 -0
  797. /package/dist/chunks/{skill-y44na4kk.js → schema-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{skill-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{skill-y8f7s663.js → schema-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{skill-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{skill-ym463w8f.js → schema-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{skill-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service79
3
- } from "./skill-nschnc00.js";
3
+ } from "./schema-y0xmc8cr.js";
4
4
  import {
5
- Service70
6
- } from "./skill-ddw6g656.js";
5
+ Service72
6
+ } from "./schema-64fh688z.js";
7
7
  import {
8
- Service19,
8
+ Service71,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./skill-r3fbjycb.js";
11
+ } from "./schema-0338tv42.js";
12
12
  import {
13
- Service13
14
- } from "./skill-wxqe1knm.js";
13
+ Service16
14
+ } from "./schema-r1ht1y7w.js";
15
15
  import {
16
- Service54
17
- } from "./skill-dek97kfv.js";
16
+ Service74
17
+ } from "./schema-vh918eyq.js";
18
18
  import {
19
- Service21,
19
+ Service17,
20
20
  resolvePath2
21
- } from "./skill-6sfbes5t.js";
21
+ } from "./schema-sqtna5cg.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./skill-6prwharc.js";
24
+ } from "./schema-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./skill-9rqn6x4v.js";
27
+ } from "./schema-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output6,
35
- Plugin: () => Plugin47,
36
- name: () => name9
33
+ Input: () => Input3,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin39,
36
+ name: () => name3
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name3 = "edit";
43
+ var Input3 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin47 = {
106
+ var Plugin39 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service21;
110
- const fileMutation = yield* Service19;
111
- const environment = yield* Service70;
112
- const formatter = yield* Service13;
109
+ const access = yield* Service17;
110
+ const fileMutation = yield* Service71;
111
+ const environment = yield* Service72;
112
+ const formatter = yield* Service16;
113
113
  const location = yield* Service79;
114
- const permission = yield* Service54;
114
+ const permission = yield* Service74;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name9,
116
+ name: name3,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input9,
120
- output: Output6,
119
+ input: Input3,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin47 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output6, Plugin47, exports_edit };
197
+ export { name3, Input3, Output3, Plugin39, exports_edit };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./skill-wdy5gqmf.js";
4
+ } from "./schema-cxd4szcz.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./skill-3hepkmqq.js";
7
+ } from "./schema-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./skill-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./skill-qaymkmh1.js";
3
+ } from "./schema-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID9
3
- } from "./skill-fy0pjwcg.js";
2
+ ID8
3
+ } from "./schema-44k7vfsg.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./skill-hjbc5kem.js";
6
+ } from "./schema-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID9.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID9.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID8.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./skill-dek97kfv.js";
3
+ } from "./schema-vh918eyq.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin13
12
+ Plugin: () => Plugin14
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin13 = define({
32
+ var Plugin14 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin13, exports_plan };
109
+ export { Plugin14, exports_plan };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18
3
- } from "./skill-29vy68en.js";
2
+ ID15
3
+ } from "./schema-sgajxdys.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./skill-922hggd3.js";
6
+ } from "./schema-922hggd3.js";
7
7
  import {
8
- Info20
9
- } from "./skill-g8xxs4tx.js";
8
+ Info16
9
+ } from "./schema-h2r7bbkd.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./skill-k80vaxk4.js";
12
+ } from "./schema-tp9yn0rb.js";
13
13
  import {
14
14
  latest2,
15
- Service61
16
- } from "./skill-k3s30ds8.js";
15
+ Service49
16
+ } from "./schema-m0f2xe1s.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./skill-5daktx2q.js";
19
+ } from "./schema-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./skill-9rqn6x4v.js";
22
+ } from "./schema-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin31
28
+ Plugin: () => Plugin23
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info20);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin31 = define({
47
+ var Plugin23 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service61;
50
+ const config = yield* Service49;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin31 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID18.make(configuredDefault));
79
+ editor.default(ID15.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID18.make(id);
85
+ const agentID = ID15.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin31, exports_agent2 };
164
+ export { Plugin23, exports_agent2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID9,
2
+ ID8,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./skill-fy0pjwcg.js";
5
+ } from "./schema-44k7vfsg.js";
6
6
  import {
7
- ID8,
7
+ ID7,
8
8
  VariantID2,
9
9
  Family2,
10
- Info22
11
- } from "./skill-vcbxa09f.js";
10
+ Info21
11
+ } from "./schema-wnavy81w.js";
12
12
  import {
13
13
  __export
14
- } from "./skill-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID8.make(id);
97
+ const key = ID7.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info22.make({
122
- ...Info22.default(ID9.githubCopilot, id),
121
+ return Info21.make({
122
+ ...Info21.default(ID8.githubCopilot, id),
123
123
  id,
124
- modelID: ID8.make(remote.id),
125
- providerID: ID9.githubCopilot,
124
+ modelID: ID7.make(remote.id),
125
+ providerID: ID8.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./skill-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./skill-wdy5gqmf.js";
7
+ } from "./schema-cxd4szcz.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./skill-eem71r3p.js";
11
+ } from "./schema-y0cr4b1c.js";
12
12
  import {
13
13
  Service81,
14
14
  node85
15
- } from "./skill-5f90fjb2.js";
15
+ } from "./schema-y5df08dr.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info33,
19
+ Info34,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./skill-2fgn2we9.js";
23
+ } from "./schema-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./skill-psazpmmj.js";
27
+ } from "./schema-psazpmmj.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./skill-gfvb90ym.js";
30
+ } from "./schema-gfvb90ym.js";
31
31
  import {
32
32
  __export
33
- } from "./skill-9rqn6x4v.js";
33
+ } from "./schema-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info32,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
43
  Service: () => Service80,
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event20.Updated, fromRow(row));
111
+ yield* bus.publish(Event21.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID16.global,
148
+ previous: project.previous ?? ID17.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
170
170
  if (!row)
171
171
  return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event20.Updated, project);
173
+ yield* bus.publish(Event21.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event20.Updated, fromRow(row));
184
+ yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID16.make(root) : undefined;
223
+ return root ? ID17.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID16.make(node) : undefined;
239
+ return node ? ID17.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID16.global,
248
+ id: id ?? ID17.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID16.global,
265
+ id: id ?? ID17.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID16.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
@@ -290,4 +290,4 @@ var node84 = makeGlobalNode({
290
290
  deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
293
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./skill-1wz7hgfw.js";
3
+ } from "./schema-cdyvr9f3.js";
4
4
  import {
5
5
  Service83
6
- } from "./skill-eem71r3p.js";
6
+ } from "./schema-y0cr4b1c.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event17
10
- } from "./skill-d7cz7sg9.js";
10
+ } from "./schema-xgdsspm4.js";
11
11
  import {
12
- ID10,
12
+ ID9,
13
13
  MethodID2
14
- } from "./skill-tb4yenby.js";
14
+ } from "./schema-j433k3ah.js";
15
15
  import {
16
16
  key2
17
- } from "./skill-44h5tttr.js";
17
+ } from "./schema-nzyhnfxz.js";
18
18
  import {
19
- Service17
20
- } from "./skill-yf10kn3d.js";
19
+ Service82
20
+ } from "./schema-xfk06v0t.js";
21
21
  import {
22
- ID9,
22
+ ID8,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./skill-fy0pjwcg.js";
25
+ } from "./schema-44k7vfsg.js";
26
26
  import {
27
- ID4,
28
- Input13,
27
+ ID6,
28
+ Input14,
29
29
  Response2
30
- } from "./skill-h12rgdpb.js";
30
+ } from "./schema-gvdvajq4.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
42
42
  var RemoteResponse = Schema.Struct({
43
43
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
44
44
  websearch: Schema.Struct({
45
- providerID: ID4
45
+ providerID: ID6
46
46
  }).pipe(Schema.optional),
47
47
  experimental: Schema.Struct({
48
48
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
67
67
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
68
68
  function oauth(http) {
69
69
  return {
70
- integrationID: ID10.make("opencode"),
70
+ integrationID: ID9.make("opencode"),
71
71
  method: {
72
72
  id: methodID,
73
73
  type: "oauth",
@@ -124,7 +124,7 @@ var OpencodePlugin2 = define({
124
124
  const bus = yield* Service83;
125
125
  const client = yield* HttpClient.HttpClient;
126
126
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
127
- const managed = yield* Service17;
127
+ const managed = yield* Service82;
128
128
  const loading = Semaphore.makeUnsafe(1);
129
129
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
130
130
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
157
157
  providers.update(providerID, (provider) => {
158
158
  if (source && source.provider !== provider)
159
159
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
160
- provider.integrationID = ID10.make("opencode");
160
+ provider.integrationID = ID9.make("opencode");
161
161
  if (item.canonical !== undefined)
162
162
  provider.canonical = item.canonical;
163
163
  if (item.name !== undefined)
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
227
227
  sourceConnection: snapshot.connection
228
228
  });
229
229
  }
230
- const item = providers.get(ID9.opencode);
230
+ const item = providers.get(ID8.opencode);
231
231
  if (!item)
232
232
  return;
233
233
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
239
239
  });
240
240
  });
241
241
  yield* ctx.model.transform((models) => {
242
- const item = models.provider.get(ID9.opencode);
242
+ const item = models.provider.get(ID8.opencode);
243
243
  if (!item)
244
244
  return;
245
245
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
273
273
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
274
274
  const token = credential.type === "oauth" ? credential.access : credential.key;
275
275
  const server = yield* normalizeServer(serverUrl(credential));
276
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
276
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
277
277
  query: input.query,
278
278
  providerID: descriptor.providerID
279
279
  }));
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
295
295
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
296
296
  });
297
297
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
298
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
298
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
299
299
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
300
300
  })
301
301
  });