@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,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./model-resolver-774mep86.js";
2
+ Service79,
3
+ node83
4
+ } from "./instruction-discovery-hwt60xw2.js";
5
5
  import {
6
6
  create3
7
- } from "./model-resolver-rdw6cm16.js";
7
+ } from "./instruction-discovery-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./instruction-discovery-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service48,
17
- node: () => node50
16
+ Service: () => Service13,
17
+ node: () => node15
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service48 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service13 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service48, Effect.gen(function* () {
27
- const location = yield* Service80;
26
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
27
+ const location = yield* Service79;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service48.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service13.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node50 = makeLocationNode({
91
- service: Service48,
90
+ var node15 = makeLocationNode({
91
+ service: Service13,
92
92
  layer,
93
- deps: [node84, AppProcess.node]
93
+ deps: [node83, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service48, node50, exports_formatter2 };
96
+ export { Service13, node15, exports_formatter2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID15,
3
- Service79
4
- } from "./model-resolver-655b29a3.js";
2
+ ID18,
3
+ Service82
4
+ } from "./instruction-discovery-frcg5mp6.js";
5
5
  import {
6
6
  Ref2,
7
- Service69
8
- } from "./model-resolver-c0xnxeca.js";
7
+ Service73
8
+ } from "./instruction-discovery-7xme8kcs.js";
9
9
  import {
10
10
  latest2,
11
- Service58
12
- } from "./model-resolver-cp17smcp.js";
11
+ Service56
12
+ } from "./instruction-discovery-rr0ej4qw.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./model-resolver-5cmxdwv8.js";
15
+ } from "./instruction-discovery-7w99qc9d.js";
16
16
  import {
17
- Service52
18
- } from "./model-resolver-vynr67b8.js";
17
+ Service66
18
+ } from "./instruction-discovery-9t7c31ty.js";
19
19
  import {
20
20
  evaluate2,
21
- Service75
22
- } from "./model-resolver-et0bpsn8.js";
21
+ Service68
22
+ } from "./instruction-discovery-6mmqkzfc.js";
23
23
  import {
24
- Service15
25
- } from "./model-resolver-54gavh75.js";
24
+ Service30
25
+ } from "./instruction-discovery-cyfct4w8.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./model-resolver-x1ezjp6w.js";
28
+ } from "./instruction-discovery-x1ezjp6w.js";
29
29
  import {
30
- make10
31
- } from "./model-resolver-gbzb20p6.js";
30
+ make7
31
+ } from "./instruction-discovery-34aseb2t.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./instruction-discovery-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin49,
39
+ Input: () => Input4,
40
+ Output: () => Output3,
41
+ Plugin: () => Plugin23,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description5,
44
- name: () => name12
43
+ description: () => description3,
44
+ name: () => name4
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name4 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input12 = Schema.Struct({
59
+ var Input4 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input12 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output3 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description5 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin49 = {
89
+ var Plugin23 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service15;
93
- const jobs = yield* Service52;
94
- const agents = yield* Service79;
95
- const config = yield* Service58;
96
- const permission = yield* Service75;
97
- const models = yield* Service69;
98
- const subagents = yield* make10;
92
+ const sessions = yield* Service30;
93
+ const jobs = yield* Service66;
94
+ const agents = yield* Service82;
95
+ const config = yield* Service56;
96
+ const permission = yield* Service68;
97
+ const models = yield* Service73;
98
+ const subagents = yield* make7;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin49 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name4,
119
119
  options: { codemode: false },
120
- description: description5,
121
- input: Input12,
122
- output: Output8,
120
+ description: description3,
121
+ input: Input4,
122
+ output: Output3,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin49 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name12,
142
+ action: name4,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin49 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID15.make(input.agent),
171
+ agent: ID18.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name12 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name4 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name12];
233
+ const tool = event.tools[name4];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name12, Input12, Output8, description5, Plugin49, exports_subagent };
256
+ export { name4, Input4, Output3, description3, Plugin23, exports_subagent };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./model-resolver-0703wr40.js";
5
+ } from "./instruction-discovery-aqr5jswe.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make21,
11
11
  diffByKey2
12
- } from "./model-resolver-eaj1djv9.js";
12
+ } from "./instruction-discovery-s8d7rejh.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./model-resolver-922hggd3.js";
15
+ } from "./instruction-discovery-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./model-resolver-rdw6cm16.js";
18
+ } from "./instruction-discovery-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./model-resolver-9rqn6x4v.js";
21
+ } from "./instruction-discovery-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event4,
26
+ Event: () => Event14,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options3,
30
- Service: () => Service28,
31
- configured: () => configured3,
32
- layer: () => layer13,
33
- node: () => node31
29
+ Options: () => Options10,
30
+ Service: () => Service72,
31
+ configured: () => configured11,
32
+ layer: () => layer24,
33
+ node: () => node76
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event4 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event14 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options3 = Schema.Struct({
48
+ var Options10 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service28 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service72 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
55
+ var layer24 = (options) => Layer.effect(Service72, Effect.gen(function* () {
56
56
  const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,7 +72,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event4.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event14.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make21({
78
78
  key,
@@ -90,7 +90,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service28.of({
93
+ return Service72.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured3(options) {
107
+ function configured11(options) {
108
108
  return makeLocationNode({
109
- service: Service28,
110
- layer: layer13(options),
109
+ service: Service72,
110
+ layer: layer24(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node31 = configured3();
114
+ var node76 = configured11();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event4, Options3, Service28, layer13, configured3, node31, exports_instruction_discovery };
145
+ export { File2, Event14, Options10, Service72, layer24, configured11, node76, exports_instruction_discovery };
@@ -1,47 +1,47 @@
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
- Service21,
7
- node24
8
- } from "./model-resolver-3g9hx9d8.js";
6
+ Service42,
7
+ node45
8
+ } from "./instruction-discovery-6ax496g1.js";
9
9
  import {
10
- Service75,
11
- node79
12
- } from "./model-resolver-et0bpsn8.js";
10
+ Service68,
11
+ node72
12
+ } from "./instruction-discovery-6mmqkzfc.js";
13
13
  import {
14
- Service31,
15
- node34
16
- } from "./model-resolver-7k895je9.js";
14
+ Service47,
15
+ node50
16
+ } from "./instruction-discovery-a2nkfp8g.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./instruction-discovery-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service20,
26
- layer: () => layer9,
27
- name: () => name13,
25
+ Service: () => Service41,
26
+ layer: () => layer15,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node23
29
+ node: () => node44
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service20 extends Context.Service()("@opencode/McpTool") {
38
+ class Service41 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer9 = Layer.effect(Service20, Effect.gen(function* () {
41
- const mcp = yield* Service21;
42
- const tools = yield* Service31;
40
+ var layer15 = Layer.effect(Service41, Effect.gen(function* () {
41
+ const mcp = yield* Service42;
42
+ const tools = yield* Service47;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service75;
44
+ const permission = yield* Service68;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service20.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service41.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node23 = makeLocationNode({
124
- service: Service20,
125
- layer: layer9,
126
- deps: [node34, node24, node87, node79]
123
+ var node44 = makeLocationNode({
124
+ service: Service41,
125
+ layer: layer15,
126
+ deps: [node50, node45, node87, node72]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service20, layer9, node23, exports_mcp3 };
129
+ export { namespace2, name14, Service41, layer15, node44, exports_mcp3 };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service84
3
- } from "./model-resolver-qe3aawgt.js";
3
+ } from "./instruction-discovery-va34hpv2.js";
4
4
  import {
5
5
  Service83
6
- } from "./model-resolver-0703wr40.js";
6
+ } from "./instruction-discovery-aqr5jswe.js";
7
7
  import {
8
- Service40
9
- } from "./model-resolver-3ppptnan.js";
8
+ Service62
9
+ } from "./instruction-discovery-bw9zjykr.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./model-resolver-vzs5sf6e.js";
12
+ } from "./instruction-discovery-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./model-resolver-gftt206x.js";
15
+ } from "./instruction-discovery-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./model-resolver-n3vygs5b.js";
23
+ } from "./instruction-discovery-32ymn5e1.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./model-resolver-ec1grn59.js";
26
+ } from "./instruction-discovery-ec1grn59.js";
27
27
  import {
28
- Service77
29
- } from "./model-resolver-ctwrx9qj.js";
28
+ Service70
29
+ } from "./instruction-discovery-6y0jnxwh.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service39
34
- } from "./model-resolver-bzx9a2az.js";
33
+ Service63
34
+ } from "./instruction-discovery-cj1he048.js";
35
35
  import {
36
- Service36
37
- } from "./model-resolver-bw2q4erb.js";
36
+ Service59
37
+ } from "./instruction-discovery-vb79pq1b.js";
38
38
  import {
39
39
  prepare2
40
- } from "./model-resolver-b9e5m5kw.js";
40
+ } from "./instruction-discovery-grrqevyk.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./model-resolver-d4wmmjrt.js";
45
+ } from "./instruction-discovery-e3y7q9w0.js";
46
46
  import {
47
47
  start2
48
- } from "./model-resolver-7zrz2ht7.js";
48
+ } from "./instruction-discovery-86bba7p5.js";
49
49
  import {
50
50
  get4
51
- } from "./model-resolver-cm63mksd.js";
51
+ } from "./instruction-discovery-vg5xy7fh.js";
52
52
  import {
53
53
  __export
54
- } from "./model-resolver-9rqn6x4v.js";
54
+ } from "./instruction-discovery-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make14
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make14 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service77;
69
- const instances = yield* Service40;
70
- const execution = yield* Service36;
71
- const admission = yield* Service39;
68
+ const store = yield* Service70;
69
+ const instances = yield* Service62;
70
+ const execution = yield* Service59;
71
+ const admission = yield* Service63;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service40, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service62, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service40, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service62, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service40, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service62, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make12, exports_session2 };
332
+ export { make14, exports_session2 };
@@ -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/util/wildcard.ts
6
6
  var exports_wildcard = {};