@opencode/core 0.0.0-dev-20471 → 0.0.0-dev-20472

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{instruction-discovery-ws0yxesk.js → tool-01vj6crb.js} +11 -11
  8. package/dist/chunks/{instruction-discovery-mxvxcxwy.js → tool-068serwz.js} +4 -4
  9. package/dist/chunks/{instruction-discovery-c5dja1rz.js → tool-0gtjmwnv.js} +30 -30
  10. package/dist/chunks/{instruction-discovery-5rz9mp7t.js → tool-0h1m2r9k.js} +10 -10
  11. package/dist/chunks/{instruction-discovery-qgn6gcr1.js → tool-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{instruction-discovery-rensfgbr.js → tool-0ma4vy4p.js} +4 -4
  13. package/dist/chunks/{instruction-discovery-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{instruction-discovery-ghsjw044.js → tool-0psyspmj.js} +15 -15
  15. package/dist/chunks/{instruction-discovery-43wb7q2w.js → tool-0q6e04md.js} +45 -45
  16. package/dist/chunks/{instruction-discovery-761m9ptj.js → tool-0qa6hg2d.js} +5 -5
  17. package/dist/chunks/{instruction-discovery-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{instruction-discovery-gsw922gt.js → tool-0vz2twak.js} +19 -19
  19. package/dist/chunks/{instruction-discovery-j0n8q38d.js → tool-0wt4yx46.js} +3 -3
  20. package/dist/chunks/{instruction-discovery-6t4hr8r6.js → tool-0xqyf95c.js} +4 -4
  21. package/dist/chunks/{instruction-discovery-75b92wra.js → tool-0xvj5dy1.js} +10 -10
  22. package/dist/chunks/{instruction-discovery-84zcxbc9.js → tool-150yg2gd.js} +5 -5
  23. package/dist/chunks/{instruction-discovery-1heeyx1n.js → tool-16rtyza8.js} +33 -33
  24. package/dist/chunks/{instruction-discovery-fsw0mc83.js → tool-17e7mjev.js} +9 -9
  25. package/dist/chunks/{instruction-discovery-yp2x3t23.js → tool-1acjjqhc.js} +4 -4
  26. package/dist/chunks/{instruction-discovery-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{instruction-discovery-84h8c373.js → tool-1dvck2a7.js} +2 -2
  28. package/dist/chunks/{instruction-discovery-ktwxsybc.js → tool-1egym0t3.js} +38 -38
  29. package/dist/chunks/{instruction-discovery-2aa0xkz7.js → tool-1m5kq2rb.js} +6 -6
  30. package/dist/chunks/{instruction-discovery-21r38tys.js → tool-21r38tys.js} +1 -1
  31. package/dist/chunks/{instruction-discovery-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{instruction-discovery-x18va5sk.js → tool-2rwb967c.js} +31 -31
  33. package/dist/chunks/{instruction-discovery-smpatqxy.js → tool-2t0ky1d2.js} +13 -13
  34. package/dist/chunks/{instruction-discovery-qpsckf0j.js → tool-2tmdj2y2.js} +45 -45
  35. package/dist/chunks/{instruction-discovery-t2az9yje.js → tool-2vs2nh1n.js} +4 -4
  36. package/dist/chunks/{instruction-discovery-qysk27bn.js → tool-2xap9sjc.js} +28 -28
  37. package/dist/chunks/{instruction-discovery-wr7y9ky3.js → tool-2ywzxrtj.js} +33 -33
  38. package/dist/chunks/{instruction-discovery-8hxe8pkp.js → tool-331jtpav.js} +11 -11
  39. package/dist/chunks/{instruction-discovery-mfqp6xfm.js → tool-33w4ejhs.js} +9 -9
  40. package/dist/chunks/{instruction-discovery-dzv9ey9b.js → tool-35nvda3r.js} +16 -16
  41. package/dist/chunks/{instruction-discovery-mx5b0ca7.js → tool-367tnyhe.js} +15 -15
  42. package/dist/chunks/{instruction-discovery-sb1y7h9k.js → tool-39087s82.js} +10 -10
  43. package/dist/chunks/{instruction-discovery-y91qmtyz.js → tool-3dxcfbvg.js} +8 -8
  44. package/dist/chunks/{instruction-discovery-tztphjnf.js → tool-3ensxc03.js} +12 -12
  45. package/dist/chunks/{instruction-discovery-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{instruction-discovery-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{instruction-discovery-f7sh0pz3.js → tool-3hqn980y.js} +25 -25
  48. package/dist/chunks/{instruction-discovery-r1e33f2y.js → tool-3q5heb5a.js} +1 -1
  49. package/dist/chunks/{instruction-discovery-b5a1eknj.js → tool-3r13hppx.js} +2 -2
  50. package/dist/chunks/{instruction-discovery-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{instruction-discovery-pre7v3rr.js → tool-3sthn561.js} +12 -12
  52. package/dist/chunks/{instruction-discovery-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{instruction-discovery-7rkkkr4d.js → tool-3vddgz3b.js} +3 -3
  54. package/dist/chunks/{instruction-discovery-080vvshd.js → tool-3ym878v0.js} +21 -21
  55. package/dist/chunks/{instruction-discovery-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  56. package/dist/chunks/{instruction-discovery-xjtdekf3.js → tool-46j8w8vf.js} +17 -17
  57. package/dist/chunks/{instruction-discovery-n8vdnqrc.js → tool-47jkzegy.js} +5 -5
  58. package/dist/chunks/{instruction-discovery-vwb48jve.js → tool-4gtnaf1q.js} +30 -30
  59. package/dist/chunks/{instruction-discovery-8tyf01n7.js → tool-4h10ah5b.js} +11 -11
  60. package/dist/chunks/{instruction-discovery-2myva995.js → tool-4mwpykj0.js} +6 -6
  61. package/dist/chunks/{instruction-discovery-r9w3djhf.js → tool-4nj4bn9q.js} +9 -9
  62. package/dist/chunks/{instruction-discovery-dh757vhx.js → tool-4pf9cp6z.js} +8 -8
  63. package/dist/chunks/{instruction-discovery-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
  64. package/dist/chunks/{instruction-discovery-6zdn4kqr.js → tool-4ve89d8e.js} +6 -6
  65. package/dist/chunks/{instruction-discovery-31cn1m4w.js → tool-4xh45ynr.js} +13 -13
  66. package/dist/chunks/{instruction-discovery-vj4r8hhk.js → tool-53eqz1v2.js} +2 -2
  67. package/dist/chunks/{instruction-discovery-54ma36ye.js → tool-54ma36ye.js} +1 -1
  68. package/dist/chunks/{instruction-discovery-6y2nrvpb.js → tool-55n934x1.js} +12 -12
  69. package/dist/chunks/{instruction-discovery-zx3ym5xt.js → tool-56r9g34b.js} +19 -19
  70. package/dist/chunks/{instruction-discovery-6pdejbrj.js → tool-59376ey9.js} +11 -11
  71. package/dist/chunks/{instruction-discovery-5daktx2q.js → tool-5daktx2q.js} +1 -1
  72. package/dist/chunks/{instruction-discovery-9xxdq54b.js → tool-5dwsqdnn.js} +24 -24
  73. package/dist/chunks/{instruction-discovery-ngs2t85n.js → tool-5hjzwc51.js} +26 -26
  74. package/dist/chunks/{instruction-discovery-atgqwhr8.js → tool-5hsj21bq.js} +12 -12
  75. package/dist/chunks/{instruction-discovery-d9sgy5v4.js → tool-5qwkxp89.js} +4 -4
  76. package/dist/chunks/{instruction-discovery-6f0av2j1.js → tool-5rrd0wgj.js} +4 -4
  77. package/dist/chunks/{instruction-discovery-h1gxq19x.js → tool-5sb33w33.js} +5 -5
  78. package/dist/chunks/{instruction-discovery-mbvexy51.js → tool-5spq5w86.js} +30 -30
  79. package/dist/chunks/{instruction-discovery-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  80. package/dist/chunks/{instruction-discovery-9hn6k4tm.js → tool-5yzzbxa7.js} +8 -8
  81. package/dist/chunks/{instruction-discovery-jd00bmkr.js → tool-64mbz47k.js} +6 -6
  82. package/dist/chunks/{instruction-discovery-669tq793.js → tool-669tq793.js} +1 -1
  83. package/dist/chunks/{instruction-discovery-0vhqtdyv.js → tool-6713qhv3.js} +3 -3
  84. package/dist/chunks/{instruction-discovery-5wefe36s.js → tool-6f0yry1r.js} +25 -25
  85. package/dist/chunks/{instruction-discovery-s87m1rh1.js → tool-6f1n1136.js} +24 -24
  86. package/dist/chunks/{instruction-discovery-ryr25ayn.js → tool-6hh8tjw2.js} +4 -4
  87. package/dist/chunks/{instruction-discovery-fjdbx3vt.js → tool-6mz873gg.js} +31 -31
  88. package/dist/chunks/{instruction-discovery-bcjbebev.js → tool-6yrb0ee6.js} +44 -44
  89. package/dist/chunks/{instruction-discovery-f75zav2x.js → tool-71az546q.js} +2 -2
  90. package/dist/chunks/{instruction-discovery-vzbxwz1d.js → tool-72rw85ce.js} +11 -11
  91. package/dist/chunks/{instruction-discovery-a1gpj94z.js → tool-73tb2d7t.js} +3 -3
  92. package/dist/chunks/{instruction-discovery-4314ycrs.js → tool-798nffs7.js} +14 -14
  93. package/dist/chunks/{instruction-discovery-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  94. package/dist/chunks/{instruction-discovery-p64njgy7.js → tool-7dkh56cg.js} +32 -32
  95. package/dist/chunks/{instruction-discovery-abdes5d1.js → tool-7vd0q4gx.js} +20 -20
  96. package/dist/chunks/{instruction-discovery-mjqndqed.js → tool-7wnkabmt.js} +12 -12
  97. package/dist/chunks/{instruction-discovery-k0yq8t7t.js → tool-7z0hsedk.js} +10 -10
  98. package/dist/chunks/{instruction-discovery-vtf707f2.js → tool-7zrcenrt.js} +33 -33
  99. package/dist/chunks/{instruction-discovery-th2zx9f7.js → tool-83zz9by4.js} +10 -10
  100. package/dist/chunks/{instruction-discovery-w1eejvng.js → tool-84txncab.js} +5 -5
  101. package/dist/chunks/{instruction-discovery-40vca8cq.js → tool-89fvn49q.js} +32 -32
  102. package/dist/chunks/{instruction-discovery-ty6jwzst.js → tool-89t0bv35.js} +86 -86
  103. package/dist/chunks/{instruction-discovery-en9mxp96.js → tool-8a6ws7jr.js} +9 -9
  104. package/dist/chunks/{instruction-discovery-97w5rk9e.js → tool-8aaqm6qj.js} +8 -8
  105. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  106. package/dist/chunks/{instruction-discovery-mme0rg1v.js → tool-8efxrb1d.js} +5 -5
  107. package/dist/chunks/{instruction-discovery-9h4j716q.js → tool-8nykf3n3.js} +22 -22
  108. package/dist/chunks/{instruction-discovery-cc19yrrc.js → tool-8sbrsbjz.js} +32 -32
  109. package/dist/chunks/{instruction-discovery-dzh449s8.js → tool-8vg2w7m1.js} +3 -3
  110. package/dist/chunks/{instruction-discovery-q6d53jre.js → tool-90p59b3a.js} +8 -8
  111. package/dist/chunks/{instruction-discovery-539jk4fq.js → tool-93hpb89x.js} +2 -2
  112. package/dist/chunks/tool-99qazkpk.js +26 -0
  113. package/dist/chunks/{instruction-discovery-kb9j3d72.js → tool-9e5bzkjp.js} +3 -3
  114. package/dist/chunks/{instruction-discovery-q3mv52s2.js → tool-9eyjn78q.js} +30 -30
  115. package/dist/chunks/{instruction-discovery-02nrjc1r.js → tool-9t7a50xb.js} +8 -8
  116. package/dist/chunks/{instruction-discovery-rtbqen95.js → tool-a2954sdm.js} +20 -20
  117. package/dist/chunks/{instruction-discovery-7pvdgcpf.js → tool-a3wk7f1b.js} +32 -32
  118. package/dist/chunks/{instruction-discovery-xeqcgda4.js → tool-a5my4mnh.js} +32 -32
  119. package/dist/chunks/{instruction-discovery-dfzjqex4.js → tool-a694798e.js} +5 -5
  120. package/dist/chunks/{instruction-discovery-aaet6srn.js → tool-aaet6srn.js} +2 -2
  121. package/dist/chunks/{instruction-discovery-3v5tjer0.js → tool-adrzke39.js} +9 -9
  122. package/dist/chunks/{instruction-discovery-ctj0c0vy.js → tool-apw32n9p.js} +35 -35
  123. package/dist/chunks/{instruction-discovery-gs3s1a1g.js → tool-at1kfnmk.js} +8 -8
  124. package/dist/chunks/{instruction-discovery-prs6m51s.js → tool-azvg6g4c.js} +9 -9
  125. package/dist/chunks/{instruction-discovery-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  126. package/dist/chunks/{instruction-discovery-z3xrvpgm.js → tool-b8svndy5.js} +15 -15
  127. package/dist/chunks/{instruction-discovery-9bc1v1ef.js → tool-b8y6m0vr.js} +10 -10
  128. package/dist/chunks/{instruction-discovery-fdvbeqx3.js → tool-bnfyw5ja.js} +4 -4
  129. package/dist/chunks/{instruction-discovery-2htgr3ze.js → tool-bxy1ctzg.js} +11 -11
  130. package/dist/chunks/{instruction-discovery-rk44qj15.js → tool-bzchk968.js} +17 -17
  131. package/dist/chunks/{instruction-discovery-py3kkmfq.js → tool-cfsekr6v.js} +2 -2
  132. package/dist/chunks/{instruction-discovery-k0133kzt.js → tool-cq43qyqm.js} +17 -17
  133. package/dist/chunks/{instruction-discovery-mmha7pa6.js → tool-cxhqznm4.js} +32 -32
  134. package/dist/chunks/{instruction-discovery-a713gwtq.js → tool-d0w45w1g.js} +3 -3
  135. package/dist/chunks/{instruction-discovery-4zh31xwb.js → tool-d1mxnk9b.js} +5 -5
  136. package/dist/chunks/{instruction-discovery-q3mvh4gg.js → tool-d6x8wjh2.js} +37 -37
  137. package/dist/chunks/{instruction-discovery-r2m716tb.js → tool-djszqvmq.js} +9 -9
  138. package/dist/chunks/{instruction-discovery-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
  139. package/dist/chunks/{instruction-discovery-rakf4fws.js → tool-dq6jrfnm.js} +23 -23
  140. package/dist/chunks/{instruction-discovery-4fecg1gp.js → tool-dxjv2ykb.js} +17 -17
  141. package/dist/chunks/{instruction-discovery-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{instruction-discovery-npdwfpvy.js → tool-ekpgh6d5.js} +13 -13
  143. package/dist/chunks/{instruction-discovery-xa1rfemh.js → tool-emd75jk3.js} +11 -11
  144. package/dist/chunks/{instruction-discovery-1srsgptm.js → tool-etpckvav.js} +7 -7
  145. package/dist/chunks/{instruction-discovery-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{instruction-discovery-47t04rwa.js → tool-ev9z8jfx.js} +3 -3
  147. package/dist/chunks/{instruction-discovery-ns3twq43.js → tool-f3y2xgd9.js} +22 -22
  148. package/dist/chunks/{instruction-discovery-hc0q43h0.js → tool-f4rymznk.js} +13 -13
  149. package/dist/chunks/{instruction-discovery-k1qrnqst.js → tool-f5gy8qwh.js} +8 -8
  150. package/dist/chunks/{instruction-discovery-0whc58jc.js → tool-fnyka1s1.js} +7 -7
  151. package/dist/chunks/{instruction-discovery-ppadzg5x.js → tool-frna90m0.js} +17 -17
  152. package/dist/chunks/{instruction-discovery-pvt2fb7y.js → tool-ftynxttp.js} +15 -15
  153. package/dist/chunks/{instruction-discovery-hygh1nxm.js → tool-fw3dky2w.js} +17 -17
  154. package/dist/chunks/{instruction-discovery-xsbbgyde.js → tool-fxp95myf.js} +17 -17
  155. package/dist/chunks/{instruction-discovery-xfkkasph.js → tool-g5w8qwbj.js} +4 -4
  156. package/dist/chunks/{instruction-discovery-qrqxbka5.js → tool-g7xsht76.js} +8 -8
  157. package/dist/chunks/{instruction-discovery-tyw2rt9s.js → tool-g9xjst3r.js} +21 -21
  158. package/dist/chunks/{instruction-discovery-gt5g32da.js → tool-gce79w0q.js} +19 -19
  159. package/dist/chunks/{instruction-discovery-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{instruction-discovery-1mbcycaa.js → tool-grq1sczm.js} +11 -11
  161. package/dist/chunks/{instruction-discovery-vcm78sp8.js → tool-gvv136sf.js} +4 -4
  162. package/dist/chunks/{instruction-discovery-rywzfdxh.js → tool-gw7cjrad.js} +4 -4
  163. package/dist/chunks/{instruction-discovery-3cegwx68.js → tool-h2b79v29.js} +2 -2
  164. package/dist/chunks/{instruction-discovery-txcs8rkd.js → tool-h2fzzx8t.js} +6 -6
  165. package/dist/chunks/{instruction-discovery-y8p3zjbc.js → tool-h6nxw0pd.js} +8 -8
  166. package/dist/chunks/{instruction-discovery-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{instruction-discovery-vt1ndr5w.js → tool-h85krvk7.js} +43 -43
  168. package/dist/chunks/{instruction-discovery-50nqdmbv.js → tool-h8jdcdjx.js} +13 -13
  169. package/dist/chunks/tool-hqm5br06.js +507 -0
  170. package/dist/chunks/tool-ht5y0zrb.js +18 -0
  171. package/dist/chunks/{instruction-discovery-ysqhjtv4.js → tool-hv7gj7jm.js} +63 -63
  172. package/dist/chunks/{instruction-discovery-53vkcadn.js → tool-hva7ke4f.js} +18 -18
  173. package/dist/chunks/{instruction-discovery-c5fep3w9.js → tool-hvb31e4h.js} +25 -25
  174. package/dist/chunks/{instruction-discovery-n2cmvrhk.js → tool-hwzc49pr.js} +20 -20
  175. package/dist/chunks/{instruction-discovery-9rb4gn01.js → tool-j0yek2qa.js} +24 -24
  176. package/dist/chunks/{instruction-discovery-0npx16jc.js → tool-j255ygs0.js} +16 -16
  177. package/dist/chunks/{instruction-discovery-j56e64zr.js → tool-j56e64zr.js} +1 -1
  178. package/dist/chunks/{instruction-discovery-1kzbxz94.js → tool-j92d0j7v.js} +34 -34
  179. package/dist/chunks/{instruction-discovery-f1w2j8y8.js → tool-jad3eb5n.js} +3 -3
  180. package/dist/chunks/{instruction-discovery-79sz3r55.js → tool-jcws1aax.js} +32 -32
  181. package/dist/chunks/{instruction-discovery-apq9b92v.js → tool-je52f75z.js} +10 -10
  182. package/dist/chunks/{instruction-discovery-2kgjpspn.js → tool-jgb1x1d9.js} +48 -48
  183. package/dist/chunks/{instruction-discovery-3fre7mpw.js → tool-jn6gv895.js} +20 -20
  184. package/dist/chunks/{instruction-discovery-magykp64.js → tool-k2h4r4s0.js} +4 -4
  185. package/dist/chunks/{instruction-discovery-p7pg8h7t.js → tool-k3vbf9cz.js} +13 -13
  186. package/dist/chunks/{instruction-discovery-nhef0ppz.js → tool-k3xmg675.js} +16 -16
  187. package/dist/chunks/{instruction-discovery-7refrf3w.js → tool-kkbh4h1z.js} +20 -20
  188. package/dist/chunks/{instruction-discovery-7kya15n1.js → tool-kn3m44fm.js} +5 -5
  189. package/dist/chunks/{instruction-discovery-420sbbzp.js → tool-kxcd4fwb.js} +5 -5
  190. package/dist/chunks/{instruction-discovery-0bj12j9s.js → tool-m028xtpq.js} +17 -17
  191. package/dist/chunks/{instruction-discovery-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{instruction-discovery-mazbtkaa.js → tool-mazbtkaa.js} +2 -2
  194. package/dist/chunks/{instruction-discovery-zx8ftjgv.js → tool-mp1xsmy4.js} +11 -11
  195. package/dist/chunks/{instruction-discovery-gq5qbgfs.js → tool-mpcan42b.js} +9 -9
  196. package/dist/chunks/{instruction-discovery-f6954tmx.js → tool-mvzzranc.js} +17 -17
  197. package/dist/chunks/{instruction-discovery-s7e94ybw.js → tool-mx83wbf3.js} +6 -6
  198. package/dist/chunks/{instruction-discovery-9zppm9tj.js → tool-mydkh4yr.js} +24 -24
  199. package/dist/chunks/{instruction-discovery-hr8b5vpd.js → tool-n1edfwxj.js} +4 -4
  200. package/dist/chunks/{instruction-discovery-25dqpbdt.js → tool-n2ckjg3g.js} +26 -26
  201. package/dist/chunks/{instruction-discovery-2jgv7aap.js → tool-n5bh2s1p.js} +21 -21
  202. package/dist/chunks/{instruction-discovery-k4bpkq42.js → tool-n5w4zgy3.js} +8 -8
  203. package/dist/chunks/{instruction-discovery-gf55pmfv.js → tool-n9p5arwt.js} +26 -26
  204. package/dist/chunks/{instruction-discovery-vrrktwsj.js → tool-nas0hrdm.js} +22 -22
  205. package/dist/chunks/{instruction-discovery-1reqv2dv.js → tool-ndknajfb.js} +25 -25
  206. package/dist/chunks/{instruction-discovery-q5nw5m1n.js → tool-ndqtf2h8.js} +6 -6
  207. package/dist/chunks/{instruction-discovery-nc13b7kg.js → tool-nzk3n54h.js} +19 -19
  208. package/dist/chunks/{instruction-discovery-n3tcsbg0.js → tool-p2fthcwt.js} +8 -8
  209. package/dist/chunks/{instruction-discovery-xka23amw.js → tool-p7t1r6rx.js} +3 -3
  210. package/dist/chunks/{instruction-discovery-bx8vz0h4.js → tool-p9dad75k.js} +42 -42
  211. package/dist/chunks/{instruction-discovery-qsy9vmnb.js → tool-pbcje335.js} +13 -13
  212. package/dist/chunks/{instruction-discovery-23pqda6t.js → tool-pf2hb43r.js} +4 -4
  213. package/dist/chunks/{instruction-discovery-pczeavr1.js → tool-pg4efk5v.js} +12 -12
  214. package/dist/chunks/{instruction-discovery-vde899zy.js → tool-pg6zqtd0.js} +3 -3
  215. package/dist/chunks/{instruction-discovery-amp9wmvg.js → tool-pjf8abb1.js} +14 -14
  216. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{instruction-discovery-pknna89w.js → tool-pknna89w.js} +1 -1
  218. package/dist/chunks/{instruction-discovery-tnkzhg87.js → tool-prwmz47j.js} +11 -11
  219. package/dist/chunks/{instruction-discovery-04th8f7h.js → tool-q0vx6mrg.js} +11 -11
  220. package/dist/chunks/{instruction-discovery-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
  221. package/dist/chunks/{instruction-discovery-wbm4qvd4.js → tool-q4bnvgms.js} +182 -182
  222. package/dist/chunks/{instruction-discovery-nsqzp0rm.js → tool-qcjxs7e0.js} +26 -26
  223. package/dist/chunks/{instruction-discovery-1nv2cx5q.js → tool-qhyrk8n4.js} +11 -11
  224. package/dist/chunks/{instruction-discovery-f67tw5z1.js → tool-qkfezwh6.js} +16 -16
  225. package/dist/chunks/{instruction-discovery-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  226. package/dist/chunks/{instruction-discovery-qsdy395h.js → tool-qsdy395h.js} +1 -1
  227. package/dist/chunks/{instruction-discovery-k0jv87xe.js → tool-qws6d5dh.js} +18 -18
  228. package/dist/chunks/{instruction-discovery-dpx2dwcg.js → tool-r4w453tt.js} +15 -15
  229. package/dist/chunks/{instruction-discovery-dfe8djrf.js → tool-r98e92ep.js} +4 -4
  230. package/dist/chunks/{instruction-discovery-43486sav.js → tool-rbch4nfr.js} +18 -18
  231. package/dist/chunks/{instruction-discovery-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  232. package/dist/chunks/{instruction-discovery-hny7hqng.js → tool-rg7q0c5m.js} +27 -27
  233. package/dist/chunks/{instruction-discovery-vnchxsqg.js → tool-rh254cas.js} +20 -20
  234. package/dist/chunks/{instruction-discovery-rrbrp6k4.js → tool-rnk9zdcq.js} +35 -35
  235. package/dist/chunks/{instruction-discovery-x70xwrnv.js → tool-rtsswkxs.js} +11 -11
  236. package/dist/chunks/{instruction-discovery-z04yx1pf.js → tool-rvwqj9y7.js} +43 -43
  237. package/dist/chunks/{instruction-discovery-n1wv36jt.js → tool-rx58ztr1.js} +7 -7
  238. package/dist/chunks/{instruction-discovery-ermxvwhp.js → tool-s26hbv8p.js} +4 -4
  239. package/dist/chunks/{instruction-discovery-tc8zbv9g.js → tool-s73kxs4y.js} +27 -27
  240. package/dist/chunks/{instruction-discovery-4ky6jgdw.js → tool-sb3r03a7.js} +22 -22
  241. package/dist/chunks/{instruction-discovery-scgrse2b.js → tool-scgrse2b.js} +2 -2
  242. package/dist/chunks/{instruction-discovery-3j31p43m.js → tool-sg9xgrkp.js} +4 -4
  243. package/dist/chunks/{instruction-discovery-5yk7faxb.js → tool-sjgd5m2j.js} +9 -9
  244. package/dist/chunks/{instruction-discovery-0q1nq9gp.js → tool-sp2t3vey.js} +29 -29
  245. package/dist/chunks/{instruction-discovery-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{instruction-discovery-rvmf1nwp.js → tool-tb0c9yyk.js} +32 -32
  247. package/dist/chunks/{instruction-discovery-89znhe33.js → tool-tcezcvh9.js} +4 -4
  248. package/dist/chunks/{instruction-discovery-tdstcens.js → tool-tdstcens.js} +1 -1
  249. package/dist/chunks/{instruction-discovery-1pxz8ven.js → tool-tk14y25j.js} +5 -5
  250. package/dist/chunks/{instruction-discovery-g5e9pd1v.js → tool-tzhbwgz4.js} +35 -35
  251. package/dist/chunks/{instruction-discovery-g5cjy5x3.js → tool-v9k40k21.js} +9 -9
  252. package/dist/chunks/{instruction-discovery-fw1dz7t9.js → tool-va7zg5qg.js} +43 -43
  253. package/dist/chunks/{instruction-discovery-gcet201j.js → tool-var7mrn0.js} +54 -54
  254. package/dist/chunks/{instruction-discovery-veqvce7d.js → tool-veqvce7d.js} +1 -1
  255. package/dist/chunks/{instruction-discovery-0ntvdsg8.js → tool-vn72gsba.js} +4 -4
  256. package/dist/chunks/{instruction-discovery-sh2dkjxv.js → tool-vqzmbesx.js} +9 -9
  257. package/dist/chunks/{instruction-discovery-7d2na8gv.js → tool-vx3qjymf.js} +87 -87
  258. package/dist/chunks/{instruction-discovery-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{instruction-discovery-3z0hjn58.js → tool-w3nq1sqw.js} +9 -9
  261. package/dist/chunks/{instruction-discovery-p5ywxg46.js → tool-w3v0pvk9.js} +7 -7
  262. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{instruction-discovery-7b0ag747.js → tool-w9wcng5w.js} +12 -12
  264. package/dist/chunks/{instruction-discovery-wd87259q.js → tool-wd87259q.js} +1 -1
  265. package/dist/chunks/{instruction-discovery-pnn35psd.js → tool-wk3n8732.js} +5 -5
  266. package/dist/chunks/{instruction-discovery-1km3vx01.js → tool-wpd1znwd.js} +14 -14
  267. package/dist/chunks/{instruction-discovery-2tsm52y3.js → tool-wxyynt4w.js} +1 -1
  268. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{instruction-discovery-snnt13h7.js → tool-x2ywm3mq.js} +10 -10
  270. package/dist/chunks/{instruction-discovery-xpyr787a.js → tool-x6kcbe24.js} +6 -6
  271. package/dist/chunks/{instruction-discovery-pcf4v7ce.js → tool-xa1b8akp.js} +22 -22
  272. package/dist/chunks/{instruction-discovery-8n7rt79n.js → tool-xagah8e0.js} +5 -5
  273. package/dist/chunks/{instruction-discovery-dtp0rsty.js → tool-xdf1fj3c.js} +45 -45
  274. package/dist/chunks/{instruction-discovery-nmpw1asp.js → tool-xf69e5gb.js} +8 -8
  275. package/dist/chunks/{instruction-discovery-wb8phxs5.js → tool-xhf2mpzw.js} +23 -23
  276. package/dist/chunks/{instruction-discovery-dmqcgk4z.js → tool-xkntkrq7.js} +5 -5
  277. package/dist/chunks/{instruction-discovery-nc120egx.js → tool-xv2d93bz.js} +8 -8
  278. package/dist/chunks/{instruction-discovery-01rwjjcz.js → tool-xvfphvy7.js} +42 -42
  279. package/dist/chunks/{instruction-discovery-vd50vaq5.js → tool-xw2p2fks.js} +15 -15
  280. package/dist/chunks/{instruction-discovery-qxjc9qry.js → tool-xyafkbt0.js} +3 -3
  281. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  282. package/dist/chunks/{instruction-discovery-2s6zkav1.js → tool-yexd41ms.js} +14 -14
  283. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  284. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{instruction-discovery-vs9qsgvh.js → tool-zb7rsj08.js} +24 -24
  286. package/dist/chunks/{instruction-discovery-xsa6f9c6.js → tool-ze55f0m3.js} +22 -22
  287. package/dist/chunks/{instruction-discovery-dnwv4286.js → tool-zepa019x.js} +18 -18
  288. package/dist/chunks/{instruction-discovery-a93qqd3r.js → tool-zkd6xqbv.js} +1 -1
  289. package/dist/chunks/tool-zm2m1bym.js +252 -0
  290. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{instruction-discovery-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +100 -100
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +108 -108
  430. package/dist/form.js +84 -84
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +101 -101
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +362 -362
  458. package/dist/instruction-discovery.js +85 -85
  459. package/dist/instructions/builtins.js +87 -87
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +89 -89
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +73 -73
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +107 -107
  468. package/dist/location-service-map.js +86 -86
  469. package/dist/location-services.js +359 -359
  470. package/dist/location.js +89 -89
  471. package/dist/managed-policy.js +5 -5
  472. package/dist/mcp/client.js +105 -101
  473. package/dist/mcp/index.js +103 -103
  474. package/dist/mcp/instructions.js +129 -129
  475. package/dist/mcp/oauth.js +78 -78
  476. package/dist/mcp/stdio.js +90 -90
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +91 -91
  479. package/dist/model-resolver.js +98 -98
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +107 -107
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +105 -105
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +86 -86
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +75 -75
  491. package/dist/plugin/agent.js +104 -104
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +334 -334
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +96 -96
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +102 -102
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  505. package/dist/plugin/provider/azure.js +124 -124
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +93 -93
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +95 -95
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +78 -78
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +96 -96
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +79 -79
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +163 -163
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +139 -139
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +225 -225
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +90 -90
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +87 -87
  567. package/dist/reference.js +89 -89
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +129 -129
  577. package/dist/session/context.js +153 -153
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +123 -123
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +86 -86
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +120 -120
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +113 -113
  606. package/dist/session/runner/retry.js +2 -2
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +85 -85
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +157 -157
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +214 -214
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +89 -89
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +117 -117
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +120 -120
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +123 -123
  646. package/dist/tool/plugin/shell.js +213 -213
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +112 -112
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +92 -92
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/variant.js +93 -93
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +84 -84
  685. package/dist/wellknown/plugin.js +74 -74
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +96 -96
  695. package/package.json +8 -8
  696. package/dist/chunks/instruction-discovery-10b5w8nt.js +0 -252
  697. package/dist/chunks/instruction-discovery-ahwc150j.js +0 -507
  698. package/dist/chunks/instruction-discovery-h1j66rmt.js +0 -26
  699. package/dist/chunks/instruction-discovery-p2h6zvwc.js +0 -18
  700. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-24dcb14g.js → tool-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-2710q6r3.js → tool-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-359p4xyc.js → tool-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-3asan66x.js → tool-3asan66x.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-53557ph1.js → tool-53557ph1.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-550bvhaj.js → tool-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-6prwharc.js → tool-6prwharc.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-7m9af43g.js → tool-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-822emrt2.js → tool-822emrt2.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-8n3pysct.js → tool-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-af5trqkr.js → tool-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-afrmfg78.js → tool-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-d9fn303g.js → tool-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-dajrwvna.js → tool-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-dap0rakb.js → tool-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-df08tz66.js → tool-df08tz66.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-dy18nga0.js → tool-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-ec1grn59.js → tool-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-faypxj3z.js → tool-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-fd410y7t.js → tool-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-g86h250q.js → tool-g86h250q.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-gftt206x.js → tool-gftt206x.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-hk9envan.js → tool-hk9envan.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-mp448xyj.js → tool-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-njntx4h6.js → tool-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-q74kybfr.js → tool-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-w803qqfp.js → tool-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-wtztk69x.js → tool-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-x61499pn.js → tool-x61499pn.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-y44na4kk.js → tool-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-y8f7s663.js → tool-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-ym463w8f.js → tool-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./instruction-discovery-f1w2j8y8.js";
7
+ } from "./tool-jad3eb5n.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./instruction-discovery-6f0av2j1.js";
11
+ } from "./tool-5rrd0wgj.js";
12
12
  import {
13
- Service82,
14
- node86
15
- } from "./instruction-discovery-mjqndqed.js";
13
+ Service77,
14
+ node81
15
+ } from "./tool-7wnkabmt.js";
16
16
  import {
17
- ID18,
17
+ ID15,
18
18
  Current3,
19
- Info34,
19
+ Info30,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event18,
22
22
  Vcs3
23
- } from "./instruction-discovery-3v5tjer0.js";
23
+ } from "./tool-adrzke39.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./instruction-discovery-3cegwx68.js";
27
+ } from "./tool-h2b79v29.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./instruction-discovery-84h8c373.js";
30
+ } from "./tool-1dvck2a7.js";
31
31
  import {
32
32
  __export
33
- } from "./instruction-discovery-9rqn6x4v.js";
33
+ } from "./tool-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: () => ID17,
40
- Info: () => Info33,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID14,
40
+ Info: () => Info29,
41
+ NotFoundError: () => NotFoundError9,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service76,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node85,
46
+ node: () => node80,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -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 ID17 = ID18;
58
+ var ID14 = ID15;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info29 = Info30;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID14
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service81 extends Context.Service()("@opencode/Project") {
75
+ class Service76 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,9 +95,9 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service81, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service82;
100
+ const git = yield* Service77;
101
101
  const proc = yield* AppProcess.Service;
102
102
  const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, 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(Event21.Updated, fromRow(row));
111
+ yield* bus.publish(Event18.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, 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 ?? ID17.global,
148
+ previous: project.previous ?? ID14.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)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError11({ projectID: input.projectID });
171
+ return yield* new NotFoundError9({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event21.Updated, project);
173
+ yield* bus.publish(Event18.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, 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(Event21.Updated, fromRow(row));
184
+ yield* bus.publish(Event18.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 ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID14.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(Service81, 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 ? ID17.make(root) : undefined;
223
+ return root ? ID14.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(Service81, 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 ? ID17.make(node) : undefined;
239
+ return node ? ID14.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(Service81, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID17.global,
248
+ id: id ?? ID14.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, 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 ?? ID17.global,
265
+ id: id ?? ID14.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID17.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID14.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service81.of({ list, update, activate, resolve });
285
+ return Service76.of({ list, update, activate, resolve });
286
286
  }));
287
- var node85 = makeGlobalNode({
288
- service: Service81,
287
+ var node80 = makeGlobalNode({
288
+ service: Service76,
289
289
  layer,
290
- deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node81, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
293
+ export { ID14, Vcs2, Current2, Info29, UpdateInput3, NotFoundError9, root2, Service76, node80, exports_project };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./instruction-discovery-4fecg1gp.js";
2
+ Service75,
3
+ node79
4
+ } from "./tool-dxjv2ykb.js";
5
5
  import {
6
6
  create3
7
- } from "./instruction-discovery-rdw6cm16.js";
7
+ } from "./tool-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./instruction-discovery-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service14,
17
- node: () => node16
16
+ Service: () => Service13,
17
+ node: () => node15
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service14 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service13 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service14, Effect.gen(function* () {
27
- const location = yield* Service80;
26
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
27
+ const location = yield* Service75;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service14.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service13.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node16 = makeLocationNode({
91
- service: Service14,
90
+ var node15 = makeLocationNode({
91
+ service: Service13,
92
92
  layer,
93
- deps: [node84, AppProcess.node]
93
+ deps: [node79, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service14, node16, exports_formatter2 };
96
+ export { Service13, node15, exports_formatter2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./instruction-discovery-3w5fmr99.js";
4
+ } from "./tool-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./instruction-discovery-m3fdjcah.js";
8
+ } from "./tool-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./instruction-discovery-9rqn6x4v.js";
11
+ } from "./tool-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service46
3
- } from "./instruction-discovery-bcjbebev.js";
2
+ Service52
3
+ } from "./tool-6yrb0ee6.js";
4
4
  import {
5
- Service7
6
- } from "./instruction-discovery-r2m716tb.js";
5
+ Service10
6
+ } from "./tool-djszqvmq.js";
7
7
  import {
8
8
  observe2
9
- } from "./instruction-discovery-qsdy395h.js";
9
+ } from "./tool-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./instruction-discovery-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin6
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin37
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin6 = define({
22
+ var Plugin37 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service46;
26
- const policy = yield* Service7;
25
+ const config = yield* Service52;
26
+ const policy = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin6 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin6, exports_location_watcher };
38
+ export { Plugin37, exports_location_watcher2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./instruction-discovery-ym463w8f.js";
3
+ } from "./tool-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./instruction-discovery-ym463w8f.js";
3
+ } from "./tool-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./instruction-discovery-magykp64.js";
6
+ } from "./tool-k2h4r4s0.js";
7
7
  import {
8
- Info13
9
- } from "./instruction-discovery-qrqxbka5.js";
8
+ Info15
9
+ } from "./tool-g7xsht76.js";
10
10
  import {
11
- Info9
12
- } from "./instruction-discovery-761m9ptj.js";
11
+ Info17
12
+ } from "./tool-0qa6hg2d.js";
13
13
  import {
14
- Info11
15
- } from "./instruction-discovery-ryr25ayn.js";
14
+ Info13
15
+ } from "./tool-6hh8tjw2.js";
16
16
  import {
17
- Info10
18
- } from "./instruction-discovery-1pxz8ven.js";
17
+ Info18
18
+ } from "./tool-tk14y25j.js";
19
19
  import {
20
20
  Spec2
21
- } from "./instruction-discovery-qgn6gcr1.js";
21
+ } from "./tool-0jwsre1p.js";
22
22
  import {
23
- Info16
24
- } from "./instruction-discovery-n8vdnqrc.js";
23
+ Info14
24
+ } from "./tool-47jkzegy.js";
25
25
  import {
26
- Info8
27
- } from "./instruction-discovery-fw1dz7t9.js";
26
+ Info11
27
+ } from "./tool-va7zg5qg.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./instruction-discovery-vcm78sp8.js";
36
+ } from "./tool-gvv136sf.js";
37
37
  import {
38
38
  __export
39
- } from "./instruction-discovery-9rqn6x4v.js";
39
+ } from "./tool-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info9, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info10, value, path, diagnostics);
228
+ const server = decodeValue(Info18, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info16, raw, path, diagnostics);
424
+ const provider = decodeValue(Info14, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-6f0av2j1.js";
4
+ } from "./tool-5rrd0wgj.js";
5
5
  import {
6
6
  create3
7
- } from "./instruction-discovery-rdw6cm16.js";
7
+ } from "./tool-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./instruction-discovery-vt1ndr5w.js";
10
+ } from "./tool-h85krvk7.js";
11
11
  import {
12
12
  __export
13
- } from "./instruction-discovery-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event7,
21
- ID: () => ID4,
22
- Info: () => Info7,
20
+ Event: () => Event9,
21
+ ID: () => ID6,
22
+ Info: () => Info10,
23
23
  Name: () => Name2,
24
- Service: () => Service42,
24
+ Service: () => Service51,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node44,
29
+ node: () => node53,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event7 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info7 = Skill.Info;
43
- var ID4 = Skill.ID;
42
+ var Info10 = Skill.Info;
43
+ var ID6 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service42 extends Context.Service()("@opencode/Skill") {
74
+ class Service51 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service42, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
77
77
  const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID6.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID6.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID6.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID6.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service42.of({
100
+ return Service51.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node44 = makeLocationNode({
112
- service: Service42,
111
+ var node53 = makeLocationNode({
112
+ service: Service51,
113
113
  layer,
114
114
  deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service42, node44, exports_skill5, Event7 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID6, Name2, available2, toModelOutput3, prepare3, Service51, node53, exports_skill5, Event9 };