@opencode/core 0.0.0-dev-20816 → 0.0.0-dev-20818

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +92 -92
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{wellknown-vyjsqzsp.js → model-resolver-02109bm9.js} +36 -36
  8. package/dist/chunks/{wellknown-y14ra9sp.js → model-resolver-06x3rahg.js} +40 -40
  9. package/dist/chunks/{wellknown-yajxfkjf.js → model-resolver-0b2y7y4w.js} +11 -11
  10. package/dist/chunks/{wellknown-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{wellknown-07wb5q77.js → model-resolver-0pykbks7.js} +11 -11
  12. package/dist/chunks/{wellknown-t95ytspt.js → model-resolver-0tw7g2xy.js} +18 -18
  13. package/dist/chunks/{wellknown-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{wellknown-8vc8vna7.js → model-resolver-0whq6q5g.js} +10 -10
  15. package/dist/chunks/{wellknown-a3c7ahw6.js → model-resolver-0xqyf95c.js} +4 -4
  16. package/dist/chunks/{wellknown-ze75yzft.js → model-resolver-166kng33.js} +8 -8
  17. package/dist/chunks/{wellknown-4fcfrxzd.js → model-resolver-1afynxeq.js} +14 -14
  18. package/dist/chunks/{wellknown-dys7k0s0.js → model-resolver-1bmjn0qh.js} +8 -8
  19. package/dist/chunks/{wellknown-bjx1sjef.js → model-resolver-1ffvrpkg.js} +6 -6
  20. package/dist/chunks/{wellknown-3t6mzywy.js → model-resolver-1ndk40xb.js} +22 -22
  21. package/dist/chunks/{wellknown-h5g2zqv6.js → model-resolver-1r4t7yrp.js} +12 -12
  22. package/dist/chunks/{wellknown-rkv1q4w6.js → model-resolver-1ts3fnb8.js} +19 -19
  23. package/dist/chunks/{wellknown-rw22skhx.js → model-resolver-296y5446.js} +9 -9
  24. package/dist/chunks/{wellknown-2gjkaaq8.js → model-resolver-2fk733kj.js} +30 -30
  25. package/dist/chunks/{wellknown-2jbkakjc.js → model-resolver-2g3w7qry.js} +4 -4
  26. package/dist/chunks/{wellknown-fcrkznn8.js → model-resolver-2k8khapm.js} +5 -5
  27. package/dist/chunks/{wellknown-m20webqj.js → model-resolver-2nrgk0xt.js} +10 -10
  28. package/dist/chunks/{wellknown-z4yse633.js → model-resolver-2qb9hhet.js} +4 -4
  29. package/dist/chunks/{wellknown-2vvh33eb.js → model-resolver-2vvh33eb.js} +2 -2
  30. package/dist/chunks/{wellknown-wh6pa4pr.js → model-resolver-354rzadz.js} +10 -10
  31. package/dist/chunks/{wellknown-3jrph8t9.js → model-resolver-35qm576s.js} +28 -28
  32. package/dist/chunks/{wellknown-n63bcv8m.js → model-resolver-36nt455z.js} +51 -51
  33. package/dist/chunks/{wellknown-9rmh4mmg.js → model-resolver-3d0phw7c.js} +10 -10
  34. package/dist/chunks/{wellknown-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{wellknown-1w6spx5t.js → model-resolver-3h8exvak.js} +7 -7
  36. package/dist/chunks/{wellknown-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{wellknown-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{wellknown-rmadhj2k.js → model-resolver-3s50mzfh.js} +19 -19
  39. package/dist/chunks/{wellknown-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{wellknown-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{wellknown-1bh5qdrr.js → model-resolver-3vk79hma.js} +24 -24
  42. package/dist/chunks/{wellknown-ervpwnrb.js → model-resolver-3z8z2wmt.js} +30 -30
  43. package/dist/chunks/{wellknown-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{wellknown-qwkjaerk.js → model-resolver-417bfng8.js} +1 -1
  45. package/dist/chunks/{wellknown-xa1s2aen.js → model-resolver-441t0f96.js} +32 -32
  46. package/dist/chunks/{wellknown-n5anvv2t.js → model-resolver-4cqrs0n6.js} +32 -32
  47. package/dist/chunks/{wellknown-461nxmbv.js → model-resolver-4ekscj25.js} +5 -5
  48. package/dist/chunks/{wellknown-4yt2xgtx.js → model-resolver-4kx48zyc.js} +57 -57
  49. package/dist/chunks/{wellknown-e6qa6x8z.js → model-resolver-4przawg5.js} +20 -20
  50. package/dist/chunks/model-resolver-4q07qs98.js +26 -0
  51. package/dist/chunks/{wellknown-4ts7tf6z.js → model-resolver-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{wellknown-nd104sgw.js → model-resolver-4z8r5kh4.js} +19 -19
  53. package/dist/chunks/{wellknown-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  54. package/dist/chunks/{wellknown-kvqsqfzs.js → model-resolver-57r5x0t2.js} +3 -3
  55. package/dist/chunks/{wellknown-dv1s2jsq.js → model-resolver-5g76t4e4.js} +5 -5
  56. package/dist/chunks/{wellknown-5w5g9s8y.js → model-resolver-5h8e5fx8.js} +3 -3
  57. package/dist/chunks/{wellknown-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{wellknown-mjcera77.js → model-resolver-5rybjp70.js} +48 -48
  59. package/dist/chunks/{wellknown-n8jq096e.js → model-resolver-5scx92s4.js} +15 -15
  60. package/dist/chunks/{wellknown-39zvv5e0.js → model-resolver-5vz9tnw0.js} +32 -32
  61. package/dist/chunks/{wellknown-7t92r6sm.js → model-resolver-60th7n68.js} +8 -8
  62. package/dist/chunks/{wellknown-kbeh51ej.js → model-resolver-69ndwxq7.js} +11 -11
  63. package/dist/chunks/{wellknown-j010gwk9.js → model-resolver-6ag0d22y.js} +28 -28
  64. package/dist/chunks/{wellknown-j63xtz0z.js → model-resolver-6f8jk56b.js} +13 -13
  65. package/dist/chunks/{wellknown-jet6rn8q.js → model-resolver-6hspkkmf.js} +11 -11
  66. package/dist/chunks/{wellknown-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{wellknown-q13p92wb.js → model-resolver-6y5zez5f.js} +5 -5
  68. package/dist/chunks/{wellknown-re4n8afa.js → model-resolver-71z5hmrq.js} +13 -13
  69. package/dist/chunks/{wellknown-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{wellknown-sy1z26mt.js → model-resolver-7gvsa56m.js} +19 -19
  71. package/dist/chunks/{wellknown-nc8hxgt4.js → model-resolver-7rz6x76s.js} +22 -22
  72. package/dist/chunks/{wellknown-4x9y9hm8.js → model-resolver-7sg20anq.js} +11 -11
  73. package/dist/chunks/{wellknown-82v73sw7.js → model-resolver-82v73sw7.js} +3 -3
  74. package/dist/chunks/{wellknown-6117hfr5.js → model-resolver-82yxh1jw.js} +62 -62
  75. package/dist/chunks/{wellknown-w1eejvng.js → model-resolver-84txncab.js} +5 -5
  76. package/dist/chunks/{wellknown-9s7snf6s.js → model-resolver-8bevyx89.js} +16 -16
  77. package/dist/chunks/{wellknown-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
  78. package/dist/chunks/{wellknown-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
  79. package/dist/chunks/{wellknown-fg5waqyz.js → model-resolver-8yqvnfyq.js} +32 -32
  80. package/dist/chunks/{wellknown-ggb5v3eb.js → model-resolver-919e710a.js} +16 -16
  81. package/dist/chunks/{wellknown-3ec4gz2d.js → model-resolver-945z4yyk.js} +3 -3
  82. package/dist/chunks/model-resolver-97bx4pax.js +253 -0
  83. package/dist/chunks/{wellknown-y1xqe3xy.js → model-resolver-97v2b7ch.js} +34 -34
  84. package/dist/chunks/{wellknown-nwp476d8.js → model-resolver-994edmm0.js} +9 -9
  85. package/dist/chunks/{wellknown-5rtw7paw.js → model-resolver-9dzan21f.js} +19 -19
  86. package/dist/chunks/{wellknown-c3g4ehaa.js → model-resolver-9jm48qcm.js} +13 -13
  87. package/dist/chunks/{wellknown-wt4vhc6y.js → model-resolver-9kgj0kft.js} +9 -9
  88. package/dist/chunks/{wellknown-t4fbsvde.js → model-resolver-9p3kpytz.js} +12 -12
  89. package/dist/chunks/{wellknown-wwzdatwd.js → model-resolver-9q1zjnbs.js} +16 -16
  90. package/dist/chunks/model-resolver-9vzsvt7d.js +513 -0
  91. package/dist/chunks/{wellknown-mdshk6p7.js → model-resolver-9xk3tkyn.js} +2 -2
  92. package/dist/chunks/{wellknown-rqa1jxse.js → model-resolver-9y9sk2j9.js} +2 -2
  93. package/dist/chunks/model-resolver-9zdhvgqs.js +18 -0
  94. package/dist/chunks/{wellknown-p0rks7xq.js → model-resolver-9zzbt219.js} +23 -23
  95. package/dist/chunks/{wellknown-033ejm38.js → model-resolver-ac6rad81.js} +33 -33
  96. package/dist/chunks/{wellknown-zw2hpfmh.js → model-resolver-addxnjmp.js} +4 -4
  97. package/dist/chunks/{wellknown-fv9sp7w9.js → model-resolver-ajrrkcpv.js} +26 -26
  98. package/dist/chunks/{wellknown-b87x4eyv.js → model-resolver-ajzsbz6h.js} +11 -11
  99. package/dist/chunks/{wellknown-0kaeeq0n.js → model-resolver-ak272w8q.js} +15 -15
  100. package/dist/chunks/{wellknown-s6tav21f.js → model-resolver-amg4xdsh.js} +7 -7
  101. package/dist/chunks/{wellknown-9xvx6y0g.js → model-resolver-awzfjsn4.js} +11 -11
  102. package/dist/chunks/{wellknown-48kw51zw.js → model-resolver-axe3mf62.js} +3 -3
  103. package/dist/chunks/{wellknown-z2wpmfzv.js → model-resolver-ayxk6fbx.js} +4 -4
  104. package/dist/chunks/{wellknown-yywvx7pt.js → model-resolver-b0e9q3fp.js} +23 -23
  105. package/dist/chunks/{wellknown-jm1sn942.js → model-resolver-b10239s2.js} +5 -5
  106. package/dist/chunks/{wellknown-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
  107. package/dist/chunks/{wellknown-gj71zhbs.js → model-resolver-b674v2dg.js} +5 -5
  108. package/dist/chunks/{wellknown-650sss64.js → model-resolver-beg82wzm.js} +9 -9
  109. package/dist/chunks/{wellknown-ysa2vprg.js → model-resolver-bn17cr6t.js} +9 -9
  110. package/dist/chunks/{wellknown-ddttwbez.js → model-resolver-bq2txs8q.js} +19 -19
  111. package/dist/chunks/{wellknown-des6zn2w.js → model-resolver-bsh0mdra.js} +28 -28
  112. package/dist/chunks/{wellknown-q5mamftn.js → model-resolver-c0fw8tva.js} +54 -54
  113. package/dist/chunks/{wellknown-c1fqxshp.js → model-resolver-c1fqxshp.js} +3 -3
  114. package/dist/chunks/{wellknown-fcx8emg5.js → model-resolver-c1qje4fs.js} +13 -13
  115. package/dist/chunks/{wellknown-emqnk1nq.js → model-resolver-c96p78my.js} +26 -26
  116. package/dist/chunks/{wellknown-7feea0h6.js → model-resolver-cdvtns70.js} +11 -11
  117. package/dist/chunks/{wellknown-cwa6csj7.js → model-resolver-cwa6csj7.js} +2 -2
  118. package/dist/chunks/{wellknown-sg3zez9q.js → model-resolver-cxmf2e7g.js} +4 -4
  119. package/dist/chunks/{wellknown-4j4tgtq5.js → model-resolver-d2czbp48.js} +4 -4
  120. package/dist/chunks/{wellknown-699sdptp.js → model-resolver-d5ebnksf.js} +36 -36
  121. package/dist/chunks/{wellknown-54d04jeh.js → model-resolver-dag1y9ch.js} +18 -18
  122. package/dist/chunks/{wellknown-d858xzj7.js → model-resolver-dj68pnee.js} +4 -4
  123. package/dist/chunks/{wellknown-gt0hx33a.js → model-resolver-dk561135.js} +183 -183
  124. package/dist/chunks/{wellknown-wt1nksa6.js → model-resolver-dktjxkrs.js} +12 -12
  125. package/dist/chunks/{wellknown-g06b32k9.js → model-resolver-dve7h5ag.js} +10 -10
  126. package/dist/chunks/{wellknown-g8ke25hn.js → model-resolver-e7hvkerb.js} +29 -29
  127. package/dist/chunks/{wellknown-v5dkyp31.js → model-resolver-edrmdtr5.js} +7 -7
  128. package/dist/chunks/{wellknown-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{wellknown-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{wellknown-ssd9x6fw.js → model-resolver-eg50qbbf.js} +8 -8
  131. package/dist/chunks/{wellknown-mh6jxx1t.js → model-resolver-epachyah.js} +33 -33
  132. package/dist/chunks/{wellknown-tcqbkk77.js → model-resolver-f0nys67z.js} +4 -4
  133. package/dist/chunks/{wellknown-gyxgzcr0.js → model-resolver-f5ez8c8z.js} +37 -37
  134. package/dist/chunks/{wellknown-dngrbxse.js → model-resolver-fap8k071.js} +25 -25
  135. package/dist/chunks/{wellknown-e825dkyw.js → model-resolver-fepyq996.js} +22 -22
  136. package/dist/chunks/{wellknown-kcv830pc.js → model-resolver-fk97v85c.js} +17 -17
  137. package/dist/chunks/{wellknown-w0r29c61.js → model-resolver-fn31w4wy.js} +46 -46
  138. package/dist/chunks/{wellknown-bv7xce55.js → model-resolver-fn81mdd0.js} +11 -11
  139. package/dist/chunks/{wellknown-yx0rmv9r.js → model-resolver-ftdzjz2b.js} +6 -6
  140. package/dist/chunks/{wellknown-8bqq47bs.js → model-resolver-fvdaa6vy.js} +4 -4
  141. package/dist/chunks/{wellknown-f7xzt4zk.js → model-resolver-fvv6bh70.js} +36 -36
  142. package/dist/chunks/{wellknown-fxaymqdw.js → model-resolver-fxaymqdw.js} +1 -1
  143. package/dist/chunks/{wellknown-p6qeq9yv.js → model-resolver-g6fbtt8s.js} +5 -5
  144. package/dist/chunks/{wellknown-g6yfr6ja.js → model-resolver-g6yfr6ja.js} +2 -2
  145. package/dist/chunks/{wellknown-hy1va3t8.js → model-resolver-g8ytx0e6.js} +11 -11
  146. package/dist/chunks/{wellknown-bgqb1w0a.js → model-resolver-gcd08e9f.js} +33 -33
  147. package/dist/chunks/{wellknown-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{wellknown-e213czqs.js → model-resolver-gd92bhwj.js} +32 -32
  149. package/dist/chunks/{wellknown-xk1n9kaj.js → model-resolver-gem6aeja.js} +14 -14
  150. package/dist/chunks/{wellknown-gk8qb678.js → model-resolver-gk8qb678.js} +1 -1
  151. package/dist/chunks/{wellknown-prh39f15.js → model-resolver-gmbpjpby.js} +35 -35
  152. package/dist/chunks/{wellknown-fvqz3thv.js → model-resolver-gqj52n1c.js} +32 -32
  153. package/dist/chunks/{wellknown-2x0031av.js → model-resolver-gt1qgv3v.js} +23 -23
  154. package/dist/chunks/{wellknown-dzcs8qsg.js → model-resolver-gygd4kfq.js} +18 -18
  155. package/dist/chunks/{wellknown-2651n5qm.js → model-resolver-gz4an1ee.js} +13 -13
  156. package/dist/chunks/{wellknown-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{wellknown-h7s7r6s9.js → model-resolver-h7s7r6s9.js} +2 -2
  158. package/dist/chunks/{wellknown-2tcrkhyx.js → model-resolver-ha75s6x0.js} +24 -24
  159. package/dist/chunks/{wellknown-cda9vesx.js → model-resolver-hbvkm7kv.js} +12 -12
  160. package/dist/chunks/{wellknown-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
  161. package/dist/chunks/{wellknown-c9wbyant.js → model-resolver-hkffa77z.js} +4 -4
  162. package/dist/chunks/{wellknown-rtpc87ef.js → model-resolver-hq17sxqt.js} +24 -24
  163. package/dist/chunks/{wellknown-6v31mxde.js → model-resolver-j34wrdzx.js} +23 -23
  164. package/dist/chunks/{wellknown-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  165. package/dist/chunks/{wellknown-7hmww9pq.js → model-resolver-j5mg2fvs.js} +15 -15
  166. package/dist/chunks/{wellknown-rz6dkkgy.js → model-resolver-j783qryr.js} +19 -19
  167. package/dist/chunks/{wellknown-wv1h3qq2.js → model-resolver-jeetaxze.js} +33 -33
  168. package/dist/chunks/{wellknown-x7vezkgw.js → model-resolver-jexst7yn.js} +5 -5
  169. package/dist/chunks/{wellknown-t9bkwnkz.js → model-resolver-jmdmw3r0.js} +24 -24
  170. package/dist/chunks/{wellknown-n43vcqp0.js → model-resolver-jngnr97q.js} +3 -3
  171. package/dist/chunks/{wellknown-5n3qansz.js → model-resolver-jsebsn03.js} +28 -28
  172. package/dist/chunks/{wellknown-d8thadm4.js → model-resolver-jt6k9mvv.js} +12 -12
  173. package/dist/chunks/{wellknown-g36xdyny.js → model-resolver-kba6jxm6.js} +31 -31
  174. package/dist/chunks/{wellknown-5p6277ma.js → model-resolver-kbxf31ae.js} +8 -8
  175. package/dist/chunks/{wellknown-5rb9c7eh.js → model-resolver-kkeea6r4.js} +13 -13
  176. package/dist/chunks/{wellknown-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{wellknown-jjx5emw5.js → model-resolver-m3z7xbwy.js} +11 -11
  178. package/dist/chunks/{wellknown-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{wellknown-z4vnkb91.js → model-resolver-magwd4ys.js} +15 -15
  180. package/dist/chunks/{wellknown-8gzx46z2.js → model-resolver-marc2kh3.js} +5 -5
  181. package/dist/chunks/{wellknown-d5xsqdzh.js → model-resolver-mb4hkkb7.js} +25 -25
  182. package/dist/chunks/{wellknown-vqmmygk9.js → model-resolver-mpcy8gn6.js} +17 -17
  183. package/dist/chunks/{wellknown-49twh206.js → model-resolver-ms23b1xg.js} +17 -17
  184. package/dist/chunks/{wellknown-wr7ps67x.js → model-resolver-mtrbqqrq.js} +5 -5
  185. package/dist/chunks/{wellknown-waskdk5r.js → model-resolver-mv3hx7wz.js} +4 -4
  186. package/dist/chunks/{wellknown-rf6hexmr.js → model-resolver-mwd4tg70.js} +6 -6
  187. package/dist/chunks/{wellknown-tdaccg2z.js → model-resolver-n04ey09n.js} +9 -9
  188. package/dist/chunks/{wellknown-w30xpdgm.js → model-resolver-n8abgy3f.js} +18 -18
  189. package/dist/chunks/{wellknown-y1n9ww1g.js → model-resolver-nd4ztp9d.js} +17 -17
  190. package/dist/chunks/{wellknown-x5gff5v6.js → model-resolver-p87mzm6w.js} +25 -25
  191. package/dist/chunks/{wellknown-qynbg7fa.js → model-resolver-p9wpme1z.js} +32 -32
  192. package/dist/chunks/{wellknown-pa8pe2x7.js → model-resolver-pa8pe2x7.js} +1 -1
  193. package/dist/chunks/{wellknown-sz492jsj.js → model-resolver-pbycz9cj.js} +11 -11
  194. package/dist/chunks/{wellknown-vh4msy83.js → model-resolver-pd9eacgd.js} +3 -3
  195. package/dist/chunks/{wellknown-bwk95141.js → model-resolver-phphykcr.js} +14 -14
  196. package/dist/chunks/{wellknown-g686f6pq.js → model-resolver-phz50fbd.js} +9 -9
  197. package/dist/chunks/{wellknown-twwzjqdf.js → model-resolver-pjsqfx9m.js} +6 -6
  198. package/dist/chunks/{wellknown-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{wellknown-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  200. package/dist/chunks/{wellknown-rhw9mqe3.js → model-resolver-prqm0sca.js} +22 -22
  201. package/dist/chunks/{wellknown-bzmhfkwa.js → model-resolver-pwmn6ytf.js} +25 -25
  202. package/dist/chunks/{wellknown-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{wellknown-fqehm6pw.js → model-resolver-q6s6pgqb.js} +5 -5
  204. package/dist/chunks/{wellknown-7vfyda9f.js → model-resolver-qb9gv935.js} +50 -50
  205. package/dist/chunks/{wellknown-vb74559e.js → model-resolver-qewxwmfb.js} +24 -24
  206. package/dist/chunks/{wellknown-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{wellknown-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  208. package/dist/chunks/{wellknown-r2z489rp.js → model-resolver-r2z489rp.js} +1 -1
  209. package/dist/chunks/{wellknown-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{wellknown-rert0e01.js → model-resolver-rert0e01.js} +2 -2
  211. package/dist/chunks/{wellknown-rj3eygr5.js → model-resolver-rj3eygr5.js} +2 -2
  212. package/dist/chunks/{wellknown-s790q102.js → model-resolver-rjcpa5nc.js} +19 -19
  213. package/dist/chunks/{wellknown-embw8kgh.js → model-resolver-rpg9c19m.js} +4 -4
  214. package/dist/chunks/{wellknown-xh6qfzz1.js → model-resolver-rre4zkzm.js} +90 -90
  215. package/dist/chunks/{wellknown-5q0vxz4x.js → model-resolver-rwtdcz07.js} +5 -5
  216. package/dist/chunks/{wellknown-02nrjc1r.js → model-resolver-s8d7rejh.js} +8 -8
  217. package/dist/chunks/{wellknown-sa8ekw3f.js → model-resolver-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{wellknown-mkfp2fax.js → model-resolver-sbd6df5h.js} +15 -15
  219. package/dist/chunks/{wellknown-8777xd2t.js → model-resolver-sdp95c92.js} +22 -22
  220. package/dist/chunks/{wellknown-rf8f0yt3.js → model-resolver-sn7hzvv7.js} +5 -5
  221. package/dist/chunks/{wellknown-zr9bnb5b.js → model-resolver-sqnpa33e.js} +14 -14
  222. package/dist/chunks/{wellknown-vcjvn6yt.js → model-resolver-sr3tpeg2.js} +8 -8
  223. package/dist/chunks/{wellknown-jeg10dch.js → model-resolver-swgbw52f.js} +21 -21
  224. package/dist/chunks/{wellknown-n8e3aqkt.js → model-resolver-szmxrtqy.js} +28 -28
  225. package/dist/chunks/{wellknown-xrnpkz2z.js → model-resolver-t9ndgpv6.js} +14 -14
  226. package/dist/chunks/{wellknown-s6tfy31a.js → model-resolver-t9svvg0h.js} +42 -42
  227. package/dist/chunks/{wellknown-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{wellknown-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{wellknown-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  230. package/dist/chunks/{wellknown-q865ebtv.js → model-resolver-te00j1ws.js} +56 -56
  231. package/dist/chunks/{wellknown-tgj70b2r.js → model-resolver-tej3kksn.js} +5 -5
  232. package/dist/chunks/{wellknown-yeg8efr2.js → model-resolver-tstyx0bk.js} +19 -19
  233. package/dist/chunks/{wellknown-ysyc45db.js → model-resolver-tt8md0qn.js} +21 -21
  234. package/dist/chunks/{wellknown-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
  235. package/dist/chunks/{wellknown-sxdhggs7.js → model-resolver-tzv38x6s.js} +9 -9
  236. package/dist/chunks/{wellknown-6g7e4dd5.js → model-resolver-v0es1rhs.js} +7 -7
  237. package/dist/chunks/{wellknown-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{wellknown-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  239. package/dist/chunks/{wellknown-tpd1z469.js → model-resolver-vg7sgs10.js} +6 -6
  240. package/dist/chunks/{wellknown-af8ff1ta.js → model-resolver-vnyh837f.js} +8 -8
  241. package/dist/chunks/{wellknown-zc0d9hvr.js → model-resolver-vycm3tyn.js} +14 -14
  242. package/dist/chunks/{wellknown-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{wellknown-pzhxcmzb.js → model-resolver-w1wkdht8.js} +43 -43
  244. package/dist/chunks/{wellknown-q8vbveqf.js → model-resolver-w2439tpj.js} +32 -32
  245. package/dist/chunks/{wellknown-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{wellknown-mp6d0dty.js → model-resolver-w3x9v1nk.js} +8 -8
  247. package/dist/chunks/{wellknown-xnh7pp4h.js → model-resolver-w93zsvx3.js} +11 -11
  248. package/dist/chunks/{wellknown-m1nxwksc.js → model-resolver-w9967290.js} +4 -4
  249. package/dist/chunks/{wellknown-j5k95y2k.js → model-resolver-w9ss6waz.js} +5 -5
  250. package/dist/chunks/{wellknown-r269mye5.js → model-resolver-wajt81dh.js} +4 -4
  251. package/dist/chunks/{wellknown-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  252. package/dist/chunks/{wellknown-pg6d2h9f.js → model-resolver-wj3y3c2n.js} +9 -9
  253. package/dist/chunks/{wellknown-n37c4crj.js → model-resolver-wk5z6jzv.js} +9 -9
  254. package/dist/chunks/{wellknown-2z8jxnq9.js → model-resolver-wr96sv2x.js} +11 -11
  255. package/dist/chunks/{wellknown-bws1wkeb.js → model-resolver-wvsncfxf.js} +35 -35
  256. package/dist/chunks/{wellknown-xnnpmnef.js → model-resolver-wzyy5bqv.js} +6 -6
  257. package/dist/chunks/{wellknown-e7y8yey8.js → model-resolver-xf6y9pg8.js} +13 -13
  258. package/dist/chunks/{wellknown-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
  259. package/dist/chunks/{wellknown-w3nq1sqw.js → model-resolver-xsgk3b13.js} +9 -9
  260. package/dist/chunks/{wellknown-rwcqpfzb.js → model-resolver-xvbs29jp.js} +6 -6
  261. package/dist/chunks/{wellknown-tdbmj82j.js → model-resolver-xx5ebepc.js} +5 -5
  262. package/dist/chunks/{wellknown-xt4njr3s.js → model-resolver-xybefm6f.js} +1 -1
  263. package/dist/chunks/{wellknown-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{wellknown-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
  265. package/dist/chunks/{wellknown-h72cndf1.js → model-resolver-yd2ajj40.js} +3 -3
  266. package/dist/chunks/{wellknown-h896pcm5.js → model-resolver-yf4jcbx9.js} +6 -6
  267. package/dist/chunks/{wellknown-v895vwvw.js → model-resolver-yj48h56k.js} +1 -1
  268. package/dist/chunks/{wellknown-p9s0wwbg.js → model-resolver-yjjmcma8.js} +6 -6
  269. package/dist/chunks/{wellknown-1acjjqhc.js → model-resolver-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{wellknown-hmpz6cpb.js → model-resolver-yr1zkagz.js} +9 -9
  271. package/dist/chunks/{wellknown-tsx9151n.js → model-resolver-yyct3fyr.js} +18 -18
  272. package/dist/chunks/{wellknown-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{wellknown-5cg9bzem.js → model-resolver-z844we1n.js} +20 -20
  274. package/dist/chunks/{wellknown-hagkn1v7.js → model-resolver-zb2x20sc.js} +43 -43
  275. package/dist/chunks/{wellknown-31hyatr7.js → model-resolver-zb5axp11.js} +23 -23
  276. package/dist/chunks/{wellknown-bqbhqn5q.js → model-resolver-zbge2zce.js} +23 -23
  277. package/dist/chunks/{wellknown-c8z7re0j.js → model-resolver-zcf7mhvq.js} +83 -83
  278. package/dist/chunks/{wellknown-nawz2sjj.js → model-resolver-zk200rm0.js} +35 -35
  279. package/dist/chunks/{wellknown-a8168aqs.js → model-resolver-zn0ert38.js} +36 -36
  280. package/dist/chunks/{wellknown-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{wellknown-v3shqdas.js → model-resolver-ztj3h82k.js} +18 -18
  282. package/dist/chunks/{wellknown-xt49yzba.js → model-resolver-zvmh6f2g.js} +4 -4
  283. package/dist/chunks/{wellknown-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{wellknown-3b8mf0t5.js → model-resolver-zzhtpc1c.js} +13 -13
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +216 -216
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +135 -135
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +107 -107
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +92 -92
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +1 -1
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +96 -96
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +95 -95
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +218 -218
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +90 -90
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +91 -91
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +218 -218
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +88 -88
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +95 -95
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +224 -224
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +124 -124
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +208 -208
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +98 -98
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +2 -2
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +96 -96
  684. package/package.json +8 -8
  685. package/dist/chunks/wellknown-5gxnaa09.js +0 -513
  686. package/dist/chunks/wellknown-by5v678g.js +0 -18
  687. package/dist/chunks/wellknown-cenr143b.js +0 -26
  688. package/dist/chunks/wellknown-wzxzhr7t.js +0 -253
  689. /package/dist/chunks/{wellknown-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{wellknown-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{wellknown-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{wellknown-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{wellknown-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{wellknown-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{wellknown-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{wellknown-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{wellknown-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{wellknown-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{wellknown-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{wellknown-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  701. /package/dist/chunks/{wellknown-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{wellknown-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{wellknown-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{wellknown-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{wellknown-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{wellknown-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{wellknown-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{wellknown-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  709. /package/dist/chunks/{wellknown-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{wellknown-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{wellknown-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  712. /package/dist/chunks/{wellknown-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{wellknown-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{wellknown-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{wellknown-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  716. /package/dist/chunks/{wellknown-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{wellknown-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{wellknown-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{wellknown-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{wellknown-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{wellknown-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{wellknown-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{wellknown-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{wellknown-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{wellknown-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{wellknown-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{wellknown-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{wellknown-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{wellknown-bw78ga2c.js → model-resolver-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{wellknown-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{wellknown-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{wellknown-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{wellknown-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{wellknown-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{wellknown-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{wellknown-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  737. /package/dist/chunks/{wellknown-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{wellknown-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{wellknown-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{wellknown-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{wellknown-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{wellknown-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{wellknown-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{wellknown-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{wellknown-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{wellknown-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{wellknown-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{wellknown-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  749. /package/dist/chunks/{wellknown-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{wellknown-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  751. /package/dist/chunks/{wellknown-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  752. /package/dist/chunks/{wellknown-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{wellknown-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{wellknown-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{wellknown-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{wellknown-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{wellknown-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{wellknown-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{wellknown-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  760. /package/dist/chunks/{wellknown-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{wellknown-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{wellknown-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{wellknown-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{wellknown-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{wellknown-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{wellknown-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{wellknown-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{wellknown-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{wellknown-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{wellknown-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{wellknown-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{wellknown-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{wellknown-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{wellknown-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{wellknown-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{wellknown-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{wellknown-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{wellknown-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{wellknown-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{wellknown-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{wellknown-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{wellknown-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{wellknown-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  784. /package/dist/chunks/{wellknown-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{wellknown-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{wellknown-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{wellknown-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{wellknown-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{wellknown-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./wellknown-hgz4x7wa.js";
6
+ } from "./model-resolver-hgz4x7wa.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./wellknown-eej6y6fw.js";
9
+ } from "./model-resolver-eej6y6fw.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./wellknown-3hwn7j4h.js";
12
+ } from "./model-resolver-3hwn7j4h.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./wellknown-v7p4zvkq.js";
16
- import {
17
- Service78,
18
- node81
19
- } from "./wellknown-wwzdatwd.js";
15
+ } from "./model-resolver-v7p4zvkq.js";
20
16
  import {
21
17
  Service81,
22
- node84
23
- } from "./wellknown-5n3qansz.js";
18
+ node85
19
+ } from "./model-resolver-9q1zjnbs.js";
20
+ import {
21
+ Service63,
22
+ node65
23
+ } from "./model-resolver-jsebsn03.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./model-resolver-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service63,
33
- node: () => node66
32
+ Service: () => Service62,
33
+ node: () => node64
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound3,
46
- Service: () => Service63,
46
+ Service: () => Service62,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node66,
52
+ node: () => node64,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service63 extends Context.Service()("@opencode/Environment") {
61
+ class Service62 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service63, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service78;
66
- const workspace = yield* Service81;
65
+ const location = yield* Service81;
66
+ const workspace = yield* Service63;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service63.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service62.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node66 = makeLocationNode({
71
- service: Service63,
70
+ var node64 = makeLocationNode({
71
+ service: Service62,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node81, node84]
73
+ deps: [CrossSpawnSpawner.node, node85, node65]
74
74
  });
75
75
 
76
- export { Service63, node66, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service62, node64, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service73
3
- } from "./wellknown-4yt2xgtx.js";
2
+ Service71
3
+ } from "./model-resolver-4kx48zyc.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./wellknown-4vcrnpx2.js";
7
+ } from "./model-resolver-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./wellknown-3v8g72cx.js";
10
+ } from "./model-resolver-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input9,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input11,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin26,
22
+ Plugin: () => Plugin14,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description4,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name9
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name9 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name11 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input9 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input9.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin26 = {
95
+ var Plugin14 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service73;
99
+ const permission = yield* Service71;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name9,
101
+ name: name11,
102
102
  options: { codemode: false },
103
- description: description4,
104
- input: Input9,
103
+ description: description5,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin26 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name9,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin26, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin14, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78,
3
- node81
4
- } from "./wellknown-wwzdatwd.js";
2
+ Service81,
3
+ node85
4
+ } from "./model-resolver-9q1zjnbs.js";
5
5
  import {
6
6
  create3
7
- } from "./wellknown-rdw6cm16.js";
7
+ } from "./model-resolver-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./wellknown-9rqn6x4v.js";
10
+ } from "./model-resolver-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: () => Service42,
17
+ node: () => node45
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/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 Service42 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service14, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
27
+ const location = yield* Service81;
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 Service42.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node16 = makeLocationNode({
91
- service: Service14,
90
+ var node45 = makeLocationNode({
91
+ service: Service42,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node85, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service14, node16, exports_formatter2 };
96
+ export { Service42, node45, exports_formatter2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./wellknown-rdw6cm16.js";
3
+ } from "./model-resolver-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./wellknown-qaymkmh1.js";
6
+ } from "./model-resolver-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service58,
14
+ Options: () => Options10,
15
+ Service: () => Service70,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured8,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node61,
24
+ node: () => node74,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service58 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service70 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service58.of({
202
+ return Service70.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured8(options) {
210
- return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service70, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node61 = configured8();
212
+ var node74 = configured11();
213
213
 
214
- export { Options7, Service58, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node61, exports_select };
214
+ export { Options10, Service70, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node74, exports_select };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./wellknown-n43vcqp0.js";
4
+ } from "./model-resolver-jngnr97q.js";
5
5
  import {
6
- Service80,
7
- node83
8
- } from "./wellknown-xk1n9kaj.js";
6
+ Service84,
7
+ node88
8
+ } from "./model-resolver-gem6aeja.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./wellknown-pknna89w.js";
11
+ } from "./model-resolver-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./wellknown-3zsf4n22.js";
14
+ } from "./model-resolver-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./wellknown-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID9,
26
- Info: () => Info19,
27
- Key: () => Key3,
25
+ ID: () => ID15,
26
+ Info: () => Info25,
27
+ Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service70,
29
+ Service: () => Service78,
30
30
  Value: () => Value2,
31
- node: () => node73
31
+ node: () => node82
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID9 = Credential.ID;
38
+ var ID15 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key3 = Credential.Key;
40
+ var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event16 = Credential.Event;
43
+ var Event19 = Credential.Event;
44
44
 
45
- class Info19 extends Schema.Class("Credential.Info")({
46
- id: ID9,
45
+ class Info25 extends Schema.Class("Credential.Info")({
46
+ id: ID15,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service70 extends Context.Service()("@opencode/Credential") {
53
+ class Service78 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service70, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
56
56
  const db = (yield* Service85).db;
57
- const bus = yield* Service80;
57
+ const bus = yield* Service84;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info19({
62
+ return new Info25({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service70.of({
73
+ return Service78.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info19({
82
- id: input.id ?? ID9.create(),
81
+ const credential = new Info25({
82
+ id: input.id ?? ID15.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event16.Updated, {}, { global: true });
113
+ yield* bus.publish(Event19.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event16.Updated, {}, { global: true });
167
+ yield* bus.publish(Event19.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event16.Updated, {}, { global: true });
200
+ yield* bus.publish(Event19.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node73 = makeGlobalNode({ service: Service70, layer, deps: [node89, node83] });
206
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node89, node88] });
207
207
 
208
- export { ID9, OAuth3, Key3, External2, Value2, Event16, Info19, Service70, node73, exports_credential };
208
+ export { ID15, OAuth3, Key4, External2, Value2, Event19, Info25, Service78, node82, exports_credential };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./wellknown-wv1h3qq2.js";
3
+ } from "./model-resolver-jeetaxze.js";
4
4
  import {
5
- ID8,
5
+ ID14,
6
6
  MethodID2
7
- } from "./wellknown-bgqb1w0a.js";
7
+ } from "./model-resolver-gcd08e9f.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./wellknown-pjvnvgmy.js";
11
+ } from "./model-resolver-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID8.make("poe");
17
+ var integrationID = ID14.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./wellknown-02nrjc1r.js";
6
+ } from "./model-resolver-s8d7rejh.js";
7
7
  import {
8
- ID11,
8
+ ID5,
9
9
  Name2,
10
- available3,
11
- Service72,
12
- node75
13
- } from "./wellknown-3jrph8t9.js";
10
+ available2,
11
+ Service49,
12
+ node52
13
+ } from "./model-resolver-35qm576s.js";
14
14
  import {
15
15
  __export
16
- } from "./wellknown-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions5 = {};
20
- __export(exports_instructions5, {
21
- Service: () => Service42,
22
- SkillInstructions: () => exports_instructions5,
23
- node: () => node45
19
+ var exports_instructions4 = {};
20
+ __export(exports_instructions4, {
21
+ Service: () => Service29,
22
+ SkillInstructions: () => exports_instructions4,
23
+ node: () => node33
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID11,
28
+ id: ID5,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service42 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service29 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service42, Effect.gen(function* () {
66
- const skills = yield* Service72;
67
- return Service42.of({
65
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
66
+ const skills = yield* Service49;
67
+ return Service29.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make20({
71
- key: Key4.make("core/skill-guidance"),
69
+ const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make21({
71
+ key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node45 = makeLocationNode({ service: Service42, layer, deps: [node75] });
83
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node52] });
84
84
 
85
- export { Service42, node45, exports_instructions5 };
85
+ export { Service29, node33, exports_instructions4 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./wellknown-rf6hexmr.js";
3
+ } from "./model-resolver-mwd4tg70.js";
4
4
  import {
5
5
  apply3
6
- } from "./wellknown-vh4msy83.js";
6
+ } from "./model-resolver-pd9eacgd.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};