@opencode/core 0.0.0-dev-20365 → 0.0.0-dev-20368

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{instruction-discovery-eht2pxda.js → reference-00zfhxmf.js} +34 -34
  8. package/dist/chunks/{instruction-discovery-zckc2zz5.js → reference-01rnkbd0.js} +11 -11
  9. package/dist/chunks/{instruction-discovery-s8d7rejh.js → reference-02nrjc1r.js} +8 -8
  10. package/dist/chunks/{instruction-discovery-34aseb2t.js → reference-042pe1mc.js} +11 -11
  11. package/dist/chunks/{instruction-discovery-ys989rq2.js → reference-07br9k15.js} +48 -48
  12. package/dist/chunks/{instruction-discovery-qecqrgvf.js → reference-0cswr742.js} +18 -18
  13. package/dist/chunks/{instruction-discovery-ab9238g2.js → reference-0ft9cg2j.js} +6 -6
  14. package/dist/chunks/{instruction-discovery-a2nkfp8g.js → reference-0jpfm16a.js} +22 -22
  15. package/dist/chunks/{instruction-discovery-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{instruction-discovery-t8bsretr.js → reference-0rsrt5zk.js} +3 -3
  17. package/dist/chunks/{instruction-discovery-rrkyb7d2.js → reference-139grr7s.js} +17 -17
  18. package/dist/chunks/{instruction-discovery-qwjmgwmn.js → reference-166kng33.js} +8 -8
  19. package/dist/chunks/{instruction-discovery-q3hw20gb.js → reference-16ynv89z.js} +11 -11
  20. package/dist/chunks/{instruction-discovery-qfcm5wty.js → reference-1bfe16ws.js} +26 -26
  21. package/dist/chunks/{instruction-discovery-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{instruction-discovery-pp173efe.js → reference-1dh04bw7.js} +11 -11
  23. package/dist/chunks/{instruction-discovery-a2ew8a62.js → reference-1g7epwpd.js} +7 -7
  24. package/dist/chunks/{instruction-discovery-f58gpcny.js → reference-1nzh38e4.js} +9 -9
  25. package/dist/chunks/{instruction-discovery-ywfr5f7y.js → reference-1p7vd7k0.js} +22 -22
  26. package/dist/chunks/{instruction-discovery-10bghtad.js → reference-1pab0y9d.js} +33 -33
  27. package/dist/chunks/{instruction-discovery-ezpw8a83.js → reference-1qxvqq93.js} +15 -15
  28. package/dist/chunks/{instruction-discovery-e3y7q9w0.js → reference-1w3qez5w.js} +16 -16
  29. package/dist/chunks/{instruction-discovery-56gdpj1q.js → reference-1ygqh575.js} +9 -9
  30. package/dist/chunks/{instruction-discovery-xfyk0vde.js → reference-21g2k5h0.js} +18 -18
  31. package/dist/chunks/{instruction-discovery-21r38tys.js → reference-21r38tys.js} +1 -1
  32. package/dist/chunks/{instruction-discovery-z2ay98k6.js → reference-260n4hdp.js} +8 -8
  33. package/dist/chunks/{instruction-discovery-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{instruction-discovery-7w99qc9d.js → reference-2f04pwep.js} +3 -3
  35. package/dist/chunks/{instruction-discovery-b42kd364.js → reference-2kyyj8xa.js} +23 -23
  36. package/dist/chunks/{instruction-discovery-9wdq8f39.js → reference-2wbch7sf.js} +20 -20
  37. package/dist/chunks/{instruction-discovery-rcc95wnw.js → reference-3340n1nd.js} +15 -15
  38. package/dist/chunks/{instruction-discovery-wargq46t.js → reference-3bxd3j1q.js} +8 -8
  39. package/dist/chunks/{instruction-discovery-1gdh9z1g.js → reference-3e2kzjfs.js} +12 -12
  40. package/dist/chunks/{instruction-discovery-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{instruction-discovery-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-bw9zjykr.js → reference-3ppptnan.js} +6 -6
  43. package/dist/chunks/{instruction-discovery-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{instruction-discovery-rr7h7dn4.js → reference-3sy817ya.js} +23 -23
  45. package/dist/chunks/{instruction-discovery-vp7acvqa.js → reference-3t6ehjrr.js} +17 -17
  46. package/dist/chunks/{instruction-discovery-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{instruction-discovery-z1d7ddxf.js → reference-3v2fvqfd.js} +6 -6
  48. package/dist/chunks/{instruction-discovery-tfgcfrdz.js → reference-3wpn9sh3.js} +24 -24
  49. package/dist/chunks/{instruction-discovery-vg5xy7fh.js → reference-3wpv8ytq.js} +9 -9
  50. package/dist/chunks/{instruction-discovery-jg0vs890.js → reference-3ybfhc1x.js} +5 -5
  51. package/dist/chunks/{instruction-discovery-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{instruction-discovery-pgxbze3j.js → reference-44sx4v5c.js} +39 -39
  53. package/dist/chunks/{instruction-discovery-mw6tp84c.js → reference-4r36fkdq.js} +11 -11
  54. package/dist/chunks/{instruction-discovery-z9ntxpz7.js → reference-4srk58w8.js} +9 -9
  55. package/dist/chunks/{instruction-discovery-wbkyxrgf.js → reference-510m7gjw.js} +5 -5
  56. package/dist/chunks/{instruction-discovery-54ma36ye.js → reference-54ma36ye.js} +1 -1
  57. package/dist/chunks/{instruction-discovery-2fgn2we9.js → reference-57ez7d0k.js} +9 -9
  58. package/dist/chunks/{instruction-discovery-5daktx2q.js → reference-5daktx2q.js} +1 -1
  59. package/dist/chunks/{instruction-discovery-q0d7s5js.js → reference-5fanhak1.js} +5 -5
  60. package/dist/chunks/{instruction-discovery-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{instruction-discovery-1bvhx7th.js → reference-5v7h0m3g.js} +6 -6
  62. package/dist/chunks/{instruction-discovery-pa8pe2x7.js → reference-5xtgfte3.js} +8 -8
  63. package/dist/chunks/{instruction-discovery-fsz30s44.js → reference-5yts36ct.js} +1 -1
  64. package/dist/chunks/{instruction-discovery-ss2kacyw.js → reference-631f6jmb.js} +17 -17
  65. package/dist/chunks/{instruction-discovery-669tq793.js → reference-669tq793.js} +1 -1
  66. package/dist/chunks/{instruction-discovery-s7b01nm3.js → reference-6brb3ydz.js} +6 -6
  67. package/dist/chunks/{instruction-discovery-gpmqmegr.js → reference-6cneqzas.js} +17 -17
  68. package/dist/chunks/{instruction-discovery-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{instruction-discovery-py3kkmfq.js → reference-6pc27hjz.js} +6 -6
  70. package/dist/chunks/{instruction-discovery-151rgrdh.js → reference-6xb9xar3.js} +6 -6
  71. package/dist/chunks/{instruction-discovery-e7dwzs0g.js → reference-71ae86ge.js} +4 -4
  72. package/dist/chunks/{instruction-discovery-z5extsze.js → reference-74fa380e.js} +3 -3
  73. package/dist/chunks/{instruction-discovery-k5fc4sd6.js → reference-796w904k.js} +16 -16
  74. package/dist/chunks/{instruction-discovery-7t71radz.js → reference-79cntjbh.js} +8 -8
  75. package/dist/chunks/{instruction-discovery-fyhkcpzz.js → reference-7a87smht.js} +6 -6
  76. package/dist/chunks/{instruction-discovery-6y0jnxwh.js → reference-7an2zr3c.js} +14 -14
  77. package/dist/chunks/{instruction-discovery-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{instruction-discovery-8m5hcdr3.js → reference-7sw46e0q.js} +13 -13
  79. package/dist/chunks/{instruction-discovery-z1axqdyk.js → reference-7wcwe48s.js} +17 -17
  80. package/dist/chunks/{instruction-discovery-aqr5jswe.js → reference-7zeyjkbe.js} +4 -4
  81. package/dist/chunks/{instruction-discovery-84txncab.js → reference-84txncab.js} +1 -1
  82. package/dist/chunks/{instruction-discovery-36s4nkqj.js → reference-87szygx8.js} +87 -87
  83. package/dist/chunks/{instruction-discovery-7j2qha59.js → reference-8aaqm6qj.js} +8 -8
  84. package/dist/chunks/{instruction-discovery-z5bzs6kf.js → reference-8b69yyv4.js} +8 -8
  85. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{instruction-discovery-6z1zkmte.js → reference-8f2n1xr2.js} +5 -5
  87. package/dist/chunks/{instruction-discovery-nw1axpkg.js → reference-8kg5m582.js} +34 -34
  88. package/dist/chunks/{instruction-discovery-espax8zg.js → reference-8wbxkt1z.js} +4 -4
  89. package/dist/chunks/{instruction-discovery-gfvb90ym.js → reference-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{instruction-discovery-jfetez9m.js → reference-9b4bv5f3.js} +21 -21
  91. package/dist/chunks/{instruction-discovery-yfnmz5ms.js → reference-9dcx0t51.js} +7 -7
  92. package/dist/chunks/reference-9fsn2a6t.js +252 -0
  93. package/dist/chunks/{instruction-discovery-cd1294k6.js → reference-9nxs0dtz.js} +11 -11
  94. package/dist/chunks/{instruction-discovery-ndbev1fk.js → reference-a1213hw5.js} +15 -15
  95. package/dist/chunks/{instruction-discovery-vb79pq1b.js → reference-a15efetj.js} +37 -37
  96. package/dist/chunks/{instruction-discovery-dymd75nb.js → reference-a7kwy4c1.js} +5 -5
  97. package/dist/chunks/{instruction-discovery-f29mbr7f.js → reference-a81kfqvn.js} +4 -4
  98. package/dist/chunks/{instruction-discovery-cv5gvdp9.js → reference-a9w6ff6t.js} +29 -29
  99. package/dist/chunks/{instruction-discovery-aaet6srn.js → reference-aaet6srn.js} +2 -2
  100. package/dist/chunks/{instruction-discovery-mpk0rfs5.js → reference-addxnjmp.js} +4 -4
  101. package/dist/chunks/{instruction-discovery-jf9anmv7.js → reference-afed7ext.js} +12 -12
  102. package/dist/chunks/{instruction-discovery-a3t8nhns.js → reference-akpmqyxp.js} +26 -26
  103. package/dist/chunks/{instruction-discovery-9mgdqk3f.js → reference-anb3p609.js} +54 -54
  104. package/dist/chunks/{instruction-discovery-bhq1jhw6.js → reference-ar2zeb49.js} +5 -5
  105. package/dist/chunks/{instruction-discovery-h52c3x43.js → reference-asw2re3m.js} +8 -8
  106. package/dist/chunks/{instruction-discovery-acnjys95.js → reference-atwm5pvn.js} +24 -24
  107. package/dist/chunks/{instruction-discovery-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{instruction-discovery-bfp5tavp.js → reference-bemmtghz.js} +10 -10
  109. package/dist/chunks/{instruction-discovery-vtdeafhw.js → reference-br6q4meh.js} +5 -5
  110. package/dist/chunks/{instruction-discovery-sppx2cm3.js → reference-c3h0gj9a.js} +15 -15
  111. package/dist/chunks/{instruction-discovery-cj1he048.js → reference-c4qd2t8a.js} +24 -24
  112. package/dist/chunks/{instruction-discovery-cbzddc70.js → reference-c6b8rasb.js} +5 -5
  113. package/dist/chunks/{instruction-discovery-7vf0xt57.js → reference-c7b2m6fb.js} +24 -24
  114. package/dist/chunks/{instruction-discovery-2rt4b4vk.js → reference-cfv2hvrv.js} +22 -22
  115. package/dist/chunks/{instruction-discovery-a8vp0knq.js → reference-chnshf5d.js} +7 -7
  116. package/dist/chunks/{instruction-discovery-54tcyq79.js → reference-ckecvw8r.js} +2 -2
  117. package/dist/chunks/{instruction-discovery-cdk3gs1h.js → reference-cp9438d3.js} +10 -10
  118. package/dist/chunks/{instruction-discovery-0f9afca0.js → reference-cr07tj7n.js} +5 -5
  119. package/dist/chunks/{instruction-discovery-x4ewwgt8.js → reference-czs4devj.js} +23 -23
  120. package/dist/chunks/{instruction-discovery-9vtsvkk2.js → reference-d1c553ec.js} +6 -6
  121. package/dist/chunks/{instruction-discovery-1y283654.js → reference-d858xzj7.js} +4 -4
  122. package/dist/chunks/{instruction-discovery-fwwk8vbp.js → reference-depwzj9d.js} +9 -9
  123. package/dist/chunks/reference-dez8vmgp.js +507 -0
  124. package/dist/chunks/{instruction-discovery-tn0aqsam.js → reference-dj9sq318.js} +5 -5
  125. package/dist/chunks/{instruction-discovery-d4he2qe1.js → reference-djszqvmq.js} +9 -9
  126. package/dist/chunks/{instruction-discovery-0fnrp01p.js → reference-dprgptw6.js} +31 -31
  127. package/dist/chunks/{instruction-discovery-p25pce50.js → reference-dqwatsve.js} +30 -30
  128. package/dist/chunks/{instruction-discovery-xfkkasph.js → reference-drwq78ky.js} +4 -4
  129. package/dist/chunks/{instruction-discovery-3rxyecnx.js → reference-e2v1jf5m.js} +22 -22
  130. package/dist/chunks/{instruction-discovery-xhbqa4nv.js → reference-e3t9f1ge.js} +45 -45
  131. package/dist/chunks/{instruction-discovery-fr5dej3b.js → reference-ea9448jf.js} +21 -21
  132. package/dist/chunks/{instruction-discovery-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{instruction-discovery-5cr7r7hg.js → reference-ecjyjz8w.js} +12 -12
  134. package/dist/chunks/{instruction-discovery-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{instruction-discovery-nysmp4a2.js → reference-eh5brr6k.js} +43 -43
  136. package/dist/chunks/{instruction-discovery-6619bm8v.js → reference-eka80jh0.js} +16 -16
  137. package/dist/chunks/{instruction-discovery-6n88yxkj.js → reference-ep6z9mt6.js} +8 -8
  138. package/dist/chunks/{instruction-discovery-0jd5421x.js → reference-erycay7t.js} +32 -32
  139. package/dist/chunks/{instruction-discovery-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{instruction-discovery-22yhfxxr.js → reference-ey47svxm.js} +19 -19
  141. package/dist/chunks/{instruction-discovery-pse00pgs.js → reference-eygkpf76.js} +13 -13
  142. package/dist/chunks/{instruction-discovery-4x987a9f.js → reference-f9kj06qm.js} +15 -15
  143. package/dist/chunks/{instruction-discovery-armsaks0.js → reference-fdjebd74.js} +23 -23
  144. package/dist/chunks/{instruction-discovery-nq7qbqzc.js → reference-fhs97t90.js} +9 -9
  145. package/dist/chunks/{instruction-discovery-6pjjjzvh.js → reference-fms3wttt.js} +4 -4
  146. package/dist/chunks/{instruction-discovery-ns0djxc8.js → reference-g4x060ga.js} +11 -11
  147. package/dist/chunks/{instruction-discovery-38dw6rw7.js → reference-gafg8g7a.js} +6 -6
  148. package/dist/chunks/{instruction-discovery-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{instruction-discovery-rk1r2hx8.js → reference-gg3hnhsj.js} +1 -1
  150. package/dist/chunks/{instruction-discovery-bacyfq49.js → reference-gjvcgz1y.js} +35 -35
  151. package/dist/chunks/{instruction-discovery-f4161tt7.js → reference-gsm9w5gv.js} +32 -32
  152. package/dist/chunks/{instruction-discovery-zee1rnkq.js → reference-gst7axd9.js} +4 -4
  153. package/dist/chunks/{instruction-discovery-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{instruction-discovery-grrqevyk.js → reference-h0f5mnzz.js} +16 -16
  155. package/dist/chunks/{instruction-discovery-7ntmn10c.js → reference-h3k68wsb.js} +19 -19
  156. package/dist/chunks/{instruction-discovery-3sm268de.js → reference-h3tvvjet.js} +25 -25
  157. package/dist/chunks/{instruction-discovery-xje8bwn9.js → reference-h6qwv4aw.js} +26 -26
  158. package/dist/chunks/{instruction-discovery-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{instruction-discovery-0w8rebe2.js → reference-h971pwhf.js} +11 -11
  160. package/dist/chunks/{instruction-discovery-w2kn7s6g.js → reference-hbedddsn.js} +11 -11
  161. package/dist/chunks/{instruction-discovery-yt3hy1g9.js → reference-hbyhqfhs.js} +5 -5
  162. package/dist/chunks/{instruction-discovery-estn5yqz.js → reference-hgg8amch.js} +176 -176
  163. package/dist/chunks/{instruction-discovery-yk46zzns.js → reference-hkv5p9ne.js} +3 -3
  164. package/dist/chunks/{instruction-discovery-6ymymyv8.js → reference-htjw9qza.js} +6 -6
  165. package/dist/chunks/{instruction-discovery-vyqn3nqs.js → reference-hyftv91s.js} +9 -9
  166. package/dist/chunks/{instruction-discovery-sqbb0ctm.js → reference-j34dxvpb.js} +5 -5
  167. package/dist/chunks/{instruction-discovery-j56e64zr.js → reference-j56e64zr.js} +1 -1
  168. package/dist/chunks/{instruction-discovery-bvtmakpj.js → reference-j993bjzs.js} +12 -12
  169. package/dist/chunks/{instruction-discovery-1p5qk5ef.js → reference-jdrzz5kz.js} +38 -38
  170. package/dist/chunks/{instruction-discovery-mfnm4q8d.js → reference-jhrpy0h8.js} +24 -24
  171. package/dist/chunks/{instruction-discovery-xst8czg1.js → reference-jken0ejx.js} +25 -25
  172. package/dist/chunks/{instruction-discovery-drbbyxqc.js → reference-jkzjr3ma.js} +31 -31
  173. package/dist/chunks/{instruction-discovery-g0k6w0zm.js → reference-jpx3jw6j.js} +22 -22
  174. package/dist/chunks/{instruction-discovery-q9hsaf9y.js → reference-jqw8ttv0.js} +16 -16
  175. package/dist/chunks/{instruction-discovery-gthj2xdw.js → reference-jxz16j3e.js} +28 -28
  176. package/dist/chunks/{instruction-discovery-1cge6xys.js → reference-k115rg6b.js} +13 -13
  177. package/dist/chunks/{instruction-discovery-avae2qkj.js → reference-k2a504bc.js} +14 -14
  178. package/dist/chunks/{instruction-discovery-k3c624dm.js → reference-k3c624dm.js} +3 -3
  179. package/dist/chunks/{instruction-discovery-cf8tr9ph.js → reference-k6rqs0s8.js} +6 -6
  180. package/dist/chunks/{instruction-discovery-ver2fgbz.js → reference-k7d46rr6.js} +4 -4
  181. package/dist/chunks/{instruction-discovery-5kvqrqtt.js → reference-kb6gw2zp.js} +4 -4
  182. package/dist/chunks/{instruction-discovery-f38y7jqd.js → reference-kdhn56cv.js} +36 -36
  183. package/dist/chunks/reference-kmfs87yw.js +26 -0
  184. package/dist/chunks/{instruction-discovery-cvbv1j0h.js → reference-kt609s0t.js} +5 -5
  185. package/dist/chunks/{instruction-discovery-18szcvs2.js → reference-ktd0gbm4.js} +3 -3
  186. package/dist/chunks/{instruction-discovery-tdm1h4wf.js → reference-kz7w9h4r.js} +18 -18
  187. package/dist/chunks/{instruction-discovery-w3seyqvg.js → reference-kzacwcn9.js} +27 -27
  188. package/dist/chunks/{instruction-discovery-9gjc8sm6.js → reference-m165mn98.js} +18 -18
  189. package/dist/chunks/{instruction-discovery-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{instruction-discovery-k2h4r4s0.js → reference-magykp64.js} +4 -4
  192. package/dist/chunks/{instruction-discovery-v5kct8vj.js → reference-mc9ss0y5.js} +15 -15
  193. package/dist/chunks/{instruction-discovery-myy2c2wb.js → reference-mcfy26hj.js} +26 -26
  194. package/dist/chunks/{instruction-discovery-r5x6zcsm.js → reference-mhkvc446.js} +3 -3
  195. package/dist/chunks/{instruction-discovery-q4ha1nt6.js → reference-n1j0qfw4.js} +5 -5
  196. package/dist/chunks/{instruction-discovery-jmz48h02.js → reference-n3j9v3wj.js} +14 -14
  197. package/dist/chunks/{instruction-discovery-k57zg0v1.js → reference-n9kfxdp9.js} +20 -20
  198. package/dist/chunks/{instruction-discovery-86bba7p5.js → reference-ngbzmknx.js} +9 -9
  199. package/dist/chunks/{instruction-discovery-kbnbj767.js → reference-np6nr2kx.js} +20 -20
  200. package/dist/chunks/{instruction-discovery-cf9ytn19.js → reference-nscc21qe.js} +22 -22
  201. package/dist/chunks/{instruction-discovery-hwt60xw2.js → reference-paqwx8q6.js} +16 -16
  202. package/dist/chunks/{instruction-discovery-frcg5mp6.js → reference-pck83k06.js} +21 -21
  203. package/dist/chunks/reference-pf31ssb9.js +18 -0
  204. package/dist/chunks/{instruction-discovery-kxw03s6f.js → reference-phdse2cz.js} +10 -10
  205. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{instruction-discovery-pknna89w.js → reference-pknna89w.js} +1 -1
  207. package/dist/chunks/{instruction-discovery-hr5bc81f.js → reference-pw9v3g6d.js} +8 -8
  208. package/dist/chunks/{instruction-discovery-ze1t0k39.js → reference-pxey72j3.js} +36 -36
  209. package/dist/chunks/{instruction-discovery-3r66stpx.js → reference-pyj25zwj.js} +3 -3
  210. package/dist/chunks/{instruction-discovery-2a57fqez.js → reference-q3bp0eqq.js} +28 -28
  211. package/dist/chunks/{instruction-discovery-cyfct4w8.js → reference-q4b4mt0k.js} +89 -89
  212. package/dist/chunks/{instruction-discovery-6128t9ck.js → reference-qb2p9zbg.js} +44 -44
  213. package/dist/chunks/{instruction-discovery-ery46gwm.js → reference-qcfhqezt.js} +15 -15
  214. package/dist/chunks/{instruction-discovery-7dqw4kz8.js → reference-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{instruction-discovery-22kdfrga.js → reference-qmdmhxrm.js} +10 -10
  216. package/dist/chunks/{instruction-discovery-kdx8jt08.js → reference-qn0j8a2m.js} +17 -17
  217. package/dist/chunks/{instruction-discovery-qsdy395h.js → reference-qsdy395h.js} +1 -1
  218. package/dist/chunks/{instruction-discovery-jrfr1c68.js → reference-qxvtm6f6.js} +21 -21
  219. package/dist/chunks/{instruction-discovery-5x736p1g.js → reference-r1nzxzk3.js} +11 -11
  220. package/dist/chunks/{instruction-discovery-pnbbez7v.js → reference-r45e0rbq.js} +20 -20
  221. package/dist/chunks/{instruction-discovery-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{instruction-discovery-nwqgzwhr.js → reference-s7932dae.js} +11 -11
  223. package/dist/chunks/{instruction-discovery-nng2ktcm.js → reference-s8610hey.js} +2 -2
  224. package/dist/chunks/{instruction-discovery-btr3megd.js → reference-ses91yzc.js} +8 -8
  225. package/dist/chunks/{instruction-discovery-2zr3ta4f.js → reference-sv2rsgqy.js} +25 -25
  226. package/dist/chunks/{instruction-discovery-mwben6dq.js → reference-sz9xv9xn.js} +30 -30
  227. package/dist/chunks/{instruction-discovery-m12n5y3f.js → reference-t1keb6et.js} +45 -45
  228. package/dist/chunks/{instruction-discovery-9t7c31ty.js → reference-t9cv2z2y.js} +14 -14
  229. package/dist/chunks/{instruction-discovery-bfs5k0e6.js → reference-t9yx3vxp.js} +20 -20
  230. package/dist/chunks/{instruction-discovery-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{instruction-discovery-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{instruction-discovery-tdstcens.js → reference-tdstcens.js} +1 -1
  233. package/dist/chunks/{instruction-discovery-ppxvzr57.js → reference-tjb59763.js} +43 -43
  234. package/dist/chunks/{instruction-discovery-4975qbqg.js → reference-tkr7t7pv.js} +11 -11
  235. package/dist/chunks/{instruction-discovery-0yt0caxe.js → reference-tm9580sr.js} +10 -10
  236. package/dist/chunks/{instruction-discovery-dxb4fe6m.js → reference-tt79120p.js} +17 -17
  237. package/dist/chunks/{instruction-discovery-xy09cv4h.js → reference-tvf9c7hb.js} +33 -33
  238. package/dist/chunks/{instruction-discovery-79xc4wqz.js → reference-tvk85ejt.js} +22 -22
  239. package/dist/chunks/{instruction-discovery-tvtrv512.js → reference-tvtrv512.js} +1 -1
  240. package/dist/chunks/{instruction-discovery-kqs3y8v2.js → reference-tzpv42kz.js} +8 -8
  241. package/dist/chunks/{instruction-discovery-7xme8kcs.js → reference-v1egv9yp.js} +30 -30
  242. package/dist/chunks/{instruction-discovery-veqvce7d.js → reference-veqvce7d.js} +1 -1
  243. package/dist/chunks/{instruction-discovery-va34hpv2.js → reference-vgj5jbet.js} +3 -3
  244. package/dist/chunks/{instruction-discovery-bct739vz.js → reference-vncycja5.js} +4 -4
  245. package/dist/chunks/{instruction-discovery-3snnmqxx.js → reference-vrke23k5.js} +65 -65
  246. package/dist/chunks/{instruction-discovery-rdmnr4g1.js → reference-vsa42d0b.js} +35 -35
  247. package/dist/chunks/{instruction-discovery-cyga4fvd.js → reference-vt1m752q.js} +15 -15
  248. package/dist/chunks/{instruction-discovery-y90pccxx.js → reference-vyn1hvw5.js} +20 -20
  249. package/dist/chunks/{instruction-discovery-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{instruction-discovery-rr0ej4qw.js → reference-w0ct177m.js} +43 -43
  252. package/dist/chunks/{instruction-discovery-srr58gm6.js → reference-w0y7f2dx.js} +5 -5
  253. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{instruction-discovery-r4xhx5yy.js → reference-w8bax687.js} +12 -12
  255. package/dist/chunks/{instruction-discovery-qyz68xr4.js → reference-wak1n191.js} +10 -10
  256. package/dist/chunks/{instruction-discovery-hz0q9sdq.js → reference-wb6eeyna.js} +8 -8
  257. package/dist/chunks/{instruction-discovery-psazpmmj.js → reference-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{instruction-discovery-wd87259q.js → reference-wd87259q.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-mzywpf3p.js → reference-wgtcm0m7.js} +4 -4
  260. package/dist/chunks/{instruction-discovery-g01nxz4d.js → reference-wsxhr7mz.js} +1 -1
  261. package/dist/chunks/{instruction-discovery-qqgfay4a.js → reference-wzw60d3c.js} +4 -4
  262. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{instruction-discovery-ytvsh58e.js → reference-x54c8ekp.js} +13 -13
  264. package/dist/chunks/{instruction-discovery-9fxqd1sf.js → reference-xe8wrm2v.js} +9 -9
  265. package/dist/chunks/{instruction-discovery-dmqcgk4z.js → reference-xkntkrq7.js} +5 -5
  266. package/dist/chunks/{instruction-discovery-xbgsntj0.js → reference-xtk3c0wk.js} +24 -24
  267. package/dist/chunks/{instruction-discovery-h6b02349.js → reference-xvp1j2dc.js} +5 -5
  268. package/dist/chunks/{instruction-discovery-8xgekn8b.js → reference-y1022pqf.js} +20 -20
  269. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{instruction-discovery-qrfkxqda.js → reference-y5jzt5h7.js} +2 -2
  271. package/dist/chunks/{instruction-discovery-dpkg50ah.js → reference-y71avatq.js} +4 -4
  272. package/dist/chunks/{instruction-discovery-a00me6k7.js → reference-ydqd2mjj.js} +11 -11
  273. package/dist/chunks/{instruction-discovery-f312cjwv.js → reference-yf019c59.js} +30 -30
  274. package/dist/chunks/{instruction-discovery-hw07rkan.js → reference-yfn15sv3.js} +4 -4
  275. package/dist/chunks/{instruction-discovery-ych4f45t.js → reference-ygwjbdqw.js} +17 -17
  276. package/dist/chunks/{instruction-discovery-6ax496g1.js → reference-yn5hrsx6.js} +51 -51
  277. package/dist/chunks/{instruction-discovery-r8xr0va3.js → reference-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{instruction-discovery-yrznvahk.js → reference-yrznvahk.js} +2 -2
  280. package/dist/chunks/{instruction-discovery-5g55xj2w.js → reference-yzmt9s1b.js} +19 -19
  281. package/dist/chunks/{instruction-discovery-bjtzbw4r.js → reference-z07pqspn.js} +3 -3
  282. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{instruction-discovery-32ymn5e1.js → reference-z3zp24an.js} +6 -6
  284. package/dist/chunks/{instruction-discovery-z63w68vq.js → reference-z63w68vq.js} +2 -2
  285. package/dist/chunks/{instruction-discovery-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{instruction-discovery-4k9r34b0.js → reference-zhjy7jmn.js} +4 -4
  287. package/dist/chunks/{instruction-discovery-6mmqkzfc.js → reference-zn9yn8hw.js} +55 -55
  288. package/dist/chunks/{instruction-discovery-hhz91wcw.js → reference-znpmv816.js} +6 -6
  289. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{instruction-discovery-gyzv7h5b.js → reference-zsc4zr95.js} +11 -11
  291. package/dist/chunks/{instruction-discovery-187m32rh.js → reference-zwtn2b75.js} +14 -14
  292. package/dist/chunks/{instruction-discovery-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  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 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  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 +123 -123
  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 +128 -128
  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 +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  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 +70 -70
  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 +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +99 -99
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  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 +99 -99
  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 +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +69 -69
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +103 -103
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  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 +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  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 +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  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 +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  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 +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  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/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +72 -72
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +155 -155
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +118 -118
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +121 -121
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +107 -107
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +87 -87
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/instruction-discovery-64egkh2c.js +0 -252
  701. package/dist/chunks/instruction-discovery-7fj5dwt0.js +0 -18
  702. package/dist/chunks/instruction-discovery-g49e3836.js +0 -507
  703. package/dist/chunks/instruction-discovery-gk619p5m.js +0 -26
  704. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-24dcb14g.js → reference-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-2710q6r3.js → reference-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-359p4xyc.js → reference-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-3asan66x.js → reference-3asan66x.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-53557ph1.js → reference-53557ph1.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-550bvhaj.js → reference-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-6prwharc.js → reference-6prwharc.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-7m9af43g.js → reference-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-822emrt2.js → reference-822emrt2.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-8n3pysct.js → reference-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-922hggd3.js → reference-922hggd3.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-af5trqkr.js → reference-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-afrmfg78.js → reference-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-d9fn303g.js → reference-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-dajrwvna.js → reference-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-dap0rakb.js → reference-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-df08tz66.js → reference-df08tz66.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-dy18nga0.js → reference-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-ec1grn59.js → reference-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-faypxj3z.js → reference-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-fd410y7t.js → reference-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-g86h250q.js → reference-g86h250q.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-gftt206x.js → reference-gftt206x.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-hk9envan.js → reference-hk9envan.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-mp448xyj.js → reference-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-njntx4h6.js → reference-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-q74kybfr.js → reference-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-w803qqfp.js → reference-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-wtztk69x.js → reference-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-x61499pn.js → reference-x61499pn.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-y44na4kk.js → reference-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-y8f7s663.js → reference-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-ym463w8f.js → reference-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{instruction-discovery-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID12,
2
+ ID9,
3
3
  mergeOverlay2
4
- } from "./instruction-discovery-f4161tt7.js";
4
+ } from "./reference-gsm9w5gv.js";
5
5
  import {
6
- ID11,
6
+ ID8,
7
7
  VariantID2,
8
- Info25,
8
+ Info21,
9
9
  compatibility2
10
- } from "./instruction-discovery-7xme8kcs.js";
10
+ } from "./reference-v1egv9yp.js";
11
11
  import {
12
12
  __export
13
- } from "./instruction-discovery-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID9.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID11.make(item.id);
78
+ const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID8.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info25.make({
98
- ...Info25.default(providerID, id),
97
+ return Info21.make({
98
+ ...Info21.default(providerID, id),
99
99
  id,
100
- modelID: ID11.make(remote.id),
100
+ modelID: ID8.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service12,
11
+ Service: () => Service8,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node14
13
+ node: () => node10
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 Service12 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service12, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service8, 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(Service12, 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 Service12.of({
66
+ return Service8.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(Service12, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service12, node14, exports_discovery };
155
+ export { Service8, node10, exports_discovery };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./instruction-discovery-550bvhaj.js";
3
+ } from "./reference-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./instruction-discovery-j5zkgpj8.js";
6
+ } from "./reference-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./instruction-discovery-3asan66x.js";
9
+ } from "./reference-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./instruction-discovery-sqbb0ctm.js";
12
+ } from "./reference-j34dxvpb.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service56
4
- } from "./instruction-discovery-rr0ej4qw.js";
5
- import {
6
3
  Service49
7
- } from "./instruction-discovery-r4xhx5yy.js";
4
+ } from "./reference-w0ct177m.js";
5
+ import {
6
+ Service58
7
+ } from "./reference-w8bax687.js";
8
8
  import {
9
9
  observe2
10
- } from "./instruction-discovery-qsdy395h.js";
10
+ } from "./reference-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./instruction-discovery-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin6
19
+ Plugin: () => Plugin34
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin6 = define({
23
+ var Plugin34 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service56;
27
- const output = yield* Service49;
26
+ const config = yield* Service49;
27
+ const output = yield* Service58;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin6 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin6, exports_tool_output };
41
+ export { Plugin34, exports_tool_output };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./instruction-discovery-5x736p1g.js";
3
+ } from "./reference-r1nzxzk3.js";
4
4
  import {
5
5
  call2
6
- } from "./instruction-discovery-56gdpj1q.js";
6
+ } from "./reference-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./instruction-discovery-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin35,
14
+ Plugin: () => Plugin6,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
16
  endpoint: () => endpoint3
17
17
  });
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin35 = define({
40
+ var Plugin6 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin35 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin35, exports_firecrawl };
80
+ export { endpoint3, Plugin6, exports_firecrawl };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./instruction-discovery-f29mbr7f.js";
4
+ } from "./reference-a81kfqvn.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./instruction-discovery-2a5m3afh.js";
3
+ } from "./reference-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./instruction-discovery-922hggd3.js";
6
+ } from "./reference-922hggd3.js";
7
7
  import {
8
- Service79
9
- } from "./instruction-discovery-hwt60xw2.js";
8
+ Service80
9
+ } from "./reference-paqwx8q6.js";
10
10
  import {
11
- Service50
12
- } from "./instruction-discovery-mfnm4q8d.js";
11
+ Service56
12
+ } from "./reference-jhrpy0h8.js";
13
13
  import {
14
- Service25
15
- } from "./instruction-discovery-187m32rh.js";
14
+ Service19
15
+ } from "./reference-zwtn2b75.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./instruction-discovery-a3t8nhns.js";
21
+ } from "./reference-akpmqyxp.js";
22
22
  import {
23
- Service68
24
- } from "./instruction-discovery-6mmqkzfc.js";
23
+ Service71
24
+ } from "./reference-zn9yn8hw.js";
25
25
  import {
26
- Service14
27
- } from "./instruction-discovery-9gjc8sm6.js";
26
+ Service16
27
+ } from "./reference-m165mn98.js";
28
28
  import {
29
29
  __export
30
- } from "./instruction-discovery-9rqn6x4v.js";
30
+ } from "./reference-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input12,
37
- Output: () => Output8,
38
- Plugin: () => Plugin32,
39
- name: () => name12,
40
- toModelContent: () => toModelContent6
36
+ Input: () => Input2,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin37,
39
+ name: () => name2,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name12 = "glob";
46
- var Input12 = Schema.Struct({
45
+ var name2 = "glob";
46
+ var Input2 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
59
- var toModelContent6 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry2);
59
+ var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin32 = {
66
+ var Plugin37 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service50;
70
- const ripgrep = yield* Service25;
71
- const location = yield* Service79;
72
- const access = yield* Service14;
73
- const permission = yield* Service68;
69
+ const environment = yield* Service56;
70
+ const ripgrep = yield* Service19;
71
+ const location = yield* Service80;
72
+ const access = yield* Service16;
73
+ const permission = yield* Service71;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name12,
75
+ name: name2,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input12,
79
- output: Output8,
78
+ input: Input2,
79
+ output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name12,
86
+ action: name2,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin32 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name12, Input12, Output8, toModelContent6, Plugin32, exports_glob };
128
+ export { name2, Input2, Output2, toModelContent2, Plugin37, exports_glob };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./instruction-discovery-aqr5jswe.js";
4
+ } from "./reference-7zeyjkbe.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./instruction-discovery-rdw6cm16.js";
8
+ } from "./reference-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./instruction-discovery-mpk0rfs5.js";
11
+ } from "./reference-addxnjmp.js";
12
12
  import {
13
- ID13,
14
- Service76,
15
- node80,
16
- Event17
17
- } from "./instruction-discovery-p25pce50.js";
13
+ ID10,
14
+ Service68,
15
+ node72,
16
+ Event15
17
+ } from "./reference-dqwatsve.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./instruction-discovery-hwt60xw2.js";
19
+ Service80,
20
+ node84
21
+ } from "./reference-paqwx8q6.js";
22
22
  import {
23
23
  __export
24
- } from "./instruction-discovery-9rqn6x4v.js";
24
+ } from "./reference-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event16,
41
- ID: () => ID12,
42
- Info: () => Info26,
40
+ Event: () => Event14,
41
+ ID: () => ID9,
42
+ Info: () => Info22,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request3,
46
- Service: () => Service75,
45
+ Request: () => Request2,
46
+ Service: () => Service66,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node79,
56
+ node: () => node69,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event16 } from "@opencode/schema/provider";
68
- var ID12 = Provider.ID;
67
+ import { Event as Event14 } from "@opencode/schema/provider";
68
+ var ID9 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request3 = Provider.Request;
209
+ var Request2 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info26 = Provider.Info;
213
+ var Info22 = Provider.Info;
214
214
 
215
- class Service75 extends Context.Service()("@opencode/Provider") {
215
+ class Service66 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service75, Effect.gen(function* () {
228
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
229
229
  const bus = yield* Service83;
230
- const integrations = yield* Service76;
231
- const location = yield* Service79;
230
+ const integrations = yield* Service68;
231
+ const location = yield* Service80;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info26.empty(id), models: new Map };
242
+ const added = { provider: Info22.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service75.of({
349
+ yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service66.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node83] });
359
+ var node69 = makeLocationNode({ service: Service66, layer, deps: [node87, node72, node84] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
625
625
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
626
626
  var decode = Schema2.decodeUnknownSync(Legacy);
627
627
 
628
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service75, node79, exports_provider3, Event16 };
628
+ export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info22, Service66, node69, exports_provider3, Event14 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service60,
9
+ Service: () => Service37,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service60 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service37 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service60, exports_runner };
18
+ export { DrainResult2, Service37, exports_runner };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service52
3
- } from "./instruction-discovery-f58gpcny.js";
2
+ Service46
3
+ } from "./reference-1nzh38e4.js";
4
4
  import {
5
- Service62
6
- } from "./instruction-discovery-bw9zjykr.js";
5
+ Service40
6
+ } from "./reference-3ppptnan.js";
7
7
  import {
8
8
  detect2
9
- } from "./instruction-discovery-3smtnn6g.js";
9
+ } from "./reference-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./instruction-discovery-7fj5dwt0.js";
12
+ } from "./reference-pf31ssb9.js";
13
13
  import {
14
- Service71
15
- } from "./instruction-discovery-qwjmgwmn.js";
14
+ Service75
15
+ } from "./reference-166kng33.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./instruction-discovery-32ymn5e1.js";
19
+ } from "./reference-z3zp24an.js";
20
20
  import {
21
21
  prepare3,
22
- Service46
23
- } from "./instruction-discovery-k5fc4sd6.js";
22
+ Service35
23
+ } from "./reference-796w904k.js";
24
24
  import {
25
25
  __export
26
- } from "./instruction-discovery-9rqn6x4v.js";
26
+ } from "./reference-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service62;
42
+ const instances = yield* Service40;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service71;
45
+ const hooks = yield* Service75;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service46;
64
+ const skillService = yield* Service35;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service52;
129
+ const image = yield* Service46;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));