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

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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{model-resolver-p44d8wdy.js → instruction-discovery-0f9afca0.js} +5 -5
  8. package/dist/chunks/{model-resolver-1ep2by6j.js → instruction-discovery-0fnrp01p.js} +32 -32
  9. package/dist/chunks/{model-resolver-g0s9wgrg.js → instruction-discovery-0jd5421x.js} +32 -32
  10. package/dist/chunks/{model-resolver-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{model-resolver-qfnwxhdd.js → instruction-discovery-0w8rebe2.js} +11 -11
  12. package/dist/chunks/{model-resolver-vqyyvx1k.js → instruction-discovery-0yt0caxe.js} +10 -10
  13. package/dist/chunks/{model-resolver-2veb1275.js → instruction-discovery-10bghtad.js} +36 -36
  14. package/dist/chunks/{model-resolver-g4x4az7d.js → instruction-discovery-151rgrdh.js} +3 -3
  15. package/dist/chunks/{model-resolver-jtdedrsn.js → instruction-discovery-187m32rh.js} +18 -18
  16. package/dist/chunks/{model-resolver-e08max4g.js → instruction-discovery-18szcvs2.js} +3 -3
  17. package/dist/chunks/{model-resolver-r88fpew6.js → instruction-discovery-1bvhx7th.js} +9 -9
  18. package/dist/chunks/{model-resolver-mrrz849e.js → instruction-discovery-1cge6xys.js} +13 -13
  19. package/dist/chunks/{model-resolver-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{model-resolver-04shvbr1.js → instruction-discovery-1gdh9z1g.js} +12 -12
  21. package/dist/chunks/{model-resolver-qb6wrr0k.js → instruction-discovery-1p5qk5ef.js} +38 -38
  22. package/dist/chunks/{model-resolver-86qzxe6p.js → instruction-discovery-1y283654.js} +4 -4
  23. package/dist/chunks/{model-resolver-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
  24. package/dist/chunks/{model-resolver-9pwyx6vy.js → instruction-discovery-22kdfrga.js} +10 -10
  25. package/dist/chunks/{model-resolver-cp5p8nw7.js → instruction-discovery-22yhfxxr.js} +23 -23
  26. package/dist/chunks/{model-resolver-4m9kpkhr.js → instruction-discovery-2a57fqez.js} +28 -28
  27. package/dist/chunks/{model-resolver-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{model-resolver-57ez7d0k.js → instruction-discovery-2fgn2we9.js} +9 -9
  29. package/dist/chunks/{model-resolver-kan6af9e.js → instruction-discovery-2rt4b4vk.js} +16 -16
  30. package/dist/chunks/{model-resolver-c48kjqxw.js → instruction-discovery-2zr3ta4f.js} +33 -33
  31. package/dist/chunks/{model-resolver-n3vygs5b.js → instruction-discovery-32ymn5e1.js} +6 -6
  32. package/dist/chunks/{model-resolver-gbzb20p6.js → instruction-discovery-34aseb2t.js} +11 -11
  33. package/dist/chunks/{model-resolver-f4bg3nw3.js → instruction-discovery-36s4nkqj.js} +88 -88
  34. package/dist/chunks/{model-resolver-ynz18txh.js → instruction-discovery-38dw6rw7.js} +9 -9
  35. package/dist/chunks/{model-resolver-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{model-resolver-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-resolver-dj1dwqym.js → instruction-discovery-3r66stpx.js} +3 -3
  38. package/dist/chunks/{model-resolver-8s79h2zs.js → instruction-discovery-3rxyecnx.js} +22 -22
  39. package/dist/chunks/{model-resolver-c75ppnt9.js → instruction-discovery-3sm268de.js} +25 -25
  40. package/dist/chunks/{model-resolver-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-resolver-ga76bh3d.js → instruction-discovery-3snnmqxx.js} +67 -67
  42. package/dist/chunks/{model-resolver-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{model-resolver-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{model-resolver-r1tct7zd.js → instruction-discovery-4975qbqg.js} +11 -11
  45. package/dist/chunks/{model-resolver-e23sc63z.js → instruction-discovery-4k9r34b0.js} +4 -4
  46. package/dist/chunks/{model-resolver-eq302p8g.js → instruction-discovery-4x987a9f.js} +15 -15
  47. package/dist/chunks/{model-resolver-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
  48. package/dist/chunks/{model-resolver-ckecvw8r.js → instruction-discovery-54tcyq79.js} +2 -2
  49. package/dist/chunks/{model-resolver-1ygqh575.js → instruction-discovery-56gdpj1q.js} +9 -9
  50. package/dist/chunks/{model-resolver-gv9h81mr.js → instruction-discovery-5cr7r7hg.js} +12 -12
  51. package/dist/chunks/{model-resolver-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
  52. package/dist/chunks/{model-resolver-p0h2zwcj.js → instruction-discovery-5g55xj2w.js} +16 -16
  53. package/dist/chunks/{model-resolver-30krspkn.js → instruction-discovery-5kvqrqtt.js} +4 -4
  54. package/dist/chunks/{model-resolver-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{model-resolver-8k0g7am2.js → instruction-discovery-5x736p1g.js} +10 -10
  56. package/dist/chunks/{model-resolver-qp883ga4.js → instruction-discovery-6128t9ck.js} +44 -44
  57. package/dist/chunks/instruction-discovery-64egkh2c.js +252 -0
  58. package/dist/chunks/{model-resolver-j2g46p4m.js → instruction-discovery-6619bm8v.js} +16 -16
  59. package/dist/chunks/{model-resolver-669tq793.js → instruction-discovery-669tq793.js} +1 -1
  60. package/dist/chunks/{model-resolver-3g9hx9d8.js → instruction-discovery-6ax496g1.js} +51 -51
  61. package/dist/chunks/{model-resolver-et0bpsn8.js → instruction-discovery-6mmqkzfc.js} +54 -54
  62. package/dist/chunks/{model-resolver-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{model-resolver-ep6z9mt6.js → instruction-discovery-6n88yxkj.js} +8 -8
  64. package/dist/chunks/{model-resolver-fwfvrmc2.js → instruction-discovery-6pjjjzvh.js} +4 -4
  65. package/dist/chunks/{model-resolver-ctwrx9qj.js → instruction-discovery-6y0jnxwh.js} +12 -12
  66. package/dist/chunks/{model-resolver-ftdzjz2b.js → instruction-discovery-6ymymyv8.js} +6 -6
  67. package/dist/chunks/{model-resolver-y5c83qxw.js → instruction-discovery-6z1zkmte.js} +5 -5
  68. package/dist/chunks/{model-resolver-zzd4ahet.js → instruction-discovery-79xc4wqz.js} +22 -22
  69. package/dist/chunks/{model-resolver-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{model-resolver-fcrkznn8.js → instruction-discovery-7dqw4kz8.js} +5 -5
  71. package/dist/chunks/instruction-discovery-7fj5dwt0.js +18 -0
  72. package/dist/chunks/{model-resolver-2aet7wja.js → instruction-discovery-7j2qha59.js} +8 -8
  73. package/dist/chunks/{model-resolver-awc5gjgd.js → instruction-discovery-7ntmn10c.js} +19 -19
  74. package/dist/chunks/{model-resolver-zfhy6jfb.js → instruction-discovery-7t71radz.js} +8 -8
  75. package/dist/chunks/{model-resolver-bf6sfhxg.js → instruction-discovery-7vf0xt57.js} +22 -22
  76. package/dist/chunks/{model-resolver-5cmxdwv8.js → instruction-discovery-7w99qc9d.js} +3 -3
  77. package/dist/chunks/{model-resolver-c0xnxeca.js → instruction-discovery-7xme8kcs.js} +30 -30
  78. package/dist/chunks/{model-resolver-84txncab.js → instruction-discovery-84txncab.js} +1 -1
  79. package/dist/chunks/{model-resolver-7zrz2ht7.js → instruction-discovery-86bba7p5.js} +9 -9
  80. package/dist/chunks/{model-resolver-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{model-resolver-fg989vxx.js → instruction-discovery-8m5hcdr3.js} +13 -13
  82. package/dist/chunks/{model-resolver-kg0ttabr.js → instruction-discovery-8xgekn8b.js} +20 -20
  83. package/dist/chunks/{model-resolver-z4fx9cvt.js → instruction-discovery-9fxqd1sf.js} +9 -9
  84. package/dist/chunks/{model-resolver-g8stq3ct.js → instruction-discovery-9gjc8sm6.js} +18 -18
  85. package/dist/chunks/{model-resolver-vxv26dz1.js → instruction-discovery-9mgdqk3f.js} +54 -54
  86. package/dist/chunks/{model-resolver-vynr67b8.js → instruction-discovery-9t7c31ty.js} +17 -17
  87. package/dist/chunks/{model-resolver-7zdrdht4.js → instruction-discovery-9vtsvkk2.js} +6 -6
  88. package/dist/chunks/{model-resolver-eqhdj52w.js → instruction-discovery-9wdq8f39.js} +17 -17
  89. package/dist/chunks/{model-resolver-v850jb5g.js → instruction-discovery-a00me6k7.js} +11 -11
  90. package/dist/chunks/{model-resolver-a2ew8a62.js → instruction-discovery-a2ew8a62.js} +1 -1
  91. package/dist/chunks/{model-resolver-7k895je9.js → instruction-discovery-a2nkfp8g.js} +25 -25
  92. package/dist/chunks/{model-resolver-5qkfabj9.js → instruction-discovery-a3t8nhns.js} +30 -30
  93. package/dist/chunks/{model-resolver-b23z4qnb.js → instruction-discovery-a8vp0knq.js} +7 -7
  94. package/dist/chunks/{model-resolver-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
  95. package/dist/chunks/{model-resolver-cpy6gm2a.js → instruction-discovery-ab9238g2.js} +4 -4
  96. package/dist/chunks/{model-resolver-vm8x5jsh.js → instruction-discovery-acnjys95.js} +20 -20
  97. package/dist/chunks/{model-resolver-0703wr40.js → instruction-discovery-aqr5jswe.js} +4 -4
  98. package/dist/chunks/{model-resolver-08yw13zg.js → instruction-discovery-armsaks0.js} +23 -23
  99. package/dist/chunks/{model-resolver-f1vyadhg.js → instruction-discovery-avae2qkj.js} +5 -5
  100. package/dist/chunks/{model-resolver-g87rxxst.js → instruction-discovery-b42kd364.js} +23 -23
  101. package/dist/chunks/{model-resolver-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{model-resolver-cqy5fkq0.js → instruction-discovery-bacyfq49.js} +32 -32
  103. package/dist/chunks/{model-resolver-dfe8djrf.js → instruction-discovery-bct739vz.js} +4 -4
  104. package/dist/chunks/{model-resolver-kdhg8fn5.js → instruction-discovery-bfp5tavp.js} +10 -10
  105. package/dist/chunks/{model-resolver-24bjdznb.js → instruction-discovery-bfs5k0e6.js} +25 -25
  106. package/dist/chunks/{model-resolver-31v28kev.js → instruction-discovery-bhq1jhw6.js} +5 -5
  107. package/dist/chunks/{model-resolver-z07pqspn.js → instruction-discovery-bjtzbw4r.js} +3 -3
  108. package/dist/chunks/{model-resolver-468xcx49.js → instruction-discovery-btr3megd.js} +8 -8
  109. package/dist/chunks/{model-resolver-0t1a536w.js → instruction-discovery-bvtmakpj.js} +10 -10
  110. package/dist/chunks/{model-resolver-3ppptnan.js → instruction-discovery-bw9zjykr.js} +6 -6
  111. package/dist/chunks/{model-resolver-gp4df2gz.js → instruction-discovery-cbzddc70.js} +5 -5
  112. package/dist/chunks/{model-resolver-4g0mdtwh.js → instruction-discovery-cd1294k6.js} +14 -14
  113. package/dist/chunks/{model-resolver-00bdd51n.js → instruction-discovery-cdk3gs1h.js} +10 -10
  114. package/dist/chunks/{model-resolver-hkw89x8s.js → instruction-discovery-cf8tr9ph.js} +6 -6
  115. package/dist/chunks/{model-resolver-1jtc7t2n.js → instruction-discovery-cf9ytn19.js} +22 -22
  116. package/dist/chunks/{model-resolver-bzx9a2az.js → instruction-discovery-cj1he048.js} +24 -24
  117. package/dist/chunks/{model-resolver-28fee37h.js → instruction-discovery-cv5gvdp9.js} +29 -29
  118. package/dist/chunks/{model-resolver-j47s30d1.js → instruction-discovery-cvbv1j0h.js} +5 -5
  119. package/dist/chunks/{model-resolver-54gavh75.js → instruction-discovery-cyfct4w8.js} +88 -88
  120. package/dist/chunks/{model-resolver-85ja8bjp.js → instruction-discovery-cyga4fvd.js} +20 -20
  121. package/dist/chunks/{model-resolver-r2m716tb.js → instruction-discovery-d4he2qe1.js} +9 -9
  122. package/dist/chunks/{model-resolver-dmqcgk4z.js → instruction-discovery-dmqcgk4z.js} +2 -2
  123. package/dist/chunks/{model-resolver-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
  124. package/dist/chunks/{model-resolver-x7pmfb8f.js → instruction-discovery-drbbyxqc.js} +32 -32
  125. package/dist/chunks/{model-resolver-w8s93tvm.js → instruction-discovery-dxb4fe6m.js} +15 -15
  126. package/dist/chunks/{model-resolver-zmqb8676.js → instruction-discovery-dymd75nb.js} +5 -5
  127. package/dist/chunks/{model-resolver-d4wmmjrt.js → instruction-discovery-e3y7q9w0.js} +16 -16
  128. package/dist/chunks/{model-resolver-xt9rxswa.js → instruction-discovery-e7dwzs0g.js} +4 -4
  129. package/dist/chunks/{model-resolver-ecfe7b91.js → instruction-discovery-ecfe7b91.js} +2 -2
  130. package/dist/chunks/{model-resolver-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{model-resolver-7f1fjr73.js → instruction-discovery-eht2pxda.js} +34 -34
  132. package/dist/chunks/{model-resolver-28rwb4xv.js → instruction-discovery-ery46gwm.js} +15 -15
  133. package/dist/chunks/{model-resolver-29qym6xz.js → instruction-discovery-espax8zg.js} +4 -4
  134. package/dist/chunks/{model-resolver-gd38j8rb.js → instruction-discovery-estn5yqz.js} +180 -180
  135. package/dist/chunks/{model-resolver-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{model-resolver-23ypespv.js → instruction-discovery-ezpw8a83.js} +13 -13
  137. package/dist/chunks/{model-resolver-s30fyz93.js → instruction-discovery-f29mbr7f.js} +4 -4
  138. package/dist/chunks/{model-resolver-my6ay15n.js → instruction-discovery-f312cjwv.js} +21 -21
  139. package/dist/chunks/{model-resolver-6rq2rdm3.js → instruction-discovery-f38y7jqd.js} +36 -36
  140. package/dist/chunks/{model-resolver-r938b5ge.js → instruction-discovery-f4161tt7.js} +32 -32
  141. package/dist/chunks/{model-resolver-2kewd2va.js → instruction-discovery-f58gpcny.js} +9 -9
  142. package/dist/chunks/{model-resolver-2e7f4xd3.js → instruction-discovery-fr5dej3b.js} +25 -25
  143. package/dist/chunks/{model-resolver-655b29a3.js → instruction-discovery-frcg5mp6.js} +21 -21
  144. package/dist/chunks/{model-resolver-m1t05dsh.js → instruction-discovery-fsz30s44.js} +1 -1
  145. package/dist/chunks/{model-resolver-6hjx5zpb.js → instruction-discovery-fwwk8vbp.js} +9 -9
  146. package/dist/chunks/{model-resolver-m101sbdj.js → instruction-discovery-fyhkcpzz.js} +9 -9
  147. package/dist/chunks/{model-resolver-aads351p.js → instruction-discovery-g01nxz4d.js} +1 -1
  148. package/dist/chunks/{model-resolver-6rq91kkb.js → instruction-discovery-g0k6w0zm.js} +22 -22
  149. package/dist/chunks/instruction-discovery-g49e3836.js +507 -0
  150. package/dist/chunks/{model-resolver-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{model-resolver-94ek1h2f.js → instruction-discovery-gfvb90ym.js} +2 -2
  152. package/dist/chunks/instruction-discovery-gk619p5m.js +26 -0
  153. package/dist/chunks/{model-resolver-9n3n2vac.js → instruction-discovery-gpmqmegr.js} +20 -20
  154. package/dist/chunks/{model-resolver-b9e5m5kw.js → instruction-discovery-grrqevyk.js} +16 -16
  155. package/dist/chunks/{model-resolver-k7tpzzsk.js → instruction-discovery-gthj2xdw.js} +22 -22
  156. package/dist/chunks/{model-resolver-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{model-resolver-fdvr1ndy.js → instruction-discovery-gyzv7h5b.js} +9 -9
  158. package/dist/chunks/{model-resolver-7z7t5xg0.js → instruction-discovery-h52c3x43.js} +8 -8
  159. package/dist/chunks/{model-resolver-g5agzp2h.js → instruction-discovery-h6b02349.js} +5 -5
  160. package/dist/chunks/{model-resolver-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{model-resolver-d3qasn01.js → instruction-discovery-hhz91wcw.js} +6 -6
  162. package/dist/chunks/{model-resolver-vkt5fbj2.js → instruction-discovery-hr5bc81f.js} +8 -8
  163. package/dist/chunks/{model-resolver-wgvqggrf.js → instruction-discovery-hw07rkan.js} +4 -4
  164. package/dist/chunks/{model-resolver-774mep86.js → instruction-discovery-hwt60xw2.js} +16 -16
  165. package/dist/chunks/{model-resolver-b00xvs8t.js → instruction-discovery-hz0q9sdq.js} +8 -8
  166. package/dist/chunks/{model-resolver-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
  167. package/dist/chunks/{model-resolver-gmjq4p6e.js → instruction-discovery-jf9anmv7.js} +12 -12
  168. package/dist/chunks/{model-resolver-prn2zde5.js → instruction-discovery-jfetez9m.js} +21 -21
  169. package/dist/chunks/{model-resolver-9q2chv03.js → instruction-discovery-jg0vs890.js} +5 -5
  170. package/dist/chunks/{model-resolver-59ps16wq.js → instruction-discovery-jmz48h02.js} +14 -14
  171. package/dist/chunks/{model-resolver-zw9m0b6f.js → instruction-discovery-jrfr1c68.js} +18 -18
  172. package/dist/chunks/{model-resolver-magykp64.js → instruction-discovery-k2h4r4s0.js} +4 -4
  173. package/dist/chunks/{model-resolver-k3c624dm.js → instruction-discovery-k3c624dm.js} +3 -3
  174. package/dist/chunks/{model-resolver-57p4zcxx.js → instruction-discovery-k57zg0v1.js} +18 -18
  175. package/dist/chunks/{model-resolver-x9vnjyzm.js → instruction-discovery-k5fc4sd6.js} +22 -22
  176. package/dist/chunks/{model-resolver-7nnscm86.js → instruction-discovery-kbnbj767.js} +23 -23
  177. package/dist/chunks/{model-resolver-rwectdn3.js → instruction-discovery-kdx8jt08.js} +17 -17
  178. package/dist/chunks/{model-resolver-4dcsf2r8.js → instruction-discovery-kqs3y8v2.js} +8 -8
  179. package/dist/chunks/{model-resolver-qsf3p1yr.js → instruction-discovery-kxw03s6f.js} +10 -10
  180. package/dist/chunks/{model-resolver-0np6v5dx.js → instruction-discovery-m12n5y3f.js} +45 -45
  181. package/dist/chunks/{model-resolver-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{model-resolver-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{model-resolver-cepnprts.js → instruction-discovery-mfnm4q8d.js} +24 -24
  184. package/dist/chunks/{model-resolver-y6bex35g.js → instruction-discovery-mpk0rfs5.js} +4 -4
  185. package/dist/chunks/{model-resolver-8dhmwpck.js → instruction-discovery-mw6tp84c.js} +11 -11
  186. package/dist/chunks/{model-resolver-ghdxkhwt.js → instruction-discovery-mwben6dq.js} +30 -30
  187. package/dist/chunks/{model-resolver-pgfqyy1c.js → instruction-discovery-myy2c2wb.js} +18 -18
  188. package/dist/chunks/{model-resolver-wq4mmp7m.js → instruction-discovery-mzywpf3p.js} +4 -4
  189. package/dist/chunks/{model-resolver-6pjg54et.js → instruction-discovery-ndbev1fk.js} +18 -18
  190. package/dist/chunks/{model-resolver-vmgq4x8b.js → instruction-discovery-nng2ktcm.js} +2 -2
  191. package/dist/chunks/{model-resolver-j3s2z371.js → instruction-discovery-nq7qbqzc.js} +9 -9
  192. package/dist/chunks/{model-resolver-1gtysh3b.js → instruction-discovery-ns0djxc8.js} +11 -11
  193. package/dist/chunks/{model-resolver-ef43s285.js → instruction-discovery-nw1axpkg.js} +34 -34
  194. package/dist/chunks/{model-resolver-q0gq5wzg.js → instruction-discovery-nwqgzwhr.js} +11 -11
  195. package/dist/chunks/{model-resolver-m6cmkatr.js → instruction-discovery-nysmp4a2.js} +41 -41
  196. package/dist/chunks/{model-resolver-4ff0zxak.js → instruction-discovery-p25pce50.js} +30 -30
  197. package/dist/chunks/{model-resolver-9hn6k4tm.js → instruction-discovery-pa8pe2x7.js} +8 -8
  198. package/dist/chunks/{model-resolver-y64m485r.js → instruction-discovery-pgxbze3j.js} +39 -39
  199. package/dist/chunks/{model-resolver-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{model-resolver-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  201. package/dist/chunks/{model-resolver-sg94zqbj.js → instruction-discovery-pnbbez7v.js} +20 -20
  202. package/dist/chunks/{model-resolver-fvhcjjbk.js → instruction-discovery-pp173efe.js} +11 -11
  203. package/dist/chunks/{model-resolver-j5qm3aa4.js → instruction-discovery-ppxvzr57.js} +43 -43
  204. package/dist/chunks/{model-resolver-wd3x2cqz.js → instruction-discovery-psazpmmj.js} +2 -2
  205. package/dist/chunks/{model-resolver-fc1e038s.js → instruction-discovery-pse00pgs.js} +13 -13
  206. package/dist/chunks/{model-resolver-6pc27hjz.js → instruction-discovery-py3kkmfq.js} +6 -6
  207. package/dist/chunks/{model-resolver-m5389yyj.js → instruction-discovery-q0d7s5js.js} +5 -5
  208. package/dist/chunks/{model-resolver-7fpqa9rm.js → instruction-discovery-q3hw20gb.js} +13 -13
  209. package/dist/chunks/{model-resolver-8w6zmm29.js → instruction-discovery-q4ha1nt6.js} +8 -8
  210. package/dist/chunks/{model-resolver-166cxnzt.js → instruction-discovery-q9hsaf9y.js} +28 -28
  211. package/dist/chunks/{model-resolver-hqmtd9gn.js → instruction-discovery-qecqrgvf.js} +20 -20
  212. package/dist/chunks/{model-resolver-wdyvcfat.js → instruction-discovery-qfcm5wty.js} +30 -30
  213. package/dist/chunks/{model-resolver-gbs6jbhw.js → instruction-discovery-qqgfay4a.js} +6 -6
  214. package/dist/chunks/{model-resolver-v5g0yskm.js → instruction-discovery-qrfkxqda.js} +2 -2
  215. package/dist/chunks/{model-resolver-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
  216. package/dist/chunks/{model-resolver-tx9w5tca.js → instruction-discovery-qwjmgwmn.js} +8 -8
  217. package/dist/chunks/{model-resolver-wcjgahxv.js → instruction-discovery-qyz68xr4.js} +8 -8
  218. package/dist/chunks/{model-resolver-df54n7py.js → instruction-discovery-r4xhx5yy.js} +12 -12
  219. package/dist/chunks/{model-resolver-1bbkgx8g.js → instruction-discovery-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{model-resolver-f2n192rq.js → instruction-discovery-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{model-resolver-6pzm3pmc.js → instruction-discovery-rcc95wnw.js} +15 -15
  222. package/dist/chunks/{model-resolver-sx2mqjyc.js → instruction-discovery-rdmnr4g1.js} +32 -32
  223. package/dist/chunks/{model-resolver-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{model-resolver-0bfcnrg1.js → instruction-discovery-rk1r2hx8.js} +1 -1
  225. package/dist/chunks/{model-resolver-cp17smcp.js → instruction-discovery-rr0ej4qw.js} +35 -35
  226. package/dist/chunks/{model-resolver-4mwtbdcy.js → instruction-discovery-rr7h7dn4.js} +23 -23
  227. package/dist/chunks/{model-resolver-5ghb1wcz.js → instruction-discovery-rrkyb7d2.js} +15 -15
  228. package/dist/chunks/{model-resolver-v9k22ypw.js → instruction-discovery-s7b01nm3.js} +7 -7
  229. package/dist/chunks/{model-resolver-eaj1djv9.js → instruction-discovery-s8d7rejh.js} +6 -6
  230. package/dist/chunks/{model-resolver-c1jg21sb.js → instruction-discovery-sppx2cm3.js} +15 -15
  231. package/dist/chunks/{model-resolver-2hg7qvzt.js → instruction-discovery-sqbb0ctm.js} +5 -5
  232. package/dist/chunks/{model-resolver-yv77sh0a.js → instruction-discovery-srr58gm6.js} +5 -5
  233. package/dist/chunks/{model-resolver-bzpc8ntm.js → instruction-discovery-ss2kacyw.js} +17 -17
  234. package/dist/chunks/{model-resolver-qskvc41q.js → instruction-discovery-t8bsretr.js} +10 -10
  235. package/dist/chunks/{model-resolver-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{model-resolver-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{model-resolver-0c6c0zmn.js → instruction-discovery-tdm1h4wf.js} +16 -16
  238. package/dist/chunks/{model-resolver-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
  239. package/dist/chunks/{model-resolver-nz2kpe5e.js → instruction-discovery-tfgcfrdz.js} +26 -26
  240. package/dist/chunks/{model-resolver-3w2b2yj4.js → instruction-discovery-tn0aqsam.js} +5 -5
  241. package/dist/chunks/{model-resolver-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
  242. package/dist/chunks/{model-resolver-x2y5scjf.js → instruction-discovery-v5kct8vj.js} +15 -15
  243. package/dist/chunks/{model-resolver-qe3aawgt.js → instruction-discovery-va34hpv2.js} +3 -3
  244. package/dist/chunks/{model-resolver-bw2q4erb.js → instruction-discovery-vb79pq1b.js} +37 -37
  245. package/dist/chunks/{model-resolver-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  246. package/dist/chunks/{model-resolver-66gm3q6y.js → instruction-discovery-ver2fgbz.js} +4 -4
  247. package/dist/chunks/{model-resolver-cm63mksd.js → instruction-discovery-vg5xy7fh.js} +9 -9
  248. package/dist/chunks/{model-resolver-1tw0n30a.js → instruction-discovery-vp7acvqa.js} +17 -17
  249. package/dist/chunks/{model-resolver-ahwzhwa3.js → instruction-discovery-vtdeafhw.js} +5 -5
  250. package/dist/chunks/{model-resolver-2y34zzjz.js → instruction-discovery-vyqn3nqs.js} +4 -4
  251. package/dist/chunks/{model-resolver-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{model-resolver-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{model-resolver-kf4rtjcm.js → instruction-discovery-w2kn7s6g.js} +11 -11
  254. package/dist/chunks/{model-resolver-qy439gdh.js → instruction-discovery-w3seyqvg.js} +23 -23
  255. package/dist/chunks/{model-resolver-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{model-resolver-1mjwcf4w.js → instruction-discovery-wargq46t.js} +8 -8
  257. package/dist/chunks/{model-resolver-yjptyezs.js → instruction-discovery-wbkyxrgf.js} +5 -5
  258. package/dist/chunks/{model-resolver-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  259. package/dist/chunks/{model-resolver-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{model-resolver-dcgx96r3.js → instruction-discovery-x4ewwgt8.js} +23 -23
  261. package/dist/chunks/{model-resolver-gdj9fwxj.js → instruction-discovery-xbgsntj0.js} +18 -18
  262. package/dist/chunks/{model-resolver-drwq78ky.js → instruction-discovery-xfkkasph.js} +4 -4
  263. package/dist/chunks/{model-resolver-hy7m1jes.js → instruction-discovery-xfyk0vde.js} +15 -15
  264. package/dist/chunks/{model-resolver-35me4pqp.js → instruction-discovery-xhbqa4nv.js} +45 -45
  265. package/dist/chunks/{model-resolver-x9zyqvt6.js → instruction-discovery-xje8bwn9.js} +24 -24
  266. package/dist/chunks/{model-resolver-dxmvrbpm.js → instruction-discovery-xst8czg1.js} +29 -29
  267. package/dist/chunks/{model-resolver-gnnmkja3.js → instruction-discovery-xy09cv4h.js} +33 -33
  268. package/dist/chunks/{model-resolver-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{model-resolver-r475mjjc.js → instruction-discovery-y90pccxx.js} +20 -20
  270. package/dist/chunks/{model-resolver-kd9s81d6.js → instruction-discovery-ych4f45t.js} +12 -12
  271. package/dist/chunks/{model-resolver-0ehkc6b3.js → instruction-discovery-yfnmz5ms.js} +7 -7
  272. package/dist/chunks/{model-resolver-2zf1ybhy.js → instruction-discovery-yk46zzns.js} +3 -3
  273. package/dist/chunks/{model-resolver-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{model-resolver-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
  275. package/dist/chunks/{model-resolver-m3ma28tp.js → instruction-discovery-ys989rq2.js} +48 -48
  276. package/dist/chunks/{model-resolver-4n607a2z.js → instruction-discovery-yt3hy1g9.js} +5 -5
  277. package/dist/chunks/{model-resolver-beb0xpyw.js → instruction-discovery-ytvsh58e.js} +13 -13
  278. package/dist/chunks/{model-resolver-5dzgzdgv.js → instruction-discovery-ywfr5f7y.js} +27 -27
  279. package/dist/chunks/{model-resolver-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{model-resolver-tm4vaxsf.js → instruction-discovery-z1axqdyk.js} +15 -15
  281. package/dist/chunks/{model-resolver-h46w06ap.js → instruction-discovery-z1d7ddxf.js} +6 -6
  282. package/dist/chunks/{model-resolver-f5snpwwp.js → instruction-discovery-z2ay98k6.js} +8 -8
  283. package/dist/chunks/{model-resolver-50p21jsy.js → instruction-discovery-z5bzs6kf.js} +8 -8
  284. package/dist/chunks/{model-resolver-gse0ck6f.js → instruction-discovery-z5extsze.js} +3 -3
  285. package/dist/chunks/{model-resolver-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
  286. package/dist/chunks/{model-resolver-7vckzw94.js → instruction-discovery-z9ntxpz7.js} +9 -9
  287. package/dist/chunks/{model-resolver-5gb54438.js → instruction-discovery-zckc2zz5.js} +11 -11
  288. package/dist/chunks/{model-resolver-159a3x2j.js → instruction-discovery-ze1t0k39.js} +36 -36
  289. package/dist/chunks/{model-resolver-gst7axd9.js → instruction-discovery-zee1rnkq.js} +4 -4
  290. package/dist/chunks/{model-resolver-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
  291. package/dist/chunks/{model-resolver-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{model-resolver-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +3 -3
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +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 +124 -124
  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 +124 -124
  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 +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +9 -9
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  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 +3 -3
  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 +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  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 +80 -80
  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 +88 -88
  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 +7 -7
  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 +74 -74
  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 +354 -354
  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 +8 -8
  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 +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  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 +87 -87
  571. package/dist/repository-cache.js +79 -79
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  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 +131 -131
  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 +2 -2
  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 +126 -126
  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 +85 -85
  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 +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +221 -221
  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 +105 -105
  634. package/dist/skill.js +110 -110
  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 +128 -128
  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 +122 -122
  643. package/dist/tool/plugin/grep.js +122 -122
  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 +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +108 -108
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +98 -98
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  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 +1 -1
  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 +3 -3
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  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 +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +75 -75
  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/model-resolver-ap5sg23v.js +0 -252
  701. package/dist/chunks/model-resolver-phz3h32g.js +0 -18
  702. package/dist/chunks/model-resolver-qpym6rz7.js +0 -507
  703. package/dist/chunks/model-resolver-sfae06wy.js +0 -26
  704. /package/dist/chunks/{model-resolver-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{model-resolver-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{model-resolver-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{model-resolver-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{model-resolver-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{model-resolver-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{model-resolver-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{model-resolver-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{model-resolver-34c7v6d4.js → instruction-discovery-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{model-resolver-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{model-resolver-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{model-resolver-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{model-resolver-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{model-resolver-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{model-resolver-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  724. /package/dist/chunks/{model-resolver-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{model-resolver-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{model-resolver-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  727. /package/dist/chunks/{model-resolver-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{model-resolver-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{model-resolver-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  730. /package/dist/chunks/{model-resolver-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{model-resolver-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{model-resolver-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
  734. /package/dist/chunks/{model-resolver-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{model-resolver-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{model-resolver-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{model-resolver-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{model-resolver-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{model-resolver-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{model-resolver-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{model-resolver-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{model-resolver-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{model-resolver-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{model-resolver-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{model-resolver-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{model-resolver-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{model-resolver-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{model-resolver-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{model-resolver-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  750. /package/dist/chunks/{model-resolver-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{model-resolver-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{model-resolver-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{model-resolver-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{model-resolver-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{model-resolver-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{model-resolver-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{model-resolver-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{model-resolver-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{model-resolver-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{model-resolver-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{model-resolver-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{model-resolver-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  763. /package/dist/chunks/{model-resolver-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{model-resolver-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  765. /package/dist/chunks/{model-resolver-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{model-resolver-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  767. /package/dist/chunks/{model-resolver-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{model-resolver-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{model-resolver-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{model-resolver-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{model-resolver-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{model-resolver-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{model-resolver-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{model-resolver-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{model-resolver-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{model-resolver-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{model-resolver-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{model-resolver-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{model-resolver-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{model-resolver-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{model-resolver-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{model-resolver-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{model-resolver-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{model-resolver-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{model-resolver-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{model-resolver-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{model-resolver-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{model-resolver-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  795. /package/dist/chunks/{model-resolver-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{model-resolver-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{model-resolver-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{model-resolver-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{model-resolver-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{model-resolver-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./instruction-discovery-922hggd3.js";
4
4
  import {
5
- node86
6
- } from "./model-resolver-gmjq4p6e.js";
5
+ node85
6
+ } from "./instruction-discovery-jf9anmv7.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./model-resolver-774mep86.js";
8
+ Service79,
9
+ node83
10
+ } from "./instruction-discovery-hwt60xw2.js";
11
11
  import {
12
12
  create3
13
- } from "./model-resolver-rdw6cm16.js";
13
+ } from "./instruction-discovery-rdw6cm16.js";
14
14
  import {
15
- make20
16
- } from "./model-resolver-1mjwcf4w.js";
15
+ make12
16
+ } from "./instruction-discovery-wargq46t.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./instruction-discovery-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service64,
24
+ Service: () => Service24,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node68
26
+ node: () => node27
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service64 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service64, Effect.gen(function* () {
37
- const location = yield* Service80;
36
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
37
+ const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make20;
39
+ const git = yield* make12;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service64.of({ ...state, directory: location.directory });
58
+ return Service24.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node68 = makeLocationNode({
61
- service: Service64,
60
+ var node27 = makeLocationNode({
61
+ service: Service24,
62
62
  layer,
63
- deps: [node84, Global.node, node86, FSUtil.node]
63
+ deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service64, node68, exports_strategies };
66
+ export { Service24, node27, exports_strategies };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./model-resolver-aads351p.js";
5
+ } from "./instruction-discovery-g01nxz4d.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./model-resolver-hkw89x8s.js";
11
+ } from "./instruction-discovery-cf8tr9ph.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./instruction-discovery-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83
3
- } from "./model-resolver-0703wr40.js";
3
+ } from "./instruction-discovery-aqr5jswe.js";
4
4
  import {
5
- Service80
6
- } from "./model-resolver-774mep86.js";
5
+ Service79
6
+ } from "./instruction-discovery-hwt60xw2.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service21
10
- } from "./model-resolver-3g9hx9d8.js";
9
+ Service42
10
+ } from "./instruction-discovery-6ax496g1.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./instruction-discovery-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin16
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin40
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin16 = define({
196
+ var Plugin40 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service80;
200
- const mcp = yield* Service21;
199
+ const location = yield* Service79;
200
+ const mcp = yield* Service42;
201
201
  const bus = yield* Service83;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin16, exports_command };
283
+ export { Plugin40, exports_command2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-rdw6cm16.js";
3
+ } from "./instruction-discovery-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./model-resolver-qaymkmh1.js";
6
+ } from "./instruction-discovery-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./instruction-discovery-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: () => Service57,
14
+ Options: () => Options6,
15
+ Service: () => Service51,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured8,
18
+ configured: () => configured6,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node60,
24
+ node: () => node54,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -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 Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service57 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service51 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(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(Service57, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service51, 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(Service57, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service57.of({
202
+ return Service51.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list4(options, global.bin))
206
+ list: () => Effect.promise(() => list3(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured8(options) {
210
- return makeLocationNode({ service: Service57, layer: layer(options), deps: [Global.node] });
209
+ function configured6(options) {
210
+ return makeLocationNode({ service: Service51, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node60 = configured8();
212
+ var node54 = configured6();
213
213
 
214
- export { Options7, Service57, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node60, exports_select };
214
+ export { Options6, Service51, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured6, node54, exports_select };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info15,
10
+ Info: () => Info20,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info15 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info20 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info15, exports_permission };
41
+ export { Action2, Object2, Rule2, Info20, exports_permission };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./model-resolver-3w5fmr99.js";
4
+ } from "./instruction-discovery-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./model-resolver-m3fdjcah.js";
8
+ } from "./instruction-discovery-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./model-resolver-9rqn6x4v.js";
11
+ } from "./instruction-discovery-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service53,
3
- node55
4
- } from "./model-resolver-vm8x5jsh.js";
2
+ Service54,
3
+ node59
4
+ } from "./instruction-discovery-acnjys95.js";
5
5
  import {
6
- Key4,
6
+ Key3,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./model-resolver-eaj1djv9.js";
10
+ } from "./instruction-discovery-s8d7rejh.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./instruction-discovery-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service27,
20
- node: () => node30
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service34,
20
+ node: () => node37
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service34 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service27, Effect.gen(function* () {
63
- const references = yield* Service53;
64
- return Service27.of({
62
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
63
+ const references = yield* Service54;
64
+ return Service34.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
71
  return make21({
72
- key: Key4.make("core/reference-guidance"),
72
+ key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node30 = makeLocationNode({ service: Service27, layer, deps: [node55] });
84
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [node59] });
85
85
 
86
- export { Service27, node30, exports_instructions5 };
86
+ export { Service34, node37, exports_instructions3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-0703wr40.js";
4
+ } from "./instruction-discovery-aqr5jswe.js";
5
5
  import {
6
6
  create3
7
- } from "./model-resolver-rdw6cm16.js";
7
+ } from "./instruction-discovery-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./model-resolver-et0bpsn8.js";
10
+ } from "./instruction-discovery-6mmqkzfc.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./instruction-discovery-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event5,
21
- ID: () => ID4,
22
- Info: () => Info6,
20
+ Event: () => Event9,
21
+ ID: () => ID5,
22
+ Info: () => Info8,
23
23
  Name: () => Name2,
24
- Service: () => Service33,
24
+ Service: () => Service46,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node36,
29
+ node: () => node49,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event5 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source3 = Skill.Source;
42
- var Info6 = Skill.Info;
43
- var ID4 = Skill.ID;
42
+ var Info8 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service33 extends Context.Service()("@opencode/Skill") {
74
+ class Service46 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service33, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
77
77
  const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service33.of({
100
+ return Service46.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node36 = makeLocationNode({
112
- service: Service33,
111
+ var node49 = makeLocationNode({
112
+ service: Service46,
113
113
  layer,
114
114
  deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service33, node36, exports_skill5, Event5 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service46, node49, exports_skill5, Event9 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service75
3
- } from "./model-resolver-et0bpsn8.js";
2
+ Service68
3
+ } from "./instruction-discovery-6mmqkzfc.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./model-resolver-4vcrnpx2.js";
7
+ } from "./instruction-discovery-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./model-resolver-3v8g72cx.js";
10
+ } from "./instruction-discovery-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./instruction-discovery-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: () => Input3,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input5,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin38,
22
+ Plugin: () => Plugin25,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name3
27
+ name: () => name5
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/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name3 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name5 = "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 description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `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 Input3 = Schema.Struct({
41
+ var Input5 = 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 Input3 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input3.fields.format,
51
+ format: Input5.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 Plugin38 = {
95
+ var Plugin25 = {
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* Service75;
99
+ const permission = yield* Service68;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name3,
101
+ name: name5,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input3,
103
+ description: description4,
104
+ input: Input5,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin38 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name3,
112
+ action: name5,
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 { name3, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin38, extractTextFromHTML2, exports_webfetch };
170
+ export { name5, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input5, Plugin25, extractTextFromHTML2, exports_webfetch };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83
3
- } from "./model-resolver-0703wr40.js";
3
+ } from "./instruction-discovery-aqr5jswe.js";
4
4
  import {
5
5
  key2
6
- } from "./model-resolver-y6bex35g.js";
6
+ } from "./instruction-discovery-mpk0rfs5.js";
7
7
  import {
8
- Event17
9
- } from "./model-resolver-ghdxkhwt.js";
8
+ Event18
9
+ } from "./instruction-discovery-mwben6dq.js";
10
10
  import {
11
- ID10
12
- } from "./model-resolver-4ff0zxak.js";
11
+ ID13
12
+ } from "./instruction-discovery-p25pce50.js";
13
13
  import {
14
- ID9,
15
- Service70
16
- } from "./model-resolver-r938b5ge.js";
14
+ ID12,
15
+ Service75
16
+ } from "./instruction-discovery-f4161tt7.js";
17
17
  import {
18
- load2,
19
- derive2
20
- } from "./model-resolver-08yw13zg.js";
18
+ load3,
19
+ derive3
20
+ } from "./instruction-discovery-armsaks0.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID9.make("modal");
25
+ var providerID = ID12.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service70;
29
+ const providers = yield* Service75;
30
30
  const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load2(baseURL, apiKey),
48
+ try: () => load3(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });