@opencode/core 0.0.0-dev-19531 → 0.0.0-dev-19532

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{model-resolver-61b2qq6z.js → bus-02592khq.js} +30 -30
  9. package/dist/chunks/{model-resolver-p15qfr9z.js → bus-0dyq8gyf.js} +11 -11
  10. package/dist/chunks/{model-resolver-0gaj4617.js → bus-0gaj4617.js} +1 -1
  11. package/dist/chunks/{model-resolver-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-resolver-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{model-resolver-dfe8djrf.js → bus-0v53mg2y.js} +4 -4
  14. package/dist/chunks/{model-resolver-4jk0qxj4.js → bus-0w62qmxp.js} +4 -4
  15. package/dist/chunks/{model-resolver-q8k6t814.js → bus-0x70yrfe.js} +4 -4
  16. package/dist/chunks/{model-resolver-1snz0n3v.js → bus-0yb3zt6n.js} +73 -73
  17. package/dist/chunks/{model-resolver-p2vh9553.js → bus-0yrw6g29.js} +4 -4
  18. package/dist/chunks/{model-resolver-rjxbe5xz.js → bus-16t47m27.js} +10 -10
  19. package/dist/chunks/{model-resolver-atgag4yh.js → bus-16z1avxm.js} +29 -29
  20. package/dist/chunks/{model-resolver-mtq6xxnx.js → bus-19vf66h0.js} +7 -7
  21. package/dist/chunks/{model-resolver-5kh0wb3v.js → bus-1a6961cr.js} +13 -13
  22. package/dist/chunks/{model-resolver-v71jvb7r.js → bus-1b33eeqb.js} +5 -5
  23. package/dist/chunks/{model-resolver-p97yj8zx.js → bus-1cq7yd6n.js} +24 -24
  24. package/dist/chunks/{model-resolver-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{model-resolver-frynmqdf.js → bus-1n1xdze8.js} +4 -4
  26. package/dist/chunks/{model-resolver-21r38tys.js → bus-21r38tys.js} +1 -1
  27. package/dist/chunks/{model-resolver-mgp54d0b.js → bus-2a4f6v5q.js} +8 -8
  28. package/dist/chunks/{model-resolver-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{model-resolver-mfka0yjk.js → bus-2dwd4qsj.js} +11 -11
  30. package/dist/chunks/{model-resolver-csdaj16z.js → bus-2f04pwep.js} +3 -3
  31. package/dist/chunks/{model-resolver-rwa5eky2.js → bus-2js4x8sp.js} +30 -30
  32. package/dist/chunks/{model-resolver-n03j43sk.js → bus-2rrdrtgw.js} +3 -3
  33. package/dist/chunks/{model-resolver-j3h8c2cp.js → bus-2t1a0z9j.js} +18 -18
  34. package/dist/chunks/{model-resolver-0fnjefvz.js → bus-2wt45vda.js} +41 -41
  35. package/dist/chunks/{model-resolver-fy0w211v.js → bus-2x6b16q7.js} +3 -3
  36. package/dist/chunks/{model-resolver-ndade498.js → bus-3fqa324q.js} +20 -20
  37. package/dist/chunks/{model-resolver-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{model-resolver-wq487jqz.js → bus-3ry95nek.js} +15 -15
  39. package/dist/chunks/{model-resolver-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{model-resolver-e5z2yc0m.js → bus-3sv5gq6k.js} +17 -17
  41. package/dist/chunks/{model-resolver-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-resolver-dr6k78h1.js → bus-3v2k7spa.js} +18 -18
  43. package/dist/chunks/{model-resolver-yaga2gvt.js → bus-3zskh2xb.js} +12 -12
  44. package/dist/chunks/bus-44zpxywp.js +462 -0
  45. package/dist/chunks/{model-resolver-swjfbv5x.js → bus-46zct9q2.js} +21 -21
  46. package/dist/chunks/{model-resolver-hjt4xg1x.js → bus-47gsdddb.js} +7 -7
  47. package/dist/chunks/{model-resolver-2rcpqfm0.js → bus-4bw04cwj.js} +9 -9
  48. package/dist/chunks/{model-resolver-gha63455.js → bus-4pc0t7v2.js} +12 -12
  49. package/dist/chunks/{model-resolver-t8cy7fff.js → bus-4psfaqfh.js} +11 -11
  50. package/dist/chunks/{model-resolver-fat0n13h.js → bus-4pxgevm9.js} +6 -6
  51. package/dist/chunks/{model-resolver-44xcyhkw.js → bus-4qw8y0pn.js} +18 -18
  52. package/dist/chunks/{model-resolver-fw6f7ywv.js → bus-4x21xr9m.js} +20 -20
  53. package/dist/chunks/{model-resolver-0ajdgxne.js → bus-4y66k410.js} +5 -5
  54. package/dist/chunks/{model-resolver-66e7kvmh.js → bus-4zja7gva.js} +15 -15
  55. package/dist/chunks/{model-resolver-h2fnwfb0.js → bus-50qts2yg.js} +11 -11
  56. package/dist/chunks/{model-resolver-6yxmp89e.js → bus-53qwdxjh.js} +12 -12
  57. package/dist/chunks/{model-resolver-bs3vba9y.js → bus-54sc4q3z.js} +20 -20
  58. package/dist/chunks/{model-resolver-4q81s1cb.js → bus-55a4dvpq.js} +5 -5
  59. package/dist/chunks/{model-resolver-1ygqh575.js → bus-56gdpj1q.js} +9 -9
  60. package/dist/chunks/{model-resolver-5daktx2q.js → bus-5daktx2q.js} +1 -1
  61. package/dist/chunks/{model-resolver-r3aj5peb.js → bus-5eadk2y6.js} +17 -17
  62. package/dist/chunks/{model-resolver-13h6pnmt.js → bus-5f78vy6n.js} +46 -46
  63. package/dist/chunks/{model-resolver-0r684n0p.js → bus-5hk4b2g6.js} +8 -8
  64. package/dist/chunks/{model-resolver-9s6q7dfh.js → bus-5j8ch41c.js} +9 -9
  65. package/dist/chunks/bus-5ndkbceg.js +247 -0
  66. package/dist/chunks/{model-resolver-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{model-resolver-nabxe85v.js → bus-60j88ajr.js} +35 -35
  68. package/dist/chunks/{model-resolver-669tq793.js → bus-669tq793.js} +1 -1
  69. package/dist/chunks/{model-resolver-8efzajgs.js → bus-66vyzje4.js} +15 -15
  70. package/dist/chunks/{model-resolver-b7pbz13w.js → bus-6gf7pn9e.js} +28 -28
  71. package/dist/chunks/{model-resolver-z6qpxre5.js → bus-6gq5qk75.js} +20 -20
  72. package/dist/chunks/{model-resolver-2402vzrj.js → bus-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{model-resolver-q78vsr09.js → bus-6m4cf926.js} +18 -18
  74. package/dist/chunks/{model-resolver-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{model-resolver-8nghd9xh.js → bus-6n09301d.js} +4 -4
  76. package/dist/chunks/{model-resolver-h6nde2e3.js → bus-6rsp9rtj.js} +13 -13
  77. package/dist/chunks/{model-resolver-gkdyp9ys.js → bus-71mnszxh.js} +6 -6
  78. package/dist/chunks/{model-resolver-71q4at8m.js → bus-71q4at8m.js} +1 -1
  79. package/dist/chunks/{model-resolver-zpp9mfbs.js → bus-74hkwjyc.js} +28 -28
  80. package/dist/chunks/{model-resolver-tyswbbjp.js → bus-75ke43vn.js} +16 -16
  81. package/dist/chunks/{model-resolver-k06qmaw9.js → bus-770xh70b.js} +22 -22
  82. package/dist/chunks/{model-resolver-vb7d7sbc.js → bus-7938r61h.js} +31 -31
  83. package/dist/chunks/{model-resolver-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{model-resolver-kt2k2fvy.js → bus-7dfrp1b5.js} +12 -12
  85. package/dist/chunks/{model-resolver-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
  86. package/dist/chunks/{model-resolver-7xhhf2aw.js → bus-7p797550.js} +9 -9
  87. package/dist/chunks/{model-resolver-5faec82q.js → bus-81swgkk7.js} +7 -7
  88. package/dist/chunks/{model-resolver-xsx6sc1v.js → bus-85maddxk.js} +159 -159
  89. package/dist/chunks/{model-resolver-e2tc44kv.js → bus-87mhqf8f.js} +15 -15
  90. package/dist/chunks/{model-resolver-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{model-resolver-zjzag8dm.js → bus-8ffq6xab.js} +15 -15
  92. package/dist/chunks/{model-resolver-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{model-resolver-cnr77sqv.js → bus-8z7d5nc1.js} +8 -8
  94. package/dist/chunks/{model-resolver-ddd0tqrv.js → bus-90ettt65.js} +24 -24
  95. package/dist/chunks/{model-resolver-wg7eakzt.js → bus-9xhs6jd2.js} +4 -4
  96. package/dist/chunks/{model-resolver-4xe2p835.js → bus-a0eq18d3.js} +11 -11
  97. package/dist/chunks/{model-resolver-5c4hm403.js → bus-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{model-resolver-5d4cs5xf.js → bus-a8mmyy8c.js} +11 -11
  99. package/dist/chunks/{model-resolver-p1pr2h1d.js → bus-a8nah55w.js} +1 -1
  100. package/dist/chunks/{model-resolver-aaet6srn.js → bus-aaet6srn.js} +2 -2
  101. package/dist/chunks/{model-resolver-zmhtgr1a.js → bus-ae15aq84.js} +16 -16
  102. package/dist/chunks/{model-resolver-n2bk7ja5.js → bus-afjqk4pm.js} +7 -7
  103. package/dist/chunks/{model-resolver-4t19f8k2.js → bus-afycertr.js} +32 -32
  104. package/dist/chunks/{model-resolver-s95j2a00.js → bus-akw77m90.js} +1 -1
  105. package/dist/chunks/{model-resolver-9z5hcwep.js → bus-amvyxnqq.js} +22 -22
  106. package/dist/chunks/{model-resolver-h7dmbe3e.js → bus-b2a4y3ge.js} +9 -9
  107. package/dist/chunks/{model-resolver-d8dbj37k.js → bus-b2xqb8rz.js} +9 -9
  108. package/dist/chunks/{model-resolver-hahgrcae.js → bus-b39wx4cr.js} +19 -19
  109. package/dist/chunks/{model-resolver-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{model-resolver-sbqaqa2h.js → bus-ba48bprk.js} +17 -17
  111. package/dist/chunks/{model-resolver-xnbrvajn.js → bus-bbdswm9c.js} +9 -9
  112. package/dist/chunks/{model-resolver-drwkn14p.js → bus-bc62zhsy.js} +22 -22
  113. package/dist/chunks/{model-resolver-sdbkfcvv.js → bus-bha4atvq.js} +4 -4
  114. package/dist/chunks/{model-resolver-ymbkr1tg.js → bus-bmn5hybw.js} +41 -41
  115. package/dist/chunks/{model-resolver-nv7590vc.js → bus-bphns1nr.js} +4 -4
  116. package/dist/chunks/{model-resolver-jakagae6.js → bus-bspv2gr0.js} +27 -27
  117. package/dist/chunks/{model-resolver-zf9fe0vx.js → bus-c16gk4qh.js} +29 -29
  118. package/dist/chunks/{model-resolver-z1vbyafm.js → bus-c5yfc3wf.js} +10 -10
  119. package/dist/chunks/{model-resolver-eqb5zhc6.js → bus-c6g8q0m5.js} +43 -43
  120. package/dist/chunks/{model-resolver-t2vpa3bp.js → bus-c78bbtc9.js} +5 -5
  121. package/dist/chunks/{model-resolver-v8xf7pck.js → bus-c7sjv0xt.js} +20 -20
  122. package/dist/chunks/{model-resolver-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{model-resolver-n2dbyk7b.js → bus-cze4a9ee.js} +4 -4
  124. package/dist/chunks/{model-resolver-jwbqhvyy.js → bus-d2aac7k2.js} +5 -5
  125. package/dist/chunks/{model-resolver-4334gj7r.js → bus-dc76j9wz.js} +8 -8
  126. package/dist/chunks/{model-resolver-ebbn7jdz.js → bus-dd6zat4h.js} +8 -8
  127. package/dist/chunks/{model-resolver-f486cjd7.js → bus-dfyxxgza.js} +9 -9
  128. package/dist/chunks/{model-resolver-w4zny49r.js → bus-dgj0dq1g.js} +8 -8
  129. package/dist/chunks/{model-resolver-x8y7wgxd.js → bus-dhbqv74m.js} +9 -9
  130. package/dist/chunks/{model-resolver-zaz4910g.js → bus-e30q84vv.js} +32 -32
  131. package/dist/chunks/{model-resolver-c4c5wrfd.js → bus-e47b9zhk.js} +1 -1
  132. package/dist/chunks/{model-resolver-t550f9t1.js → bus-eaj1djv9.js} +8 -8
  133. package/dist/chunks/{model-resolver-9e3vcssh.js → bus-ec8389mk.js} +4 -4
  134. package/dist/chunks/{model-resolver-mwmpf2dr.js → bus-ed1pg64g.js} +18 -18
  135. package/dist/chunks/{model-resolver-dfst59nt.js → bus-ehs9b5vx.js} +16 -16
  136. package/dist/chunks/{model-resolver-fyekc6s2.js → bus-eqk8yf10.js} +17 -17
  137. package/dist/chunks/{model-resolver-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{model-resolver-k58qhvzp.js → bus-ev45yzk9.js} +10 -10
  139. package/dist/chunks/{model-resolver-hdnk95c8.js → bus-f828m53h.js} +2 -2
  140. package/dist/chunks/{model-resolver-dj2gndk9.js → bus-fe2agyxh.js} +16 -16
  141. package/dist/chunks/{model-resolver-njysne83.js → bus-ferfphdt.js} +5 -5
  142. package/dist/chunks/{model-resolver-aeex8way.js → bus-ff8d0h66.js} +24 -24
  143. package/dist/chunks/{model-resolver-aexrjf4q.js → bus-fg7sn5ej.js} +24 -24
  144. package/dist/chunks/{model-resolver-t0x5rdq8.js → bus-fjmrr6sh.js} +9 -9
  145. package/dist/chunks/{model-resolver-n4d4r70p.js → bus-fjz9v5g8.js} +42 -42
  146. package/dist/chunks/{model-resolver-pck3w1ab.js → bus-frwpyczr.js} +4 -4
  147. package/dist/chunks/{model-resolver-pka8c3mw.js → bus-fw1930ms.js} +6 -6
  148. package/dist/chunks/{model-resolver-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{model-resolver-9avrpg3p.js → bus-fxc2xvv4.js} +24 -24
  150. package/dist/chunks/{model-resolver-20erkkh9.js → bus-g5vg9enj.js} +16 -16
  151. package/dist/chunks/{model-resolver-8h4a5z95.js → bus-g8471784.js} +2 -2
  152. package/dist/chunks/{model-resolver-3h8hqytd.js → bus-garm4sqs.js} +13 -13
  153. package/dist/chunks/{model-resolver-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{model-resolver-3fc6dm20.js → bus-gdvy8fx6.js} +4 -4
  155. package/dist/chunks/{model-resolver-x21rsz6v.js → bus-ghr3zqya.js} +19 -19
  156. package/dist/chunks/{model-resolver-jyfdqx07.js → bus-gm1wa5n1.js} +19 -19
  157. package/dist/chunks/{model-resolver-mb9syhn1.js → bus-gqc6jj57.js} +28 -28
  158. package/dist/chunks/{model-resolver-dwe4spzd.js → bus-grgpe7m7.js} +3 -3
  159. package/dist/chunks/{model-resolver-9tw56fnr.js → bus-gsx0ryk4.js} +9 -9
  160. package/dist/chunks/{model-resolver-nwjtzbvw.js → bus-gsy9mqvk.js} +7 -7
  161. package/dist/chunks/{model-resolver-yyb7tjpc.js → bus-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{model-resolver-0dy66kxe.js → bus-gzqektst.js} +11 -11
  163. package/dist/chunks/{model-resolver-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{model-resolver-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{model-resolver-4v4bfvma.js → bus-h9rm1rrn.js} +5 -5
  166. package/dist/chunks/{model-resolver-rsj9vhs1.js → bus-har61g9j.js} +24 -24
  167. package/dist/chunks/{model-resolver-zqfm6xas.js → bus-hv3bygr5.js} +5 -5
  168. package/dist/chunks/{model-resolver-mcdc48yx.js → bus-hvhbpv3p.js} +9 -9
  169. package/dist/chunks/{model-resolver-mdenrfp6.js → bus-hvt2jj5z.js} +43 -43
  170. package/dist/chunks/{model-resolver-vcrpr27f.js → bus-j4zenrww.js} +7 -7
  171. package/dist/chunks/{model-resolver-marnn1hp.js → bus-j5208yae.js} +5 -5
  172. package/dist/chunks/{model-resolver-j56e64zr.js → bus-j56e64zr.js} +1 -1
  173. package/dist/chunks/{model-resolver-qvq5ww91.js → bus-j8jb4n4n.js} +26 -26
  174. package/dist/chunks/{model-resolver-28gfvtek.js → bus-jcfegcn3.js} +47 -47
  175. package/dist/chunks/{model-resolver-5s8kkgq1.js → bus-jh64gntc.js} +86 -86
  176. package/dist/chunks/{model-resolver-pz6n093v.js → bus-k10ha5xs.js} +30 -30
  177. package/dist/chunks/{model-resolver-vsp1fds9.js → bus-k2h4r4s0.js} +19 -19
  178. package/dist/chunks/{model-resolver-05k3a4yp.js → bus-kdc4anf3.js} +2 -2
  179. package/dist/chunks/{model-resolver-kg06axw8.js → bus-kg06axw8.js} +1 -1
  180. package/dist/chunks/{model-resolver-sp6z5kbv.js → bus-kh807a12.js} +33 -33
  181. package/dist/chunks/{model-resolver-txnj3dzg.js → bus-ktnrc8bc.js} +7 -7
  182. package/dist/chunks/{model-resolver-kew454ha.js → bus-kyqhkjqh.js} +13 -13
  183. package/dist/chunks/{model-resolver-kp92jgaq.js → bus-m23kbvcb.js} +26 -26
  184. package/dist/chunks/{model-resolver-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{model-resolver-p6s3kjn1.js → bus-mbj0x7wk.js} +11 -11
  186. package/dist/chunks/{model-resolver-afrwk4ch.js → bus-mbstch5d.js} +8 -8
  187. package/dist/chunks/{model-resolver-yvegcnp8.js → bus-mcw92z4j.js} +23 -23
  188. package/dist/chunks/{model-resolver-z8pjpgj2.js → bus-mfgbhmnr.js} +24 -24
  189. package/dist/chunks/{model-resolver-m9199dx3.js → bus-mkyh9633.js} +37 -37
  190. package/dist/chunks/{model-resolver-mhkvc446.js → bus-mvfsc1pv.js} +3 -3
  191. package/dist/chunks/{model-resolver-vq838htm.js → bus-n2acnnxb.js} +9 -9
  192. package/dist/chunks/{model-resolver-mjvxm5h6.js → bus-nbq1559h.js} +6 -6
  193. package/dist/chunks/{model-resolver-knyfvgyf.js → bus-nfffd1z4.js} +13 -13
  194. package/dist/chunks/{model-resolver-65mwty8e.js → bus-ngbhtf3x.js} +10 -10
  195. package/dist/chunks/{model-resolver-hfkyrasj.js → bus-ngdk1p9a.js} +44 -44
  196. package/dist/chunks/{model-resolver-6jswab00.js → bus-nm03esje.js} +3 -3
  197. package/dist/chunks/{model-resolver-wpv7jc2z.js → bus-p2ty0fa7.js} +15 -15
  198. package/dist/chunks/{model-resolver-6jzjxba3.js → bus-p7f9b7q8.js} +15 -15
  199. package/dist/chunks/{model-resolver-j935v87r.js → bus-paphc93g.js} +2 -2
  200. package/dist/chunks/{model-resolver-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{model-resolver-pknna89w.js → bus-pknna89w.js} +1 -1
  202. package/dist/chunks/{model-resolver-da6kr1wx.js → bus-prbnmmzj.js} +8 -8
  203. package/dist/chunks/{model-resolver-mn7ssvtj.js → bus-pwzb9yye.js} +8 -8
  204. package/dist/chunks/{model-resolver-kck439bj.js → bus-q4aknyan.js} +30 -30
  205. package/dist/chunks/{model-resolver-h8frrzh0.js → bus-q4eww03h.js} +1 -1
  206. package/dist/chunks/{model-resolver-zjxwcf81.js → bus-q73cp8nf.js} +19 -19
  207. package/dist/chunks/{model-resolver-0hxph87b.js → bus-qaed280k.js} +5 -5
  208. package/dist/chunks/bus-qc068m1q.js +18 -0
  209. package/dist/chunks/{model-resolver-52p5p480.js → bus-qc5cjrxt.js} +30 -30
  210. package/dist/chunks/{model-resolver-nvsyq3ba.js → bus-qmmrj5pn.js} +59 -59
  211. package/dist/chunks/{model-resolver-j8b7kmqb.js → bus-qmtm97bc.js} +27 -27
  212. package/dist/chunks/{model-resolver-r5wr7fgd.js → bus-qn7x8t5j.js} +17 -17
  213. package/dist/chunks/{model-resolver-b5nae5wy.js → bus-qqxmp7cj.js} +34 -34
  214. package/dist/chunks/{model-resolver-qsdy395h.js → bus-qsdy395h.js} +1 -1
  215. package/dist/chunks/{model-resolver-v5hpcsb0.js → bus-qte5z7bc.js} +5 -5
  216. package/dist/chunks/{model-resolver-zckvtzsb.js → bus-r5bt13a0.js} +11 -11
  217. package/dist/chunks/{model-resolver-r9mregkx.js → bus-r9mregkx.js} +2 -2
  218. package/dist/chunks/{model-resolver-j7867dn5.js → bus-renqy12v.js} +9 -9
  219. package/dist/chunks/{model-resolver-b3wkxfg9.js → bus-rfnzy394.js} +1 -1
  220. package/dist/chunks/{model-resolver-1j5g3f90.js → bus-rpkwvkgg.js} +32 -32
  221. package/dist/chunks/{model-resolver-nw25ebmp.js → bus-rqkqq2v2.js} +13 -13
  222. package/dist/chunks/{model-resolver-43thsgmw.js → bus-s0ax2cbm.js} +20 -20
  223. package/dist/chunks/{model-resolver-kfz2kx3w.js → bus-s1qt972z.js} +10 -10
  224. package/dist/chunks/{model-resolver-031kg769.js → bus-s2m31r1z.js} +18 -18
  225. package/dist/chunks/{model-resolver-cpwgm14c.js → bus-s2pmvhcg.js} +24 -24
  226. package/dist/chunks/{model-resolver-tyqkzprt.js → bus-s8610hey.js} +2 -2
  227. package/dist/chunks/{model-resolver-b0xvdmck.js → bus-sm5bw9bb.js} +14 -14
  228. package/dist/chunks/{model-resolver-8xp7je32.js → bus-sq23zfnk.js} +17 -17
  229. package/dist/chunks/{model-resolver-jd00bmkr.js → bus-sqevgg1x.js} +6 -6
  230. package/dist/chunks/{model-resolver-bdv0prqb.js → bus-ssafw484.js} +15 -15
  231. package/dist/chunks/{model-resolver-sr987mfq.js → bus-stzsmyz8.js} +7 -7
  232. package/dist/chunks/{model-resolver-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{model-resolver-s24p5rny.js → bus-tbj6yr3j.js} +33 -33
  234. package/dist/chunks/{model-resolver-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{model-resolver-tdstcens.js → bus-tdstcens.js} +1 -1
  236. package/dist/chunks/{model-resolver-71t2waba.js → bus-tfmvqhpz.js} +10 -10
  237. package/dist/chunks/{model-resolver-nghrh7na.js → bus-tk7tn7wd.js} +1 -1
  238. package/dist/chunks/{model-resolver-h5knn3sc.js → bus-tmw71etn.js} +5 -5
  239. package/dist/chunks/{model-resolver-fg61w092.js → bus-tseh9362.js} +18 -18
  240. package/dist/chunks/{model-resolver-tvtrv512.js → bus-tvtrv512.js} +1 -1
  241. package/dist/chunks/{model-resolver-yjwqdqt2.js → bus-tx4v77ns.js} +25 -25
  242. package/dist/chunks/{model-resolver-sdfkf7b9.js → bus-txh28jzs.js} +8 -8
  243. package/dist/chunks/{model-resolver-txtwx9zc.js → bus-vbxjpcd9.js} +19 -19
  244. package/dist/chunks/{model-resolver-qfzde7bh.js → bus-ve6nm2s5.js} +6 -6
  245. package/dist/chunks/{model-resolver-veqvce7d.js → bus-veqvce7d.js} +1 -1
  246. package/dist/chunks/{model-resolver-txefqv94.js → bus-vet0v4q3.js} +56 -56
  247. package/dist/chunks/{model-resolver-e9wvc5tf.js → bus-vgjt9c5s.js} +3 -3
  248. package/dist/chunks/{model-resolver-2xbd7nbt.js → bus-vhdkxkb7.js} +23 -23
  249. package/dist/chunks/{model-resolver-fz9at2d6.js → bus-vt6mrpr2.js} +1 -1
  250. package/dist/chunks/{model-resolver-5z63511r.js → bus-vyjzrkx0.js} +9 -9
  251. package/dist/chunks/{model-resolver-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{model-resolver-88sz8qcd.js → bus-w1k39n5e.js} +4 -4
  253. package/dist/chunks/{model-resolver-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{model-resolver-wd87259q.js → bus-wd87259q.js} +1 -1
  255. package/dist/chunks/{model-resolver-c68b4qab.js → bus-wk58jv74.js} +10 -10
  256. package/dist/chunks/bus-wn48djn2.js +26 -0
  257. package/dist/chunks/{model-resolver-y0vt1sxg.js → bus-wp3ra78r.js} +13 -13
  258. package/dist/chunks/{model-resolver-6ze89g9b.js → bus-wxhnm4vs.js} +5 -5
  259. package/dist/chunks/{model-resolver-pch53j0k.js → bus-x0w3rp20.js} +6 -6
  260. package/dist/chunks/{model-resolver-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{model-resolver-gkytqtkj.js → bus-x2km63an.js} +14 -14
  262. package/dist/chunks/{model-resolver-6n5283ys.js → bus-x7r4jqvp.js} +14 -14
  263. package/dist/chunks/{model-resolver-xhmq8qgk.js → bus-xhmq8qgk.js} +2 -2
  264. package/dist/chunks/{model-resolver-0gjxn4me.js → bus-xjtkmra5.js} +35 -35
  265. package/dist/chunks/{model-resolver-33yp9811.js → bus-xp20kysk.js} +10 -10
  266. package/dist/chunks/{model-resolver-9h8yyxwx.js → bus-xpdpdhyj.js} +20 -20
  267. package/dist/chunks/{model-resolver-d0as5ky3.js → bus-xqh9be0f.js} +4 -4
  268. package/dist/chunks/{model-resolver-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{model-resolver-9a40xa2n.js → bus-y2s7ffcz.js} +36 -36
  270. package/dist/chunks/{model-resolver-nn5tgv9e.js → bus-y2wkm4mc.js} +19 -19
  271. package/dist/chunks/{model-resolver-s6z2946v.js → bus-y5pt965d.js} +17 -17
  272. package/dist/chunks/{model-resolver-y71avatq.js → bus-y71avatq.js} +1 -1
  273. package/dist/chunks/{model-resolver-x0kc6c96.js → bus-y9cz4bz0.js} +20 -20
  274. package/dist/chunks/{model-resolver-wn02ky47.js → bus-ynjvsx98.js} +11 -11
  275. package/dist/chunks/{model-resolver-1acjjqhc.js → bus-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{model-resolver-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{model-resolver-s4enseaf.js → bus-yrznvahk.js} +2 -2
  278. package/dist/chunks/{model-resolver-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{model-resolver-29x78va6.js → bus-z63w68vq.js} +6 -6
  280. package/dist/chunks/{model-resolver-p96r38ce.js → bus-za524gb0.js} +26 -26
  281. package/dist/chunks/{model-resolver-hn57h045.js → bus-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{model-resolver-rq775frq.js → bus-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{model-resolver-4s08xxae.js → bus-zpp4pmky.js} +8 -8
  284. package/dist/chunks/{model-resolver-n562g2hd.js → bus-zq1wyda0.js} +6 -6
  285. package/dist/chunks/{model-resolver-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-resolver-aryerr4z.js → bus-ztz1pyy1.js} +32 -32
  287. package/dist/chunks/{model-resolver-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +65 -65
  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/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +99 -99
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +85 -85
  428. package/dist/generate.js +90 -90
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +78 -78
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +83 -83
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +100 -100
  469. package/dist/mcp/instructions.js +119 -119
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +81 -81
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  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 +81 -81
  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 +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  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 +118 -118
  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 +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +341 -341
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +221 -221
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +84 -84
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +87 -87
  560. package/dist/reference/instructions.js +85 -85
  561. package/dist/reference.js +85 -85
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +92 -92
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +128 -128
  570. package/dist/session/context.js +148 -148
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +121 -121
  576. package/dist/session/generate.js +147 -147
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +85 -85
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +123 -123
  588. package/dist/session/projector.js +83 -83
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +120 -120
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +168 -168
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +148 -148
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +212 -212
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +101 -101
  623. package/dist/skill.js +106 -106
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +118 -118
  629. package/dist/tool/plugin/edit.js +116 -116
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +119 -119
  632. package/dist/tool/plugin/grep.js +121 -121
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +97 -97
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +211 -211
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +106 -106
  641. package/dist/tool/plugin/websearch.js +102 -102
  642. package/dist/tool/plugin/write.js +118 -118
  643. package/dist/tool/read-filesystem.js +97 -97
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +1 -1
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +5 -5
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +86 -86
  674. package/dist/websearch.js +77 -77
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +78 -78
  677. package/dist/workspace/driver.js +3 -3
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +77 -77
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +88 -88
  685. package/package.json +8 -8
  686. package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
  687. package/dist/chunks/model-resolver-9heqp6jx.js +0 -247
  688. package/dist/chunks/model-resolver-aed8g19c.js +0 -26
  689. package/dist/chunks/model-resolver-ctmnhs0f.js +0 -462
  690. /package/dist/chunks/{model-resolver-0mesazry.js → bus-0mesazry.js} +0 -0
  691. /package/dist/chunks/{model-resolver-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{model-resolver-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{model-resolver-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{model-resolver-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{model-resolver-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2710q6r3.js → bus-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{model-resolver-359p4xyc.js → bus-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3asan66x.js → bus-3asan66x.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{model-resolver-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{model-resolver-53557ph1.js → bus-53557ph1.js} +0 -0
  709. /package/dist/chunks/{model-resolver-550bvhaj.js → bus-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{model-resolver-6prwharc.js → bus-6prwharc.js} +0 -0
  711. /package/dist/chunks/{model-resolver-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{model-resolver-7m9af43g.js → bus-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{model-resolver-822emrt2.js → bus-822emrt2.js} +0 -0
  714. /package/dist/chunks/{model-resolver-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{model-resolver-8n3pysct.js → bus-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{model-resolver-922hggd3.js → bus-922hggd3.js} +0 -0
  717. /package/dist/chunks/{model-resolver-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{model-resolver-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{model-resolver-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{model-resolver-af5trqkr.js → bus-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{model-resolver-afrmfg78.js → bus-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{model-resolver-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{model-resolver-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{model-resolver-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{model-resolver-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{model-resolver-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{model-resolver-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{model-resolver-d9fn303g.js → bus-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{model-resolver-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{model-resolver-dajrwvna.js → bus-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{model-resolver-dap0rakb.js → bus-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{model-resolver-df08tz66.js → bus-df08tz66.js} +0 -0
  733. /package/dist/chunks/{model-resolver-dy18nga0.js → bus-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{model-resolver-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{model-resolver-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{model-resolver-ec1grn59.js → bus-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{model-resolver-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{model-resolver-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{model-resolver-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{model-resolver-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{model-resolver-faypxj3z.js → bus-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{model-resolver-fd410y7t.js → bus-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{model-resolver-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{model-resolver-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{model-resolver-g86h250q.js → bus-g86h250q.js} +0 -0
  746. /package/dist/chunks/{model-resolver-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{model-resolver-gftt206x.js → bus-gftt206x.js} +0 -0
  748. /package/dist/chunks/{model-resolver-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hk9envan.js → bus-hk9envan.js} +0 -0
  750. /package/dist/chunks/{model-resolver-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{model-resolver-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{model-resolver-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{model-resolver-mp448xyj.js → bus-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{model-resolver-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{model-resolver-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{model-resolver-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{model-resolver-njntx4h6.js → bus-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{model-resolver-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{model-resolver-q74kybfr.js → bus-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{model-resolver-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{model-resolver-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{model-resolver-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{model-resolver-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{model-resolver-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{model-resolver-twg0f83k.js → bus-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{model-resolver-w803qqfp.js → bus-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{model-resolver-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-wtztk69x.js → bus-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{model-resolver-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{model-resolver-x61499pn.js → bus-x61499pn.js} +0 -0
  777. /package/dist/chunks/{model-resolver-y44na4kk.js → bus-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{model-resolver-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{model-resolver-y8f7s663.js → bus-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{model-resolver-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{model-resolver-ym463w8f.js → bus-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{model-resolver-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,117 +1,117 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./model-resolver-dwe4spzd.js";
4
+ } from "./bus-grgpe7m7.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./model-resolver-dfst59nt.js";
6
+ Service76,
7
+ node81
8
+ } from "./bus-ehs9b5vx.js";
9
9
  import {
10
- ID9,
11
- Service51,
12
- node55
13
- } from "./model-resolver-ddd0tqrv.js";
10
+ ID15,
11
+ Service74,
12
+ node79
13
+ } from "./bus-90ettt65.js";
14
14
  import {
15
15
  AgentNotFoundError2
16
- } from "./model-resolver-7xhhf2aw.js";
16
+ } from "./bus-7p797550.js";
17
17
  import {
18
18
  combine2
19
- } from "./model-resolver-t550f9t1.js";
19
+ } from "./bus-eaj1djv9.js";
20
20
  import {
21
21
  provenance2
22
- } from "./model-resolver-88sz8qcd.js";
22
+ } from "./bus-w1k39n5e.js";
23
23
  import {
24
24
  entriesForRunner2
25
- } from "./model-resolver-zckvtzsb.js";
25
+ } from "./bus-r5bt13a0.js";
26
26
  import {
27
- Service50,
28
- node54
29
- } from "./model-resolver-gkytqtkj.js";
27
+ Service73,
28
+ node78
29
+ } from "./bus-x2km63an.js";
30
30
  import {
31
31
  merge2
32
- } from "./model-resolver-nvsyq3ba.js";
32
+ } from "./bus-qmmrj5pn.js";
33
33
  import {
34
- Service66,
35
- node71
36
- } from "./model-resolver-yjwqdqt2.js";
34
+ Service46,
35
+ node49
36
+ } from "./bus-tx4v77ns.js";
37
37
  import {
38
- make14
39
- } from "./model-resolver-ndade498.js";
38
+ make15
39
+ } from "./bus-3fqa324q.js";
40
40
  import {
41
- Service44,
42
- node47
43
- } from "./model-resolver-txtwx9zc.js";
41
+ Service49,
42
+ node52
43
+ } from "./bus-vbxjpcd9.js";
44
44
  import {
45
- Service33,
46
- node37
47
- } from "./model-resolver-x21rsz6v.js";
45
+ Service36,
46
+ node41
47
+ } from "./bus-ghr3zqya.js";
48
48
  import {
49
- Service52,
50
- node56
51
- } from "./model-resolver-9avrpg3p.js";
52
- import {
53
- Service30,
54
- node34
55
- } from "./model-resolver-yvegcnp8.js";
49
+ Service39,
50
+ node43
51
+ } from "./bus-fxc2xvv4.js";
56
52
  import {
57
- Service26,
58
- node30
59
- } from "./model-resolver-nn5tgv9e.js";
60
- import {
61
- Service32,
53
+ Service31,
62
54
  node36
63
- } from "./model-resolver-9h8yyxwx.js";
55
+ } from "./bus-mcw92z4j.js";
64
56
  import {
65
- Service31,
57
+ Service29,
58
+ node34
59
+ } from "./bus-y2wkm4mc.js";
60
+ import {
61
+ Service30,
66
62
  node35
67
- } from "./model-resolver-hahgrcae.js";
63
+ } from "./bus-xpdpdhyj.js";
68
64
  import {
69
- Service28,
70
- node33
71
- } from "./model-resolver-e5z2yc0m.js";
65
+ Service32,
66
+ node37
67
+ } from "./bus-b39wx4cr.js";
72
68
  import {
73
- Service35,
69
+ Service34,
74
70
  node39
75
- } from "./model-resolver-vb7d7sbc.js";
71
+ } from "./bus-3sv5gq6k.js";
76
72
  import {
77
- Service41,
78
- node44
79
- } from "./model-resolver-5kh0wb3v.js";
73
+ Service33,
74
+ node38
75
+ } from "./bus-7938r61h.js";
76
+ import {
77
+ Service44,
78
+ node47
79
+ } from "./bus-1a6961cr.js";
80
80
  import {
81
81
  __export
82
- } from "./model-resolver-9rqn6x4v.js";
82
+ } from "./bus-9rqn6x4v.js";
83
83
 
84
84
  // src/session/context.ts
85
85
  var exports_context = {};
86
86
  __export(exports_context, {
87
- Service: () => Service25,
87
+ Service: () => Service28,
88
88
  SessionContext: () => exports_context,
89
- node: () => node29
89
+ node: () => node33
90
90
  });
91
91
  import { Model } from "@opencode/schema/model";
92
92
  import { Context, Effect, Layer } from "effect";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
- class Service25 extends Context.Service()("@opencode/SessionContext") {
94
+ class Service28 extends Context.Service()("@opencode/SessionContext") {
95
95
  }
96
- var layer = Layer.effect(Service25, Effect.gen(function* () {
97
- const agents = yield* Service51;
98
- const builtins = yield* Service33;
99
- const catalog = yield* Service66;
96
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
97
+ const agents = yield* Service74;
98
+ const builtins = yield* Service36;
99
+ const catalog = yield* Service46;
100
100
  const db = (yield* Service80).db;
101
- const discovery = yield* Service44;
102
- const entries = yield* Service28;
103
- const location = yield* Service75;
104
- const mcpInstructions = yield* Service26;
105
- const mcpTools = yield* Service30;
106
- const models = yield* Service41;
107
- const request = yield* Service35;
108
- const referenceInstructions = yield* Service32;
109
- const skillInstructions = yield* Service31;
110
- const store = yield* Service50;
111
- const registry = yield* Service52;
101
+ const discovery = yield* Service49;
102
+ const entries = yield* Service34;
103
+ const location = yield* Service76;
104
+ const mcpInstructions = yield* Service29;
105
+ const mcpTools = yield* Service31;
106
+ const models = yield* Service44;
107
+ const request = yield* Service33;
108
+ const referenceInstructions = yield* Service30;
109
+ const skillInstructions = yield* Service32;
110
+ const store = yield* Service73;
111
+ const registry = yield* Service39;
112
112
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
113
113
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
114
- const agent = yield* agents.get(ID9.make("title"));
114
+ const agent = yield* agents.get(ID15.make("title"));
115
115
  if (!agent)
116
116
  return;
117
117
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
164
164
  agent: { ...agent, info: agent.info },
165
165
  instructions: combine2([
166
166
  loaded.builtins,
167
- make14(loaded.tools.codeModeCatalog),
167
+ make15(loaded.tools.codeModeCatalog),
168
168
  loaded.discovery,
169
169
  loaded.skills,
170
170
  loaded.references,
@@ -186,29 +186,29 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
186
186
  tools: selection.tools
187
187
  };
188
188
  });
189
- return Service25.of({ select, load, resolveModel, selectTitle, request });
189
+ return Service28.of({ select, load, resolveModel, selectTitle, request });
190
190
  }));
191
191
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
192
- var node29 = makeLocationNode({
193
- service: Service25,
192
+ var node33 = makeLocationNode({
193
+ service: Service28,
194
194
  layer,
195
195
  deps: [
196
- node55,
197
- node71,
196
+ node79,
197
+ node49,
198
198
  node85,
199
- node37,
200
- node47,
201
- node33,
202
- node80,
203
- node30,
199
+ node41,
200
+ node52,
201
+ node39,
202
+ node81,
204
203
  node34,
205
204
  node36,
206
- node44,
207
- node39,
208
- node54,
209
205
  node35,
210
- node56
206
+ node47,
207
+ node38,
208
+ node78,
209
+ node37,
210
+ node43
211
211
  ]
212
212
  });
213
213
 
214
- export { Service25, node29, exports_context };
214
+ export { Service28, node33, exports_context };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./model-resolver-dwe4spzd.js";
4
+ } from "./bus-grgpe7m7.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./model-resolver-d0as5ky3.js";
8
+ } from "./bus-xqh9be0f.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./model-resolver-pknna89w.js";
11
+ } from "./bus-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./model-resolver-0q0f95c6.js";
14
+ } from "./bus-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./bus-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID16,
25
- Info: () => Info28,
26
- Key: () => Key4,
23
+ Event: () => Event17,
24
+ ID: () => ID10,
25
+ Info: () => Info24,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service70,
28
+ Service: () => Service66,
29
29
  Value: () => Value2,
30
- node: () => node75
30
+ node: () => node70
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID16 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event17 = Credential.Event;
42
42
 
43
- class Info28 extends Schema.Class("Credential.Info")({
44
- id: ID16,
43
+ class Info24 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service70 extends Context.Service()("@opencode/Credential") {
51
+ class Service66 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service70, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info28({
60
+ return new Info24({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service70.of({
71
+ return Service66.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info28({
80
- id: ID16.create(),
79
+ const credential = new Info24({
80
+ id: ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event17.Updated, {}, { global: true });
105
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event17.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event17.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85, node84] });
196
+ var node70 = makeGlobalNode({ service: Service66, layer, deps: [node85, node84] });
197
197
 
198
- export { ID16, OAuth3, Key4, Value2, Event18, Info28, Service70, node75, exports_credential };
198
+ export { ID10, OAuth3, Key3, Value2, Event17, Info24, Service66, node70, exports_credential };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission2 = {};
7
- __export(exports_permission2, {
6
+ var exports_permission = {};
7
+ __export(exports_permission, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission2,
9
+ ConfigPermissionV1: () => exports_permission,
10
10
  Info: () => Info20,
11
11
  Object: () => Object2,
12
- Rule: () => Rule3
12
+ Rule: () => Rule2
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule3),
20
- edit: Schema.optional(Rule3),
21
- glob: Schema.optional(Rule3),
22
- grep: Schema.optional(Rule3),
23
- list: Schema.optional(Rule3),
24
- bash: Schema.optional(Rule3),
25
- task: Schema.optional(Rule3),
26
- external_directory: Schema.optional(Rule3),
19
+ read: Schema.optional(Rule2),
20
+ edit: Schema.optional(Rule2),
21
+ glob: Schema.optional(Rule2),
22
+ grep: Schema.optional(Rule2),
23
+ list: Schema.optional(Rule2),
24
+ bash: Schema.optional(Rule2),
25
+ task: Schema.optional(Rule2),
26
+ external_directory: Schema.optional(Rule2),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule3),
28
+ webfetch: Schema.optional(Rule2),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule3),
30
+ lsp: Schema.optional(Rule2),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule3)
33
- }), [Schema.Record(Schema.String, Rule3)]);
32
+ skill: Schema.optional(Rule2)
33
+ }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
36
  var Info20 = InputSchema.pipe(Schema.decodeTo(InputObject, {
@@ -38,4 +38,4 @@ var Info20 = InputSchema.pipe(Schema.decodeTo(InputObject, {
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule3, Info20, exports_permission2 };
41
+ export { Action2, Object2, Rule2, Info20, exports_permission };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./model-resolver-emrn6kk6.js";
4
+ } from "./bus-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./model-resolver-vcrpr27f.js";
7
+ } from "./bus-j4zenrww.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./model-resolver-d0as5ky3.js";
4
+ } from "./bus-xqh9be0f.js";
5
5
  import {
6
- node60
7
- } from "./model-resolver-cpwgm14c.js";
6
+ node68
7
+ } from "./bus-s2pmvhcg.js";
8
8
  import {
9
- Service11,
10
- node14
11
- } from "./model-resolver-jakagae6.js";
9
+ Service4,
10
+ node7
11
+ } from "./bus-bspv2gr0.js";
12
12
  import {
13
- Service29
14
- } from "./model-resolver-4v7qdvcn.js";
13
+ Service37
14
+ } from "./bus-qc068m1q.js";
15
15
  import {
16
- node23,
16
+ node20,
17
17
  ID3
18
- } from "./model-resolver-j3h8c2cp.js";
18
+ } from "./bus-2t1a0z9j.js";
19
19
  import {
20
- Service3,
21
- node6
22
- } from "./model-resolver-w4zny49r.js";
20
+ Service11,
21
+ node14
22
+ } from "./bus-dgj0dq1g.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./model-resolver-ctmnhs0f.js";
26
+ } from "./bus-44zpxywp.js";
27
27
  import {
28
- make4,
28
+ make7,
29
29
  LoadError2
30
- } from "./model-resolver-4s08xxae.js";
30
+ } from "./bus-zpp4pmky.js";
31
31
  import {
32
32
  Updated2,
33
- Service4,
34
- node7
35
- } from "./model-resolver-33yp9811.js";
33
+ Service12,
34
+ node15
35
+ } from "./bus-xp20kysk.js";
36
36
  import {
37
37
  Service5,
38
38
  node8
39
- } from "./model-resolver-xhmq8qgk.js";
39
+ } from "./bus-xhmq8qgk.js";
40
40
  import {
41
41
  __export
42
- } from "./model-resolver-9rqn6x4v.js";
42
+ } from "./bus-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
48
  layer: () => layer4,
49
- node: () => node5
49
+ node: () => node6
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -125,11 +125,11 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service29;
129
- const sdk = yield* Service4;
130
- const instance = yield* Service3;
131
- const sources = yield* Service11;
132
- const modules = yield* make4();
128
+ const registry = yield* Service37;
129
+ const sdk = yield* Service12;
130
+ const instance = yield* Service11;
131
+ const sources = yield* Service4;
132
+ const modules = yield* make7();
133
133
  const bus = yield* Service79;
134
134
  const updates = yield* Service5;
135
135
  const internal = yield* list2();
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node23,
210
- node7,
211
- node6,
209
+ node20,
210
+ node15,
212
211
  node14,
212
+ node7,
213
213
  node8,
214
214
  node84,
215
215
  Npm.node,
216
- node60,
216
+ node68,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
224
+ var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
225
225
 
226
- export { layer4, node5, exports_supervisor };
226
+ export { layer4, node6, exports_supervisor };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service55
4
- } from "./model-resolver-eqb5zhc6.js";
3
+ Service63
4
+ } from "./bus-c6g8q0m5.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./bus-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin14,
12
+ Plugin: () => Plugin39,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin14 = define({
22
+ var Plugin39 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service55;
25
+ const config = yield* Service63;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -93,4 +93,4 @@ var Plugin14 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { Plugin14, exports_warming };
96
+ export { Plugin39, exports_warming };