@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,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-y71avatq.js";
3
+ } from "./instruction-discovery-dpkg50ah.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./model-resolver-0703wr40.js";
7
+ } from "./instruction-discovery-aqr5jswe.js";
8
8
  import {
9
- Event17,
10
- Service72,
11
- node76
12
- } from "./model-resolver-ghdxkhwt.js";
9
+ Event18,
10
+ Service77,
11
+ node81
12
+ } from "./instruction-discovery-mwben6dq.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./model-resolver-774mep86.js";
14
+ Service79,
15
+ node83
16
+ } from "./instruction-discovery-hwt60xw2.js";
17
17
  import {
18
- Service45,
19
- node47
20
- } from "./model-resolver-cepnprts.js";
18
+ Service50,
19
+ node53
20
+ } from "./instruction-discovery-mfnm4q8d.js";
21
21
  import {
22
- ID12,
23
- Service73,
24
- node77
25
- } from "./model-resolver-c75ppnt9.js";
22
+ ID15,
23
+ Service78,
24
+ node82
25
+ } from "./instruction-discovery-3sm268de.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./model-resolver-rdw6cm16.js";
29
+ } from "./instruction-discovery-rdw6cm16.js";
30
30
  import {
31
- ID10,
31
+ ID13,
32
32
  MethodID2,
33
- Service71,
34
- node75
35
- } from "./model-resolver-4ff0zxak.js";
33
+ Service76,
34
+ node80
35
+ } from "./instruction-discovery-p25pce50.js";
36
36
  import {
37
37
  __export
38
- } from "./model-resolver-9rqn6x4v.js";
38
+ } from "./instruction-discovery-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service21,
52
+ Service: () => Service42,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer10,
57
- node: () => node24
55
+ configured: () => configured5,
56
+ layer: () => layer16,
57
+ node: () => node45
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service21 extends Context.Service()("@opencode/MCP") {
106
+ class Service42 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options2 = Schema.Struct({
108
+ var Options5 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer10 = (options) => Layer.effect(Service21, Effect.gen(function* () {
115
- const location = yield* Service80;
116
- const environment = yield* Service45;
114
+ var layer16 = (options) => Layer.effect(Service42, Effect.gen(function* () {
115
+ const location = yield* Service79;
116
+ const environment = yield* Service50;
117
117
  const bus = yield* Service83;
118
- const forms = yield* Service73;
119
- const integration = yield* Service71;
120
- const credentials = yield* Service72;
118
+ const forms = yield* Service78;
119
+ const integration = yield* Service76;
120
+ const credentials = yield* Service77;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer10 = (options) => Layer.effect(Service21, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID10.make(suffix);
132
+ const integrationID = ID13.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer10 = (options) => Layer.effect(Service21, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service72, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer10 = (options) => Layer.effect(Service21, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError5({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service72, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID12.create();
169
+ const formID = ID15.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer10 = (options) => Layer.effect(Service21, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service45, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service50, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer10 = (options) => Layer.effect(Service21, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer10 = (options) => Layer.effect(Service21, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service21.of({
423
+ return Service42.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured2(options) {
533
+ function configured5(options) {
534
534
  return makeLocationNode({
535
- service: Service21,
536
- layer: layer10(options),
537
- deps: [node84, node47, node87, node77, node75, node76]
535
+ service: Service42,
536
+ layer: layer16(options),
537
+ deps: [node83, node53, node87, node82, node80, node81]
538
538
  });
539
539
  }
540
- var node24 = configured2();
540
+ var node45 = configured5();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service21, Options2, layer10, configured2, node24, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service42, Options5, layer16, configured5, node45, exports_mcp4 };
@@ -1,37 +1,37 @@
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
- Service80,
7
- node84
8
- } from "./model-resolver-774mep86.js";
9
- import {
10
- ID15,
11
6
  Service79,
12
7
  node83
13
- } from "./model-resolver-655b29a3.js";
8
+ } from "./instruction-discovery-hwt60xw2.js";
9
+ import {
10
+ ID18,
11
+ Service82,
12
+ node86
13
+ } from "./instruction-discovery-frcg5mp6.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./model-resolver-n3vygs5b.js";
15
+ NotFoundError9
16
+ } from "./instruction-discovery-32ymn5e1.js";
17
17
  import {
18
- Service77,
19
- node81
20
- } from "./model-resolver-ctwrx9qj.js";
18
+ Service70,
19
+ node74
20
+ } from "./instruction-discovery-6y0jnxwh.js";
21
21
  import {
22
22
  match2
23
- } from "./model-resolver-y1fvbwt7.js";
23
+ } from "./instruction-discovery-y1fvbwt7.js";
24
24
  import {
25
- Service76,
26
- node80
27
- } from "./model-resolver-w8s93tvm.js";
25
+ Service69,
26
+ node73
27
+ } from "./instruction-discovery-dxb4fe6m.js";
28
28
  import {
29
- Service78,
30
- node82
31
- } from "./model-resolver-tx9w5tca.js";
29
+ Service71,
30
+ node75
31
+ } from "./instruction-discovery-qwjmgwmn.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./instruction-discovery-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError9,
45
+ Event: () => Event13,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service75,
54
+ Service: () => Service68,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node79
58
+ node: () => node72
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID8,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service75 extends Context.Service()("@opencode/Permission") {
128
+ class Service68 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service75, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service79;
134
- const sessions = yield* Service77;
135
- const saved = yield* Service76;
136
- const hooks = yield* Service78;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service82;
134
+ const sessions = yield* Service70;
135
+ const saved = yield* Service69;
136
+ const hooks = yield* Service71;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID13.create(),
189
+ id: input.id ?? ID8.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID13.create(), effect: "deny" };
214
+ return { id: input.id ?? ID8.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service75.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service68.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node79 = makeLocationNode({
303
- service: Service75,
302
+ var node72 = makeLocationNode({
303
+ service: Service68,
304
304
  layer,
305
- deps: [node87, node84, node83, node81, node80, node82]
305
+ deps: [node87, node83, node86, node74, node73, node75]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service68, node72, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./instruction-discovery-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./instruction-discovery-922hggd3.js";
4
4
  import {
5
- Info15
6
- } from "./model-resolver-magykp64.js";
5
+ Info20
6
+ } from "./instruction-discovery-k2h4r4s0.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./instruction-discovery-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info12
15
+ Info: () => Info19
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info15)
47
+ permission: Schema.optional(Info20)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info19 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info12, exports_agent3 };
74
+ export { Info19, exports_agent3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./model-resolver-550bvhaj.js";
3
+ } from "./instruction-discovery-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./model-resolver-j5zkgpj8.js";
6
+ } from "./instruction-discovery-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./model-resolver-3asan66x.js";
9
+ } from "./instruction-discovery-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./model-resolver-2hg7qvzt.js";
12
+ } from "./instruction-discovery-sqbb0ctm.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-qe3aawgt.js";
4
+ } from "./instruction-discovery-va34hpv2.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./model-resolver-z07pqspn.js";
8
+ } from "./instruction-discovery-bjtzbw4r.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./model-resolver-468xcx49.js";
12
+ } from "./instruction-discovery-btr3megd.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./model-resolver-vmgq4x8b.js";
15
+ } from "./instruction-discovery-nng2ktcm.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./instruction-discovery-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service77,
24
+ Service: () => Service70,
25
25
  SessionStore: () => exports_store,
26
- node: () => node81
26
+ node: () => node74
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service77 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service70 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service77, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
58
58
  const { db } = yield* Service84;
59
- return Service77.of({
59
+ return Service70.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88] });
128
+ var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
129
129
 
130
- export { ListInput5, Service77, node81, exports_store };
130
+ export { ListInput5, Service70, node74, exports_store };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make19,
14
- node: () => node66,
13
+ make: () => make16,
14
+ node: () => node57,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make19 = (driver) => driver;
32
+ var make16 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node66 = registryNode2({});
47
+ var node57 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node66, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make16, RegistryService2, registry2, registryNode2, node57, exports_driver };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID10,
3
- Service71
4
- } from "./model-resolver-4ff0zxak.js";
2
+ ID13,
3
+ Service76
4
+ } from "./instruction-discovery-p25pce50.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service71;
12
+ const integrations = yield* Service76;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID10.make(item.provider.id)))
22
+ if (!configured.has(ID13.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {