@opencode-ai/core 0.0.0-beta-19151 → 0.0.0-beta-19157

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 (776) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{bus-36mzbjn4.js → wellknown-024e4rjz.js} +9 -5
  9. package/dist/chunks/{bus-ygw7vpbc.js → wellknown-03z534ys.js} +6 -6
  10. package/dist/chunks/{bus-m7vkk1dw.js → wellknown-041mrh4x.js} +25 -25
  11. package/dist/chunks/{bus-0e0xafbb.js → wellknown-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{bus-nb0eyw3j.js → wellknown-0krgqetd.js} +45 -45
  13. package/dist/chunks/{bus-e5b0qn1c.js → wellknown-0n6t9trj.js} +1 -1
  14. package/dist/chunks/{bus-nep1jn7g.js → wellknown-0nk2sz5z.js} +25 -25
  15. package/dist/chunks/{bus-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{bus-0s9ayhjt.js → wellknown-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{bus-pem2nq6m.js → wellknown-0z4qk8xt.js} +4 -4
  18. package/dist/chunks/{bus-s45j2666.js → wellknown-174menj9.js} +32 -32
  19. package/dist/chunks/{bus-x7mven0m.js → wellknown-187zhppa.js} +8 -8
  20. package/dist/chunks/{bus-nysebb6s.js → wellknown-1a0y61fc.js} +18 -18
  21. package/dist/chunks/{bus-1ct4r87x.js → wellknown-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{bus-cqdj2zee.js → wellknown-1zjgdmhv.js} +16 -16
  23. package/dist/chunks/{bus-21r38tys.js → wellknown-21r38tys.js} +1 -1
  24. package/dist/chunks/{bus-m909ryej.js → wellknown-23ym420b.js} +18 -18
  25. package/dist/chunks/{bus-2402vzrj.js → wellknown-2402vzrj.js} +1 -1
  26. package/dist/chunks/{bus-1z80kc63.js → wellknown-28pcbh69.js} +8 -8
  27. package/dist/chunks/{bus-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{bus-r33ff4dw.js → wellknown-2d57kztd.js} +5 -5
  29. package/dist/chunks/{bus-2ht70gj7.js → wellknown-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{bus-h9vk3x5a.js → wellknown-2j3d2w2t.js} +13 -13
  31. package/dist/chunks/{bus-2jqmte8w.js → wellknown-2jqmte8w.js} +2 -2
  32. package/dist/chunks/{bus-qgn6gcr1.js → wellknown-2k8khapm.js} +5 -5
  33. package/dist/chunks/{bus-a494ggh4.js → wellknown-2kj0pn7y.js} +14 -14
  34. package/dist/chunks/{bus-xx52rexs.js → wellknown-2w4chj1g.js} +4 -4
  35. package/dist/chunks/{bus-j1pn5v0m.js → wellknown-37ct2frz.js} +17 -17
  36. package/dist/chunks/{bus-3hf4cecm.js → wellknown-39sgaahe.js} +25 -25
  37. package/dist/chunks/{bus-kw84e4xy.js → wellknown-3d43f50e.js} +6 -6
  38. package/dist/chunks/{bus-k2ahb10n.js → wellknown-3e5q22gm.js} +25 -25
  39. package/dist/chunks/{bus-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{bus-9d4efts8.js → wellknown-3g2y1byn.js} +5 -5
  41. package/dist/chunks/{bus-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{bus-wgxn7ww3.js → wellknown-3n69mpxt.js} +4 -4
  43. package/dist/chunks/{bus-94vsv0sa.js → wellknown-3n75mgw6.js} +19 -19
  44. package/dist/chunks/{bus-3qzbfqsy.js → wellknown-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{bus-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{bus-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{bus-crh3pn7j.js → wellknown-3z627vwq.js} +9 -9
  48. package/dist/chunks/{bus-famd3pv6.js → wellknown-41mncz27.js} +5 -5
  49. package/dist/chunks/{bus-454k5vzh.js → wellknown-454k5vzh.js} +1 -1
  50. package/dist/chunks/{bus-3dj32zjz.js → wellknown-46v7nc60.js} +20 -20
  51. package/dist/chunks/{bus-fnxzs0zj.js → wellknown-49hz62j1.js} +22 -22
  52. package/dist/chunks/{bus-hhaz7as1.js → wellknown-4a5fwm7b.js} +17 -17
  53. package/dist/chunks/{bus-gdyavges.js → wellknown-4afpmjwz.js} +27 -27
  54. package/dist/chunks/{bus-x1nkgr2s.js → wellknown-4br8j3xe.js} +41 -41
  55. package/dist/chunks/{bus-zn2pq4p8.js → wellknown-4hh0p0ng.js} +5 -5
  56. package/dist/chunks/{bus-4r2nyarf.js → wellknown-4r2nyarf.js} +1 -1
  57. package/dist/chunks/wellknown-5310qyg9.js +18 -0
  58. package/dist/chunks/{bus-8ryk0bb9.js → wellknown-5d17xbav.js} +5 -5
  59. package/dist/chunks/{bus-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
  60. package/dist/chunks/{bus-5fmxt4p5.js → wellknown-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{bus-rmy3e5eg.js → wellknown-5hannepb.js} +3 -3
  62. package/dist/chunks/{bus-5jvc5tg2.js → wellknown-5jvc5tg2.js} +1 -1
  63. package/dist/chunks/{bus-14hmenm3.js → wellknown-5zc2x0sb.js} +3 -3
  64. package/dist/chunks/{bus-pchw21vv.js → wellknown-663b6dh9.js} +14 -14
  65. package/dist/chunks/{bus-ccgr98mz.js → wellknown-66y1b5dw.js} +9 -9
  66. package/dist/chunks/{bus-c8afrcwz.js → wellknown-67gs2z40.js} +18 -18
  67. package/dist/chunks/{bus-6z5bwd8g.js → wellknown-6abnk40k.js} +9 -9
  68. package/dist/chunks/{bus-arsbtf4n.js → wellknown-6ba29tk2.js} +22 -22
  69. package/dist/chunks/{bus-5rj9yf9k.js → wellknown-6jcrhkhg.js} +14 -14
  70. package/dist/chunks/{bus-ez5b8bq3.js → wellknown-6jdg21kp.js} +85 -71
  71. package/dist/chunks/{bus-mcxg6pmm.js → wellknown-6ta01fq9.js} +1 -1
  72. package/dist/chunks/{bus-ers0pt04.js → wellknown-6w9g96bv.js} +22 -22
  73. package/dist/chunks/{bus-711hfp6y.js → wellknown-711hfp6y.js} +2 -2
  74. package/dist/chunks/{bus-72nftnjy.js → wellknown-72nftnjy.js} +2 -2
  75. package/dist/chunks/{bus-5dbnxb1n.js → wellknown-75ws2xfr.js} +7 -7
  76. package/dist/chunks/{bus-6qpq0xzz.js → wellknown-76xf8n6j.js} +16 -16
  77. package/dist/chunks/{bus-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{bus-3wfq9j39.js → wellknown-7nh4ntd5.js} +12 -12
  79. package/dist/chunks/{bus-y00kh1j2.js → wellknown-7thqmzsc.js} +82 -82
  80. package/dist/chunks/{bus-xpj7ktyz.js → wellknown-7wp9r7ba.js} +29 -29
  81. package/dist/chunks/wellknown-7zk4hah4.js +4 -0
  82. package/dist/chunks/{bus-mngcm6jy.js → wellknown-888k7gfv.js} +10 -10
  83. package/dist/chunks/{bus-nhet2z82.js → wellknown-8a3y5q1n.js} +32 -32
  84. package/dist/chunks/{bus-mr8a2cts.js → wellknown-8r5whp28.js} +4 -4
  85. package/dist/chunks/{bus-rzsjt7my.js → wellknown-8s80arjs.js} +18 -18
  86. package/dist/chunks/{bus-g41n1fn3.js → wellknown-917dq7d6.js} +5 -5
  87. package/dist/chunks/{bus-hv52frfs.js → wellknown-920cr0mh.js} +21 -21
  88. package/dist/chunks/{bus-ecj1d35v.js → wellknown-93wzm26s.js} +8 -8
  89. package/dist/chunks/{bus-86s3977f.js → wellknown-96tsfsen.js} +1 -1
  90. package/dist/chunks/{bus-zp7etnvg.js → wellknown-987p19s4.js} +12 -12
  91. package/dist/chunks/{bus-ca0hpr7t.js → wellknown-98rh1jc3.js} +11 -11
  92. package/dist/chunks/{bus-wp43gv37.js → wellknown-99m4pprq.js} +10 -10
  93. package/dist/chunks/{bus-k2x2knng.js → wellknown-9e966tng.js} +24 -24
  94. package/dist/chunks/{bus-qvbcabdc.js → wellknown-9qm9egsn.js} +2 -2
  95. package/dist/chunks/{bus-7prj1563.js → wellknown-9ttajpzr.js} +16 -16
  96. package/dist/chunks/{bus-jnq64gng.js → wellknown-9wt3tsrn.js} +29 -29
  97. package/dist/chunks/{bus-9d4wfkp0.js → wellknown-a4bdw771.js} +30 -30
  98. package/dist/chunks/{bus-007dvjm0.js → wellknown-a4cbam25.js} +20 -20
  99. package/dist/chunks/{bus-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
  100. package/dist/chunks/{bus-t8am0cpd.js → wellknown-aaf6tv83.js} +4 -4
  101. package/dist/chunks/{bus-xp26bn8e.js → wellknown-adysj9cr.js} +15 -15
  102. package/dist/chunks/{bus-yg7sb877.js → wellknown-ajtjthsy.js} +2 -2
  103. package/dist/chunks/{bus-2y34zzjz.js → wellknown-apn8f15b.js} +9 -9
  104. package/dist/chunks/{bus-nhp7y9q2.js → wellknown-avahfm6t.js} +28 -28
  105. package/dist/chunks/{bus-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{bus-b9wsbatv.js → wellknown-b9wsbatv.js} +1 -1
  107. package/dist/chunks/{bus-tqqej2s1.js → wellknown-ba723ajb.js} +8 -8
  108. package/dist/chunks/{bus-ykcesz1b.js → wellknown-barxnhzp.js} +4 -4
  109. package/dist/chunks/{bus-exbytbx3.js → wellknown-bfdnm1te.js} +9 -9
  110. package/dist/chunks/{bus-6s48shje.js → wellknown-bmr4rzrd.js} +3 -3
  111. package/dist/chunks/{bus-hfr11a94.js → wellknown-bskj9zs2.js} +9 -9
  112. package/dist/chunks/{bus-7httqr41.js → wellknown-bth0hr76.js} +18 -18
  113. package/dist/chunks/{bus-v3bjms6p.js → wellknown-bwm9kjcw.js} +46 -46
  114. package/dist/chunks/wellknown-bxw8fhk8.js +247 -0
  115. package/dist/chunks/{bus-ds0rx3zk.js → wellknown-c2j3fvxb.js} +16 -16
  116. package/dist/chunks/{bus-qkzfms5c.js → wellknown-c7s9k239.js} +4 -4
  117. package/dist/chunks/{bus-93131cf0.js → wellknown-ceqnmb02.js} +5 -5
  118. package/dist/chunks/{bus-xqsy6kp0.js → wellknown-cmdp56dw.js} +1 -1
  119. package/dist/chunks/{bus-mnj85pt4.js → wellknown-d2x6rcjx.js} +12 -12
  120. package/dist/chunks/{bus-g2gt0w0k.js → wellknown-d72308c8.js} +2 -2
  121. package/dist/chunks/{bus-cfrqkav1.js → wellknown-dapwfvd2.js} +37 -37
  122. package/dist/chunks/{bus-a3x9xvd8.js → wellknown-djtdz80w.js} +4 -4
  123. package/dist/chunks/{bus-099ksjr7.js → wellknown-dk9a5vne.js} +5 -5
  124. package/dist/chunks/{bus-rk0dvaye.js → wellknown-dmwgd9rj.js} +11 -11
  125. package/dist/chunks/{bus-br62jje5.js → wellknown-e9z9h9yy.js} +38 -38
  126. package/dist/chunks/{bus-0x9msrqt.js → wellknown-fkwg44rt.js} +19 -19
  127. package/dist/chunks/{bus-708bhwm5.js → wellknown-frb89zj9.js} +15 -15
  128. package/dist/chunks/{bus-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
  129. package/dist/chunks/{bus-fxypknc8.js → wellknown-fxypknc8.js} +1 -1
  130. package/dist/chunks/{bus-e5pxfhgv.js → wellknown-g585tkj2.js} +4 -4
  131. package/dist/chunks/{bus-yyebksmm.js → wellknown-g5wgwrzw.js} +2 -2
  132. package/dist/chunks/{bus-5g33tj6b.js → wellknown-g94f0f01.js} +18 -18
  133. package/dist/chunks/{bus-g1w7kbk3.js → wellknown-gb89bdhv.js} +17 -17
  134. package/dist/chunks/{bus-n3rn9b9d.js → wellknown-gbmaq3ra.js} +46 -46
  135. package/dist/chunks/{bus-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{bus-570hbvwx.js → wellknown-gqy8qs28.js} +10 -10
  137. package/dist/chunks/{bus-b2wj7kwr.js → wellknown-gw5qc7da.js} +11 -11
  138. package/dist/chunks/{bus-19ghveyz.js → wellknown-h0ehx5mk.js} +11 -11
  139. package/dist/chunks/{bus-0ez61b8c.js → wellknown-h5xdhsym.js} +2 -2
  140. package/dist/chunks/{bus-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  141. package/dist/chunks/{bus-gpxh8apv.js → wellknown-h7shmymb.js} +15 -15
  142. package/dist/chunks/{bus-53gb87fg.js → wellknown-hcx11q7e.js} +43 -43
  143. package/dist/chunks/{bus-heyhwy2w.js → wellknown-heyhwy2w.js} +1 -1
  144. package/dist/chunks/{bus-hha4zry8.js → wellknown-hha4zry8.js} +1 -1
  145. package/dist/chunks/{bus-hen36v2j.js → wellknown-hhfqndnr.js} +20 -20
  146. package/dist/chunks/{bus-tn3hnqfz.js → wellknown-hhvbpypa.js} +10 -10
  147. package/dist/chunks/{bus-rfgs2k4e.js → wellknown-hnpt5b9g.js} +33 -33
  148. package/dist/chunks/{bus-bcezcar3.js → wellknown-hnyf01b0.js} +5 -5
  149. package/dist/chunks/{bus-g2dy4bvs.js → wellknown-hrvm11jt.js} +3 -3
  150. package/dist/chunks/{bus-hw4pv20g.js → wellknown-hw4pv20g.js} +2 -2
  151. package/dist/chunks/{bus-mzgjcdh7.js → wellknown-hwhktdy4.js} +27 -27
  152. package/dist/chunks/{bus-qcc87r2a.js → wellknown-j3pby61b.js} +6 -6
  153. package/dist/chunks/{bus-x5ga9etc.js → wellknown-j8fxhnqh.js} +24 -24
  154. package/dist/chunks/{bus-g4pn5evg.js → wellknown-jbhh2rmh.js} +8 -8
  155. package/dist/chunks/{bus-mx2vryrr.js → wellknown-jbzwckha.js} +21 -21
  156. package/dist/chunks/{bus-azaycewg.js → wellknown-jenf2w30.js} +20 -20
  157. package/dist/chunks/{bus-y01np14z.js → wellknown-jfvmqd5d.js} +17 -17
  158. package/dist/chunks/{bus-b8nbcbsg.js → wellknown-jk4n7dck.js} +11 -11
  159. package/dist/chunks/{bus-jwcy2c2z.js → wellknown-jwcy2c2z.js} +1 -1
  160. package/dist/chunks/{bus-y7pta2mg.js → wellknown-jxc8y161.js} +30 -30
  161. package/dist/chunks/{bus-593bc3zc.js → wellknown-k2kb66cj.js} +5 -5
  162. package/dist/chunks/{bus-k4bwy1x5.js → wellknown-k4bwy1x5.js} +1 -1
  163. package/dist/chunks/{bus-ymy83g1g.js → wellknown-kademwqx.js} +11 -11
  164. package/dist/chunks/{bus-0mccjmkq.js → wellknown-kbndngdv.js} +34 -34
  165. package/dist/chunks/{bus-p1xeps0x.js → wellknown-kcz3kyzp.js} +20 -20
  166. package/dist/chunks/{bus-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
  167. package/dist/chunks/{bus-9r4cyneb.js → wellknown-kjm195mv.js} +20 -20
  168. package/dist/chunks/{bus-yfbd16n1.js → wellknown-kk3rr3qh.js} +5 -5
  169. package/dist/chunks/wellknown-kpe4sfyz.js +20 -0
  170. package/dist/chunks/{bus-ar6r26gf.js → wellknown-m1c4gy78.js} +30 -30
  171. package/dist/chunks/{bus-637qq8n2.js → wellknown-m5045k8y.js} +9 -9
  172. package/dist/chunks/{bus-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{bus-v1p1x004.js → wellknown-mafkkaev.js} +3 -3
  174. package/dist/chunks/{bus-88ev9a66.js → wellknown-mfmy0k16.js} +8 -8
  175. package/dist/chunks/{bus-jy1b6ewz.js → wellknown-mhyp03ce.js} +6 -6
  176. package/dist/chunks/{bus-g7fn2nxc.js → wellknown-mjzbwbtj.js} +30 -30
  177. package/dist/chunks/{bus-cyn6trz2.js → wellknown-mp00anfa.js} +6 -6
  178. package/dist/chunks/{bus-wgc2mr3y.js → wellknown-mt6mcg2h.js} +2 -2
  179. package/dist/chunks/{bus-1bbkgx8g.js → wellknown-mvfsc1pv.js} +3 -3
  180. package/dist/chunks/{bus-4ttn3f9n.js → wellknown-n149779n.js} +15 -15
  181. package/dist/chunks/{bus-mxevvyah.js → wellknown-n2dzf7ax.js} +11 -11
  182. package/dist/chunks/{bus-w1jjwhhz.js → wellknown-n52mxx0b.js} +21 -21
  183. package/dist/chunks/{bus-m3fm0fm8.js → wellknown-n95nq84g.js} +5 -5
  184. package/dist/chunks/{bus-psy76y9c.js → wellknown-na7k47ng.js} +6 -6
  185. package/dist/chunks/{bus-4z6b0fg6.js → wellknown-nga86p6q.js} +6 -6
  186. package/dist/chunks/{bus-d2rwh673.js → wellknown-ngabqghr.js} +17 -17
  187. package/dist/chunks/{bus-48186013.js → wellknown-nhjpgrh4.js} +15 -15
  188. package/dist/chunks/{bus-tkptkkba.js → wellknown-njfaq3nk.js} +24 -24
  189. package/dist/chunks/{bus-mn4d6yy8.js → wellknown-nmdpg4hr.js} +26 -26
  190. package/dist/chunks/{bus-6zyntcx9.js → wellknown-nn46x40y.js} +3 -3
  191. package/dist/chunks/{bus-vffa83p2.js → wellknown-nqmxhx1w.js} +31 -31
  192. package/dist/chunks/{bus-bgjx49te.js → wellknown-ny9q6q4v.js} +23 -23
  193. package/dist/chunks/{bus-kkxjn8gg.js → wellknown-nykyeqwq.js} +7 -7
  194. package/dist/chunks/{bus-v9vvq96z.js → wellknown-nz7wfeq1.js} +39 -39
  195. package/dist/chunks/{bus-74k3x0m5.js → wellknown-p7eywz5b.js} +24 -24
  196. package/dist/chunks/{bus-3dpaf6yv.js → wellknown-pedw5n3n.js} +62 -62
  197. package/dist/chunks/{bus-8kg6mr26.js → wellknown-pgnp76q4.js} +19 -19
  198. package/dist/chunks/{bus-5jmn74tv.js → wellknown-pgt0fkwt.js} +15 -15
  199. package/dist/chunks/{bus-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{bus-pknna89w.js → wellknown-pknna89w.js} +1 -1
  201. package/dist/chunks/{bus-tta5943s.js → wellknown-pmnt38wb.js} +11 -11
  202. package/dist/chunks/{bus-qphg5mmy.js → wellknown-pwnnz8en.js} +39 -39
  203. package/dist/chunks/{bus-vfxn8x23.js → wellknown-pxc9rw6c.js} +43 -43
  204. package/dist/chunks/{bus-q71jbywg.js → wellknown-q0xzcr7f.js} +299 -299
  205. package/dist/chunks/{bus-rjjem9h6.js → wellknown-q1md1zjj.js} +7 -7
  206. package/dist/chunks/{bus-wed177g1.js → wellknown-q7805caa.js} +6 -6
  207. package/dist/chunks/{bus-6p81611h.js → wellknown-q961dm7m.js} +169 -169
  208. package/dist/chunks/{bus-2cryvejd.js → wellknown-q9792xnb.js} +1 -1
  209. package/dist/chunks/{bus-45njm9q3.js → wellknown-qbzb1j1c.js} +13 -13
  210. package/dist/chunks/{bus-r9gjvh9g.js → wellknown-qm8ev4wm.js} +8 -8
  211. package/dist/chunks/{bus-0kkm17qb.js → wellknown-qqvjzcxr.js} +32 -32
  212. package/dist/chunks/{bus-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  213. package/dist/chunks/{bus-x3ex91pf.js → wellknown-qw8c6yqg.js} +31 -31
  214. package/dist/chunks/{bus-36j5nzcr.js → wellknown-qxe975hr.js} +17 -17
  215. package/dist/chunks/{bus-dqe3fw1x.js → wellknown-r6cgjeqn.js} +10 -10
  216. package/dist/chunks/{bus-y8jjghfg.js → wellknown-r7t96r8n.js} +37 -37
  217. package/dist/chunks/{bus-r8dhm0tv.js → wellknown-r8dhm0tv.js} +1 -1
  218. package/dist/chunks/{bus-37h71zvm.js → wellknown-r8w8bq91.js} +25 -25
  219. package/dist/chunks/{bus-rae26gbb.js → wellknown-rae26gbb.js} +1 -1
  220. package/dist/chunks/{bus-p4990n7g.js → wellknown-raycc6w1.js} +3 -3
  221. package/dist/chunks/{bus-jwcs8hd7.js → wellknown-rfq7xs4d.js} +9 -9
  222. package/dist/chunks/{bus-8ye04jk8.js → wellknown-rhbe1v15.js} +18 -18
  223. package/dist/chunks/{bus-xjf0nspg.js → wellknown-rhp4699a.js} +9 -9
  224. package/dist/chunks/{bus-dc4554sh.js → wellknown-rhwwv70e.js} +11 -11
  225. package/dist/chunks/{bus-sdk1rkft.js → wellknown-rsvs0vjg.js} +11 -11
  226. package/dist/chunks/{bus-nbf26ms9.js → wellknown-rszzns79.js} +26 -26
  227. package/dist/chunks/{bus-65vwahm5.js → wellknown-rtm4n6fb.js} +3 -3
  228. package/dist/chunks/{bus-yzwjgzk2.js → wellknown-ry16e5g7.js} +11 -11
  229. package/dist/chunks/{bus-xr5vwsd4.js → wellknown-rz31k017.js} +9 -9
  230. package/dist/chunks/{bus-0njd92bg.js → wellknown-s06xe5v4.js} +13 -13
  231. package/dist/chunks/{bus-dn6skpfz.js → wellknown-s3rbnf14.js} +11 -11
  232. package/dist/chunks/{bus-6m5hv89w.js → wellknown-sba2xw4p.js} +11 -11
  233. package/dist/chunks/{bus-sba4qhjf.js → wellknown-sba4qhjf.js} +1 -1
  234. package/dist/chunks/{bus-j6f8vpjn.js → wellknown-sfyg8jca.js} +22 -22
  235. package/dist/chunks/{bus-v210efr7.js → wellknown-smy8j9tb.js} +16 -16
  236. package/dist/chunks/{bus-e2sc323g.js → wellknown-sr0zn850.js} +10 -10
  237. package/dist/chunks/{bus-t9zs3egg.js → wellknown-sx1n432n.js} +4 -4
  238. package/dist/chunks/{bus-p4spce3w.js → wellknown-sxrpqsmr.js} +9 -9
  239. package/dist/chunks/{bus-v8nrt0nt.js → wellknown-t1d80fqj.js} +6 -6
  240. package/dist/chunks/{bus-0dv7911r.js → wellknown-t2az9yje.js} +4 -4
  241. package/dist/chunks/{bus-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{bus-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  243. package/dist/chunks/wellknown-te378a9x.js +22 -0
  244. package/dist/chunks/{bus-tjykrgmx.js → wellknown-tjykrgmx.js} +1 -1
  245. package/dist/chunks/{bus-j6p1aehr.js → wellknown-tmfnh1q5.js} +80 -80
  246. package/dist/chunks/{bus-8xr8g0dt.js → wellknown-tph2mkjf.js} +9 -9
  247. package/dist/chunks/{bus-b0m1y6mq.js → wellknown-tppvcy65.js} +9 -9
  248. package/dist/chunks/{bus-at9x16kw.js → wellknown-tz1mz783.js} +29 -29
  249. package/dist/chunks/{bus-kvk9z22h.js → wellknown-v50e20c6.js} +36 -36
  250. package/dist/chunks/{bus-jfqtm2ew.js → wellknown-v5dkyp31.js} +4 -4
  251. package/dist/chunks/{bus-901gzjjm.js → wellknown-vhg4wxph.js} +35 -35
  252. package/dist/chunks/{bus-5k3f87xj.js → wellknown-vj82my2s.js} +1 -1
  253. package/dist/chunks/{bus-e8ja81sx.js → wellknown-vk9s0zr3.js} +21 -21
  254. package/dist/chunks/{bus-8yq59nhy.js → wellknown-vy9axbw1.js} +15 -15
  255. package/dist/chunks/{bus-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{bus-4cb9c786.js → wellknown-w5a8z9r2.js} +4 -4
  257. package/dist/chunks/{bus-w08r0s8v.js → wellknown-w8hr26yt.js} +19 -19
  258. package/dist/chunks/{bus-862r0hmq.js → wellknown-wa6q3vex.js} +54 -54
  259. package/dist/chunks/{bus-hzfc5e89.js → wellknown-wbvq8g8t.js} +15 -15
  260. package/dist/chunks/{bus-wgz7hchk.js → wellknown-wctfcgtb.js} +6 -6
  261. package/dist/chunks/{bus-wd87259q.js → wellknown-wd87259q.js} +1 -1
  262. package/dist/chunks/{bus-hd7305av.js → wellknown-wz4fbqay.js} +34 -34
  263. package/dist/chunks/{bus-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{bus-9ezmfr4d.js → wellknown-x545et0z.js} +3 -3
  265. package/dist/chunks/{bus-bseqm2ca.js → wellknown-xkxektkz.js} +18 -18
  266. package/dist/chunks/{bus-669mtdgb.js → wellknown-xnxegkmr.js} +47 -47
  267. package/dist/chunks/{bus-qqxx9c59.js → wellknown-xtmm7gkk.js} +10 -10
  268. package/dist/chunks/{bus-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{bus-93a8yfjt.js → wellknown-y2cqme3r.js} +5 -5
  270. package/dist/chunks/{bus-p83qt40j.js → wellknown-y55kwzvm.js} +8 -8
  271. package/dist/chunks/{bus-pyzvmhjt.js → wellknown-yanbnw58.js} +7 -7
  272. package/dist/chunks/{bus-gyrty9a0.js → wellknown-ycfbty71.js} +4 -4
  273. package/dist/chunks/{bus-s3eqpch7.js → wellknown-yk5chycy.js} +1 -1
  274. package/dist/chunks/{bus-mkf7z2fx.js → wellknown-yqzjyyxs.js} +32 -32
  275. package/dist/chunks/{bus-8q4mgm57.js → wellknown-yw9364ag.js} +4 -4
  276. package/dist/chunks/{bus-z1k01bn4.js → wellknown-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{bus-v4xjjhvg.js → wellknown-z3njjm07.js} +24 -24
  278. package/dist/chunks/{bus-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
  279. package/dist/chunks/{bus-0vdrg7q8.js → wellknown-z9d8dnaf.js} +9 -9
  280. package/dist/chunks/{bus-6tygk997.js → wellknown-zf2mdqhr.js} +12 -12
  281. package/dist/chunks/{bus-vxp066d4.js → wellknown-zmye7hbx.js} +20 -20
  282. package/dist/chunks/{bus-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{bus-pbxwk0py.js → wellknown-zywh7q6e.js} +26 -26
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +81 -81
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +115 -115
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +114 -114
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +1 -1
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +68 -68
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +218 -218
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +1 -1
  417. package/dist/filesystem/watcher.js +13 -13
  418. package/dist/filesystem.js +96 -96
  419. package/dist/form.js +84 -84
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +84 -84
  422. package/dist/generate.js +88 -88
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +7 -7
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +7 -7
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +5 -5
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +83 -83
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +84 -84
  461. package/dist/mcp/client.js +87 -87
  462. package/dist/mcp/index.js +98 -98
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +7 -7
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +8 -8
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +80 -80
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +103 -103
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +84 -84
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +1 -1
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +2 -2
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +74 -74
  528. package/dist/plugin/service.js +5 -5
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +335 -335
  532. package/dist/plugin/system-prompt.js +4 -5
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +6 -6
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +220 -220
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +83 -83
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +3 -3
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +94 -94
  553. package/dist/reference/instructions.js +80 -80
  554. package/dist/reference.js +80 -80
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +93 -93
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +127 -127
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +3 -3
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +214 -214
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +12 -12
  571. package/dist/session/inbox.js +84 -84
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +75 -75
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +4 -4
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +83 -83
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +117 -117
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +84 -84
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +4 -2
  603. package/dist/session/title.js +147 -147
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +210 -210
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +207 -207
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +13 -13
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +104 -104
  616. package/dist/snapshot.js +86 -86
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +119 -119
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +117 -117
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +116 -116
  627. package/dist/tool/plugin/question.js +99 -99
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +208 -208
  630. package/dist/tool/plugin/skill.js +105 -105
  631. package/dist/tool/plugin/subagent.js +212 -212
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +104 -104
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +13 -13
  639. package/dist/types/plugin/system-prompt.d.ts +1 -2
  640. package/dist/types/session/system-prompt.d.ts +1 -0
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +5 -5
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +3 -3
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +2 -2
  653. package/dist/v1/config/formatter.js +7 -7
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +3 -3
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +1 -1
  659. package/dist/v1/config/plugin.js +3 -3
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +82 -82
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +77 -77
  670. package/dist/workspace/driver.js +5 -5
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +4 -4
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +336 -336
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +91 -91
  678. package/package.json +7 -7
  679. package/dist/chunks/bus-4v7qdvcn.js +0 -18
  680. package/dist/chunks/bus-anw4cmh3.js +0 -4
  681. package/dist/chunks/bus-ex6w7h60.js +0 -22
  682. package/dist/chunks/bus-gzzxkm3c.js +0 -247
  683. package/dist/chunks/bus-n9mr47st.js +0 -20
  684. /package/dist/chunks/{bus-0fabt78z.js → wellknown-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{bus-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{bus-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{bus-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{bus-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{bus-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{bus-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{bus-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{bus-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{bus-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{bus-3asan66x.js → wellknown-3asan66x.js} +0 -0
  695. /package/dist/chunks/{bus-3t738kvx.js → wellknown-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{bus-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{bus-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{bus-41nvscxy.js → wellknown-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{bus-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{bus-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{bus-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{bus-53557ph1.js → wellknown-53557ph1.js} +0 -0
  703. /package/dist/chunks/{bus-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{bus-6prwharc.js → wellknown-6prwharc.js} +0 -0
  705. /package/dist/chunks/{bus-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{bus-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{bus-822emrt2.js → wellknown-822emrt2.js} +0 -0
  708. /package/dist/chunks/{bus-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{bus-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{bus-982e01ww.js → wellknown-982e01ww.js} +0 -0
  711. /package/dist/chunks/{bus-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{bus-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{bus-a1tpkmh4.js → wellknown-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{bus-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{bus-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{bus-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{bus-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{bus-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{bus-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{bus-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{bus-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{bus-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{bus-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{bus-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{bus-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{bus-df08tz66.js → wellknown-df08tz66.js} +0 -0
  727. /package/dist/chunks/{bus-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{bus-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{bus-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{bus-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{bus-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{bus-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{bus-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{bus-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{bus-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{bus-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{bus-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{bus-g86h250q.js → wellknown-g86h250q.js} +0 -0
  739. /package/dist/chunks/{bus-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{bus-hk9envan.js → wellknown-hk9envan.js} +0 -0
  741. /package/dist/chunks/{bus-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{bus-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{bus-j935v87r.js → wellknown-j935v87r.js} +0 -0
  744. /package/dist/chunks/{bus-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  745. /package/dist/chunks/{bus-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  746. /package/dist/chunks/{bus-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  747. /package/dist/chunks/{bus-mntxs535.js → wellknown-mntxs535.js} +0 -0
  748. /package/dist/chunks/{bus-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  749. /package/dist/chunks/{bus-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  750. /package/dist/chunks/{bus-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  751. /package/dist/chunks/{bus-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  752. /package/dist/chunks/{bus-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  753. /package/dist/chunks/{bus-p8qxwesx.js → wellknown-p8qxwesx.js} +0 -0
  754. /package/dist/chunks/{bus-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  755. /package/dist/chunks/{bus-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  756. /package/dist/chunks/{bus-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  757. /package/dist/chunks/{bus-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  758. /package/dist/chunks/{bus-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  759. /package/dist/chunks/{bus-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  760. /package/dist/chunks/{bus-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  761. /package/dist/chunks/{bus-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  762. /package/dist/chunks/{bus-se0s1eqw.js → wellknown-se0s1eqw.js} +0 -0
  763. /package/dist/chunks/{bus-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
  764. /package/dist/chunks/{bus-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{bus-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
  766. /package/dist/chunks/{bus-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{bus-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{bus-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{bus-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{bus-x1b8g1yb.js → wellknown-x1b8g1yb.js} +0 -0
  771. /package/dist/chunks/{bus-x61499pn.js → wellknown-x61499pn.js} +0 -0
  772. /package/dist/chunks/{bus-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{bus-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{bus-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{bus-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
  776. /package/dist/chunks/{bus-zbjnn3ac.js → wellknown-zbjnn3ac.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service51
3
- } from "./bus-pbxwk0py.js";
2
+ Service70
3
+ } from "./wellknown-zywh7q6e.js";
4
4
  import {
5
- Service58
6
- } from "./bus-669mtdgb.js";
5
+ Service50
6
+ } from "./wellknown-xnxegkmr.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode-ai/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode-ai/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service51;
57
- const permission = yield* Service58;
56
+ const forms = yield* Service70;
57
+ const permission = yield* Service50;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service54
3
- } from "./bus-cfrqkav1.js";
2
+ Service46
3
+ } from "./wellknown-dapwfvd2.js";
4
4
  import {
5
5
  match2
6
- } from "./bus-y1fvbwt7.js";
6
+ } from "./wellknown-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./bus-qsdy395h.js";
9
+ } from "./wellknown-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./bus-9rqn6x4v.js";
12
+ } from "./wellknown-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin43
18
+ Plugin: () => Plugin15
19
19
  });
20
20
  import { define } from "@opencode-ai/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin43 = define({
22
+ var Plugin15 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service54;
25
+ const config = yield* Service46;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin43 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin43, exports_policy };
38
+ export { Plugin15, exports_policy };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-p8qxwesx.js";
3
+ } from "./wellknown-p8qxwesx.js";
4
4
  import {
5
- Info21,
6
- ID7,
5
+ Info8,
6
+ ID5,
7
7
  Name2
8
- } from "./bus-fnxzs0zj.js";
8
+ } from "./wellknown-49hz62j1.js";
9
9
  import {
10
- Service54
11
- } from "./bus-cfrqkav1.js";
10
+ Service46
11
+ } from "./wellknown-dapwfvd2.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./wellknown-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin11,
21
+ Plugin: () => Plugin39,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin11 = define({
425
+ var Plugin39 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
- editor.add(Info21.make({
431
- id: ID7.make("opencode"),
430
+ editor.add(Info8.make({
431
+ id: ID5.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
- editor.add(Info21.make({
438
- id: ID7.make("report"),
437
+ editor.add(Info8.make({
438
+ id: ID5.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
441
441
  slash: true,
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
464
464
  `);
465
465
  });
466
466
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
467
- const config = yield* Service54;
467
+ const config = yield* Service46;
468
468
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
469
469
  });
470
470
  function terminal() {
@@ -478,4 +478,4 @@ function shell() {
478
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
479
479
  }
480
480
 
481
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin39, exports_skill3 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./bus-3v8g72cx.js";
3
+ } from "./wellknown-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp = {};
10
- __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
- WebSearchMcp: () => exports_mcp,
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
+ WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.filterStatusOk(http).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service55
3
- } from "./bus-hen36v2j.js";
2
+ Service47
3
+ } from "./wellknown-hhfqndnr.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./bus-p8qxwesx.js";
6
+ } from "./wellknown-p8qxwesx.js";
7
7
  import {
8
- Service72
9
- } from "./bus-j1pn5v0m.js";
8
+ Service76
9
+ } from "./wellknown-37ct2frz.js";
10
10
  import {
11
- Service54
12
- } from "./bus-cfrqkav1.js";
11
+ Service46
12
+ } from "./wellknown-dapwfvd2.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./bus-fnxzs0zj.js";
17
+ } from "./wellknown-49hz62j1.js";
18
18
  import {
19
- Service10
20
- } from "./bus-xr5vwsd4.js";
19
+ Service7
20
+ } from "./wellknown-rz31k017.js";
21
21
  import {
22
22
  parse2
23
- } from "./bus-wed177g1.js";
23
+ } from "./wellknown-q7805caa.js";
24
24
  import {
25
25
  __export
26
- } from "./bus-9rqn6x4v.js";
26
+ } from "./wellknown-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill3 = {};
30
- __export(exports_skill3, {
31
- ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin32
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin22
33
33
  });
34
34
  import { define } from "@opencode-ai/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode-ai/util/fs-util";
36
36
  import { Global } from "@opencode-ai/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin32 = define({
39
+ var Plugin22 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service54;
43
- const discovery = yield* Service10;
42
+ const config = yield* Service46;
43
+ const discovery = yield* Service7;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service72;
47
- const watcher = yield* Service55;
46
+ const location = yield* Service76;
47
+ const watcher = yield* Service47;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -181,4 +181,4 @@ var Plugin32 = define({
181
181
  })
182
182
  });
183
183
 
184
- export { Plugin32, exports_skill3 };
184
+ export { Plugin22, exports_skill2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79
3
- } from "./bus-gyrty9a0.js";
3
+ } from "./wellknown-ycfbty71.js";
4
4
  import {
5
- Service72
6
- } from "./bus-j1pn5v0m.js";
5
+ Service76
6
+ } from "./wellknown-37ct2frz.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service34
10
- } from "./bus-v3bjms6p.js";
9
+ Service39
10
+ } from "./wellknown-bwm9kjcw.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./wellknown-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command = {};
17
- __export(exports_command, {
18
- CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin10
16
+ var exports_command2 = {};
17
+ __export(exports_command2, {
18
+ CommandPlugin: () => exports_command2,
19
+ Plugin: () => Plugin38
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin10 = define({
196
+ var Plugin38 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service72;
200
- const mcp = yield* Service34;
199
+ const location = yield* Service76;
200
+ const mcp = yield* Service39;
201
201
  const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin10, exports_command };
283
+ export { Plugin38, exports_command2 };
@@ -1,98 +1,113 @@
1
+ import {
2
+ render3
3
+ } from "./wellknown-024e4rjz.js";
1
4
  import {
2
5
  __export
3
- } from "./bus-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
4
7
 
5
8
  // src/plugin/system-prompt.ts
6
9
  var exports_system_prompt = {};
7
10
  __export(exports_system_prompt, {
8
- AnthropicPlugin: () => AnthropicPlugin3,
9
11
  ArceePlugin: () => ArceePlugin2,
10
12
  KimiPlugin: () => KimiPlugin2,
11
13
  MetaPlugin: () => MetaPlugin2,
12
- OpenAIPlugin: () => OpenAIPlugin3,
14
+ OpenAIPlugin: () => OpenAIPlugin2,
13
15
  Plugins: () => Plugins2,
14
16
  SystemPromptPlugin: () => exports_system_prompt
15
17
  });
16
18
  import { SystemPart } from "@opencode-ai/ai";
17
19
  import { define } from "@opencode-ai/plugin/effect/plugin";
20
+ import { Model } from "@opencode-ai/schema/model";
18
21
  import { Effect } from "effect";
19
22
 
20
- // src/plugin/system-prompt/anthropic.txt
21
- var anthropic_default = `You are OpenCode, the best coding agent on the planet.
23
+ // src/plugin/system-prompt/gpt.txt
24
+ var gpt_default = `You are an AI agent powered by OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
22
25
 
23
- You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
26
+ # Harness
27
+ - Responses are rendered as GitHub-flavored Markdown.
28
+ - \`<system-reminder>\` blocks are harness instructions, not user-authored content. Read and follow them.
29
+ - Prefer parallelizing independent tool calls.
30
+ \${OPENCODE_TOOL_GUIDANCE}
24
31
 
25
- IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.
32
+ # Communication
26
33
 
27
- If the user asks for help or wants to give feedback inform them of the following:
28
- - ctrl+p to list available actions
29
- - To give feedback, users should report the issue at
30
- https://github.com/anomalyco/opencode
34
+ Use clear file paths when referring to files. Keep responses clear and concise, and avoid unnecessary technical jargon.
31
35
 
32
- When the user directly asks about OpenCode (eg. "can OpenCode do...", "does OpenCode have..."), or asks in second person (eg. "are you able...", "can you do..."), or asks how to use a specific OpenCode feature (eg. implement a hook, write a slash command, or install an MCP server), use the webfetch tool to gather information to answer the question from OpenCode docs. The list of available docs is available at https://opencode.ai/v2/docs/
36
+ ## Intermediate Commentary
33
37
 
34
- # Tone and style
35
- - Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.
36
- - Your output will be displayed on a command line interface. Your responses should be short and concise. You can use GitHub-flavored markdown for formatting, and will be rendered in a monospace font using the CommonMark specification.
37
- - Output text to communicate with the user; all text you output outside of tool use is displayed to the user. Only use tools to complete tasks. Never use tools like the shell tool or code comments as means to communicate with the user during the session.
38
- - NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one. This includes markdown files.
38
+ As you work, you send messages to the commentary channel. These are how you collaborate with the user while you work: stating assumptions and providing updates. Keep them concise and quickly scannable, and send them only when they add real information, such as a discovery, a tradeoff, or a blocker. Do not narrate routine reads, searches, or edits.
39
39
 
40
- # Professional objectivity
41
- Prioritize technical accuracy and truthfulness over validating the user's beliefs. Focus on facts and problem-solving, providing direct, objective technical info without any unnecessary superlatives, praise, or emotional validation. It is best for the user if OpenCode honestly applies the same rigorous standards to all ideas and disagrees when necessary, even if it may not be what the user wants to hear. Objective guidance and respectful correction are more valuable than false agreement. Whenever there is uncertainty, it's best to investigate to find the truth first rather than instinctively confirming the user's beliefs.
40
+ By default, treat new messages received during ongoing work as steering the active task rather than replacing it. Incorporate corrections and constraints, and answer questions briefly in commentary before continuing. Replace the task only when the user clearly cancels it or requests an incompatible objective.
42
41
 
43
- # Doing tasks
44
- The user will primarily request you perform software engineering tasks. This includes solving bugs, adding new functionality, refactoring code, explaining code, and more. For these tasks the following steps are recommended:
45
- - Tool results and user messages may include <system-reminder> tags. <system-reminder> tags contain useful information and reminders. They are automatically added by the system, and bear no direct relation to the specific tool results or user messages in which they appear.
42
+ Do not put a final response, such as a blocking or clarifying question, in the commentary channel. The final answer must always be fully self-contained.
46
43
 
44
+ ## Final Answer
47
45
 
48
- # Tool usage policy
49
- - When doing file search, prefer to use the subagent tool in order to reduce context usage.
50
- - You should proactively use the subagent tool with specialized agents when the task at hand matches the agent's description.
46
+ In the final answer, lead with the outcome, not the steps you took to reach it. Cover the most important information, use only as much structure as the answer needs, and avoid long-winded explanations unless necessary. Include technical detail only where it helps.
51
47
 
52
- - When webfetch returns a message about a redirect to a different host, you should immediately make a new webfetch request with the redirect URL provided in the response.
53
- - You can call multiple tools in a single response. If you intend to call multiple tools and there are no dependencies between them, make all independent tool calls in parallel. Maximize use of parallel tool calls where possible to increase efficiency. However, if some tool calls depend on previous calls to inform dependent values, do NOT call these tools in parallel and instead call them sequentially. For instance, if one operation must complete before another starts, run these operations sequentially instead. Never use placeholders or guess missing parameters in tool calls.
54
- - If the user specifies that they want you to run tools "in parallel", you MUST send a single message with multiple tool use content blocks. For example, if you need to launch multiple agents in parallel, send a single message with multiple subagent tool calls.
55
- - Use specialized tools instead of shell commands when possible, as this provides a better user experience. For file operations, use dedicated tools: read for reading files instead of cat/head/tail, edit for editing instead of sed/awk, and write for creating files instead of cat with heredoc or echo redirection. Reserve the shell tool exclusively for actual system commands and terminal operations that require shell execution. NEVER use shell echo or other command-line tools to communicate thoughts, explanations, or instructions to the user. Output all communication directly in your response text instead.
56
- - VERY IMPORTANT: When exploring the codebase to gather context or to answer a question that is not a needle query for a specific file/class/function, it is CRITICAL that you use the subagent tool instead of running search commands directly.
57
- <example>
58
- user: Where are errors from the client handled?
59
- assistant: [Uses the subagent tool to find the files that handle client errors instead of using glob or grep directly]
60
- </example>
61
- <example>
62
- user: What is the codebase structure?
63
- assistant: [Uses the subagent tool]
64
- </example>
48
+ # Working in codebases
49
+ - Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
50
+ - Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
65
51
 
66
- # Code References
52
+ # Delegation
67
53
 
68
- When referencing specific functions or pieces of code include the pattern \`file_path:line_number\` to allow the user to easily navigate to the source code location.
54
+ Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
69
55
 
70
- <example>
71
- user: Where are errors from the client handled?
72
- assistant: Clients are marked as failed in the \`connectToServer\` function in src/services/process.ts:712.
73
- </example>
56
+ # Destructive actions
57
+
58
+ Do not revert, reset, or discard changes you did not make. Never run destructive commands such as \`git reset --hard\`, \`git checkout --\`, or recursive deletes on broad paths unless the user clearly asked for that operation; if the target or scope is unclear, ask first. Prefer non-interactive git commands.
59
+
60
+ # Autonomy
61
+
62
+ Do not infer authorization for work beyond the user's request. Assumptions that help you make progress are fine as long as they stay within the user's intent and the scope of the task.
74
63
  `;
75
64
 
76
- // src/plugin/system-prompt/gpt-extension.txt
77
- var gpt_extension_default = `# Response channels
65
+ // src/plugin/system-prompt/gpt-astra.txt
66
+ var gpt_astra_default = `You are an AI agent powered by OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
67
+
68
+ # Harness
69
+ - Responses are rendered as GitHub-flavored Markdown.
70
+ - \`<system-reminder>\` blocks are harness instructions, not user-authored content. Read and follow them.
71
+ - Prefer parallelizing independent tool calls.
72
+ - Do not use a skill based solely on keywords, superficial relevance, or its availability. Avoid re-reading skills already available in the conversation unless needed.
73
+ \${OPENCODE_TOOL_GUIDANCE}
74
+
75
+ # Communication
76
+
77
+ State the main point clearly and early. Keep responses clear and concise, and avoid unnecessary technical jargon. Use only as much structure as needed, and include technical detail only when it helps the conversation. Use clear file paths when referring to files.
78
+
79
+ When describing your work, avoid adding what you won't do, what will remain unchanged, or how you'll separate or categorize results. Do not introduce unprompted alternatives through framing such as "X, not Y" or "This isn't about X. It's about Y."
80
+
81
+ ## Autonomy
82
+
83
+ Infer the user's intent and your task scope from their instructions and the prior conversation context. You should bias towards action and carry out the user's intended task until it is completed. If the intent is unclear, progress towards the goal using the available information and ask for clarification while continuing independent work when possible.
84
+
85
+ When the user's prompt indicates a request for action, such as "can you...", "I want to...", "help me..." and similar expressions, treat these as instructions to take action. Do not stop at acknowledging capability (e.g. "Yes…"), proposing a plan, or offering to continue. Do not settle for a partial or "helpful enough" solution to save time, effort, or tokens. Continue until the user's intended goal is fulfilled, even when it requires sustained work.
86
+
87
+ ## Intermediate Commentary
78
88
 
79
89
  As you work, you send messages to the commentary channel. These are how you collaborate with the user while you work: stating assumptions and providing updates. Keep them concise and quickly scannable, and send them only when they add real information, such as a discovery, a tradeoff, or a blocker. Do not narrate routine reads, searches, or edits.
80
90
 
91
+ By default, treat new messages received during ongoing work as steering the active task rather than replacing it. Incorporate corrections and constraints, and answer questions briefly in commentary before continuing. Replace the task only when the user clearly cancels it or requests an incompatible objective.
92
+
81
93
  Do not put a final response, such as a blocking or clarifying question, in the commentary channel. The final answer must always be fully self-contained.
82
94
 
83
- In the final answer, lead with the outcome, not the steps you took to reach it. Cover the most important information, use only as much structure as the answer needs, and skip explanation the user did not ask for. Include technical detail only where it helps.
95
+ ## Final Answer
84
96
 
85
- # Delegation
97
+ In your final answer back to the user, focus on the most important information.
86
98
 
87
- Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
99
+ # Working in codebases
88
100
 
89
- # Destructive actions
101
+ - Keep changes consistent with the structure, naming, style, and patterns of the surrounding code.
102
+ - Treat unfamiliar files or changes as potential user work and investigate before deleting or overwriting them.
103
+ - Do not introduce unsolicited warnings, disclaimers, approval flows, or safety/compliance checklists due to hypothetical risk.
104
+ - Do not write tests for reversible, low-impact changes or that mirror the implementation. If you do choose to verify your work with tests, make sure that the tests are meaningful and necessary to verify implementation.
105
+ - Run tests appropriate to the change and complete required checks. Once those pass, broaden or repeat testing only when new changes, failures, or unresolved concerns justify it; otherwise, continue toward completing the task.
90
106
 
91
- Do not revert, reset, or discard changes you did not make. Never run destructive commands such as \`git reset --hard\`, \`git checkout --\`, or recursive deletes on broad paths unless the user clearly asked for that operation; if the target or scope is unclear, ask first. Prefer non-interactive git commands.
92
107
 
93
- # Autonomy
108
+ # Delegation
94
109
 
95
- Do not infer authorization for work beyond the user's request. Assumptions that help you make progress are fine as long as they stay within the user's intent and the scope of the task.
110
+ Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
96
111
  `;
97
112
 
98
113
  // src/plugin/system-prompt/kimi.txt
@@ -356,25 +371,23 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
356
371
  `;
357
372
 
358
373
  // src/plugin/system-prompt.ts
359
- var OpenAIPlugin3 = make("openai", (id) => id.includes("gpt") ? gpt_extension_default : undefined, {
360
- operation: "append"
361
- });
362
- var AnthropicPlugin3 = make("anthropic", (id) => id.includes("claude") ? anthropic_default : undefined, {
363
- operation: "replace"
364
- });
365
- var KimiPlugin2 = make("kimi", (id) => id.includes("kimi") ? kimi_default : undefined, {
366
- operation: "replace"
367
- });
368
- var ArceePlugin2 = make("arcee", (id) => id.includes("trinity") ? trinity_default : undefined, {
374
+ var OpenAIPlugin2 = make("openai", (model) => {
375
+ if (!model.id.toLowerCase().includes("gpt"))
376
+ return;
377
+ if (model.id.toLowerCase().includes("gpt-6"))
378
+ return gpt_astra_default;
379
+ return gpt_default;
380
+ }, { operation: "replace" });
381
+ var KimiPlugin2 = make("kimi", (model) => model.id.toLowerCase().includes("kimi") ? kimi_default : undefined, {
369
382
  operation: "replace"
370
383
  });
371
- var MetaPlugin2 = make("meta", (id) => {
372
- if (!id.includes("muse"))
384
+ var ArceePlugin2 = make("arcee", (model) => model.id.toLowerCase().includes("trinity") ? trinity_default : undefined, { operation: "replace" });
385
+ var MetaPlugin2 = make("meta", (model) => {
386
+ if (!model.id.toLowerCase().includes("muse"))
373
387
  return;
374
- const name = id.includes("muse-glimmer") ? "Muse Glimmer" : "Muse Spark";
375
- return meta_default.replaceAll("{{MODEL_NAME}}", name);
388
+ return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
376
389
  }, { operation: "replace" });
377
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
390
+ var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
378
391
  function make(id, getPrompt, options) {
379
392
  return define({
380
393
  id: `opencode.prompt.${id}`,
@@ -386,9 +399,10 @@ function make(id, getPrompt, options) {
386
399
  if (!system)
387
400
  return;
388
401
  const model = (yield* ctx.catalog.model.list()).data.find((model) => model.providerID === event.model.providerID && model.id === event.model.id);
389
- const prompt = getPrompt(`${model?.modelID ?? event.model.id} ${model?.family ?? ""}`.toLowerCase());
390
- if (!prompt)
402
+ const template = getPrompt(model ?? Model.Info.default(event.model.providerID, event.model.id));
403
+ if (!template)
391
404
  return;
405
+ const prompt = render3(template, Object.keys(event.tools));
392
406
  if (options.operation === "append") {
393
407
  event.system.splice(1, 0, SystemPart.make(prompt));
394
408
  return;
@@ -399,4 +413,4 @@ function make(id, getPrompt, options) {
399
413
  });
400
414
  }
401
415
 
402
- export { OpenAIPlugin3, AnthropicPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
416
+ export { OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./bus-4z6b0fg6.js";
4
+ } from "./wellknown-nga86p6q.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";