@opencode/core 0.0.0-dev-19282 → 0.0.0-dev-19285

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +2 -2
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{bus-1dfhrqqs.js → reference-0hpxrkyb.js} +5 -5
  9. package/dist/chunks/{bus-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{bus-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{bus-749mk3f5.js → reference-18s2crhv.js} +18 -18
  12. package/dist/chunks/{bus-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  13. package/dist/chunks/{bus-t9atnbvs.js → reference-1hx3a7j4.js} +25 -25
  14. package/dist/chunks/{bus-4yd2q2gq.js → reference-1j68e3we.js} +6 -6
  15. package/dist/chunks/{bus-yrm8zfgt.js → reference-1n1re824.js} +19 -19
  16. package/dist/chunks/{bus-nx25f60x.js → reference-1s85ea80.js} +15 -15
  17. package/dist/chunks/{bus-4pc0t7v2.js → reference-1vbqt11h.js} +12 -12
  18. package/dist/chunks/{bus-21r38tys.js → reference-21r38tys.js} +1 -1
  19. package/dist/chunks/{bus-qrtv3c58.js → reference-21tjen5n.js} +16 -16
  20. package/dist/chunks/{bus-ekxn0p07.js → reference-231s2dv0.js} +17 -17
  21. package/dist/chunks/{bus-qdd4vj03.js → reference-24p0y6dv.js} +20 -20
  22. package/dist/chunks/{bus-zfaxcb8h.js → reference-26n19ak3.js} +4 -4
  23. package/dist/chunks/{bus-6sg4x804.js → reference-27kr68t2.js} +4 -4
  24. package/dist/chunks/{bus-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{bus-p0cja4mf.js → reference-2atv2341.js} +5 -5
  26. package/dist/chunks/{bus-hmy5m0zn.js → reference-2bcpzs2r.js} +23 -23
  27. package/dist/chunks/{bus-01nje3d7.js → reference-2mpb3c7h.js} +6 -6
  28. package/dist/chunks/{bus-qaed280k.js → reference-2q8hwwwc.js} +11 -11
  29. package/dist/chunks/{bus-pf6z3403.js → reference-3222fpmk.js} +5 -5
  30. package/dist/chunks/{bus-k0h28rmr.js → reference-35pawy1v.js} +17 -17
  31. package/dist/chunks/{bus-y7whqpt3.js → reference-3g06hv1z.js} +10 -10
  32. package/dist/chunks/{bus-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{bus-zxgnc9zk.js → reference-3jf7jxvk.js} +1 -1
  34. package/dist/chunks/{bus-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{bus-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{bus-j4zenrww.js → reference-3wqf40ez.js} +7 -7
  37. package/dist/chunks/{bus-yn80fmw6.js → reference-43vjkkh2.js} +24 -24
  38. package/dist/chunks/{bus-5hk4b2g6.js → reference-4c2df9zx.js} +8 -8
  39. package/dist/chunks/{bus-6ez8fd9t.js → reference-4dp2399g.js} +47 -47
  40. package/dist/chunks/{bus-710w2ech.js → reference-4fk03y38.js} +1 -1
  41. package/dist/chunks/{bus-gdvdcvqc.js → reference-4gpvdk2f.js} +12 -12
  42. package/dist/chunks/{bus-e39t2h66.js → reference-4q4p5end.js} +11 -11
  43. package/dist/chunks/{bus-m08xmbhd.js → reference-4rh3z4xh.js} +13 -13
  44. package/dist/chunks/{bus-7s03h6w8.js → reference-4zn0r1r4.js} +18 -18
  45. package/dist/chunks/{bus-kz255f3e.js → reference-525hap2p.js} +9 -9
  46. package/dist/chunks/{bus-8qk9tw02.js → reference-54gn6h9v.js} +1 -1
  47. package/dist/chunks/{bus-wmbchhnn.js → reference-56pr6y5x.js} +8 -8
  48. package/dist/chunks/{bus-5daktx2q.js → reference-5daktx2q.js} +1 -1
  49. package/dist/chunks/{bus-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  50. package/dist/chunks/{bus-5kx2m9j7.js → reference-5vb8t1df.js} +11 -11
  51. package/dist/chunks/{bus-rgdf5anz.js → reference-636mnkjh.js} +15 -15
  52. package/dist/chunks/{bus-669tq793.js → reference-669tq793.js} +1 -1
  53. package/dist/chunks/{bus-2z7mxnbp.js → reference-6dxje0nq.js} +16 -16
  54. package/dist/chunks/{bus-6h73sxmp.js → reference-6h73sxmp.js} +1 -1
  55. package/dist/chunks/{bus-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  56. package/dist/chunks/{bus-ffx4mq6v.js → reference-6q0ssdw5.js} +1 -1
  57. package/dist/chunks/{bus-bha4atvq.js → reference-6tt5evqq.js} +4 -4
  58. package/dist/chunks/{bus-whbvmyya.js → reference-6xg3k3v3.js} +27 -27
  59. package/dist/chunks/{bus-xxcpn45b.js → reference-6ykfmbhh.js} +23 -23
  60. package/dist/chunks/{bus-71q4at8m.js → reference-71q4at8m.js} +1 -1
  61. package/dist/chunks/{bus-f5ckxc6k.js → reference-73mg2vtt.js} +10 -10
  62. package/dist/chunks/{bus-x8d28zyr.js → reference-742bzcdy.js} +18 -18
  63. package/dist/chunks/{bus-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{bus-kdc4anf3.js → reference-7edp414f.js} +2 -2
  65. package/dist/chunks/{bus-5ahfvgqs.js → reference-7gc0xae5.js} +157 -157
  66. package/dist/chunks/{bus-jmvyb28c.js → reference-7jmqxgxn.js} +20 -20
  67. package/dist/chunks/{bus-nnchxen3.js → reference-7jshreb6.js} +46 -46
  68. package/dist/chunks/{bus-527n8bmw.js → reference-7k65wcnh.js} +32 -32
  69. package/dist/chunks/{bus-wk58jv74.js → reference-7zdm33ac.js} +10 -10
  70. package/dist/chunks/{bus-4etzfxb1.js → reference-7zz35dhy.js} +26 -26
  71. package/dist/chunks/{bus-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  72. package/dist/chunks/{bus-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
  73. package/dist/chunks/{bus-fjmrr6sh.js → reference-8w9tvb25.js} +9 -9
  74. package/dist/chunks/{bus-5cry39zx.js → reference-8xx08dm0.js} +25 -25
  75. package/dist/chunks/{bus-49t4jawx.js → reference-94ty58yj.js} +22 -22
  76. package/dist/chunks/{bus-k8ebjhqy.js → reference-95b6ghe6.js} +18 -18
  77. package/dist/chunks/reference-99pkb00s.js +247 -0
  78. package/dist/chunks/{bus-0e6zaxnc.js → reference-9fkctmz4.js} +4 -4
  79. package/dist/chunks/{bus-c2q1mjgh.js → reference-9h2tqn78.js} +8 -8
  80. package/dist/chunks/{bus-vgjt9c5s.js → reference-9kcb9bfn.js} +3 -3
  81. package/dist/chunks/{bus-81swgkk7.js → reference-9pv0dm11.js} +9 -9
  82. package/dist/chunks/{bus-2f04pwep.js → reference-9vs0xtad.js} +3 -3
  83. package/dist/chunks/{bus-3fqa324q.js → reference-a1b3c13m.js} +18 -18
  84. package/dist/chunks/{bus-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
  85. package/dist/chunks/{bus-58mjts13.js → reference-a3re5se6.js} +24 -24
  86. package/dist/chunks/{bus-wmshdsxh.js → reference-a9m3pnym.js} +19 -19
  87. package/dist/chunks/{bus-zardaqg6.js → reference-aa5yzmg3.js} +11 -11
  88. package/dist/chunks/{bus-aaet6srn.js → reference-aaet6srn.js} +2 -2
  89. package/dist/chunks/{bus-3r5z9a2m.js → reference-aagvpmpk.js} +20 -20
  90. package/dist/chunks/{bus-arcj627b.js → reference-aerscydv.js} +3 -3
  91. package/dist/chunks/{bus-1ajrde1x.js → reference-amv9spzy.js} +11 -11
  92. package/dist/chunks/{bus-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  93. package/dist/chunks/{bus-8ey7957k.js → reference-b7r85zma.js} +15 -15
  94. package/dist/chunks/{bus-zmgyev29.js → reference-b89n2hrw.js} +23 -23
  95. package/dist/chunks/{bus-3dkb1mkq.js → reference-c07ppws4.js} +35 -35
  96. package/dist/chunks/{bus-w81afp83.js → reference-c8qcwh7c.js} +8 -8
  97. package/dist/chunks/{bus-e47b9zhk.js → reference-cf7t4tbm.js} +1 -1
  98. package/dist/chunks/{bus-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
  99. package/dist/chunks/{bus-s7xtjryh.js → reference-d2kbg34c.js} +1 -1
  100. package/dist/chunks/{bus-1w4paq8s.js → reference-d688schs.js} +23 -23
  101. package/dist/chunks/{bus-50tgre74.js → reference-dee1kvxx.js} +20 -20
  102. package/dist/chunks/{bus-zpp4pmky.js → reference-dwajp34v.js} +5 -5
  103. package/dist/chunks/{bus-ahpydw3r.js → reference-dxahnrqk.js} +35 -35
  104. package/dist/chunks/{bus-sqevgg1x.js → reference-dyyz5283.js} +6 -6
  105. package/dist/chunks/{bus-frwpyczr.js → reference-e6jkap1f.js} +4 -4
  106. package/dist/chunks/{bus-9j23snw0.js → reference-e7066wh1.js} +10 -10
  107. package/dist/chunks/{bus-w3seh447.js → reference-e9q2tff6.js} +24 -24
  108. package/dist/chunks/{bus-cvb05pnf.js → reference-eb08dgxh.js} +19 -19
  109. package/dist/chunks/{bus-35s1r081.js → reference-ed80ss5w.js} +41 -41
  110. package/dist/chunks/{bus-0vqg61vt.js → reference-eej0jtf5.js} +20 -20
  111. package/dist/chunks/{bus-n8acapy8.js → reference-eghhz9w3.js} +6 -6
  112. package/dist/chunks/{bus-kj0cw3p7.js → reference-ehah1z4y.js} +33 -33
  113. package/dist/chunks/{bus-csec5e4m.js → reference-ek2ekg50.js} +9 -9
  114. package/dist/chunks/{bus-mvfsc1pv.js → reference-eq1pz5kg.js} +3 -3
  115. package/dist/chunks/{bus-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  116. package/dist/chunks/{bus-fa0cr6zp.js → reference-ewkfaene.js} +3 -3
  117. package/dist/chunks/{bus-at3ejqj0.js → reference-f2n7c6vf.js} +10 -10
  118. package/dist/chunks/{bus-k2h4r4s0.js → reference-f3ngv102.js} +4 -4
  119. package/dist/chunks/{bus-jny78evx.js → reference-f74zpcfx.js} +50 -50
  120. package/dist/chunks/{bus-f828m53h.js → reference-f828m53h.js} +2 -2
  121. package/dist/chunks/{bus-mnrz82hq.js → reference-f8gmmhdx.js} +5 -5
  122. package/dist/chunks/{bus-3sx2gfrt.js → reference-fbh8gv2m.js} +30 -30
  123. package/dist/chunks/{bus-1qfm9ec4.js → reference-fdhnxwqq.js} +15 -15
  124. package/dist/chunks/reference-fnzccmjb.js +22 -0
  125. package/dist/chunks/{bus-vyjzrkx0.js → reference-fschjpvb.js} +9 -9
  126. package/dist/chunks/{bus-nx8jdvz1.js → reference-fsg64sxd.js} +33 -33
  127. package/dist/chunks/{bus-0w62qmxp.js → reference-ftdzjz2b.js} +6 -6
  128. package/dist/chunks/{bus-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  129. package/dist/chunks/{bus-750rpxws.js → reference-g0fwp05y.js} +3 -3
  130. package/dist/chunks/{bus-9ffmp1f5.js → reference-g0h581t9.js} +10 -10
  131. package/dist/chunks/{bus-zq6w5y0q.js → reference-g7yd2vxk.js} +13 -13
  132. package/dist/chunks/{bus-41tqqwbx.js → reference-gabjygxp.js} +9 -9
  133. package/dist/chunks/{bus-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  134. package/dist/chunks/{bus-gdvy8fx6.js → reference-gdvy8fx6.js} +1 -1
  135. package/dist/chunks/{bus-brzgr68a.js → reference-gj7hfxsf.js} +25 -25
  136. package/dist/chunks/{bus-xfbp7vg3.js → reference-gk1e73sc.js} +20 -20
  137. package/dist/chunks/{bus-91ewnwxd.js → reference-gxretbwa.js} +32 -32
  138. package/dist/chunks/{bus-1pv26y79.js → reference-gxy528pw.js} +32 -32
  139. package/dist/chunks/{bus-5kxxz5p9.js → reference-gzedjxr8.js} +22 -22
  140. package/dist/chunks/{bus-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  141. package/dist/chunks/{bus-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{bus-gsx0ryk4.js → reference-h7ygw6q4.js} +9 -9
  143. package/dist/chunks/{bus-n7myrqvg.js → reference-hdcwm5yn.js} +11 -11
  144. package/dist/chunks/{bus-renqy12v.js → reference-hdthj1pw.js} +8 -8
  145. package/dist/chunks/{bus-k7d0894y.js → reference-hj2q4vx8.js} +6 -6
  146. package/dist/chunks/{bus-hpd8f1qh.js → reference-hx9b9j3y.js} +6 -6
  147. package/dist/chunks/reference-hxa7m5za.js +4 -0
  148. package/dist/chunks/{bus-yv5atzv7.js → reference-j460kft3.js} +16 -16
  149. package/dist/chunks/{bus-mctj3t5d.js → reference-j4dwrdg1.js} +17 -17
  150. package/dist/chunks/{bus-j56e64zr.js → reference-j56e64zr.js} +1 -1
  151. package/dist/chunks/{bus-095cpp92.js → reference-jtxfv8d5.js} +33 -33
  152. package/dist/chunks/{bus-6zhe6btj.js → reference-jzrkhfnx.js} +34 -34
  153. package/dist/chunks/{bus-n0xr8ydk.js → reference-k3fk1xw0.js} +30 -30
  154. package/dist/chunks/reference-k99e1z30.js +462 -0
  155. package/dist/chunks/{bus-jvq7qv7z.js → reference-k9hy4w8j.js} +28 -28
  156. package/dist/chunks/{bus-t9dh7k1x.js → reference-kcqzyg21.js} +16 -16
  157. package/dist/chunks/{bus-9v7msvga.js → reference-kd62wyh6.js} +13 -13
  158. package/dist/chunks/{bus-nk7ds145.js → reference-kdsmfbp6.js} +15 -15
  159. package/dist/chunks/{bus-abqnwdt9.js → reference-kf4f65v3.js} +33 -33
  160. package/dist/chunks/{bus-kg06axw8.js → reference-kg06axw8.js} +1 -1
  161. package/dist/chunks/{bus-k0vm1vsh.js → reference-kmdd4s7w.js} +11 -11
  162. package/dist/chunks/{bus-xhmq8qgk.js → reference-kpvyk30t.js} +9 -9
  163. package/dist/chunks/{bus-84zmkpg3.js → reference-kvssg87c.js} +46 -46
  164. package/dist/chunks/{bus-0gaj4617.js → reference-kxpygcw9.js} +6 -6
  165. package/dist/chunks/{bus-8292cgjf.js → reference-m0zxgcxr.js} +4 -4
  166. package/dist/chunks/{bus-ve2nztfh.js → reference-m17xag3b.js} +10 -10
  167. package/dist/chunks/{bus-2vgzs72b.js → reference-m64xvjj1.js} +5 -5
  168. package/dist/chunks/{bus-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{bus-kycn6yts.js → reference-mdt4q1c1.js} +6 -6
  170. package/dist/chunks/{bus-56gdpj1q.js → reference-mfqp6xfm.js} +6 -6
  171. package/dist/chunks/{bus-s2pmvhcg.js → reference-mgqqkg93.js} +22 -22
  172. package/dist/chunks/{bus-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
  173. package/dist/chunks/{bus-mm6hcqyy.js → reference-mp0hvknf.js} +17 -17
  174. package/dist/chunks/{bus-zc9t3nk1.js → reference-mr7fas37.js} +20 -20
  175. package/dist/chunks/{bus-31nc7ye1.js → reference-mwdyx115.js} +18 -18
  176. package/dist/chunks/{bus-h03br4j9.js → reference-n8aw8tzz.js} +16 -16
  177. package/dist/chunks/{bus-j5208yae.js → reference-ndqtf2h8.js} +5 -5
  178. package/dist/chunks/{bus-47gsdddb.js → reference-nhy5jxhy.js} +5 -5
  179. package/dist/chunks/{bus-xjr4j2j6.js → reference-npqmz80p.js} +46 -46
  180. package/dist/chunks/{bus-1g0hxw53.js → reference-p8fr87mf.js} +41 -41
  181. package/dist/chunks/{bus-w1k39n5e.js → reference-paegk39x.js} +4 -4
  182. package/dist/chunks/{bus-2gqyg9n5.js → reference-pcbr6txn.js} +15 -15
  183. package/dist/chunks/{bus-gsy9mqvk.js → reference-pch1g4ac.js} +8 -8
  184. package/dist/chunks/{bus-2rrdrtgw.js → reference-pgpmnqk3.js} +3 -3
  185. package/dist/chunks/reference-phz3h32g.js +18 -0
  186. package/dist/chunks/{bus-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{bus-vn9qcck8.js → reference-pk0537y5.js} +36 -36
  188. package/dist/chunks/{bus-pknna89w.js → reference-pknna89w.js} +1 -1
  189. package/dist/chunks/{bus-93495grw.js → reference-pxw0hmvn.js} +7 -7
  190. package/dist/chunks/{bus-4mjzz0d5.js → reference-q14xand4.js} +30 -30
  191. package/dist/chunks/{bus-dc76j9wz.js → reference-q280h65c.js} +8 -8
  192. package/dist/chunks/{bus-ntazn48k.js → reference-q4t8wpc5.js} +86 -86
  193. package/dist/chunks/{bus-0tm0kv5t.js → reference-q815m6cj.js} +24 -24
  194. package/dist/chunks/{bus-19vf66h0.js → reference-qa3qhgw8.js} +4 -4
  195. package/dist/chunks/{bus-ywkmcjzw.js → reference-qd5n9004.js} +4 -4
  196. package/dist/chunks/{bus-a9ab9jmj.js → reference-qfjjv7cg.js} +5 -5
  197. package/dist/chunks/{bus-7dqw4kz8.js → reference-qgn6gcr1.js} +5 -5
  198. package/dist/chunks/{bus-a4r18kjz.js → reference-qgvsjnwz.js} +2 -2
  199. package/dist/chunks/{bus-gwp5w4wb.js → reference-qhcd119y.js} +9 -9
  200. package/dist/chunks/{bus-z9e6b7he.js → reference-qnsz7nh9.js} +5 -5
  201. package/dist/chunks/{bus-qsdy395h.js → reference-qsdy395h.js} +1 -1
  202. package/dist/chunks/{bus-jzvr1g73.js → reference-r0jrqcv3.js} +15 -15
  203. package/dist/chunks/{bus-0v53mg2y.js → reference-r98e92ep.js} +4 -4
  204. package/dist/chunks/{bus-111gxffx.js → reference-rabzzrj7.js} +6 -6
  205. package/dist/chunks/{bus-wccq2216.js → reference-rm18f88d.js} +9 -9
  206. package/dist/chunks/{bus-rpsfnwf3.js → reference-rqwtk8m6.js} +31 -31
  207. package/dist/chunks/{bus-8madsdx3.js → reference-rrb33fnm.js} +11 -11
  208. package/dist/chunks/{bus-gezb754f.js → reference-rrct5g06.js} +11 -11
  209. package/dist/chunks/{bus-jdmm99th.js → reference-ryf7tq05.js} +10 -10
  210. package/dist/chunks/{bus-rvyv87x2.js → reference-s1dejaz5.js} +4 -4
  211. package/dist/chunks/{bus-0g3tnqy3.js → reference-s89drx3k.js} +25 -25
  212. package/dist/chunks/{bus-eaj1djv9.js → reference-s8d7rejh.js} +6 -6
  213. package/dist/chunks/{bus-d2aac7k2.js → reference-s8zy8myc.js} +5 -5
  214. package/dist/chunks/{bus-ve6nm2s5.js → reference-s90d8d6b.js} +6 -6
  215. package/dist/chunks/{bus-nw2nz702.js → reference-sej7e0cf.js} +4 -4
  216. package/dist/chunks/{bus-yms512cs.js → reference-sewx0d8k.js} +11 -11
  217. package/dist/chunks/{bus-xtx0ppn2.js → reference-shrxzsvg.js} +13 -13
  218. package/dist/chunks/{bus-yxfbxqnd.js → reference-sj6nvtnr.js} +17 -17
  219. package/dist/chunks/{bus-fxdzhz3a.js → reference-ss5t5285.js} +43 -43
  220. package/dist/chunks/{bus-9qn3qky1.js → reference-t37txjkj.js} +6 -6
  221. package/dist/chunks/{bus-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{bus-15qsbqmq.js → reference-tc3b2xqh.js} +25 -25
  223. package/dist/chunks/{bus-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  224. package/dist/chunks/{bus-tdstcens.js → reference-tdstcens.js} +1 -1
  225. package/dist/chunks/{bus-gv6a8nnw.js → reference-th5km1p3.js} +5 -5
  226. package/dist/chunks/{bus-anhc60mz.js → reference-tmx7d2y0.js} +4 -4
  227. package/dist/chunks/{bus-c78bbtc9.js → reference-tn0aqsam.js} +5 -5
  228. package/dist/chunks/{bus-tvtrv512.js → reference-tvtrv512.js} +1 -1
  229. package/dist/chunks/{bus-p72z5xx6.js → reference-tx1bbn1t.js} +2 -2
  230. package/dist/chunks/{bus-k6gg2q9r.js → reference-v0tcdknz.js} +16 -16
  231. package/dist/chunks/{bus-1wsj65et.js → reference-v1adv2wp.js} +22 -22
  232. package/dist/chunks/{bus-dgj0dq1g.js → reference-v4hmzr0r.js} +8 -8
  233. package/dist/chunks/{bus-fw00bc85.js → reference-v7y6kmxs.js} +27 -27
  234. package/dist/chunks/{bus-x227z7gv.js → reference-v9p2d0aj.js} +12 -12
  235. package/dist/chunks/{bus-e8bm4rm7.js → reference-vbbvjejc.js} +14 -14
  236. package/dist/chunks/{bus-veqvce7d.js → reference-veqvce7d.js} +1 -1
  237. package/dist/chunks/{bus-knth1fvs.js → reference-vgtqdgcp.js} +18 -18
  238. package/dist/chunks/{bus-0ch8tq9c.js → reference-vz98v2b4.js} +11 -11
  239. package/dist/chunks/{bus-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{bus-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  241. package/dist/chunks/{bus-t9e6e84n.js → reference-w4ysxmd8.js} +1 -1
  242. package/dist/chunks/{bus-2ee18q3c.js → reference-w6y4jrtq.js} +11 -11
  243. package/dist/chunks/{bus-rfnzy394.js → reference-w79zsp0s.js} +1 -1
  244. package/dist/chunks/{bus-atw9v79g.js → reference-w9m4vsw7.js} +21 -21
  245. package/dist/chunks/{bus-edsk2t6a.js → reference-w9xvayee.js} +9 -9
  246. package/dist/chunks/{bus-qte5z7bc.js → reference-wbkyxrgf.js} +5 -5
  247. package/dist/chunks/{bus-b66t5cb8.js → reference-wcsysscr.js} +9 -9
  248. package/dist/chunks/{bus-wd87259q.js → reference-wd87259q.js} +1 -1
  249. package/dist/chunks/{bus-y8qpbdny.js → reference-we9eyqjp.js} +7 -7
  250. package/dist/chunks/{bus-5fm2rry0.js → reference-wec9kj0s.js} +10 -10
  251. package/dist/chunks/{bus-tfym5c4x.js → reference-wg42tg3h.js} +4 -4
  252. package/dist/chunks/{bus-6b30g155.js → reference-wk3sjerj.js} +17 -17
  253. package/dist/chunks/{bus-8e0dmvmv.js → reference-wr1hnkrb.js} +10 -10
  254. package/dist/chunks/{bus-kfxc74n2.js → reference-x0ts5zjw.js} +15 -15
  255. package/dist/chunks/{bus-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{bus-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
  257. package/dist/chunks/{bus-gxnpxzy4.js → reference-x9qzeg26.js} +30 -30
  258. package/dist/chunks/{bus-jkvdn3cn.js → reference-xbvr7qd3.js} +35 -35
  259. package/dist/chunks/{bus-vmmc4gn1.js → reference-xc6qfj0x.js} +32 -32
  260. package/dist/chunks/{bus-0khbs0qs.js → reference-xn1g4e4n.js} +3 -3
  261. package/dist/chunks/{bus-zcrspsvn.js → reference-xw0r27ex.js} +4 -4
  262. package/dist/chunks/{bus-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{bus-mykmszv9.js → reference-y3501xtg.js} +9 -9
  264. package/dist/chunks/{bus-zex37ywk.js → reference-y397pytd.js} +5 -5
  265. package/dist/chunks/{bus-27rw376c.js → reference-y4h8j882.js} +85 -85
  266. package/dist/chunks/{bus-kxxjg53x.js → reference-y5carwhs.js} +56 -56
  267. package/dist/chunks/{bus-y71avatq.js → reference-y71avatq.js} +1 -1
  268. package/dist/chunks/{bus-xkvztyjm.js → reference-yb4w2300.js} +4 -4
  269. package/dist/chunks/{bus-gcx2w7qz.js → reference-yhx7fnrq.js} +27 -27
  270. package/dist/chunks/{bus-mkyh9633.js → reference-ymxzgkec.js} +40 -40
  271. package/dist/chunks/{bus-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
  272. package/dist/chunks/{bus-vwqs12jy.js → reference-ypgwc49d.js} +15 -15
  273. package/dist/chunks/{bus-e406nj4k.js → reference-ypt602pg.js} +6 -6
  274. package/dist/chunks/{bus-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{bus-yrznvahk.js → reference-yrznvahk.js} +2 -2
  276. package/dist/chunks/{bus-fjta8say.js → reference-yvdpqkmv.js} +20 -20
  277. package/dist/chunks/{bus-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{bus-qr92006n.js → reference-z2vp0ram.js} +11 -11
  279. package/dist/chunks/{bus-nnmhqe7b.js → reference-z4bnc0k3.js} +14 -14
  280. package/dist/chunks/{bus-z63w68vq.js → reference-z63w68vq.js} +2 -2
  281. package/dist/chunks/{bus-3fvkbj1e.js → reference-z8d4gyxr.js} +54 -54
  282. package/dist/chunks/{bus-wjc2s1ba.js → reference-zag8ssnp.js} +24 -24
  283. package/dist/chunks/{bus-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{bus-d21tpfeg.js → reference-zqcfszr7.js} +4 -4
  285. package/dist/chunks/{bus-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{bus-r1mjw3sd.js → reference-zrgpjm4k.js} +14 -14
  287. package/dist/chunks/{bus-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +111 -111
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +88 -88
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +216 -216
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +80 -80
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +82 -82
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +130 -130
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +82 -82
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +120 -120
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +84 -84
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +104 -104
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +94 -94
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +74 -74
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +224 -224
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +5 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +92 -92
  559. package/dist/reference/instructions.js +82 -82
  560. package/dist/reference.js +84 -84
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +93 -93
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +216 -216
  574. package/dist/session/execution.js +122 -122
  575. package/dist/session/generate.js +148 -148
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +223 -223
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +119 -119
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +145 -145
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +212 -212
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +213 -213
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +107 -107
  623. package/dist/snapshot.js +86 -86
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +119 -119
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +120 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +212 -212
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +210 -210
  639. package/dist/tool/plugin/webfetch.js +107 -107
  640. package/dist/tool/plugin/websearch.js +109 -109
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +83 -83
  673. package/dist/websearch.js +80 -80
  674. package/dist/wellknown/plugin.js +74 -74
  675. package/dist/wellknown.js +79 -79
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +78 -78
  679. package/dist/worktree/directory.js +4 -4
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +89 -89
  684. package/package.json +8 -8
  685. package/dist/chunks/bus-0mesazry.js +0 -4
  686. package/dist/chunks/bus-92fxycsj.js +0 -247
  687. package/dist/chunks/bus-cptd71b8.js +0 -462
  688. package/dist/chunks/bus-qc068m1q.js +0 -18
  689. package/dist/chunks/bus-ypn041zc.js +0 -22
  690. /package/dist/chunks/{bus-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{bus-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{bus-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{bus-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{bus-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{bus-2710q6r3.js → reference-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{bus-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{bus-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{bus-359p4xyc.js → reference-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{bus-3asan66x.js → reference-3asan66x.js} +0 -0
  700. /package/dist/chunks/{bus-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{bus-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{bus-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{bus-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{bus-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{bus-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{bus-53557ph1.js → reference-53557ph1.js} +0 -0
  707. /package/dist/chunks/{bus-550bvhaj.js → reference-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{bus-6prwharc.js → reference-6prwharc.js} +0 -0
  709. /package/dist/chunks/{bus-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{bus-7m9af43g.js → reference-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{bus-822emrt2.js → reference-822emrt2.js} +0 -0
  712. /package/dist/chunks/{bus-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{bus-8n3pysct.js → reference-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{bus-922hggd3.js → reference-922hggd3.js} +0 -0
  715. /package/dist/chunks/{bus-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{bus-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{bus-a1tpkmh4.js → reference-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{bus-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{bus-af5trqkr.js → reference-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{bus-afrmfg78.js → reference-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{bus-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{bus-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{bus-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{bus-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{bus-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{bus-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{bus-d9fn303g.js → reference-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{bus-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{bus-dajrwvna.js → reference-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{bus-dap0rakb.js → reference-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{bus-df08tz66.js → reference-df08tz66.js} +0 -0
  732. /package/dist/chunks/{bus-dy18nga0.js → reference-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{bus-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{bus-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{bus-ec1grn59.js → reference-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{bus-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{bus-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{bus-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{bus-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{bus-faypxj3z.js → reference-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{bus-fd410y7t.js → reference-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{bus-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{bus-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{bus-g86h250q.js → reference-g86h250q.js} +0 -0
  745. /package/dist/chunks/{bus-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{bus-gftt206x.js → reference-gftt206x.js} +0 -0
  747. /package/dist/chunks/{bus-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{bus-hk9envan.js → reference-hk9envan.js} +0 -0
  749. /package/dist/chunks/{bus-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{bus-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{bus-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{bus-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{bus-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{bus-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{bus-mp448xyj.js → reference-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{bus-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{bus-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{bus-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{bus-njntx4h6.js → reference-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{bus-paphc93g.js → reference-paphc93g.js} +0 -0
  761. /package/dist/chunks/{bus-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{bus-q74kybfr.js → reference-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{bus-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{bus-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{bus-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{bus-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{bus-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{bus-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{bus-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{bus-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{bus-twg0f83k.js → reference-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{bus-w803qqfp.js → reference-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{bus-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{bus-wtztk69x.js → reference-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{bus-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{bus-x61499pn.js → reference-x61499pn.js} +0 -0
  777. /package/dist/chunks/{bus-y44na4kk.js → reference-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{bus-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{bus-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{bus-ym463w8f.js → reference-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{bus-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./bus-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
- Service76,
6
- node81
7
- } from "./bus-yv5atzv7.js";
5
+ Service73,
6
+ node78
7
+ } from "./reference-j460kft3.js";
8
8
  import {
9
- Service25,
10
- node29
11
- } from "./bus-knth1fvs.js";
9
+ Service59,
10
+ node63
11
+ } from "./reference-vgtqdgcp.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./bus-tcezcvh9.js";
15
+ } from "./reference-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./bus-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options4,
25
- Service: () => Service24,
26
- configured: () => configured4,
24
+ Options: () => Options5,
25
+ Service: () => Service52,
26
+ configured: () => configured6,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer11,
29
- node: () => node28,
28
+ layer: () => layer21,
29
+ node: () => node56,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options4 = Schema.Struct({
38
+ var Options5 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service24 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service52 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
62
- const location = yield* Service76;
63
- const ripgrep = yield* Service25;
61
+ var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
62
+ const location = yield* Service73;
63
+ const ripgrep = yield* Service59;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service24.of({
108
+ return Service52.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
116
- const location = yield* Service76;
115
+ var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
116
+ const location = yield* Service73;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service24.of({
129
+ return Service52.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service24.of({
134
+ return Service52.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service76;
177
+ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service73;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured4(options) {
186
- return makeLocationNode({ service: Service24, layer: layer11(options), deps: [node81, node29] });
185
+ function configured6(options) {
186
+ return makeLocationNode({ service: Service52, layer: layer21(options), deps: [node78, node63] });
187
187
  }
188
- var node28 = configured4();
188
+ var node56 = configured6();
189
189
 
190
- export { Options4, Service24, ripgrepLayer2, fffLayer2, layer11, configured4, node28, exports_search };
190
+ export { Options5, Service52, ripgrepLayer2, fffLayer2, layer21, configured6, node56, exports_search };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service75,
10
- node: () => node80
9
+ Service: () => Service71,
10
+ node: () => node76
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service75 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service71 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service75, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service75.of({ has, register, trigger });
57
+ return Service71.of({ has, register, trigger });
58
58
  }));
59
- var node80 = makeLocationNode({ service: Service75, layer, deps: [] });
59
+ var node76 = makeLocationNode({ service: Service71, layer, deps: [] });
60
60
 
61
- export { Service75, node80, exports_hooks };
61
+ export { Service71, node76, exports_hooks };
@@ -1,111 +1,111 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./bus-arcj627b.js";
4
+ } from "./reference-aerscydv.js";
5
5
  import {
6
6
  ID15,
7
- Service74,
8
- node79
9
- } from "./bus-x227z7gv.js";
7
+ Service72,
8
+ node77
9
+ } from "./reference-v9p2d0aj.js";
10
10
  import {
11
- Service46,
12
- node49
13
- } from "./bus-0g3tnqy3.js";
11
+ Service53,
12
+ node57
13
+ } from "./reference-s89drx3k.js";
14
14
  import {
15
15
  combine2
16
- } from "./bus-eaj1djv9.js";
16
+ } from "./reference-s8d7rejh.js";
17
17
  import {
18
- make15
19
- } from "./bus-3fqa324q.js";
18
+ make13
19
+ } from "./reference-a1b3c13m.js";
20
20
  import {
21
- Service49,
22
- node52
23
- } from "./bus-58mjts13.js";
21
+ Service39,
22
+ node42
23
+ } from "./reference-a3re5se6.js";
24
24
  import {
25
- Service76,
26
- node81
27
- } from "./bus-yv5atzv7.js";
25
+ Service73,
26
+ node78
27
+ } from "./reference-j460kft3.js";
28
28
  import {
29
- Service36,
30
- node41
31
- } from "./bus-k6gg2q9r.js";
29
+ Service18,
30
+ node22
31
+ } from "./reference-v0tcdknz.js";
32
32
  import {
33
33
  AgentNotFoundError2
34
- } from "./bus-k7d0894y.js";
34
+ } from "./reference-hj2q4vx8.js";
35
35
  import {
36
36
  provenance2
37
- } from "./bus-w1k39n5e.js";
37
+ } from "./reference-paegk39x.js";
38
38
  import {
39
39
  entriesForRunner2
40
- } from "./bus-wmbchhnn.js";
40
+ } from "./reference-56pr6y5x.js";
41
41
  import {
42
- Service73,
43
- node78
44
- } from "./bus-gdvdcvqc.js";
42
+ Service70,
43
+ node75
44
+ } from "./reference-4gpvdk2f.js";
45
45
  import {
46
- Service39,
47
- node43
48
- } from "./bus-brzgr68a.js";
46
+ Service26,
47
+ node30
48
+ } from "./reference-gj7hfxsf.js";
49
49
  import {
50
- Service31,
51
- node36
52
- } from "./bus-t9atnbvs.js";
50
+ Service16,
51
+ node20
52
+ } from "./reference-1hx3a7j4.js";
53
53
  import {
54
- Service29,
55
- node34
56
- } from "./bus-749mk3f5.js";
54
+ Service15,
55
+ node19
56
+ } from "./reference-18s2crhv.js";
57
57
  import {
58
- Service30,
59
- node35
60
- } from "./bus-nk7ds145.js";
58
+ Service19,
59
+ node23
60
+ } from "./reference-kdsmfbp6.js";
61
61
  import {
62
- Service32,
63
- node37
64
- } from "./bus-zc9t3nk1.js";
62
+ Service25,
63
+ node29
64
+ } from "./reference-mr7fas37.js";
65
65
  import {
66
- Service34,
67
- node39
68
- } from "./bus-2gqyg9n5.js";
66
+ Service22,
67
+ node27
68
+ } from "./reference-pcbr6txn.js";
69
69
  import {
70
- Service33,
71
- node38
72
- } from "./bus-gxnpxzy4.js";
70
+ Service20,
71
+ node24
72
+ } from "./reference-x9qzeg26.js";
73
73
  import {
74
- Service44,
75
- node47
76
- } from "./bus-xtx0ppn2.js";
74
+ Service29,
75
+ node32
76
+ } from "./reference-shrxzsvg.js";
77
77
  import {
78
78
  __export
79
- } from "./bus-9rqn6x4v.js";
79
+ } from "./reference-9rqn6x4v.js";
80
80
 
81
81
  // src/session/context.ts
82
82
  var exports_context = {};
83
83
  __export(exports_context, {
84
- Service: () => Service28,
84
+ Service: () => Service14,
85
85
  SessionContext: () => exports_context,
86
- node: () => node33
86
+ node: () => node18
87
87
  });
88
88
  import { Model } from "@opencode/schema/model";
89
89
  import { Context, Effect, Layer } from "effect";
90
90
  import { makeLocationNode } from "@opencode/util/effect/app-node";
91
- class Service28 extends Context.Service()("@opencode/SessionContext") {
91
+ class Service14 extends Context.Service()("@opencode/SessionContext") {
92
92
  }
93
- var layer = Layer.effect(Service28, Effect.gen(function* () {
94
- const agents = yield* Service74;
95
- const builtins = yield* Service36;
96
- const catalog = yield* Service46;
93
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
94
+ const agents = yield* Service72;
95
+ const builtins = yield* Service18;
96
+ const catalog = yield* Service53;
97
97
  const db = (yield* Service80).db;
98
- const discovery = yield* Service49;
99
- const entries = yield* Service34;
100
- const location = yield* Service76;
101
- const mcpInstructions = yield* Service29;
102
- const mcpTools = yield* Service31;
103
- const models = yield* Service44;
104
- const modelRequests = yield* Service33;
105
- const referenceInstructions = yield* Service30;
106
- const skillInstructions = yield* Service32;
107
- const store = yield* Service73;
108
- const registry = yield* Service39;
98
+ const discovery = yield* Service39;
99
+ const entries = yield* Service22;
100
+ const location = yield* Service73;
101
+ const mcpInstructions = yield* Service15;
102
+ const mcpTools = yield* Service16;
103
+ const models = yield* Service29;
104
+ const modelRequests = yield* Service20;
105
+ const referenceInstructions = yield* Service19;
106
+ const skillInstructions = yield* Service25;
107
+ const store = yield* Service70;
108
+ const registry = yield* Service26;
109
109
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
110
110
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
111
111
  const agent = yield* agents.get(ID15.make("title"));
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
161
161
  agent: { ...agent, info: agent.info },
162
162
  instructions: combine2([
163
163
  loaded.builtins,
164
- make15(loaded.tools.codeModeCatalog),
164
+ make13(loaded.tools.codeModeCatalog),
165
165
  loaded.discovery,
166
166
  loaded.skills,
167
167
  loaded.references,
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
183
183
  tools: selection.tools
184
184
  };
185
185
  });
186
- return Service28.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
186
+ return Service14.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
187
187
  }));
188
188
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
189
- var node33 = makeLocationNode({
190
- service: Service28,
189
+ var node18 = makeLocationNode({
190
+ service: Service14,
191
191
  layer,
192
192
  deps: [
193
- node79,
194
- node49,
193
+ node77,
194
+ node57,
195
195
  node85,
196
- node41,
197
- node52,
198
- node39,
199
- node81,
200
- node34,
201
- node36,
202
- node35,
203
- node47,
204
- node38,
196
+ node22,
197
+ node42,
198
+ node27,
205
199
  node78,
206
- node37,
207
- node43
200
+ node19,
201
+ node20,
202
+ node23,
203
+ node32,
204
+ node24,
205
+ node75,
206
+ node29,
207
+ node30
208
208
  ]
209
209
  });
210
210
 
211
- export { Service28, node33, exports_context };
211
+ export { Service14, node18, exports_context };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./bus-8292cgjf.js";
4
+ } from "./reference-m0zxgcxr.js";
5
5
  import {
6
6
  create3
7
- } from "./bus-kg06axw8.js";
7
+ } from "./reference-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./bus-6ez8fd9t.js";
10
+ } from "./reference-4dp2399g.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event11,
21
- ID: () => ID6,
22
- Info: () => Info9,
20
+ Event: () => Event16,
21
+ ID: () => ID11,
22
+ Info: () => Info25,
23
23
  Name: () => Name2,
24
- Service: () => Service51,
24
+ Service: () => Service67,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source3,
26
+ Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node54,
29
+ node: () => node72,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event11 } from "@opencode/schema/skill";
37
+ import { Event as Event16 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source3 = Skill.Source;
42
- var Info9 = Skill.Info;
43
- var ID6 = Skill.ID;
41
+ var Source4 = Skill.Source;
42
+ var Info25 = Skill.Info;
43
+ var ID11 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service51 extends Context.Service()("@opencode/Skill") {
74
+ class Service67 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service51, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
77
77
  const bus = yield* Service79;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID6.make(id)),
83
+ get: (id) => editor.skills.get(ID11.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID6.make(id));
88
+ const current = editor.skills.get(ID11.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID6.make(id);
92
+ current.id = ID11.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID6.make(id));
95
+ editor.skills.delete(ID11.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service51.of({
100
+ return Service67.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node54 = makeLocationNode({
112
- service: Service51,
111
+ var node72 = makeLocationNode({
112
+ service: Service67,
113
113
  layer,
114
114
  deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info9, ID6, Name2, available2, toModelOutput3, prepare3, Service51, node54, exports_skill5, Event11 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info25, ID11, Name2, available2, toModelOutput3, prepare3, Service67, node72, exports_skill5, Event16 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info22
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info22 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info22 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info22, exports_command5 };
21
+ export { Info14, exports_command5 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./bus-wmshdsxh.js";
3
+ } from "./reference-a9m3pnym.js";
4
4
  import {
5
5
  lazy2
6
- } from "./bus-88xbtdfr.js";
6
+ } from "./reference-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./bus-y1fvbwt7.js";
9
+ } from "./reference-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./bus-9rqn6x4v.js";
12
+ } from "./reference-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID12,
2
+ ID9,
3
3
  isAISDK2,
4
4
  packageName2
5
- } from "./bus-9qn3qky1.js";
5
+ } from "./reference-t37txjkj.js";
6
6
 
7
7
  // src/plugin/provider/google-vertex.ts
8
8
  import { Effect } from "effect";
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
39
39
  for (const item of evt.provider.list()) {
40
40
  if (!isAISDK2(item.provider.package))
41
41
  continue;
42
- if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID12.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
42
+ if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID9.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
43
43
  continue;
44
44
  const project = resolveProject(item.provider.settings ?? {});
45
45
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
56
56
  }
57
57
  });
58
58
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
59
- if (evt.model.providerID === ID12.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
59
+ if (evt.model.providerID === ID9.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
60
60
  evt.options.fetch = authFetch(evt.options.fetch);
61
61
  return;
62
62
  }
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
87
87
  });
88
88
  }));
89
89
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
90
- if (evt.model.providerID !== ID12.googleVertex)
90
+ if (evt.model.providerID !== ID9.googleVertex)
91
91
  return;
92
92
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
93
93
  }));
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options9,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options9, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./bus-9qn3qky1.js";
4
+ } from "./reference-t37txjkj.js";
5
5
  import {
6
6
  __export
7
- } from "./bus-9rqn6x4v.js";
7
+ } from "./reference-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};