@opencode/core 0.0.0-dev-20265 → 0.0.0-dev-20271

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  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 +75 -75
  7. package/dist/chunks/{instruction-discovery-4m2ax75s.js → schema-02fx2esq.js} +9 -9
  8. package/dist/chunks/{instruction-discovery-kjk4f8se.js → schema-03rhqhz8.js} +16 -16
  9. package/dist/chunks/{instruction-discovery-xj9hgx3w.js → schema-0455hjbt.js} +44 -44
  10. package/dist/chunks/{instruction-discovery-hbs2xy63.js → schema-04pw375h.js} +10 -10
  11. package/dist/chunks/{instruction-discovery-cw4qawdd.js → schema-057vntkv.js} +20 -20
  12. package/dist/chunks/{instruction-discovery-a9zhqkh4.js → schema-0eq7hms9.js} +3 -3
  13. package/dist/chunks/{instruction-discovery-473yxhcv.js → schema-0gxqnvpq.js} +47 -43
  14. package/dist/chunks/{instruction-discovery-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{instruction-discovery-2syk99rx.js → schema-0pj8398s.js} +27 -27
  16. package/dist/chunks/{instruction-discovery-0v53mg2y.js → schema-0v53mg2y.js} +1 -1
  17. package/dist/chunks/{instruction-discovery-97akkmbe.js → schema-0vq4p6sw.js} +11 -11
  18. package/dist/chunks/{instruction-discovery-22x1keze.js → schema-1380s59h.js} +36 -36
  19. package/dist/chunks/{instruction-discovery-kcp0xdhb.js → schema-153vd5vc.js} +3 -3
  20. package/dist/chunks/{instruction-discovery-hzrqtver.js → schema-17d68tkq.js} +20 -20
  21. package/dist/chunks/{instruction-discovery-1cakvm3y.js → schema-1bt4s3y9.js} +26 -26
  22. package/dist/chunks/{instruction-discovery-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{instruction-discovery-0s2j72ky.js → schema-1xys0ebv.js} +11 -11
  24. package/dist/chunks/{instruction-discovery-ynn26mj8.js → schema-20mv48v8.js} +10 -10
  25. package/dist/chunks/{instruction-discovery-21r38tys.js → schema-21r38tys.js} +1 -1
  26. package/dist/chunks/{instruction-discovery-z63w68vq.js → schema-29x78va6.js} +6 -6
  27. package/dist/chunks/{instruction-discovery-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{instruction-discovery-1vzw8yhg.js → schema-2fjb1j7y.js} +13 -13
  29. package/dist/chunks/{instruction-discovery-7dqw4kz8.js → schema-2k8khapm.js} +5 -5
  30. package/dist/chunks/{instruction-discovery-1hcjf4ej.js → schema-2nhp9p6w.js} +20 -20
  31. package/dist/chunks/{instruction-discovery-6sfywj03.js → schema-2phhkb6s.js} +16 -16
  32. package/dist/chunks/{instruction-discovery-rcf7gz4p.js → schema-2qfec9vm.js} +15 -15
  33. package/dist/chunks/{instruction-discovery-jj2cz9da.js → schema-2vxy01ew.js} +9 -9
  34. package/dist/chunks/{instruction-discovery-h2d9aakw.js → schema-32ygzjnf.js} +10 -10
  35. package/dist/chunks/{instruction-discovery-vcfhc88h.js → schema-34jh91rq.js} +3 -3
  36. package/dist/chunks/{instruction-discovery-gg3hnhsj.js → schema-3556dn8t.js} +1 -1
  37. package/dist/chunks/{instruction-discovery-43sv4aqe.js → schema-37y8hjd0.js} +9 -9
  38. package/dist/chunks/{instruction-discovery-g96gh810.js → schema-3d5p9naq.js} +16 -16
  39. package/dist/chunks/{instruction-discovery-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{instruction-discovery-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{instruction-discovery-fqk9fphv.js → schema-3m8k6a97.js} +39 -39
  42. package/dist/chunks/{instruction-discovery-dkzq4e42.js → schema-3r8mb62a.js} +22 -22
  43. package/dist/chunks/{instruction-discovery-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{instruction-discovery-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{instruction-discovery-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{instruction-discovery-0kzn65ts.js → schema-4c27qttd.js} +11 -11
  47. package/dist/chunks/{instruction-discovery-cpj0znwe.js → schema-4dgbcxzg.js} +4 -4
  48. package/dist/chunks/schema-4nsycqaw.js +507 -0
  49. package/dist/chunks/{instruction-discovery-rask17kc.js → schema-4py3js73.js} +9 -9
  50. package/dist/chunks/{instruction-discovery-q3q4fawj.js → schema-4sn99hha.js} +7 -7
  51. package/dist/chunks/{instruction-discovery-3rpjb0m5.js → schema-4vcqcfh5.js} +3 -3
  52. package/dist/chunks/{instruction-discovery-895w93kx.js → schema-4y0jsvk1.js} +20 -20
  53. package/dist/chunks/{instruction-discovery-a81kfqvn.js → schema-4z58m4b4.js} +4 -4
  54. package/dist/chunks/{instruction-discovery-2xt5mgkb.js → schema-53fn2v7c.js} +21 -21
  55. package/dist/chunks/schema-54ma36ye.js +13 -0
  56. package/dist/chunks/{instruction-discovery-5daktx2q.js → schema-5daktx2q.js} +1 -1
  57. package/dist/chunks/{instruction-discovery-3p7veh30.js → schema-5q0dqpvd.js} +21 -21
  58. package/dist/chunks/{instruction-discovery-a00r67f6.js → schema-5szbf8m3.js} +22 -22
  59. package/dist/chunks/{instruction-discovery-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{instruction-discovery-6cqrwtgh.js → schema-5z9p70xw.js} +23 -23
  61. package/dist/chunks/{instruction-discovery-669tq793.js → schema-669tq793.js} +1 -1
  62. package/dist/chunks/{instruction-discovery-2v08avye.js → schema-6cknckpe.js} +51 -51
  63. package/dist/chunks/{instruction-discovery-j17xhp8k.js → schema-6kmx0kce.js} +8 -8
  64. package/dist/chunks/{instruction-discovery-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{instruction-discovery-djktq2qc.js → schema-6q1fpb12.js} +15 -15
  66. package/dist/chunks/{instruction-discovery-h6310vsd.js → schema-6t4hr8r6.js} +4 -4
  67. package/dist/chunks/{instruction-discovery-xbqt463g.js → schema-6xvpa3dg.js} +22 -22
  68. package/dist/chunks/{instruction-discovery-595j6h3z.js → schema-6yfh064v.js} +5 -5
  69. package/dist/chunks/{instruction-discovery-cytmn42c.js → schema-72b9nwr9.js} +12 -12
  70. package/dist/chunks/{instruction-discovery-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{instruction-discovery-tmezhr7e.js → schema-7bshkk6c.js} +7 -7
  72. package/dist/chunks/schema-7ggrqnkf.js +252 -0
  73. package/dist/chunks/{instruction-discovery-6vhktk4v.js → schema-7h24643z.js} +4 -4
  74. package/dist/chunks/{instruction-discovery-yx62cr6m.js → schema-7kaezs2e.js} +11 -11
  75. package/dist/chunks/{instruction-discovery-70gtrbvz.js → schema-7mrx23rq.js} +4 -4
  76. package/dist/chunks/{instruction-discovery-7j2qha59.js → schema-7s2tn799.js} +8 -8
  77. package/dist/chunks/{instruction-discovery-z5ntc05q.js → schema-7w99qc9d.js} +3 -3
  78. package/dist/chunks/{instruction-discovery-v0534hbg.js → schema-7x2w03m2.js} +32 -32
  79. package/dist/chunks/{instruction-discovery-xnbjqws6.js → schema-7xsd729g.js} +6 -6
  80. package/dist/chunks/{instruction-discovery-w1eejvng.js → schema-84txncab.js} +5 -5
  81. package/dist/chunks/{instruction-discovery-5e10wf8f.js → schema-84zcxbc9.js} +5 -5
  82. package/dist/chunks/{instruction-discovery-ab9238g2.js → schema-89e39zcy.js} +6 -6
  83. package/dist/chunks/{instruction-discovery-je1ehb5s.js → schema-89yhyecc.js} +15 -15
  84. package/dist/chunks/{instruction-discovery-tcezcvh9.js → schema-89znhe33.js} +4 -4
  85. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{instruction-discovery-dhzgzdmj.js → schema-8dt2nhtf.js} +27 -27
  87. package/dist/chunks/{instruction-discovery-ashvnr8e.js → schema-8p8sbe40.js} +2 -2
  88. package/dist/chunks/{instruction-discovery-vyfbn2ge.js → schema-8phqmggh.js} +8 -8
  89. package/dist/chunks/{instruction-discovery-8ppxfrtw.js → schema-8s4fd4h0.js} +20 -20
  90. package/dist/chunks/{instruction-discovery-6pc27hjz.js → schema-8sze2n9a.js} +2 -2
  91. package/dist/chunks/{instruction-discovery-xvp1j2dc.js → schema-8zh4h089.js} +5 -5
  92. package/dist/chunks/{instruction-discovery-46j82pgy.js → schema-92qe48v5.js} +9 -9
  93. package/dist/chunks/{instruction-discovery-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
  94. package/dist/chunks/{instruction-discovery-e5jqtwc8.js → schema-9sp4j3g7.js} +11 -11
  95. package/dist/chunks/{instruction-discovery-s4frkg89.js → schema-9wcc5pj1.js} +22 -22
  96. package/dist/chunks/{instruction-discovery-nfk828h3.js → schema-9xq4rgak.js} +4 -4
  97. package/dist/chunks/{instruction-discovery-aaet6srn.js → schema-aaet6srn.js} +2 -2
  98. package/dist/chunks/{instruction-discovery-yja9z5zb.js → schema-abbdd1c6.js} +5 -5
  99. package/dist/chunks/{instruction-discovery-n3cgjj67.js → schema-af49n079.js} +8 -8
  100. package/dist/chunks/{instruction-discovery-53y6m0t7.js → schema-aqkyva7e.js} +35 -35
  101. package/dist/chunks/{instruction-discovery-e5x0150z.js → schema-b24dgscy.js} +12 -12
  102. package/dist/chunks/{instruction-discovery-v5dkyp31.js → schema-b27vhd2z.js} +4 -4
  103. package/dist/chunks/{instruction-discovery-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{instruction-discovery-zzct4swk.js → schema-b7ze0h6m.js} +11 -11
  105. package/dist/chunks/{instruction-discovery-tzct1v5g.js → schema-b9marwrz.js} +5 -5
  106. package/dist/chunks/{instruction-discovery-fkg6hj3y.js → schema-bb6qd770.js} +60 -60
  107. package/dist/chunks/{instruction-discovery-rweyf2z5.js → schema-bbgyx2ca.js} +25 -25
  108. package/dist/chunks/{instruction-discovery-e5bvbpgf.js → schema-bsthxcff.js} +15 -15
  109. package/dist/chunks/{instruction-discovery-9ce6tkzz.js → schema-c2ystsw5.js} +11 -11
  110. package/dist/chunks/{instruction-discovery-pt6k735w.js → schema-c3yncfhe.js} +18 -18
  111. package/dist/chunks/{instruction-discovery-6rcz3ycw.js → schema-c6qrx7z0.js} +25 -26
  112. package/dist/chunks/{instruction-discovery-6qs14qev.js → schema-c9c9gefm.js} +93 -93
  113. package/dist/chunks/{instruction-discovery-vkwyc6cx.js → schema-ccqrgpfr.js} +28 -28
  114. package/dist/chunks/{instruction-discovery-863rh99d.js → schema-cd1ha9xt.js} +12 -12
  115. package/dist/chunks/{instruction-discovery-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{instruction-discovery-j817qy9h.js → schema-ckz290np.js} +8 -8
  117. package/dist/chunks/{instruction-discovery-mjtjsyjj.js → schema-cr5r5t3v.js} +5 -5
  118. package/dist/chunks/{instruction-discovery-mdkfxwd5.js → schema-ctf78ks7.js} +32 -29
  119. package/dist/chunks/{instruction-discovery-cfqj2t13.js → schema-d20e8vw1.js} +12 -12
  120. package/dist/chunks/{instruction-discovery-xmfjrgmy.js → schema-d81r50pr.js} +11 -11
  121. package/dist/chunks/{instruction-discovery-bsqx64w4.js → schema-d9sgy5v4.js} +4 -4
  122. package/dist/chunks/{instruction-discovery-84trvwea.js → schema-dc6xss86.js} +23 -23
  123. package/dist/chunks/{instruction-discovery-5n469ean.js → schema-dh89yxex.js} +25 -25
  124. package/dist/chunks/{instruction-discovery-dmqcgk4z.js → schema-dmqcgk4z.js} +2 -2
  125. package/dist/chunks/{instruction-discovery-sbpfgvw3.js → schema-dq6warjh.js} +32 -32
  126. package/dist/chunks/{instruction-discovery-dj9sq318.js → schema-dqmwfghx.js} +5 -5
  127. package/dist/chunks/{instruction-discovery-c8wg0b7m.js → schema-dya6s92k.js} +18 -18
  128. package/dist/chunks/{instruction-discovery-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
  129. package/dist/chunks/{instruction-discovery-1wg8se0x.js → schema-e5x26qyz.js} +4 -4
  130. package/dist/chunks/{instruction-discovery-8mxhwd9p.js → schema-eap6v6ka.js} +37 -34
  131. package/dist/chunks/{instruction-discovery-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{instruction-discovery-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{instruction-discovery-17razrp5.js → schema-ehpxdd9r.js} +35 -35
  134. package/dist/chunks/{instruction-discovery-za6yq9hg.js → schema-engkm2d6.js} +5 -5
  135. package/dist/chunks/{instruction-discovery-s62vt9wz.js → schema-erdgy6bb.js} +29 -29
  136. package/dist/chunks/{instruction-discovery-tjedn1bk.js → schema-ermxvwhp.js} +4 -4
  137. package/dist/chunks/{instruction-discovery-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{instruction-discovery-av73v616.js → schema-ey8a4wge.js} +8 -8
  139. package/dist/chunks/{instruction-discovery-d3eanfb0.js → schema-f1dxnh8x.js} +45 -45
  140. package/dist/chunks/{instruction-discovery-537d2h8y.js → schema-f4ktwvph.js} +17 -17
  141. package/dist/chunks/{instruction-discovery-817gm3bf.js → schema-fb08v964.js} +18 -18
  142. package/dist/chunks/{instruction-discovery-591s59y8.js → schema-fdhjyf6e.js} +26 -20
  143. package/dist/chunks/{instruction-discovery-e1rt1ry9.js → schema-feegf67a.js} +32 -32
  144. package/dist/chunks/{instruction-discovery-2kvq420b.js → schema-fgdrjr7g.js} +37 -37
  145. package/dist/chunks/{instruction-discovery-hj0fmptj.js → schema-fgdzjjn8.js} +10 -10
  146. package/dist/chunks/{instruction-discovery-6n4dhht5.js → schema-fma9b9zx.js} +48 -48
  147. package/dist/chunks/{instruction-discovery-xt3nzz9d.js → schema-fn5s1xt4.js} +5 -5
  148. package/dist/chunks/{instruction-discovery-7sf65sz4.js → schema-fwzh61wc.js} +6 -6
  149. package/dist/chunks/{instruction-discovery-s2k53bmx.js → schema-fzhk56mq.js} +24 -24
  150. package/dist/chunks/{instruction-discovery-trjjaw7x.js → schema-fzxn0rpd.js} +15 -15
  151. package/dist/chunks/schema-g6zjmjz7.js +65 -0
  152. package/dist/chunks/{instruction-discovery-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{instruction-discovery-9v1ppqd2.js → schema-gjyhvyzk.js} +11 -11
  154. package/dist/chunks/{instruction-discovery-j3vzqyes.js → schema-gr5dc40r.js} +14 -14
  155. package/dist/chunks/{instruction-discovery-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{instruction-discovery-qz9hsrda.js → schema-gznm14y3.js} +34 -34
  157. package/dist/chunks/{instruction-discovery-4bt591nm.js → schema-h1nersjm.js} +31 -31
  158. package/dist/chunks/{instruction-discovery-w34c8dxf.js → schema-h57gm808.js} +15 -15
  159. package/dist/chunks/{instruction-discovery-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{instruction-discovery-0hf9g8pg.js → schema-hdab2k61.js} +6 -6
  161. package/dist/chunks/{instruction-discovery-2y34zzjz.js → schema-hdzt82x2.js} +4 -4
  162. package/dist/chunks/{instruction-discovery-r7hsk55y.js → schema-hefng7ga.js} +9 -9
  163. package/dist/chunks/{instruction-discovery-83c1zak0.js → schema-hh8v5qpg.js} +28 -28
  164. package/dist/chunks/{instruction-discovery-2qym09dt.js → schema-hm7qa9sr.js} +41 -41
  165. package/dist/chunks/{instruction-discovery-6g9h627f.js → schema-hs5b19ez.js} +23 -23
  166. package/dist/chunks/{instruction-discovery-8kg848v7.js → schema-hspndzgs.js} +8 -8
  167. package/dist/chunks/{instruction-discovery-gprqxqyp.js → schema-htk8gamf.js} +13 -13
  168. package/dist/chunks/{instruction-discovery-apyhsggy.js → schema-hx3vx9sm.js} +1 -1
  169. package/dist/chunks/{instruction-discovery-j56e64zr.js → schema-j56e64zr.js} +1 -1
  170. package/dist/chunks/{instruction-discovery-xxf3qkd3.js → schema-j575tj3n.js} +89 -89
  171. package/dist/chunks/{instruction-discovery-90t6c8wy.js → schema-j6de23b5.js} +17 -17
  172. package/dist/chunks/{instruction-discovery-wqpxpbjy.js → schema-j7wxbxne.js} +11 -11
  173. package/dist/chunks/{instruction-discovery-yf10kn3d.js → schema-k1qrnqst.js} +8 -8
  174. package/dist/chunks/{instruction-discovery-2zx654xv.js → schema-k1xs71rw.js} +31 -31
  175. package/dist/chunks/{instruction-discovery-k3c624dm.js → schema-k3c624dm.js} +3 -3
  176. package/dist/chunks/{instruction-discovery-6yrwvege.js → schema-kadj03x1.js} +12 -12
  177. package/dist/chunks/{instruction-discovery-kvfg1y8a.js → schema-kaqvhan9.js} +57 -57
  178. package/dist/chunks/{instruction-discovery-sddzfvn4.js → schema-kg3nfyrf.js} +8 -8
  179. package/dist/chunks/{instruction-discovery-35edcz9a.js → schema-kwp4z5r0.js} +15 -15
  180. package/dist/chunks/{instruction-discovery-8x6s24qq.js → schema-kykxfaeb.js} +14 -14
  181. package/dist/chunks/{instruction-discovery-qg5st3y5.js → schema-m1v72ch8.js} +21 -21
  182. package/dist/chunks/{instruction-discovery-2fnzb52j.js → schema-m36xmz2a.js} +27 -27
  183. package/dist/chunks/{instruction-discovery-yx96p73j.js → schema-m3aacv1r.js} +11 -11
  184. package/dist/chunks/{instruction-discovery-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{instruction-discovery-05dd0hqh.js → schema-m8psntbj.js} +31 -31
  186. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{instruction-discovery-z88c1cht.js → schema-mdhbd56y.js} +7 -7
  188. package/dist/chunks/{instruction-discovery-1ygqh575.js → schema-mfqp6xfm.js} +6 -6
  189. package/dist/chunks/{instruction-discovery-mhkvc446.js → schema-mhkvc446.js} +1 -1
  190. package/dist/chunks/{instruction-discovery-w4cn5rjk.js → schema-mwjz0nk2.js} +13 -13
  191. package/dist/chunks/{instruction-discovery-41fyejek.js → schema-mx6ypyf3.js} +13 -13
  192. package/dist/chunks/{instruction-discovery-kdvzk119.js → schema-n1ka8r9d.js} +4 -4
  193. package/dist/chunks/{instruction-discovery-xqgw658g.js → schema-n4mhh8dh.js} +27 -27
  194. package/dist/chunks/{instruction-discovery-rs5ja1ks.js → schema-ncfrwhmr.js} +75 -75
  195. package/dist/chunks/{instruction-discovery-ggwd74jc.js → schema-nng2ktcm.js} +2 -2
  196. package/dist/chunks/{instruction-discovery-jvf906gc.js → schema-p1xcnqpd.js} +8 -8
  197. package/dist/chunks/{instruction-discovery-7k0nb5a1.js → schema-p7jp4nkc.js} +5 -5
  198. package/dist/chunks/{instruction-discovery-s4f9hgft.js → schema-p810a5w3.js} +15 -15
  199. package/dist/chunks/{instruction-discovery-53qm6swg.js → schema-p97jtcyh.js} +24 -24
  200. package/dist/chunks/{instruction-discovery-pnvk1zxf.js → schema-phpw85vv.js} +4 -4
  201. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{instruction-discovery-pknna89w.js → schema-pknna89w.js} +1 -1
  203. package/dist/chunks/{instruction-discovery-hn28mh03.js → schema-pr2shm86.js} +36 -36
  204. package/dist/chunks/{instruction-discovery-zpjshyj8.js → schema-pstmv2d8.js} +11 -11
  205. package/dist/chunks/{instruction-discovery-wym4yngj.js → schema-ptstaxe9.js} +6 -6
  206. package/dist/chunks/{instruction-discovery-t909565e.js → schema-ptt6m9gv.js} +3 -3
  207. package/dist/chunks/{instruction-discovery-2336b01z.js → schema-q6d53jre.js} +8 -8
  208. package/dist/chunks/{instruction-discovery-jj6m7t8m.js → schema-q7d6akyq.js} +24 -24
  209. package/dist/chunks/{instruction-discovery-pper4dcb.js → schema-q8wjb94d.js} +38 -38
  210. package/dist/chunks/{instruction-discovery-yw8t9dwe.js → schema-qby9dwvd.js} +8 -8
  211. package/dist/chunks/{instruction-discovery-fhs97t90.js → schema-qg0jgkcp.js} +9 -9
  212. package/dist/chunks/{instruction-discovery-qmqgtz8f.js → schema-qmqgtz8f.js} +2 -2
  213. package/dist/chunks/{instruction-discovery-5qe4ms5y.js → schema-qnyr447v.js} +33 -33
  214. package/dist/chunks/{instruction-discovery-h2r7bbkd.js → schema-qs001aqx.js} +11 -11
  215. package/dist/chunks/{instruction-discovery-qsdy395h.js → schema-qsdy395h.js} +1 -1
  216. package/dist/chunks/{instruction-discovery-jv01nqvq.js → schema-qte5z7bc.js} +5 -5
  217. package/dist/chunks/{instruction-discovery-fw1dm0ew.js → schema-qtgetkc5.js} +11 -11
  218. package/dist/chunks/{instruction-discovery-2ngyvhah.js → schema-qvs3yrx0.js} +29 -29
  219. package/dist/chunks/{instruction-discovery-cyxgkn8e.js → schema-qxs49gs0.js} +22 -22
  220. package/dist/chunks/{instruction-discovery-1h7vkbsh.js → schema-qze8mdqk.js} +13 -13
  221. package/dist/chunks/{instruction-discovery-c4tcxkt3.js → schema-r5398wsk.js} +10 -10
  222. package/dist/chunks/{instruction-discovery-04tp0yna.js → schema-r79r0pmw.js} +18 -18
  223. package/dist/chunks/schema-rap9a73h.js +18 -0
  224. package/dist/chunks/{instruction-discovery-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{instruction-discovery-76ymgwed.js → schema-rpjgfq5s.js} +9 -9
  226. package/dist/chunks/{instruction-discovery-0p5r855a.js → schema-rz3d44tq.js} +47 -47
  227. package/dist/chunks/{instruction-discovery-yrznvahk.js → schema-s4enseaf.js} +2 -2
  228. package/dist/chunks/{instruction-discovery-vybhs2ww.js → schema-s532705d.js} +9 -9
  229. package/dist/chunks/{instruction-discovery-664gwng4.js → schema-s5cvb66r.js} +20 -20
  230. package/dist/chunks/{instruction-discovery-mq1rpz34.js → schema-scw85daj.js} +13 -13
  231. package/dist/chunks/{instruction-discovery-qzs5w1kq.js → schema-sgj69q70.js} +10 -10
  232. package/dist/chunks/{instruction-discovery-g73rfvt8.js → schema-szt33nzv.js} +26 -26
  233. package/dist/chunks/{instruction-discovery-dbrspz9p.js → schema-t1vq5jda.js} +178 -178
  234. package/dist/chunks/{instruction-discovery-0cg4n3gd.js → schema-t1zhpzyh.js} +23 -23
  235. package/dist/chunks/{instruction-discovery-gbt6w4kb.js → schema-t550f9t1.js} +6 -6
  236. package/dist/chunks/{instruction-discovery-a2knq7mb.js → schema-t89k7t2n.js} +3 -3
  237. package/dist/chunks/{instruction-discovery-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  238. package/dist/chunks/schema-tbcx5g6b.js +26 -0
  239. package/dist/chunks/{instruction-discovery-tdstcens.js → schema-tdstcens.js} +1 -1
  240. package/dist/chunks/{instruction-discovery-7c1hha0p.js → schema-tffeed3q.js} +12 -12
  241. package/dist/chunks/{instruction-discovery-p37cw4rj.js → schema-tpw6cwsb.js} +8 -8
  242. package/dist/chunks/{instruction-discovery-tvtrv512.js → schema-tvtrv512.js} +1 -1
  243. package/dist/chunks/{instruction-discovery-jazqgan2.js → schema-tvzckvfh.js} +19 -19
  244. package/dist/chunks/{instruction-discovery-1gnz4btn.js → schema-v1z5k6ya.js} +41 -41
  245. package/dist/chunks/{instruction-discovery-eqggwkkj.js → schema-v4khfddp.js} +24 -24
  246. package/dist/chunks/{instruction-discovery-veqvce7d.js → schema-veqvce7d.js} +1 -1
  247. package/dist/chunks/{instruction-discovery-rjatp68y.js → schema-vfb18kab.js} +15 -15
  248. package/dist/chunks/{instruction-discovery-kb3k4m85.js → schema-vhe05b2j.js} +18 -18
  249. package/dist/chunks/{instruction-discovery-bm55brr3.js → schema-vm9szz2v.js} +43 -43
  250. package/dist/chunks/{instruction-discovery-9ze7f770.js → schema-vnq9hngb.js} +31 -31
  251. package/dist/chunks/{instruction-discovery-p7xmn451.js → schema-vvyaap0j.js} +1 -1
  252. package/dist/chunks/{instruction-discovery-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{instruction-discovery-0fs6c5ns.js → schema-vzrrchan.js} +17 -17
  254. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{instruction-discovery-mfrn2wd3.js → schema-w3xe5wx0.js} +32 -32
  257. package/dist/chunks/{instruction-discovery-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{instruction-discovery-wd87259q.js → schema-wd87259q.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-s9z9hht1.js → schema-wfnwj6ew.js} +16 -16
  260. package/dist/chunks/{instruction-discovery-0jq9fyba.js → schema-wk5z6jzv.js} +9 -9
  261. package/dist/chunks/{instruction-discovery-23354q28.js → schema-wk7amq94.js} +26 -26
  262. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{instruction-discovery-gy42h51d.js → schema-x5rm1qcs.js} +9 -9
  264. package/dist/chunks/{instruction-discovery-c80srvkw.js → schema-x9685y9e.js} +43 -43
  265. package/dist/chunks/{instruction-discovery-02hh4n40.js → schema-x9cd31tj.js} +6 -6
  266. package/dist/chunks/{instruction-discovery-d65zzxh9.js → schema-xdjq0qq8.js} +9 -9
  267. package/dist/chunks/{instruction-discovery-jw80jp6b.js → schema-xdk9p2qn.js} +21 -21
  268. package/dist/chunks/{instruction-discovery-drwq78ky.js → schema-xfkkasph.js} +4 -4
  269. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{instruction-discovery-x3r0xrsa.js → schema-y3hxgm3d.js} +15 -15
  271. package/dist/chunks/{instruction-discovery-73n7g0g0.js → schema-y6b4mn53.js} +23 -23
  272. package/dist/chunks/{instruction-discovery-y71avatq.js → schema-y71avatq.js} +1 -1
  273. package/dist/chunks/{instruction-discovery-jx4220gq.js → schema-y7dmryf8.js} +17 -17
  274. package/dist/chunks/{instruction-discovery-kjxkqgqq.js → schema-y99khw21.js} +3 -3
  275. package/dist/chunks/{instruction-discovery-r8y742f5.js → schema-yh9brxq5.js} +10 -10
  276. package/dist/chunks/{instruction-discovery-zdy9tpyw.js → schema-yhka94gb.js} +28 -28
  277. package/dist/chunks/{instruction-discovery-a46t4z4t.js → schema-ykkt2z7t.js} +19 -19
  278. package/dist/chunks/{instruction-discovery-0121bcaw.js → schema-ymfmgbr6.js} +10 -10
  279. package/dist/chunks/{instruction-discovery-ynys59px.js → schema-yntqjfz5.js} +16 -16
  280. package/dist/chunks/{instruction-discovery-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
  281. package/dist/chunks/{instruction-discovery-0qmc57sd.js → schema-yr2s5jbd.js} +11 -11
  282. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{instruction-discovery-7gvwkz6m.js → schema-yt0fqk68.js} +5 -5
  284. package/dist/chunks/{instruction-discovery-z07pqspn.js → schema-z07pqspn.js} +3 -3
  285. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{instruction-discovery-nejch2yn.js → schema-za86s8b3.js} +9 -9
  287. package/dist/chunks/{instruction-discovery-baaqp4zd.js → schema-zav06jzw.js} +4 -4
  288. package/dist/chunks/{instruction-discovery-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{instruction-discovery-sa7x69qd.js → schema-zfzv19x2.js} +35 -35
  290. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{instruction-discovery-7pb776yk.js → schema-zrmtt4x8.js} +3 -3
  292. package/dist/chunks/{instruction-discovery-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -214
  303. package/dist/config/plugin/compaction.js +161 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -370
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +228 -227
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -358
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +102 -102
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +103 -103
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +115 -115
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -333
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +93 -92
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -161
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -352
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +226 -225
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +89 -89
  568. package/dist/reference/instructions.js +87 -87
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +8 -0
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +133 -132
  579. package/dist/session/context.js +153 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -224
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +154 -153
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +93 -93
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -117
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -208
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +157 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +221 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +219 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +106 -106
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +118 -118
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +216 -215
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +220 -219
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +112 -112
  654. package/dist/tool/read-filesystem.js +96 -96
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/types/instructions/builtins.d.ts +1 -2
  659. package/dist/types/session/affinity.d.ts +4 -0
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +1 -1
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +76 -76
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/instruction-discovery-726w9f8r.js +0 -26
  702. package/dist/chunks/instruction-discovery-ce6f651r.js +0 -252
  703. package/dist/chunks/instruction-discovery-ezddc45f.js +0 -507
  704. package/dist/chunks/instruction-discovery-pf31ssb9.js +0 -18
  705. package/dist/chunks/instruction-discovery-tee9eybj.js +0 -63
  706. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-24dcb14g.js → schema-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-2710q6r3.js → schema-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-359p4xyc.js → schema-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-3asan66x.js → schema-3asan66x.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-53557ph1.js → schema-53557ph1.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-550bvhaj.js → schema-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-6prwharc.js → schema-6prwharc.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-7m9af43g.js → schema-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-822emrt2.js → schema-822emrt2.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-8n3pysct.js → schema-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-922hggd3.js → schema-922hggd3.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-af5trqkr.js → schema-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-afrmfg78.js → schema-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-d9fn303g.js → schema-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-dajrwvna.js → schema-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-dap0rakb.js → schema-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-df08tz66.js → schema-df08tz66.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-dy18nga0.js → schema-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-ec1grn59.js → schema-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-faypxj3z.js → schema-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-fd410y7t.js → schema-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-g86h250q.js → schema-g86h250q.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-gftt206x.js → schema-gftt206x.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-hk9envan.js → schema-hk9envan.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-mp448xyj.js → schema-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-njntx4h6.js → schema-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-q74kybfr.js → schema-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-w803qqfp.js → schema-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-wtztk69x.js → schema-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-x61499pn.js → schema-x61499pn.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-y44na4kk.js → schema-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-y8f7s663.js → schema-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{instruction-discovery-ym463w8f.js → schema-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{instruction-discovery-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./instruction-discovery-2a5m3afh.js";
5
+ } from "./schema-2a5m3afh.js";
6
6
  import {
7
- Service77
8
- } from "./instruction-discovery-6sfywj03.js";
7
+ Service79
8
+ } from "./schema-2phhkb6s.js";
9
9
  import {
10
- Service76
11
- } from "./instruction-discovery-eqggwkkj.js";
10
+ Service78
11
+ } from "./schema-v4khfddp.js";
12
12
  import {
13
- Service16
14
- } from "./instruction-discovery-35edcz9a.js";
13
+ Service21
14
+ } from "./schema-kwp4z5r0.js";
15
15
  import {
16
- Service18,
16
+ Service19,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./instruction-discovery-w4cn5rjk.js";
19
+ } from "./schema-mwjz0nk2.js";
20
20
  import {
21
- Service69
22
- } from "./instruction-discovery-fkg6hj3y.js";
21
+ Service53
22
+ } from "./schema-bb6qd770.js";
23
23
  import {
24
- Service14,
24
+ Service20,
25
25
  resolvePath2
26
- } from "./instruction-discovery-817gm3bf.js";
26
+ } from "./schema-fb08v964.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./instruction-discovery-6prwharc.js";
29
+ } from "./schema-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./instruction-discovery-9rqn6x4v.js";
32
+ } from "./schema-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input4,
39
- Output: () => Output4,
38
+ Input: () => Input10,
39
+ Output: () => Output7,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin40,
42
- name: () => name4,
43
- toModelContent: () => toModelContent3
41
+ Plugin: () => Plugin47,
42
+ name: () => name10,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name4 = "patch";
89
- var Input4 = Schema.Struct({
88
+ var name10 = "patch";
89
+ var Input10 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output4 = Schema.Struct({
99
+ var Output7 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent3 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin40 = {
108
+ var Plugin47 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service76;
112
- const access = yield* Service14;
113
- const fileMutation = yield* Service18;
114
- const formatter = yield* Service16;
115
- const location = yield* Service77;
116
- const permission = yield* Service69;
111
+ const environment = yield* Service78;
112
+ const access = yield* Service20;
113
+ const fileMutation = yield* Service19;
114
+ const formatter = yield* Service21;
115
+ const location = yield* Service79;
116
+ const permission = yield* Service53;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name10,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input4,
122
- output: Output4,
121
+ input: Input10,
122
+ output: Output7,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin40 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent3(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name4, Input4, Applied2, Output4, toModelContent3, Plugin40, exports_patch };
329
+ export { name10, Input10, Applied2, Output7, toModelContent5, Plugin47, exports_patch };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service57
3
- } from "./instruction-discovery-xbqt463g.js";
2
+ Service64
3
+ } from "./schema-6xvpa3dg.js";
4
4
  import {
5
- Service56
6
- } from "./instruction-discovery-0p5r855a.js";
5
+ Service63
6
+ } from "./schema-rz3d44tq.js";
7
7
  import {
8
8
  parse2
9
- } from "./instruction-discovery-7sf65sz4.js";
9
+ } from "./schema-fwzh61wc.js";
10
10
  import {
11
11
  __export
12
- } from "./instruction-discovery-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin34
18
+ Plugin: () => Plugin19
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin34 = define({
24
+ var Plugin19 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service56;
27
+ const config = yield* Service63;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service57;
29
+ const watcher = yield* Service64;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin34 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin34, exports_compatibility };
76
+ export { Plugin19, exports_compatibility };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service60
4
- } from "./instruction-discovery-17razrp5.js";
3
+ Service68
4
+ } from "./schema-ehpxdd9r.js";
5
5
  import {
6
- Service56
7
- } from "./instruction-discovery-0p5r855a.js";
6
+ Service63
7
+ } from "./schema-rz3d44tq.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service60;
12
+ const providers = yield* Service68;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service56);
14
+ const service = yield* Effect.serviceOption(Service63);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./instruction-discovery-17razrp5.js";
2
+ ID12
3
+ } from "./schema-ehpxdd9r.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID7.make(id);
27
+ const providerID = ID12.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./instruction-discovery-1ygqh575.js";
3
+ } from "./schema-mfqp6xfm.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin2,
11
+ Plugin: () => Plugin25,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint2 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin2 = define({
30
+ var Plugin25 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin2 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint2);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint2, Plugin2, exports_exa };
83
+ export { endpoint5, Plugin25, exports_exa };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./instruction-discovery-3w5fmr99.js";
7
+ } from "./schema-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./instruction-discovery-k3c624dm.js";
11
+ } from "./schema-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./instruction-discovery-rdw6cm16.js";
14
+ } from "./schema-rdw6cm16.js";
15
15
  import {
16
- Service65,
17
- node68
18
- } from "./instruction-discovery-76ymgwed.js";
16
+ Service46,
17
+ node49
18
+ } from "./schema-rpjgfq5s.js";
19
19
  import {
20
- Service72,
21
- node75
22
- } from "./instruction-discovery-yw8t9dwe.js";
20
+ Service66,
21
+ node69
22
+ } from "./schema-qby9dwvd.js";
23
23
  import {
24
24
  match2
25
- } from "./instruction-discovery-y1fvbwt7.js";
25
+ } from "./schema-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./instruction-discovery-9rqn6x4v.js";
28
+ } from "./schema-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content3,
34
+ Content: () => Content2,
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service43,
38
+ Service: () => Service45,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node46
41
+ node: () => node48
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service43 extends Context.Service()("@opencode/Tool") {
54
+ class Service45 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service43, Effect.gen(function* () {
57
- const hooks = yield* Service72;
58
- const image = yield* Service65;
56
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
57
+ const hooks = yield* Service66;
58
+ const image = yield* Service46;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service43.of({
187
+ return Service45.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node46 = makeLocationNode({
277
- service: Service43,
276
+ var node48 = makeLocationNode({
277
+ service: Service45,
278
278
  layer,
279
- deps: [node75, node68]
279
+ deps: [node69, node49]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service43, node46, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service45, node48, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./instruction-discovery-kjxkqgqq.js";
7
+ } from "./schema-y99khw21.js";
8
8
  import {
9
- Service80,
10
- node83
11
- } from "./instruction-discovery-j3vzqyes.js";
9
+ Service83,
10
+ node87
11
+ } from "./schema-gr5dc40r.js";
12
12
  import {
13
- Service79,
14
- node82
15
- } from "./instruction-discovery-cfqj2t13.js";
13
+ Service81,
14
+ node84
15
+ } from "./schema-d20e8vw1.js";
16
16
  import {
17
- ID16,
17
+ ID17,
18
18
  Current3,
19
- Info32,
19
+ Info33,
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./instruction-discovery-q3q4fawj.js";
23
+ } from "./schema-4sn99hha.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./instruction-discovery-wd3x2cqz.js";
27
+ } from "./schema-wd3x2cqz.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./instruction-discovery-94ek1h2f.js";
30
+ } from "./schema-94ek1h2f.js";
31
31
  import {
32
32
  __export
33
- } from "./instruction-discovery-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: () => ID15,
40
- Info: () => Info31,
39
+ ID: () => ID16,
40
+ Info: () => Info32,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service78,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node83,
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 ID15 = ID16;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info31 = Info32;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID15
65
+ projectID: ID16
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 Service78 extends Context.Service()("@opencode/Project") {
75
+ class Service80 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,11 +95,11 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service78, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service79;
100
+ const git = yield* Service81;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service80;
102
+ const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service78, 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 ?? ID15.global,
148
+ previous: project.previous ?? ID16.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)
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
184
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 ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
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(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID15.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID16.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(Service78, 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 ? ID15.make(root) : undefined;
223
+ return root ? ID16.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(Service78, 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 ? ID15.make(node) : undefined;
239
+ return node ? ID16.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(Service78, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID15.global,
248
+ id: id ?? ID16.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service78, 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 ?? ID15.global,
265
+ id: id ?? ID16.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(Service78, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID15.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service78.of({ list, update, activate, resolve });
285
+ return Service80.of({ list, update, activate, resolve });
286
286
  }));
287
- var node81 = makeGlobalNode({
288
- service: Service78,
287
+ var node83 = makeGlobalNode({
288
+ service: Service80,
289
289
  layer,
290
- deps: [node83, node88, FSUtil.node, node82, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node84, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID15, Vcs2, Current2, Info31, UpdateInput3, NotFoundError11, root2, Service78, node81, exports_project };
293
+ export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node83, exports_project };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service72,
10
- node: () => node75
9
+ Service: () => Service66,
10
+ node: () => node69
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service72 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service66 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service72, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service72.of({ has, register, trigger });
57
+ return Service66.of({ has, register, trigger });
58
58
  }));
59
- var node75 = makeLocationNode({ service: Service72, layer, deps: [] });
59
+ var node69 = makeLocationNode({ service: Service66, layer, deps: [] });
60
60
 
61
- export { Service72, node75, exports_hooks };
61
+ export { Service66, node69, exports_hooks };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service8,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node10
13
+ node: () => node12
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service8, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service8.of({
66
+ return Service10.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service8, node10, exports_discovery };
155
+ export { Service10, node12, exports_discovery };