@opencode-ai/core 0.0.0-dev-18883 → 0.0.0-dev-18885

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 (771) hide show
  1. package/dist/account/sql.js +2 -2
  2. package/dist/agent.js +70 -70
  3. package/dist/aisdk-native.js +3 -3
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +2 -2
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +78 -78
  8. package/dist/chunks/{event-logger-hfzhpfa0.js → job-06p0gw3t.js} +6 -6
  9. package/dist/chunks/{event-logger-0ag03ecw.js → job-0ag03ecw.js} +2 -2
  10. package/dist/chunks/{event-logger-0enfz0ma.js → job-0enfz0ma.js} +4 -4
  11. package/dist/chunks/{event-logger-h8hec0yf.js → job-0ewhvy88.js} +4 -4
  12. package/dist/chunks/{event-logger-0gpahtwn.js → job-0gpahtwn.js} +2 -2
  13. package/dist/chunks/{event-logger-hf76km0g.js → job-0p92yvh1.js} +7 -7
  14. package/dist/chunks/{event-logger-0pc4kdn1.js → job-0pc4kdn1.js} +2 -2
  15. package/dist/chunks/{event-logger-ekv422cf.js → job-0r3pfasd.js} +10 -10
  16. package/dist/chunks/{event-logger-0rz7yd7x.js → job-0rz7yd7x.js} +1 -1
  17. package/dist/chunks/{event-logger-rmrhgvr8.js → job-0wcv3wfh.js} +11 -11
  18. package/dist/chunks/{event-logger-6jrrf6e8.js → job-0xsm1wz5.js} +5 -5
  19. package/dist/chunks/{event-logger-z4e983yn.js → job-132admq5.js} +13 -13
  20. package/dist/chunks/{event-logger-136c8mz3.js → job-136c8mz3.js} +3 -3
  21. package/dist/chunks/{event-logger-0faxqxy4.js → job-18dtg8b4.js} +5 -5
  22. package/dist/chunks/{event-logger-602d24gb.js → job-1c0pmxnj.js} +7 -7
  23. package/dist/chunks/{event-logger-e9rrskvy.js → job-1ddwe6pa.js} +3 -3
  24. package/dist/chunks/{event-logger-n3bm42eb.js → job-1hm49g41.js} +5 -5
  25. package/dist/chunks/{event-logger-bp33yze8.js → job-1pazmxga.js} +5 -5
  26. package/dist/chunks/{event-logger-6ne87h3y.js → job-1whs454d.js} +5 -5
  27. package/dist/chunks/{event-logger-264e1nfp.js → job-264e1nfp.js} +2 -2
  28. package/dist/chunks/{event-logger-9vds5rv8.js → job-2gvk513s.js} +4 -4
  29. package/dist/chunks/{event-logger-2sqw2jjm.js → job-2sqw2jjm.js} +3 -3
  30. package/dist/chunks/{event-logger-80b3tmhc.js → job-2v4ty07d.js} +4 -4
  31. package/dist/chunks/{event-logger-2x0ckx01.js → job-2x0ckx01.js} +2 -2
  32. package/dist/chunks/{event-logger-ak3c5bt0.js → job-2ykdey9d.js} +2 -2
  33. package/dist/chunks/{event-logger-30st6gwt.js → job-30st6gwt.js} +1 -1
  34. package/dist/chunks/{event-logger-326j4s6w.js → job-326j4s6w.js} +2 -2
  35. package/dist/chunks/{event-logger-ss1he07p.js → job-37k4nm0j.js} +15 -15
  36. package/dist/chunks/{event-logger-zqnes443.js → job-39857kc6.js} +12 -12
  37. package/dist/chunks/{event-logger-3chx3ng6.js → job-3chx3ng6.js} +1 -1
  38. package/dist/chunks/{event-logger-7prpc0g8.js → job-3cs9d5gb.js} +3 -3
  39. package/dist/chunks/{event-logger-3ep0k87g.js → job-3ep0k87g.js} +3 -3
  40. package/dist/chunks/{event-logger-5p6bksbb.js → job-3mc1hhwa.js} +3 -3
  41. package/dist/chunks/{event-logger-qhr5esw4.js → job-3nn3kjvx.js} +14 -14
  42. package/dist/chunks/{event-logger-xx15k10s.js → job-3tv1v2sc.js} +7 -7
  43. package/dist/chunks/{event-logger-0anp9kqg.js → job-3vysg6ty.js} +14 -14
  44. package/dist/chunks/{event-logger-4t15c3xa.js → job-3y0vvfn7.js} +5 -5
  45. package/dist/chunks/{event-logger-42zyazrq.js → job-42zyazrq.js} +1 -1
  46. package/dist/chunks/{event-logger-31ps46w2.js → job-4akp4amk.js} +8 -8
  47. package/dist/chunks/{event-logger-p2c25g59.js → job-4tj9e5qg.js} +5 -5
  48. package/dist/chunks/{event-logger-4v6g3p22.js → job-4v6g3p22.js} +1 -1
  49. package/dist/chunks/{event-logger-9k10aqth.js → job-51cyv80w.js} +24 -24
  50. package/dist/chunks/{event-logger-5v8ev3q2.js → job-5npv4mwv.js} +6 -6
  51. package/dist/chunks/{event-logger-cdbq8bkm.js → job-5pe6q8st.js} +5 -5
  52. package/dist/chunks/{event-logger-zn23r8xt.js → job-5warb1e1.js} +3 -3
  53. package/dist/chunks/{event-logger-5y5kqjze.js → job-5y5kqjze.js} +1 -1
  54. package/dist/chunks/{event-logger-k8r7sb6m.js → job-63cma8j5.js} +4 -4
  55. package/dist/chunks/{event-logger-63teb4w1.js → job-63teb4w1.js} +3 -3
  56. package/dist/chunks/{event-logger-jawh03tn.js → job-64wew3nz.js} +4 -4
  57. package/dist/chunks/{event-logger-66mds5ht.js → job-66mds5ht.js} +1 -1
  58. package/dist/chunks/{event-logger-5tmq734f.js → job-67gpxsf6.js} +3 -3
  59. package/dist/chunks/{event-logger-ms1tx87r.js → job-69bw2fgt.js} +4 -4
  60. package/dist/chunks/{event-logger-ax34jjm3.js → job-69q72ytf.js} +7 -7
  61. package/dist/chunks/{event-logger-6bxzghb6.js → job-6bxzghb6.js} +1 -1
  62. package/dist/chunks/{event-logger-nr8k6qkh.js → job-6gpfb6x3.js} +2 -2
  63. package/dist/chunks/{event-logger-6hppa3xw.js → job-6hppa3xw.js} +2 -2
  64. package/dist/chunks/{event-logger-ebt8xmvq.js → job-6t50c6cz.js} +20 -20
  65. package/dist/chunks/{event-logger-6vbv4je1.js → job-6vbv4je1.js} +2 -2
  66. package/dist/chunks/{event-logger-6wsfy4sp.js → job-6wsfy4sp.js} +2 -2
  67. package/dist/chunks/{event-logger-txp0bpnj.js → job-6zb6kfex.js} +12 -12
  68. package/dist/chunks/{event-logger-43t1xafw.js → job-748k2tzh.js} +12 -12
  69. package/dist/chunks/{event-logger-750jzgaa.js → job-750jzgaa.js} +3 -3
  70. package/dist/chunks/{event-logger-x3snrtbz.js → job-763dt5av.js} +3 -3
  71. package/dist/chunks/{event-logger-pzz2fv69.js → job-7dj66b7k.js} +6 -6
  72. package/dist/chunks/{event-logger-7myqjfx6.js → job-7myqjfx6.js} +1 -1
  73. package/dist/chunks/{event-logger-4nfhmk35.js → job-7p25yyns.js} +2 -2
  74. package/dist/chunks/{event-logger-7y13h7qh.js → job-7y13h7qh.js} +3 -3
  75. package/dist/chunks/{event-logger-7z97vfjw.js → job-7z97vfjw.js} +1 -1
  76. package/dist/chunks/{event-logger-b14zdp6b.js → job-84c5nzqj.js} +6 -6
  77. package/dist/chunks/{event-logger-gtx1m0hy.js → job-866newm1.js} +4 -4
  78. package/dist/chunks/{event-logger-89ttfx5q.js → job-89ttfx5q.js} +2 -2
  79. package/dist/chunks/{event-logger-m3k5wttq.js → job-8c5xq4gn.js} +6 -6
  80. package/dist/chunks/{event-logger-8ck72gm8.js → job-8ck72gm8.js} +2 -2
  81. package/dist/chunks/{event-logger-8ezmrsyj.js → job-8ezmrsyj.js} +2 -2
  82. package/dist/chunks/{event-logger-8jwkk0nn.js → job-8jwkk0nn.js} +2 -2
  83. package/dist/chunks/{event-logger-zx810r92.js → job-8p3p0tp9.js} +23 -23
  84. package/dist/chunks/{event-logger-8r263vtv.js → job-8r263vtv.js} +2 -2
  85. package/dist/chunks/{event-logger-33xtgp87.js → job-8v1vwc86.js} +4 -4
  86. package/dist/chunks/{event-logger-ezg07wa3.js → job-90j9fdw1.js} +3 -3
  87. package/dist/chunks/{event-logger-3sadhmtr.js → job-98q71kwn.js} +6 -6
  88. package/dist/chunks/{event-logger-3m7prp8d.js → job-9y7ejy76.js} +4 -4
  89. package/dist/chunks/{event-logger-a6xqkezx.js → job-a6xqkezx.js} +1 -1
  90. package/dist/chunks/{event-logger-3rchjake.js → job-acpz2zcg.js} +4 -4
  91. package/dist/chunks/{event-logger-af42tqdk.js → job-af42tqdk.js} +2 -2
  92. package/dist/chunks/{event-logger-97dhjjzb.js → job-atw03pp7.js} +5 -5
  93. package/dist/chunks/{event-logger-28nyfsqq.js → job-azb648mj.js} +2 -2
  94. package/dist/chunks/{event-logger-b1f1x5nb.js → job-b1f1x5nb.js} +2 -2
  95. package/dist/chunks/{event-logger-w4dayvd1.js → job-b345r6gs.js} +17 -17
  96. package/dist/chunks/{event-logger-2cxjrhxh.js → job-b3yhhaxe.js} +6 -6
  97. package/dist/chunks/{event-logger-wc2zefc9.js → job-b7d1hbep.js} +9 -9
  98. package/dist/chunks/{event-logger-b7rje112.js → job-b7rje112.js} +1 -1
  99. package/dist/chunks/{event-logger-5v8an318.js → job-baq11nby.js} +5 -5
  100. package/dist/chunks/{event-logger-vrpykvgq.js → job-bc9z41gw.js} +8 -8
  101. package/dist/chunks/{event-logger-bd2mvb8t.js → job-bd2mvb8t.js} +2 -2
  102. package/dist/chunks/{event-logger-nybavp56.js → job-bdmt9km5.js} +4 -4
  103. package/dist/chunks/{event-logger-htqhjrk2.js → job-bfaqqy2h.js} +8 -8
  104. package/dist/chunks/{event-logger-edcgv1ng.js → job-bk5tsfsy.js} +50 -50
  105. package/dist/chunks/{event-logger-bnha4c96.js → job-bnha4c96.js} +1 -1
  106. package/dist/chunks/{event-logger-rp0pwc0r.js → job-bp77wc6p.js} +27 -27
  107. package/dist/chunks/{event-logger-hgxtn07j.js → job-bqt7n4t0.js} +4 -4
  108. package/dist/chunks/{event-logger-mbqa4rzw.js → job-brsxew8t.js} +8 -8
  109. package/dist/chunks/{event-logger-bw56vv3v.js → job-bx6x7vxj.js} +2 -2
  110. package/dist/chunks/{event-logger-byc4rwvh.js → job-byc4rwvh.js} +2 -2
  111. package/dist/chunks/{event-logger-c54e84vp.js → job-c54e84vp.js} +1 -1
  112. package/dist/chunks/{event-logger-c8ya26sa.js → job-c8ya26sa.js} +2 -2
  113. package/dist/chunks/{event-logger-3z89w77k.js → job-ce1ss690.js} +6 -6
  114. package/dist/chunks/{event-logger-nt7cv8f9.js → job-cjz005h4.js} +152 -152
  115. package/dist/chunks/{event-logger-48jt2sfk.js → job-ck69cyvv.js} +19 -19
  116. package/dist/chunks/{event-logger-ze89paxg.js → job-cn57zjc2.js} +2 -2
  117. package/dist/chunks/{event-logger-d4h7vwhh.js → job-d4h7vwhh.js} +2 -2
  118. package/dist/chunks/{event-logger-qpncmb82.js → job-d9pfk9cp.js} +3 -3
  119. package/dist/chunks/{event-logger-gc027k90.js → job-dc4cfg1c.js} +11 -11
  120. package/dist/chunks/{event-logger-dexm22yg.js → job-dexm22yg.js} +1 -1
  121. package/dist/chunks/{event-logger-dtm6fkaa.js → job-dtm6fkaa.js} +2 -2
  122. package/dist/chunks/{event-logger-dyhtrhy2.js → job-dyhtrhy2.js} +1 -1
  123. package/dist/chunks/{event-logger-8w9swgen.js → job-edt0trda.js} +7 -7
  124. package/dist/chunks/{event-logger-edxnhgvj.js → job-edxnhgvj.js} +1 -1
  125. package/dist/chunks/{event-logger-60qzb2qb.js → job-enmsx4hv.js} +4 -4
  126. package/dist/chunks/{event-logger-etbnsc4s.js → job-etbnsc4s.js} +2 -2
  127. package/dist/chunks/{event-logger-f2nhxfjt.js → job-f2nhxfjt.js} +2 -2
  128. package/dist/chunks/{event-logger-7wjjva9r.js → job-f2rtg8vw.js} +2 -2
  129. package/dist/chunks/{event-logger-ynrre5pd.js → job-f494h83v.js} +7 -7
  130. package/dist/chunks/{event-logger-d14g4y7h.js → job-f7j863jy.js} +2 -2
  131. package/dist/chunks/{event-logger-f8wvq04h.js → job-f8wvq04h.js} +1 -1
  132. package/dist/chunks/{event-logger-20qb9qvc.js → job-fbygmx4b.js} +4 -4
  133. package/dist/chunks/{event-logger-dp0s6q49.js → job-fpb3hw6e.js} +4 -4
  134. package/dist/chunks/{event-logger-fqehnn9p.js → job-fqehnn9p.js} +2 -2
  135. package/dist/chunks/{event-logger-t4z90487.js → job-fvf5angy.js} +8 -8
  136. package/dist/chunks/{event-logger-g6q238va.js → job-g6q238va.js} +2 -2
  137. package/dist/chunks/{event-logger-g9dd0fv6.js → job-g9dd0fv6.js} +2 -2
  138. package/dist/chunks/{event-logger-gb1z7yet.js → job-gb1z7yet.js} +2 -2
  139. package/dist/chunks/{event-logger-gc513wew.js → job-gc513wew.js} +2 -2
  140. package/dist/chunks/{event-logger-hk4ywvnh.js → job-gj9p750g.js} +8 -8
  141. package/dist/chunks/{event-logger-mjd33nc9.js → job-gmxb4zjk.js} +32 -32
  142. package/dist/chunks/{event-logger-grfz4hhj.js → job-grfz4hhj.js} +1 -1
  143. package/dist/chunks/{event-logger-gte2a4bk.js → job-gte2a4bk.js} +2 -2
  144. package/dist/chunks/{event-logger-4qz7zhx0.js → job-h4xxgqf7.js} +39 -190
  145. package/dist/chunks/{event-logger-hfzsp55z.js → job-hfzsp55z.js} +2 -2
  146. package/dist/chunks/{event-logger-hgr9y616.js → job-hgr9y616.js} +1 -1
  147. package/dist/chunks/{event-logger-hhxh8pdx.js → job-hhxh8pdx.js} +2 -2
  148. package/dist/chunks/{event-logger-hpkeh7wf.js → job-hpkeh7wf.js} +1 -1
  149. package/dist/chunks/{event-logger-hs51b0fc.js → job-hs51b0fc.js} +1 -1
  150. package/dist/chunks/{event-logger-hvydqsq5.js → job-hvydqsq5.js} +2 -2
  151. package/dist/chunks/{event-logger-hy5n5jcn.js → job-hy5n5jcn.js} +1 -1
  152. package/dist/chunks/{event-logger-9n4dbasm.js → job-hyg33n5k.js} +6 -6
  153. package/dist/chunks/{event-logger-s6ck6xts.js → job-hzwx8p6y.js} +5 -4
  154. package/dist/chunks/{event-logger-j0feex7e.js → job-j0feex7e.js} +1 -1
  155. package/dist/chunks/{event-logger-0z58sem7.js → job-j2ws05bj.js} +1 -1
  156. package/dist/chunks/{event-logger-490rebgt.js → job-j5bn9ftq.js} +6 -6
  157. package/dist/chunks/{event-logger-tgt06a8b.js → job-j8ejm5p7.js} +3 -3
  158. package/dist/chunks/{event-logger-j9ymnb9b.js → job-j9ymnb9b.js} +2 -2
  159. package/dist/chunks/{event-logger-bt09b8rq.js → job-ja1gp85g.js} +2 -2
  160. package/dist/chunks/{event-logger-jjepj7kz.js → job-jjepj7kz.js} +2 -2
  161. package/dist/chunks/{event-logger-jqd42x9x.js → job-jqd42x9x.js} +2 -2
  162. package/dist/chunks/{event-logger-jqhp3fpz.js → job-jqhp3fpz.js} +2 -2
  163. package/dist/chunks/{event-logger-jr5m26np.js → job-jr5m26np.js} +2 -2
  164. package/dist/chunks/{event-logger-k7hkdbw5.js → job-k7hkdbw5.js} +2 -2
  165. package/dist/chunks/{event-logger-vxghvh6k.js → job-kf64sw8b.js} +2 -2
  166. package/dist/chunks/{event-logger-kggc3hrm.js → job-kggc3hrm.js} +2 -2
  167. package/dist/chunks/{event-logger-kq3q54gz.js → job-kq3q54gz.js} +1 -1
  168. package/dist/chunks/{event-logger-kr9vgar1.js → job-kr9vgar1.js} +1 -1
  169. package/dist/chunks/{event-logger-6ag1fsav.js → job-krr7v14w.js} +2 -2
  170. package/dist/chunks/{event-logger-bccx0e40.js → job-kxdqxh3z.js} +11 -11
  171. package/dist/chunks/{event-logger-m7jtgrng.js → job-m7jtgrng.js} +2 -2
  172. package/dist/chunks/{event-logger-mf0hyk7z.js → job-mf0hyk7z.js} +1 -1
  173. package/dist/chunks/{event-logger-mnyszbxc.js → job-mnyszbxc.js} +1 -1
  174. package/dist/chunks/{event-logger-6f6thqyy.js → job-mq50mb5r.js} +5 -5
  175. package/dist/chunks/{event-logger-15vh814f.js → job-ms33136j.js} +3 -3
  176. package/dist/chunks/{event-logger-9hmc2y7f.js → job-ms86y06c.js} +10 -10
  177. package/dist/chunks/{event-logger-gdh81dn3.js → job-n566000k.js} +11 -11
  178. package/dist/chunks/{event-logger-ngzr6ypz.js → job-ngzr6ypz.js} +2 -2
  179. package/dist/chunks/{event-logger-erd1j4wa.js → job-nhahvv25.js} +4 -4
  180. package/dist/chunks/{event-logger-nn16cgj7.js → job-nn16cgj7.js} +1 -1
  181. package/dist/chunks/{event-logger-2n4meee0.js → job-nrh9vb49.js} +4 -4
  182. package/dist/chunks/{event-logger-70gy29pf.js → job-nzta3vtc.js} +61 -61
  183. package/dist/chunks/{event-logger-p1m5qwvv.js → job-p1m5qwvv.js} +1 -1
  184. package/dist/chunks/{event-logger-yn96nbp7.js → job-p22wetsh.js} +12 -12
  185. package/dist/chunks/{event-logger-967y1ey8.js → job-p3ywcjt1.js} +12 -12
  186. package/dist/chunks/{event-logger-p5gyct0y.js → job-p5gyct0y.js} +1 -1
  187. package/dist/chunks/{event-logger-sqvq2smh.js → job-p6ve79qp.js} +4 -4
  188. package/dist/chunks/{event-logger-66z161r9.js → job-p979dwac.js} +5 -5
  189. package/dist/chunks/{event-logger-brkk90e0.js → job-pbdkaa58.js} +3 -3
  190. package/dist/chunks/{event-logger-6mg4psq5.js → job-pf7y9dp2.js} +4 -4
  191. package/dist/chunks/{event-logger-dbbxpw71.js → job-ph31zgmf.js} +3 -3
  192. package/dist/chunks/{event-logger-pj0nw4b1.js → job-pj0nw4b1.js} +1 -1
  193. package/dist/chunks/{event-logger-pk53j7qk.js → job-pk53j7qk.js} +2 -2
  194. package/dist/chunks/{event-logger-6p982pkm.js → job-prnce665.js} +6 -6
  195. package/dist/chunks/{event-logger-j2xnqb26.js → job-pz3b4msc.js} +5 -5
  196. package/dist/chunks/{event-logger-xsk5abms.js → job-q1w2sbvw.js} +6 -6
  197. package/dist/chunks/{event-logger-q606pcse.js → job-q606pcse.js} +3 -3
  198. package/dist/chunks/{event-logger-a4k2ps3j.js → job-qagdd2qw.js} +6 -6
  199. package/dist/chunks/{event-logger-8e2kzcvj.js → job-qev4nzq9.js} +10 -10
  200. package/dist/chunks/{event-logger-qf52r0wh.js → job-qf52r0wh.js} +1 -1
  201. package/dist/chunks/{event-logger-qfvp8zq7.js → job-qfvp8zq7.js} +1 -1
  202. package/dist/chunks/{event-logger-4n3xz83z.js → job-qhh7zg5f.js} +10 -10
  203. package/dist/chunks/{event-logger-wd2c5kks.js → job-qhzdewyc.js} +3 -3
  204. package/dist/chunks/{event-logger-dggtggdc.js → job-qndxcma9.js} +5 -5
  205. package/dist/chunks/{event-logger-5ksg4r8v.js → job-qqb1ne3c.js} +5 -5
  206. package/dist/chunks/{event-logger-hp004neb.js → job-qz5gwjr7.js} +5 -5
  207. package/dist/chunks/{event-logger-tnajjk2b.js → job-r47kryzj.js} +5 -5
  208. package/dist/chunks/{event-logger-45yna869.js → job-r7wjv2nw.js} +10 -10
  209. package/dist/chunks/{event-logger-r7z6wjth.js → job-r7z6wjth.js} +1 -1
  210. package/dist/chunks/{event-logger-r932pxqs.js → job-r932pxqs.js} +1 -1
  211. package/dist/chunks/{event-logger-r9d3d23r.js → job-r9d3d23r.js} +1 -1
  212. package/dist/chunks/{event-logger-cc7sqasd.js → job-ra6kngnz.js} +13 -13
  213. package/dist/chunks/{event-logger-rahat93a.js → job-rahat93a.js} +1 -1
  214. package/dist/chunks/{event-logger-rancn5ng.js → job-rancn5ng.js} +4 -4
  215. package/dist/chunks/{event-logger-76tc47xk.js → job-rbhhrzfk.js} +2 -2
  216. package/dist/chunks/{event-logger-vekcspks.js → job-rddb8cs9.js} +7 -7
  217. package/dist/chunks/{event-logger-7e87xcd5.js → job-rnq3pg1n.js} +9 -9
  218. package/dist/chunks/{event-logger-rr7wbarq.js → job-rr7wbarq.js} +1 -1
  219. package/dist/chunks/{event-logger-rv2n9m0t.js → job-rv2n9m0t.js} +2 -2
  220. package/dist/chunks/{event-logger-0ybjj4f4.js → job-rvsgw1ex.js} +9 -9
  221. package/dist/chunks/{event-logger-87mry3mw.js → job-rwanczje.js} +15 -15
  222. package/dist/chunks/{event-logger-xzdd14zn.js → job-rxyf2wat.js} +3 -3
  223. package/dist/chunks/{event-logger-8skcht06.js → job-s1nfm93n.js} +3 -3
  224. package/dist/chunks/{event-logger-szx4g7m4.js → job-s28njy9h.js} +7 -7
  225. package/dist/chunks/{event-logger-s2kjqxd3.js → job-s2kjqxd3.js} +1 -1
  226. package/dist/chunks/{event-logger-s32nnj3r.js → job-s32nnj3r.js} +1 -1
  227. package/dist/chunks/{event-logger-qt5n9yss.js → job-s4eqw0kc.js} +7 -7
  228. package/dist/chunks/{event-logger-49pqqk1j.js → job-sgjfs1b1.js} +96 -96
  229. package/dist/chunks/{event-logger-2vnqcjg2.js → job-t0rhvv55.js} +3 -3
  230. package/dist/chunks/{event-logger-nth0sv9t.js → job-tdxy4njm.js} +51 -51
  231. package/dist/chunks/{event-logger-tr2gzb1w.js → job-tr2gzb1w.js} +1 -1
  232. package/dist/chunks/{event-logger-1ayyhdzs.js → job-tzkv0b65.js} +11 -11
  233. package/dist/chunks/{event-logger-dnqtg2kn.js → job-v72kjzv5.js} +90 -90
  234. package/dist/chunks/{event-logger-vcwr2vpf.js → job-vcwr2vpf.js} +1 -1
  235. package/dist/chunks/{event-logger-m9q3w44f.js → job-vert9j59.js} +14 -14
  236. package/dist/chunks/{event-logger-te2n4nvb.js → job-vezqqwxd.js} +9 -9
  237. package/dist/chunks/{event-logger-vynk8zbr.js → job-vynk8zbr.js} +1 -1
  238. package/dist/chunks/{event-logger-bx3hnh9s.js → job-w27hf1jj.js} +7 -7
  239. package/dist/chunks/{event-logger-w5r9s7kx.js → job-w5r9s7kx.js} +1 -1
  240. package/dist/chunks/{event-logger-twdqhj5q.js → job-w9q019pk.js} +3 -3
  241. package/dist/chunks/{event-logger-wbkt8qpj.js → job-wbkt8qpj.js} +1 -1
  242. package/dist/chunks/{event-logger-wdqva41w.js → job-wdqva41w.js} +1 -1
  243. package/dist/chunks/{event-logger-wf5w4wph.js → job-wf5w4wph.js} +1 -1
  244. package/dist/chunks/{event-logger-0eqh1kxj.js → job-wf7trzdx.js} +8 -8
  245. package/dist/chunks/{event-logger-wkcm2121.js → job-wkcm2121.js} +3 -3
  246. package/dist/chunks/{event-logger-nzp3hz2b.js → job-wmg51rse.js} +13 -13
  247. package/dist/chunks/{event-logger-wmxdh12w.js → job-wmxdh12w.js} +1 -1
  248. package/dist/chunks/{event-logger-nsh6vyrj.js → job-wtzkp35r.js} +11 -11
  249. package/dist/chunks/{event-logger-x3vb5b1t.js → job-x3vb5b1t.js} +1 -1
  250. package/dist/chunks/{event-logger-8g7h58mw.js → job-x4a2pfnz.js} +16 -16
  251. package/dist/chunks/{event-logger-x4az4y7r.js → job-x4az4y7r.js} +1 -1
  252. package/dist/chunks/{event-logger-mkhes2fj.js → job-x60v4fd2.js} +3 -3
  253. package/dist/chunks/{event-logger-kdmjenc3.js → job-x96kqhj8.js} +8 -8
  254. package/dist/chunks/{event-logger-xdb88cdw.js → job-xdb88cdw.js} +2 -2
  255. package/dist/chunks/{event-logger-0q3gef9k.js → job-xefjmnb9.js} +4 -4
  256. package/dist/chunks/{event-logger-xfk2eagt.js → job-xfk2eagt.js} +3 -3
  257. package/dist/chunks/{event-logger-xh0dkm7j.js → job-xh0dkm7j.js} +1 -1
  258. package/dist/chunks/{event-logger-xws7arpm.js → job-xws7arpm.js} +1 -1
  259. package/dist/chunks/{event-logger-h0wbyzzw.js → job-y19apsdd.js} +3 -3
  260. package/dist/chunks/{event-logger-9mm6w4pv.js → job-y73b3e93.js} +3 -3
  261. package/dist/chunks/{event-logger-pxzxf1qj.js → job-y7n1tka4.js} +5 -5
  262. package/dist/chunks/{event-logger-0zaxt8vx.js → job-ycc8vt0j.js} +3 -3
  263. package/dist/chunks/{event-logger-r0dhj0bg.js → job-yqe23f60.js} +3 -3
  264. package/dist/chunks/{event-logger-wc4jkt6c.js → job-ys7wkgz7.js} +7 -7
  265. package/dist/chunks/{event-logger-81jwg9yb.js → job-yw7gmabq.js} +7 -7
  266. package/dist/chunks/{event-logger-wrwv3tge.js → job-z136yv6w.js} +13 -13
  267. package/dist/chunks/{event-logger-z1x5ppqv.js → job-z1x5ppqv.js} +2 -2
  268. package/dist/chunks/{event-logger-trpe5wbm.js → job-z4c50tgd.js} +16 -16
  269. package/dist/chunks/{event-logger-wb5jd8dt.js → job-z7cvw7tv.js} +4 -4
  270. package/dist/chunks/{event-logger-z8c1ty6e.js → job-z8c1ty6e.js} +1 -1
  271. package/dist/chunks/{event-logger-zbqqnp0n.js → job-zbqqnp0n.js} +1 -1
  272. package/dist/chunks/{event-logger-zn935gjz.js → job-zn935gjz.js} +1 -1
  273. package/dist/chunks/{event-logger-zq5w46q0.js → job-zq5w46q0.js} +1 -1
  274. package/dist/chunks/{event-logger-m9r276r6.js → job-zvr0gfxq.js} +3 -3
  275. package/dist/chunks/{event-logger-zyyhrfr9.js → job-zyyhrfr9.js} +1 -1
  276. package/dist/codemode/catalog.js +2 -2
  277. package/dist/codemode/instructions.js +4 -4
  278. package/dist/codemode/tool.js +4 -4
  279. package/dist/command.js +70 -70
  280. package/dist/config/markdown.js +2 -2
  281. package/dist/config/normalize.js +20 -20
  282. package/dist/config/plugin/agent.js +127 -127
  283. package/dist/config/plugin/command.js +113 -113
  284. package/dist/config/plugin/compaction.js +166 -166
  285. package/dist/config/plugin/entry-observer.js +109 -109
  286. package/dist/config/plugin/formatter.js +114 -114
  287. package/dist/config/plugin/image.js +126 -126
  288. package/dist/config/plugin/instruction.js +85 -85
  289. package/dist/config/plugin/location-watcher.js +112 -112
  290. package/dist/config/plugin/mcp.js +122 -122
  291. package/dist/config/plugin/policy.js +111 -111
  292. package/dist/config/plugin/provider.js +110 -110
  293. package/dist/config/plugin/reference.js +114 -114
  294. package/dist/config/plugin/shell.js +113 -113
  295. package/dist/config/plugin/skill-file.js +98 -98
  296. package/dist/config/plugin/skill.js +130 -130
  297. package/dist/config/plugin/snapshot.js +112 -112
  298. package/dist/config/plugin/source.js +110 -110
  299. package/dist/config/plugin/tool-output.js +114 -114
  300. package/dist/config/plugin/websearch.js +110 -110
  301. package/dist/config/variable.js +4 -4
  302. package/dist/config.js +108 -108
  303. package/dist/credential/sql.js +3 -3
  304. package/dist/credential.js +71 -71
  305. package/dist/database/database.js +65 -65
  306. package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
  307. package/dist/database/drizzle/effect-sqlite/index.js +13 -13
  308. package/dist/database/drizzle/effect-sqlite/session.js +12 -12
  309. package/dist/database/drizzle/index.js +14 -14
  310. package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
  311. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  312. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  313. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  314. package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
  315. package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
  316. package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
  317. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  318. package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
  319. package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
  320. package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
  321. package/dist/database/drizzle.js +15 -15
  322. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  323. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  324. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  325. package/dist/database/migration/20260225215848_workspace.js +2 -2
  326. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  327. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  328. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  329. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  330. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  331. package/dist/database/migration/20260323234822_events.js +2 -2
  332. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  333. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  334. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  335. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  336. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  337. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  338. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  339. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  340. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  341. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  342. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  343. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  344. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  345. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  346. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  347. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  348. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  349. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  350. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  351. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  352. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  353. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  354. package/dist/database/migration/20260611035744_credential.js +2 -2
  355. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  356. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  357. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  358. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  359. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  360. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  361. package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
  362. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  363. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  364. package/dist/database/migration/20260812181746_session_inbox.js +2 -2
  365. package/dist/database/migration/20260812213948_worktree.js +2 -2
  366. package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
  367. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
  368. package/dist/database/migration.gen.js +48 -48
  369. package/dist/database/migration.js +50 -50
  370. package/dist/database/path.js +3 -3
  371. package/dist/database/schema.gen.js +2 -2
  372. package/dist/database/schema.sql.js +2 -2
  373. package/dist/database/sqlite.bun.js +2 -2
  374. package/dist/database/sqlite.js +2 -2
  375. package/dist/database/sqlite.node.js +2 -2
  376. package/dist/database/sqlite.workerd.js +2 -2
  377. package/dist/database/v1-migration.bun.js +79 -79
  378. package/dist/database/v1-migration.js +2 -2
  379. package/dist/database/v1-migration.noop.js +1 -1
  380. package/dist/effect/app-node-builder.js +340 -340
  381. package/dist/effect/app-node-platform.js +3 -3
  382. package/dist/effect/keyed-mutex.js +2 -2
  383. package/dist/effect/websocket-constructor.js +2 -2
  384. package/dist/environment/driver.js +1 -1
  385. package/dist/environment/environment.js +86 -86
  386. package/dist/environment/exec-defaults.js +3 -3
  387. package/dist/environment/files.js +2 -2
  388. package/dist/environment/index.js +86 -86
  389. package/dist/environment/local.js +3 -3
  390. package/dist/environment/memory.js +3 -3
  391. package/dist/environment/unavailable.js +1 -1
  392. package/dist/event/sql.js +2 -2
  393. package/dist/event-logger.js +68 -68
  394. package/dist/file-mutation.js +87 -87
  395. package/dist/file-retention.js +2 -2
  396. package/dist/file.js +2 -2
  397. package/dist/filesystem/fff.bun.js +2 -2
  398. package/dist/filesystem/fff.js +2 -2
  399. package/dist/filesystem/fff.node.js +2 -2
  400. package/dist/filesystem/fff.workerd.js +2 -2
  401. package/dist/filesystem/ignore.js +1 -1
  402. package/dist/filesystem/location-watcher-policy.js +3 -3
  403. package/dist/filesystem/location-watcher.js +216 -216
  404. package/dist/filesystem/protected.js +2 -2
  405. package/dist/filesystem/search.js +91 -91
  406. package/dist/filesystem/watcher-binding.js +2 -2
  407. package/dist/filesystem/watcher.js +4 -4
  408. package/dist/filesystem.js +92 -92
  409. package/dist/form.js +69 -69
  410. package/dist/formatter/builtins.js +3 -3
  411. package/dist/formatter.js +80 -80
  412. package/dist/generate.js +84 -84
  413. package/dist/git.js +5 -5
  414. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  415. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  416. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  417. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  418. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  419. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  420. package/dist/github-copilot/copilot-provider.js +20 -20
  421. package/dist/github-copilot/models.js +4 -4
  422. package/dist/github-copilot/openai-compatible-error.js +2 -2
  423. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
  424. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  425. package/dist/github-copilot/responses/openai-error.js +2 -2
  426. package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
  427. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
  428. package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
  429. package/dist/github-copilot/responses/tool/file-search.js +2 -2
  430. package/dist/github-copilot/responses/tool/image-generation.js +2 -2
  431. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  432. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  433. package/dist/id/id.js +2 -2
  434. package/dist/image/photon-wasm.bun.js +1 -1
  435. package/dist/image/photon-wasm.node.js +1 -1
  436. package/dist/image/photon-wasm.workerd.js +1 -1
  437. package/dist/image/photon.js +94 -94
  438. package/dist/image.js +94 -94
  439. package/dist/instance/service.js +2 -2
  440. package/dist/instance.js +339 -339
  441. package/dist/instruction-discovery.js +72 -72
  442. package/dist/instructions/builtins.js +80 -80
  443. package/dist/instructions/index.js +2 -2
  444. package/dist/integration/connection.js +2 -2
  445. package/dist/integration.js +75 -75
  446. package/dist/job.js +72 -72
  447. package/dist/kv/sql.js +3 -3
  448. package/dist/kv.js +68 -68
  449. package/dist/location-activity.js +80 -80
  450. package/dist/location-mutation.js +79 -79
  451. package/dist/location-service-map.js +79 -79
  452. package/dist/location-services.js +340 -340
  453. package/dist/location.js +78 -78
  454. package/dist/mcp/client.js +87 -87
  455. package/dist/mcp/index.js +93 -93
  456. package/dist/mcp/instructions.js +122 -122
  457. package/dist/mcp/oauth.js +2 -2
  458. package/dist/mcp/stdio.js +87 -87
  459. package/dist/mime.js +2 -2
  460. package/dist/model-resolver.js +81 -81
  461. package/dist/model.js +3 -3
  462. package/dist/models-dev.js +75 -75
  463. package/dist/oauth/page.js +2 -2
  464. package/dist/permission/saved.js +71 -71
  465. package/dist/permission/sql.js +6 -6
  466. package/dist/permission.js +95 -95
  467. package/dist/persistent-pty/binary.bun.js +2 -2
  468. package/dist/persistent-pty/binary.node.js +1 -1
  469. package/dist/persistent-pty/binary.workerd.js +1 -1
  470. package/dist/persistent-pty/daemon.js +2 -2
  471. package/dist/persistent-pty/index.js +73 -73
  472. package/dist/persistent-pty/pty-binding.js +2 -2
  473. package/dist/persistent-pty.js +74 -74
  474. package/dist/plugin/agent.js +96 -96
  475. package/dist/plugin/command.js +94 -94
  476. package/dist/plugin/hooks.js +3 -3
  477. package/dist/plugin/host.js +213 -213
  478. package/dist/plugin/instance.js +2 -2
  479. package/dist/plugin/internal.js +311 -311
  480. package/dist/plugin/mcp-codemode-exclusion.js +2 -2
  481. package/dist/plugin/models-dev.js +76 -76
  482. package/dist/plugin/module.js +3 -3
  483. package/dist/plugin/plan.js +96 -96
  484. package/dist/plugin/promise.js +2 -2
  485. package/dist/plugin/provider/alibaba.js +3 -3
  486. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  487. package/dist/plugin/provider/anthropic.js +3 -3
  488. package/dist/plugin/provider/azure.js +118 -118
  489. package/dist/plugin/provider/cerebras.js +3 -3
  490. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  491. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  492. package/dist/plugin/provider/cohere.js +3 -3
  493. package/dist/plugin/provider/configured.js +114 -114
  494. package/dist/plugin/provider/dynamic.js +3 -3
  495. package/dist/plugin/provider/factory.js +2 -2
  496. package/dist/plugin/provider/gateway.js +3 -3
  497. package/dist/plugin/provider/github-copilot.js +82 -82
  498. package/dist/plugin/provider/gitlab.js +4 -4
  499. package/dist/plugin/provider/google-vertex.js +3 -3
  500. package/dist/plugin/provider/kilo.js +3 -3
  501. package/dist/plugin/provider/llmgateway.js +77 -77
  502. package/dist/plugin/provider/lmstudio.js +115 -115
  503. package/dist/plugin/provider/mistral.js +3 -3
  504. package/dist/plugin/provider/nvidia.js +3 -3
  505. package/dist/plugin/provider/ollama.js +115 -115
  506. package/dist/plugin/provider/openai-compatible.js +2 -2
  507. package/dist/plugin/provider/openai.js +79 -79
  508. package/dist/plugin/provider/opencode.js +77 -77
  509. package/dist/plugin/provider/openrouter.js +4 -4
  510. package/dist/plugin/provider/perplexity.js +3 -3
  511. package/dist/plugin/provider/sap-ai-core.js +4 -4
  512. package/dist/plugin/provider/sdk-factory.js +2 -2
  513. package/dist/plugin/provider/snowflake-cortex.js +3 -3
  514. package/dist/plugin/provider/venice.js +3 -3
  515. package/dist/plugin/provider/vercel.js +3 -3
  516. package/dist/plugin/provider/vllm.js +115 -115
  517. package/dist/plugin/provider/xai.js +78 -78
  518. package/dist/plugin/provider/zenmux.js +3 -3
  519. package/dist/plugin/provider.js +154 -154
  520. package/dist/plugin/sdk.js +69 -69
  521. package/dist/plugin/skill.js +127 -127
  522. package/dist/plugin/source-directory.js +2 -2
  523. package/dist/plugin/supervisor.js +326 -326
  524. package/dist/plugin/system-prompt.js +2 -2
  525. package/dist/plugin/update.js +3 -3
  526. package/dist/plugin/variant.js +3 -3
  527. package/dist/plugin/vcs/git.js +82 -82
  528. package/dist/plugin/vcs/hg.js +82 -82
  529. package/dist/plugin/warming.js +109 -109
  530. package/dist/plugin/websearch/exa.js +4 -4
  531. package/dist/plugin/websearch/firecrawl.js +5 -5
  532. package/dist/plugin/websearch/index.js +9 -9
  533. package/dist/plugin/websearch/mcp.js +3 -3
  534. package/dist/plugin/websearch/parallel.js +5 -5
  535. package/dist/plugin/websearch/tavily.js +3 -3
  536. package/dist/plugin.js +214 -214
  537. package/dist/project/schema.js +3 -3
  538. package/dist/project/sql.js +5 -5
  539. package/dist/project.js +77 -77
  540. package/dist/provider.js +2 -2
  541. package/dist/pty/protocol.js +1 -1
  542. package/dist/pty/pty.bun.js +1 -1
  543. package/dist/pty/pty.node.js +1 -1
  544. package/dist/pty/pty.workerd.js +1 -1
  545. package/dist/pty/schema.js +2 -2
  546. package/dist/pty/ticket.js +2 -2
  547. package/dist/pty.js +84 -84
  548. package/dist/reference/instructions.js +80 -80
  549. package/dist/reference.js +78 -78
  550. package/dist/repository-cache.js +74 -74
  551. package/dist/repository.js +2 -2
  552. package/dist/ripgrep/binary.js +3 -3
  553. package/dist/ripgrep.js +89 -89
  554. package/dist/rpc.js +79 -79
  555. package/dist/schema.js +2 -2
  556. package/dist/session/command.js +72 -72
  557. package/dist/session/compaction.js +138 -138
  558. package/dist/session/context.js +150 -150
  559. package/dist/session/environment.js +3 -3
  560. package/dist/session/error.js +4 -4
  561. package/dist/session/event.js +2 -2
  562. package/dist/session/execution/restart.js +207 -207
  563. package/dist/session/execution.js +117 -117
  564. package/dist/session/generate.js +152 -152
  565. package/dist/session/history.js +77 -77
  566. package/dist/session/inbox.js +77 -77
  567. package/dist/session/info.js +4 -4
  568. package/dist/session/instruction-entry.js +73 -73
  569. package/dist/session/instruction-state.js +10 -10
  570. package/dist/session/instructions.js +89 -89
  571. package/dist/session/message-updater.js +4 -4
  572. package/dist/session/message.js +2 -2
  573. package/dist/session/model-request.js +134 -134
  574. package/dist/session/model-transport.js +5 -5
  575. package/dist/session/move.js +80 -80
  576. package/dist/session/projector.js +83 -83
  577. package/dist/session/prompt.js +114 -114
  578. package/dist/session/revert.js +87 -87
  579. package/dist/session/run-coordinator.js +2 -2
  580. package/dist/session/runner/index.js +84 -84
  581. package/dist/session/runner/llm.js +223 -223
  582. package/dist/session/runner/max-steps.js +2 -2
  583. package/dist/session/runner/model.js +83 -83
  584. package/dist/session/runner/publish-llm-event.js +4 -4
  585. package/dist/session/runner/retry.js +72 -72
  586. package/dist/session/runner/step.js +143 -143
  587. package/dist/session/runner/to-llm-message.js +2 -2
  588. package/dist/session/schema.js +2 -2
  589. package/dist/session/session.js +170 -170
  590. package/dist/session/shell.js +129 -129
  591. package/dist/session/skill.js +98 -98
  592. package/dist/session/sql.js +6 -6
  593. package/dist/session/stats.js +71 -71
  594. package/dist/session/store.js +79 -79
  595. package/dist/session/subagent-completion.js +2 -2
  596. package/dist/session/system-prompt.js +2 -2
  597. package/dist/session/title.js +152 -152
  598. package/dist/session/to-session-error.js +108 -108
  599. package/dist/session/transfer.js +213 -213
  600. package/dist/session/usage.js +2 -2
  601. package/dist/session.js +204 -204
  602. package/dist/shell/parse.js +7 -7
  603. package/dist/shell/parser-wasm.bun.js +1 -1
  604. package/dist/shell/parser-wasm.node.js +1 -1
  605. package/dist/shell/parser-wasm.workerd.js +1 -1
  606. package/dist/shell/result.js +2 -2
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +4 -4
  609. package/dist/shell.js +127 -127
  610. package/dist/skill/discovery.js +3 -3
  611. package/dist/skill/instructions.js +97 -97
  612. package/dist/skill.js +96 -96
  613. package/dist/snapshot.js +80 -80
  614. package/dist/state.js +2 -2
  615. package/dist/tool/html-markdown.js +2 -2
  616. package/dist/tool/http-body.js +2 -2
  617. package/dist/tool/mcp.js +121 -121
  618. package/dist/tool/plugin/edit.js +108 -108
  619. package/dist/tool/plugin/file-diff.js +2 -2
  620. package/dist/tool/plugin/glob.js +111 -111
  621. package/dist/tool/plugin/grep.js +111 -111
  622. package/dist/tool/plugin/patch.js +108 -108
  623. package/dist/tool/plugin/question.js +97 -97
  624. package/dist/tool/plugin/read.js +114 -114
  625. package/dist/tool/plugin/shell.js +207 -207
  626. package/dist/tool/plugin/skill.js +97 -97
  627. package/dist/tool/plugin/subagent.js +206 -206
  628. package/dist/tool/plugin/webfetch.js +98 -98
  629. package/dist/tool/plugin/websearch.js +100 -100
  630. package/dist/tool/plugin/write.js +108 -108
  631. package/dist/tool/read-filesystem.js +94 -94
  632. package/dist/tool/runtime.js +2 -2
  633. package/dist/tool-output.js +5 -5
  634. package/dist/tool.js +114 -114
  635. package/dist/util/array.js +1 -1
  636. package/dist/util/error.js +2 -2
  637. package/dist/util/identifier.js +1 -1
  638. package/dist/util/iife.js +2 -2
  639. package/dist/util/lazy.js +2 -2
  640. package/dist/util/process-lock-ffi.bun.js +1 -1
  641. package/dist/util/process-lock-ffi.node.js +1 -1
  642. package/dist/util/process-lock-ffi.workerd.js +1 -1
  643. package/dist/util/process-lock.js +1 -1
  644. package/dist/util/slug.js +2 -2
  645. package/dist/util/token.js +2 -2
  646. package/dist/util/which.js +2 -2
  647. package/dist/util/wildcard.js +2 -2
  648. package/dist/v1/config/agent.js +4 -4
  649. package/dist/v1/config/attachment.js +3 -3
  650. package/dist/v1/config/command.js +2 -2
  651. package/dist/v1/config/config.js +15 -15
  652. package/dist/v1/config/error.js +3 -3
  653. package/dist/v1/config/formatter.js +2 -2
  654. package/dist/v1/config/layout.js +2 -2
  655. package/dist/v1/config/lsp.js +2 -2
  656. package/dist/v1/config/mcp.js +3 -3
  657. package/dist/v1/config/migrate.js +19 -19
  658. package/dist/v1/config/permission.js +2 -2
  659. package/dist/v1/config/plugin.js +2 -2
  660. package/dist/v1/config/provider-options.js +2 -2
  661. package/dist/v1/config/provider.js +3 -3
  662. package/dist/v1/config/server.js +3 -3
  663. package/dist/v1/config/skills.js +2 -2
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +2 -2
  666. package/dist/vcs.js +81 -81
  667. package/dist/websearch.js +73 -73
  668. package/dist/wellknown/plugin.js +73 -73
  669. package/dist/wellknown.js +72 -72
  670. package/dist/workspace/driver.js +2 -2
  671. package/dist/workspace/sql.js +2 -2
  672. package/dist/workspace.js +69 -69
  673. package/dist/worktree/directory.js +3 -3
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/sql.js +6 -6
  676. package/dist/worktree.js +82 -82
  677. package/package.json +7 -7
  678. /package/dist/chunks/{event-logger-0cgt0xh2.js → job-0cgt0xh2.js} +0 -0
  679. /package/dist/chunks/{event-logger-0f48qthw.js → job-0f48qthw.js} +0 -0
  680. /package/dist/chunks/{event-logger-0zz82cjq.js → job-0zz82cjq.js} +0 -0
  681. /package/dist/chunks/{event-logger-1fb7bmpf.js → job-1fb7bmpf.js} +0 -0
  682. /package/dist/chunks/{event-logger-1wcz8fvj.js → job-1wcz8fvj.js} +0 -0
  683. /package/dist/chunks/{event-logger-29n7vfk2.js → job-29n7vfk2.js} +0 -0
  684. /package/dist/chunks/{event-logger-2qdx6zz3.js → job-2qdx6zz3.js} +0 -0
  685. /package/dist/chunks/{event-logger-2xb0r1c6.js → job-2xb0r1c6.js} +0 -0
  686. /package/dist/chunks/{event-logger-39ktntah.js → job-39ktntah.js} +0 -0
  687. /package/dist/chunks/{event-logger-3g3rpp2x.js → job-3g3rpp2x.js} +0 -0
  688. /package/dist/chunks/{event-logger-3w3ybtfd.js → job-3w3ybtfd.js} +0 -0
  689. /package/dist/chunks/{event-logger-47ty4mvs.js → job-47ty4mvs.js} +0 -0
  690. /package/dist/chunks/{event-logger-4b2tz2m9.js → job-4b2tz2m9.js} +0 -0
  691. /package/dist/chunks/{event-logger-5a5ch9ts.js → job-5a5ch9ts.js} +0 -0
  692. /package/dist/chunks/{event-logger-5va1yh78.js → job-5va1yh78.js} +0 -0
  693. /package/dist/chunks/{event-logger-61ek4hj9.js → job-61ek4hj9.js} +0 -0
  694. /package/dist/chunks/{event-logger-69qrqpw0.js → job-69qrqpw0.js} +0 -0
  695. /package/dist/chunks/{event-logger-6zqxzw0a.js → job-6zqxzw0a.js} +0 -0
  696. /package/dist/chunks/{event-logger-7n9qwqk4.js → job-7n9qwqk4.js} +0 -0
  697. /package/dist/chunks/{event-logger-8nn8kqcn.js → job-8nn8kqcn.js} +0 -0
  698. /package/dist/chunks/{event-logger-8rpfd2h6.js → job-8rpfd2h6.js} +0 -0
  699. /package/dist/chunks/{event-logger-8sj3ajy5.js → job-8sj3ajy5.js} +0 -0
  700. /package/dist/chunks/{event-logger-8w9tzfz1.js → job-8w9tzfz1.js} +0 -0
  701. /package/dist/chunks/{event-logger-906y0b6d.js → job-906y0b6d.js} +0 -0
  702. /package/dist/chunks/{event-logger-9dct5xhx.js → job-9dct5xhx.js} +0 -0
  703. /package/dist/chunks/{event-logger-9maxscqf.js → job-9maxscqf.js} +0 -0
  704. /package/dist/chunks/{event-logger-9sdtsapf.js → job-9sdtsapf.js} +0 -0
  705. /package/dist/chunks/{event-logger-a02svayp.js → job-a02svayp.js} +0 -0
  706. /package/dist/chunks/{event-logger-a83yvq99.js → job-a83yvq99.js} +0 -0
  707. /package/dist/chunks/{event-logger-ayevdmef.js → job-ayevdmef.js} +0 -0
  708. /package/dist/chunks/{event-logger-b02txbh8.js → job-b02txbh8.js} +0 -0
  709. /package/dist/chunks/{event-logger-bbqs2y60.js → job-bbqs2y60.js} +0 -0
  710. /package/dist/chunks/{event-logger-bjwj8hwv.js → job-bjwj8hwv.js} +0 -0
  711. /package/dist/chunks/{event-logger-brsh5f65.js → job-brsh5f65.js} +0 -0
  712. /package/dist/chunks/{event-logger-bxdhjb3y.js → job-bxdhjb3y.js} +0 -0
  713. /package/dist/chunks/{event-logger-bybkghrn.js → job-bybkghrn.js} +0 -0
  714. /package/dist/chunks/{event-logger-c77ad0vh.js → job-c77ad0vh.js} +0 -0
  715. /package/dist/chunks/{event-logger-cm67rqy2.js → job-cm67rqy2.js} +0 -0
  716. /package/dist/chunks/{event-logger-df3v2q6j.js → job-df3v2q6j.js} +0 -0
  717. /package/dist/chunks/{event-logger-dhcq6c44.js → job-dhcq6c44.js} +0 -0
  718. /package/dist/chunks/{event-logger-dht5baf0.js → job-dht5baf0.js} +0 -0
  719. /package/dist/chunks/{event-logger-dkmkay92.js → job-dkmkay92.js} +0 -0
  720. /package/dist/chunks/{event-logger-ehj9csmv.js → job-ehj9csmv.js} +0 -0
  721. /package/dist/chunks/{event-logger-em6xpscd.js → job-em6xpscd.js} +0 -0
  722. /package/dist/chunks/{event-logger-emmqknsm.js → job-emmqknsm.js} +0 -0
  723. /package/dist/chunks/{event-logger-ezs3tagn.js → job-ezs3tagn.js} +0 -0
  724. /package/dist/chunks/{event-logger-f14r7hfz.js → job-f14r7hfz.js} +0 -0
  725. /package/dist/chunks/{event-logger-f1jj19e8.js → job-f1jj19e8.js} +0 -0
  726. /package/dist/chunks/{event-logger-f4cp4g4a.js → job-f4cp4g4a.js} +0 -0
  727. /package/dist/chunks/{event-logger-faypg4r1.js → job-faypg4r1.js} +0 -0
  728. /package/dist/chunks/{event-logger-fg7fz4q3.js → job-fg7fz4q3.js} +0 -0
  729. /package/dist/chunks/{event-logger-fgbfdq62.js → job-fgbfdq62.js} +0 -0
  730. /package/dist/chunks/{event-logger-g23fad86.js → job-g23fad86.js} +0 -0
  731. /package/dist/chunks/{event-logger-gd5xeqc2.js → job-gd5xeqc2.js} +0 -0
  732. /package/dist/chunks/{event-logger-ghm4673n.js → job-ghm4673n.js} +0 -0
  733. /package/dist/chunks/{event-logger-ghwjy7my.js → job-ghwjy7my.js} +0 -0
  734. /package/dist/chunks/{event-logger-gy500k2r.js → job-gy500k2r.js} +0 -0
  735. /package/dist/chunks/{event-logger-hzeg9cfr.js → job-hzeg9cfr.js} +0 -0
  736. /package/dist/chunks/{event-logger-j07kk359.js → job-j07kk359.js} +0 -0
  737. /package/dist/chunks/{event-logger-j32vdj8r.js → job-j32vdj8r.js} +0 -0
  738. /package/dist/chunks/{event-logger-jqms80b0.js → job-jqms80b0.js} +0 -0
  739. /package/dist/chunks/{event-logger-jve7t217.js → job-jve7t217.js} +0 -0
  740. /package/dist/chunks/{event-logger-k3e42drn.js → job-k3e42drn.js} +0 -0
  741. /package/dist/chunks/{event-logger-k8b45nas.js → job-k8b45nas.js} +0 -0
  742. /package/dist/chunks/{event-logger-kpdbz7gn.js → job-kpdbz7gn.js} +0 -0
  743. /package/dist/chunks/{event-logger-kxy11nzk.js → job-kxy11nzk.js} +0 -0
  744. /package/dist/chunks/{event-logger-kyyqvx4s.js → job-kyyqvx4s.js} +0 -0
  745. /package/dist/chunks/{event-logger-m8cbvarh.js → job-m8cbvarh.js} +0 -0
  746. /package/dist/chunks/{event-logger-ma60vzgv.js → job-ma60vzgv.js} +0 -0
  747. /package/dist/chunks/{event-logger-n3m50c2t.js → job-n3m50c2t.js} +0 -0
  748. /package/dist/chunks/{event-logger-nkm1m8dz.js → job-nkm1m8dz.js} +0 -0
  749. /package/dist/chunks/{event-logger-nsc0c3zb.js → job-nsc0c3zb.js} +0 -0
  750. /package/dist/chunks/{event-logger-qaarhjrp.js → job-qaarhjrp.js} +0 -0
  751. /package/dist/chunks/{event-logger-qc167nrn.js → job-qc167nrn.js} +0 -0
  752. /package/dist/chunks/{event-logger-qp95y4jb.js → job-qp95y4jb.js} +0 -0
  753. /package/dist/chunks/{event-logger-r8f4w671.js → job-r8f4w671.js} +0 -0
  754. /package/dist/chunks/{event-logger-rdfev9jy.js → job-rdfev9jy.js} +0 -0
  755. /package/dist/chunks/{event-logger-s7whb9gt.js → job-s7whb9gt.js} +0 -0
  756. /package/dist/chunks/{event-logger-se76j685.js → job-se76j685.js} +0 -0
  757. /package/dist/chunks/{event-logger-sem2g21k.js → job-sem2g21k.js} +0 -0
  758. /package/dist/chunks/{event-logger-sp575ygv.js → job-sp575ygv.js} +0 -0
  759. /package/dist/chunks/{event-logger-tmb1f636.js → job-tmb1f636.js} +0 -0
  760. /package/dist/chunks/{event-logger-ttxf0gsy.js → job-ttxf0gsy.js} +0 -0
  761. /package/dist/chunks/{event-logger-tvmhrvfj.js → job-tvmhrvfj.js} +0 -0
  762. /package/dist/chunks/{event-logger-v2adqbbe.js → job-v2adqbbe.js} +0 -0
  763. /package/dist/chunks/{event-logger-vac9eqd2.js → job-vac9eqd2.js} +0 -0
  764. /package/dist/chunks/{event-logger-vpjkya7h.js → job-vpjkya7h.js} +0 -0
  765. /package/dist/chunks/{event-logger-wj4sxzqa.js → job-wj4sxzqa.js} +0 -0
  766. /package/dist/chunks/{event-logger-wwntjmk1.js → job-wwntjmk1.js} +0 -0
  767. /package/dist/chunks/{event-logger-wyqjaaa5.js → job-wyqjaaa5.js} +0 -0
  768. /package/dist/chunks/{event-logger-x4q807cx.js → job-x4q807cx.js} +0 -0
  769. /package/dist/chunks/{event-logger-yrqrg4vp.js → job-yrqrg4vp.js} +0 -0
  770. /package/dist/chunks/{event-logger-z47nswr2.js → job-z47nswr2.js} +0 -0
  771. /package/dist/chunks/{event-logger-zsf8rs93.js → job-zsf8rs93.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
- exports_tavily
3
- } from "./event-logger-kggc3hrm.js";
2
+ exports_parallel
3
+ } from "./job-xfk2eagt.js";
4
4
  import {
5
5
  exports_exa
6
- } from "./event-logger-b1f1x5nb.js";
7
- import {
8
- exports_parallel
9
- } from "./event-logger-xfk2eagt.js";
6
+ } from "./job-b1f1x5nb.js";
10
7
  import {
11
8
  exports_firecrawl
12
- } from "./event-logger-63teb4w1.js";
9
+ } from "./job-63teb4w1.js";
10
+ import {
11
+ exports_tavily
12
+ } from "./job-kggc3hrm.js";
13
13
 
14
14
  // src/plugin/websearch/index.ts
15
15
  var WebSearchPlugins = [
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  SQLiteEffectDatabase
3
- } from "./event-logger-cc7sqasd.js";
3
+ } from "./job-ra6kngnz.js";
4
4
  import {
5
5
  mapResultRow,
6
6
  resolveNullableObjectPaths
7
- } from "./event-logger-k8b45nas.js";
7
+ } from "./job-k8b45nas.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 "./event-logger-vpjkya7h.js";
3
+ } from "./job-vpjkya7h.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  exports_skill
3
- } from "./event-logger-b14zdp6b.js";
3
+ } from "./job-84c5nzqj.js";
4
4
  import {
5
5
  exports_config
6
- } from "./event-logger-nzp3hz2b.js";
6
+ } from "./job-wmg51rse.js";
7
7
  import {
8
8
  AbsolutePath
9
- } from "./event-logger-j07kk359.js";
9
+ } from "./job-j07kk359.js";
10
10
  import {
11
11
  __export
12
- } from "./event-logger-vpjkya7h.js";
12
+ } from "./job-vpjkya7h.js";
13
13
 
14
14
  // src/plugin/skill.ts
15
15
  var exports_skill2 = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  exports_entry_observer
3
- } from "./event-logger-mnyszbxc.js";
3
+ } from "./job-mnyszbxc.js";
4
4
  import {
5
5
  exports_snapshot
6
- } from "./event-logger-wc4jkt6c.js";
6
+ } from "./job-ys7wkgz7.js";
7
7
  import {
8
8
  exports_config
9
- } from "./event-logger-nzp3hz2b.js";
9
+ } from "./job-wmg51rse.js";
10
10
  import {
11
11
  __export
12
- } from "./event-logger-vpjkya7h.js";
12
+ } from "./job-vpjkya7h.js";
13
13
 
14
14
  // src/config/plugin/snapshot.ts
15
15
  var exports_snapshot2 = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createProviderPlugin
3
- } from "./event-logger-0zz82cjq.js";
3
+ } from "./job-0zz82cjq.js";
4
4
  import {
5
5
  __require
6
- } from "./event-logger-vpjkya7h.js";
6
+ } from "./job-vpjkya7h.js";
7
7
 
8
8
  // src/plugin/provider/gateway.ts
9
9
  var GatewayPlugin = createProviderPlugin({
@@ -1,21 +1,21 @@
1
+ import {
2
+ exports_service
3
+ } from "./job-6bxzghb6.js";
1
4
  import {
2
5
  exports_context
3
- } from "./event-logger-rp0pwc0r.js";
6
+ } from "./job-bp77wc6p.js";
4
7
  import {
5
8
  exports_model_request
6
- } from "./event-logger-gdh81dn3.js";
7
- import {
8
- exports_service
9
- } from "./event-logger-6bxzghb6.js";
9
+ } from "./job-n566000k.js";
10
10
  import {
11
11
  exports_history
12
- } from "./event-logger-ax34jjm3.js";
12
+ } from "./job-69q72ytf.js";
13
13
  import {
14
14
  exports_database
15
- } from "./event-logger-n3bm42eb.js";
15
+ } from "./job-1hm49g41.js";
16
16
  import {
17
17
  __export
18
- } from "./event-logger-vpjkya7h.js";
18
+ } from "./job-vpjkya7h.js";
19
19
 
20
20
  // src/session/generate.ts
21
21
  var exports_generate = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_model
3
- } from "./event-logger-8ck72gm8.js";
3
+ } from "./job-8ck72gm8.js";
4
4
  import {
5
5
  exports_provider
6
- } from "./event-logger-zq5w46q0.js";
6
+ } from "./job-zq5w46q0.js";
7
7
 
8
8
  // src/plugin/provider/openrouter.ts
9
9
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt
3
- } from "./event-logger-j07kk359.js";
3
+ } from "./job-j07kk359.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-vpjkya7h.js";
6
+ } from "./job-vpjkya7h.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable
3
- } from "./event-logger-c8ya26sa.js";
3
+ } from "./job-c8ya26sa.js";
4
4
  import {
5
5
  absoluteColumn
6
- } from "./event-logger-zbqqnp0n.js";
6
+ } from "./job-zbqqnp0n.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath
3
- } from "./event-logger-j07kk359.js";
3
+ } from "./job-j07kk359.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-vpjkya7h.js";
6
+ } from "./job-vpjkya7h.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  exports_app
3
- } from "./event-logger-hs51b0fc.js";
3
+ } from "./job-hs51b0fc.js";
4
4
  import {
5
5
  exports_model
6
- } from "./event-logger-8ck72gm8.js";
7
- import {
8
- exports_provider
9
- } from "./event-logger-zq5w46q0.js";
6
+ } from "./job-8ck72gm8.js";
10
7
  import {
11
8
  exports_kv
12
- } from "./event-logger-ezg07wa3.js";
9
+ } from "./job-90j9fdw1.js";
10
+ import {
11
+ exports_provider
12
+ } from "./job-zq5w46q0.js";
13
13
  import {
14
14
  exports_bus
15
- } from "./event-logger-ms1tx87r.js";
15
+ } from "./job-69bw2fgt.js";
16
16
  import {
17
17
  __export
18
- } from "./event-logger-vpjkya7h.js";
18
+ } from "./job-vpjkya7h.js";
19
19
 
20
20
  // src/models-dev.ts
21
21
  var exports_models_dev = {};
@@ -1,73 +1,73 @@
1
+ import {
2
+ MAX_STEPS_PROMPT
3
+ } from "./job-qaarhjrp.js";
1
4
  import {
2
5
  exports_step
3
- } from "./event-logger-ss1he07p.js";
6
+ } from "./job-37k4nm0j.js";
4
7
  import {
5
8
  exports_retry
6
- } from "./event-logger-pk53j7qk.js";
9
+ } from "./job-pk53j7qk.js";
7
10
  import {
8
- MAX_STEPS_PROMPT
9
- } from "./event-logger-qaarhjrp.js";
11
+ exports_title
12
+ } from "./job-b7d1hbep.js";
10
13
  import {
11
14
  exports_compaction
12
- } from "./event-logger-87mry3mw.js";
13
- import {
14
- exports_title
15
- } from "./event-logger-wc2zefc9.js";
15
+ } from "./job-rwanczje.js";
16
16
  import {
17
17
  exports_plugin
18
- } from "./event-logger-bx3hnh9s.js";
18
+ } from "./job-w27hf1jj.js";
19
19
  import {
20
20
  DrainResult,
21
21
  Service
22
- } from "./event-logger-0rz7yd7x.js";
22
+ } from "./job-0rz7yd7x.js";
23
23
  import {
24
24
  exports_context
25
- } from "./event-logger-rp0pwc0r.js";
25
+ } from "./job-bp77wc6p.js";
26
26
  import {
27
27
  exports_model_request
28
- } from "./event-logger-gdh81dn3.js";
28
+ } from "./job-n566000k.js";
29
29
  import {
30
30
  exports_model_transport
31
- } from "./event-logger-jr5m26np.js";
31
+ } from "./job-jr5m26np.js";
32
32
  import {
33
33
  exports_inbox
34
- } from "./event-logger-zqnes443.js";
35
- import {
36
- llmClient
37
- } from "./event-logger-326j4s6w.js";
34
+ } from "./job-39857kc6.js";
38
35
  import {
39
36
  exports_snapshot
40
- } from "./event-logger-wc4jkt6c.js";
37
+ } from "./job-ys7wkgz7.js";
38
+ import {
39
+ exports_tool_output
40
+ } from "./job-0enfz0ma.js";
41
+ import {
42
+ llmClient
43
+ } from "./job-326j4s6w.js";
41
44
  import {
42
45
  exports_store
43
- } from "./event-logger-vekcspks.js";
46
+ } from "./job-rddb8cs9.js";
44
47
  import {
45
48
  exports_history
46
- } from "./event-logger-ax34jjm3.js";
49
+ } from "./job-69q72ytf.js";
47
50
  import {
48
51
  StepFailedError
49
- } from "./event-logger-2sqw2jjm.js";
52
+ } from "./job-2sqw2jjm.js";
50
53
  import {
51
54
  exports_instruction_state
52
- } from "./event-logger-m3k5wttq.js";
55
+ } from "./job-8c5xq4gn.js";
53
56
  import {
54
57
  SessionEvent
55
- } from "./event-logger-a83yvq99.js";
56
- import {
57
- exports_bus
58
- } from "./event-logger-ms1tx87r.js";
58
+ } from "./job-a83yvq99.js";
59
59
  import {
60
60
  SessionMessage
61
- } from "./event-logger-8rpfd2h6.js";
61
+ } from "./job-8rpfd2h6.js";
62
62
  import {
63
- exports_database
64
- } from "./event-logger-n3bm42eb.js";
63
+ exports_bus
64
+ } from "./job-69bw2fgt.js";
65
65
  import {
66
- exports_tool_output
67
- } from "./event-logger-0enfz0ma.js";
66
+ exports_database
67
+ } from "./job-1hm49g41.js";
68
68
  import {
69
69
  __export
70
- } from "./event-logger-vpjkya7h.js";
70
+ } from "./job-vpjkya7h.js";
71
71
 
72
72
  // src/session/runner/llm.ts
73
73
  var exports_llm = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-vpjkya7h.js";
3
+ } from "./job-vpjkya7h.js";
4
4
 
5
5
  // src/file.ts
6
6
  var exports_file = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_promise
3
- } from "./event-logger-hy5n5jcn.js";
3
+ } from "./job-hy5n5jcn.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-vpjkya7h.js";
6
+ } from "./job-vpjkya7h.js";
7
7
 
8
8
  // src/plugin/module.ts
9
9
  var exports_module = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-vpjkya7h.js";
3
+ } from "./job-vpjkya7h.js";
4
4
 
5
5
  // src/plugin/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -13,6 +13,7 @@ __export(exports_system_prompt, {
13
13
  Plugins: () => Plugins,
14
14
  SystemPromptPlugin: () => exports_system_prompt
15
15
  });
16
+ import { SystemPart } from "@opencode-ai/ai";
16
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
17
18
  import { Effect } from "effect";
18
19
 
@@ -72,196 +73,40 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
72
73
  </example>
73
74
  `;
74
75
 
75
- // src/plugin/system-prompt/codex.txt
76
- var codex_default = `You are OpenCode, the best coding agent on the planet.
76
+ // src/plugin/system-prompt/gpt-extension.txt
77
+ var gpt_extension_default = `# Response channels
77
78
 
78
- 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.
79
-
80
- ## Editing constraints
81
- - Default to ASCII when editing or creating files. Only introduce non-ASCII or other Unicode characters when there is a clear justification and the file already uses them.
82
- - Only add comments if they are necessary to make a non-obvious block easier to understand.
83
- - Try to use patch for single file edits, but it is fine to explore other options to make the edit if it does not work well. Do not use patch for changes that are auto-generated (i.e. generating package.json or running a lint or format command like gofmt) or when scripting is more efficient (such as search and replacing a string across a codebase).
84
-
85
- ## Tool usage
86
- - Prefer specialized tools over shell for file operations:
87
- - Use read to view files and patch to modify files.
88
- - Use glob to find files by name and grep to search file contents.
89
- - Use the shell tool for terminal operations (git, bun, builds, tests, running scripts).
90
- - Run tool calls in parallel when neither call needs the other’s output; otherwise run sequentially.
91
-
92
- ## Git and workspace hygiene
93
- - You may be in a dirty git worktree.
94
- * NEVER revert existing changes you did not make unless explicitly requested, since these changes were made by the user.
95
- * If asked to make a commit or code edits and there are unrelated changes to your work or changes that you didn't make in those files, don't revert those changes.
96
- * If the changes are in files you've touched recently, you should read carefully and understand how you can work with the changes rather than reverting them.
97
- * If the changes are in unrelated files, just ignore them and don't revert them.
98
- - Do not amend commits unless explicitly requested.
99
- - **NEVER** use destructive commands like \`git reset --hard\` or \`git checkout --\` unless specifically requested or approved by the user.
100
-
101
- ## Frontend tasks
102
- When doing frontend design tasks, avoid collapsing into bland, generic layouts.
103
- Aim for interfaces that feel intentional and deliberate.
104
- - Typography: Use expressive, purposeful fonts and avoid default stacks (Inter, Roboto, Arial, system).
105
- - Color & Look: Choose a clear visual direction; define CSS variables; avoid purple-on-white defaults. No purple bias or dark mode bias.
106
- - Motion: Use a few meaningful animations (page-load, staggered reveals) instead of generic micro-motions.
107
- - Background: Don't rely on flat, single-color backgrounds; use gradients, shapes, or subtle patterns to build atmosphere.
108
- - Overall: Avoid boilerplate layouts and interchangeable UI patterns. Vary themes, type families, and visual languages across outputs.
109
- - Ensure the page loads properly on both desktop and mobile.
110
-
111
- Exception: If working within an existing website or design system, preserve the established patterns, structure, and visual language.
112
-
113
- ## Presenting your work and final message
114
-
115
- You are producing plain text that will later be styled by the CLI. Follow these rules exactly. Formatting should make results easy to scan, but not feel mechanical. Use judgment to decide how much structure adds value.
116
-
117
- - Default: be very concise; friendly coding teammate tone.
118
- - Default: do the work without asking questions. Treat short tasks as sufficient direction; infer missing details by reading the codebase and following existing conventions.
119
- - Questions: only ask when you are truly blocked after checking relevant context AND you cannot safely pick a reasonable default. This usually means one of:
120
- * The request is ambiguous in a way that materially changes the result and you cannot disambiguate by reading the repo.
121
- * The action is destructive/irreversible, touches production, or changes billing/security posture.
122
- * You need a secret/credential/value that cannot be inferred (API key, account id, etc.).
123
- - If you must ask: do all non-blocked work first, then ask exactly one targeted question, include your recommended default, and state what would change based on the answer.
124
- - Never ask permission questions like "Should I proceed?" or "Do you want me to run tests?"; proceed with the most reasonable option and mention what you did.
125
- - For substantial work, summarize clearly; follow final‑answer formatting.
126
- - Skip heavy formatting for simple confirmations.
127
- - Don't dump large files you've written; reference paths only.
128
- - No "save/copy this file" - User is on the same machine.
129
- - Offer logical next steps (tests, commits, build) briefly; add verify steps if you couldn't do something.
130
- - For code changes:
131
- * Lead with a quick explanation of the change, and then give more details on the context covering where and why a change was made. Do not start this explanation with "summary", just jump right in.
132
- * If there are natural next steps the user may want to take, suggest them at the end of your response. Do not make suggestions if there are no natural next steps.
133
- * When suggesting multiple options, use numeric lists for the suggestions so the user can quickly respond with a single number.
134
- - The user does not command execution outputs. When asked to show the output of a command (e.g. \`git show\`), relay the important details in your answer or summarize the key lines so the user understands the result.
135
-
136
- ## Final answer structure and style guidelines
137
-
138
- - Plain text; CLI handles styling. Use structure only when it helps scannability.
139
- - Headers: optional; short Title Case (1-3 words) wrapped in **…**; no blank line before the first bullet; add only if they truly help.
140
- - Bullets: use - ; merge related points; keep to one line when possible; 4–6 per list ordered by importance; keep phrasing consistent.
141
- - Monospace: backticks for commands/paths/env vars/code ids and inline examples; use for literal keyword bullets; never combine with **.
142
- - Code samples or multi-line snippets should be wrapped in fenced code blocks; include an info string as often as possible.
143
- - Structure: group related bullets; order sections general → specific → supporting; for subsections, start with a bolded keyword bullet, then items; match complexity to the task.
144
- - Tone: collaborative, concise, factual; present tense, active voice; self‑contained; no "above/below"; parallel wording.
145
- - Don'ts: no nested bullets/hierarchies; no ANSI codes; don't cram unrelated keywords; keep keyword lists short—wrap/reformat if long; avoid naming formatting styles in answers.
146
- - Adaptation: code explanations → precise, structured with code refs; simple tasks → lead with outcome; big changes → logical walkthrough + rationale + next actions; casual one-offs → plain sentences, no headers/bullets.
147
- - File References: When referencing files in your response follow the below rules:
148
- * Use inline code to make file paths clickable.
149
- * Each reference should have a stand alone path. Even if it's the same file.
150
- * Accepted: absolute, workspace‑relative, a/ or b/ diff prefixes, or bare filename/suffix.
151
- * Optionally include line/column (1‑based): :line[:column] or #Lline[Ccolumn] (column defaults to 1).
152
- * Do not use URIs like file://, vscode://, or https://.
153
- * Do not provide range of lines
154
- * Examples: src/app.ts, src/app.ts:42, b/server/index.js#L10, C:\\repo\\project\\main.rs:12:5
155
- `;
156
-
157
- // src/plugin/system-prompt/gpt.txt
158
- var gpt_default = `You are OpenCode, You and the user share the same workspace and collaborate to achieve the user's goals.
159
-
160
- You are a deeply pragmatic, effective software engineer. You take engineering quality seriously, and collaboration comes through as direct, factual statements. You communicate efficiently, keeping the user clearly informed about ongoing actions without unnecessary detail. You build context by examining the codebase first without making assumptions or jumping to conclusions. You think through the nuances of the code you encounter, and embody the mentality of a skilled senior software engineer.
161
-
162
- - When searching for text or files, prefer using glob and grep tools (they are powered by \`rg\`)
163
- - Parallelize tool calls whenever possible - especially file reads. When independent tool calls have no dependencies, issue them together in the same assistant message. Never chain together shell commands with separators like \`echo "====";\` as this renders to the user poorly.
164
-
165
- ## Editing Approach
166
-
167
- - The best changes are often the smallest correct changes.
168
- - When you are weighing two correct approaches, prefer the more minimal one (less new names, helpers, tests, etc).
169
- - Keep things in one function unless composable or reusable
170
- - Do not add backward-compatibility code unless there is a concrete need, such as persisted data, shipped behavior, external consumers, or an explicit user requirement; if unclear, ask one short question instead of guessing.
171
-
172
- ## Autonomy and persistence
173
-
174
- Unless the user explicitly asks for a plan, asks a question about the code, is brainstorming potential solutions, or some other intent that makes it clear that code should not be written, assume the user wants you to make code changes or run tools to solve the user's problem. In these cases, it's bad to output your proposed solution in a message, you should go ahead and actually implement the change. If you encounter challenges or blockers, you should attempt to resolve them yourself.
175
-
176
- Persist until the task is fully handled end-to-end within the current turn whenever feasible: do not stop at analysis or partial fixes; carry changes through implementation, verification, and a clear explanation of outcomes unless the user explicitly pauses or redirects you.
177
-
178
- If you notice unexpected changes in the worktree or staging area that you did not make, continue with your task. NEVER revert, undo, or modify changes you did not make unless the user explicitly asks you to. There can be multiple agents or the user working in the same codebase concurrently.
179
-
180
- ## Editing constraints
181
-
182
- - Default to ASCII when editing or creating files. Only introduce non-ASCII or other Unicode characters when there is a clear justification and the file already uses them.
183
- - Add succinct code comments that explain what is going on if code is not self-explanatory. You should not add comments like "Assigns the value to the variable", but a brief comment might be useful ahead of a complex code block that the user would otherwise have to spend time parsing out. Usage of these comments should be rare.
184
- - Use patch for manual code edits when available. Do not use cat or any other commands when creating or editing files. Formatting commands or bulk edits don't need to be done with patch.
185
- - Do not use Python to read/write files when a simple shell command or patch would suffice.
186
- - You may be in a dirty git worktree.
187
- * NEVER revert existing changes you did not make unless explicitly requested, since these changes were made by the user.
188
- * If asked to make a commit or code edits and there are unrelated changes to your work or changes that you didn't make in those files, don't revert those changes.
189
- * If the changes are in files you've touched recently, you should read carefully and understand how you can work with the changes rather than reverting them.
190
- * If the changes are in unrelated files, just ignore them and don't revert them.
191
- - Do not amend a commit unless explicitly requested to do so.
192
- - While you are working, you might notice unexpected changes that you didn't make. It's likely the user made them, or were autogenerated. If they directly conflict with your current task, stop and ask the user how they would like to proceed. Otherwise, focus on the task at hand.
193
- - **NEVER** use destructive commands like \`git reset --hard\` or \`git checkout --\` unless specifically requested or approved by the user.
194
- - You struggle using the git interactive console. **ALWAYS** prefer using non-interactive git commands.
195
-
196
- ## Special user requests
197
-
198
- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as \`date\`), you should do so.
199
-
200
- If the user pastes an error description or a bug report, help them diagnose the root cause. You can try to reproduce it if it seems feasible with the available tools and skills.
201
-
202
- If the user asks for a "review", default to a code review mindset: prioritise identifying bugs, risks, behavioural regressions, and missing tests. Findings must be the primary focus of the response - keep summaries or overviews brief and only after enumerating the issues. Present findings first (ordered by severity with file/line references), follow with open questions or assumptions, and offer a change-summary only as a secondary detail. If no findings are discovered, state that explicitly and mention any residual risks or testing gaps.
203
-
204
- ## Frontend tasks
205
-
206
- When doing frontend design tasks, avoid collapsing into "AI slop" or safe, average-looking layouts.
207
- - Ensure the page loads properly on both desktop and mobile
208
- - For React code, prefer modern patterns including useEffectEvent, startTransition, and useDeferredValue when appropriate if used by the team. Do not add useMemo/useCallback by default unless already used; follow the repo's React Compiler guidance.
209
- - Overall: Avoid boilerplate layouts and interchangeable UI patterns. Vary themes, type families, and visual languages across outputs.
79
+ 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.
210
80
 
211
- Exception: If working within an existing website or design system, preserve the established patterns, structure, and visual language.
81
+ 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.
212
82
 
213
- # Working with the user
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.
214
84
 
215
- ## General
85
+ # Delegation
216
86
 
217
- Do not begin responses with conversational interjections or meta commentary. Avoid openers such as acknowledgements ("Done —", "Got it", "Great question, ") or framing phrases.
87
+ Do not spawn subagents unless the user or applicable AGENTS.md/skill instructions explicitly ask for subagents, delegation, or parallel agent work.
218
88
 
219
- Balance conciseness to not overwhelm the user with appropriate detail for the request. Do not narrate abstractly; explain what you are doing and why.
89
+ # Destructive actions
220
90
 
221
- Never tell the user to "save/copy this file", the user is on the same machine and has access to the same files as you have.
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.
222
92
 
93
+ # Autonomy and persistence
223
94
 
224
- ## Formatting rules
95
+ Adapt accordingly based on the user’s request type. When asked to:
225
96
 
226
- Your responses are rendered as GitHub-flavored Markdown.
97
+ - Answer, explain, review, or report status: inspect the task and provide an evidence-backed response. These requests do not authorize edits, PR changes, or other mutations unless the user also asks for a change. Reversible, non-mutating diagnostic checks are allowed when relevant.
98
+ - Diagnose: determine the cause and explain it. Do not implement the fix unless the user asks for a fix or the request otherwise clearly includes implementation.
99
+ - Change or build: implement the requested change, verify it in proportion to risk, and hand off the completed result.
227
100
 
228
- Never use nested bullets. Keep lists flat (single level). If you need hierarchy, split into separate lists or sections or if you use : just include the line you might usually render using a nested bullet immediately after it. For numbered lists, only use the \`1. 2. 3.\` style markers (with a period), never \`1)\`.
101
+ Do not infer authorization for a materially different action than the user’s request. Act without asking when the action makes no changes, or when it is a normal step in the requested work.
229
102
 
230
- Headers are optional, only use them when you think they are necessary. If you do use them, use short Title Case (1-3 words) wrapped in **…**. Don't add a blank line.
103
+ Being told to finish or keep going requires persistence toward the outcome, but does not broaden the set of authorized actions.
231
104
 
232
- Use inline code blocks for commands, paths, environment variables, function names, inline examples, keywords.
105
+ You make informed assumptions that help you make progress towards the user’s task, as long as they don’t result in divergence from the user’s intent and the scope of the task. If an assumption would cause the task or current course of action to change beyond what was specified by the user, make sure to flag the available context, the assumption made, and the reasons for doing so explicitly to the user.
233
106
 
234
- Code samples or multi-line snippets should be wrapped in fenced code blocks. Include a language tag when possible.
107
+ When presented with clarifying questions or objections from the user, lead with concrete evidence and diligent reasoning rather than unsubstantiated deference. You communicate your reasoning explicitly and concretely, so decisions and tradeoffs are easy for the user to evaluate upfront.
235
108
 
236
- Don’t use emojis or em dashes unless explicitly instructed.
237
-
238
- ## Response channels
239
-
240
- Use commentary for short progress updates while working and final for the completed response.
241
-
242
- ### \`commentary\` channel
243
-
244
- Only use \`commentary\` for intermediary updates. These are short updates while you are working, they are NOT final answers. Keep updates brief to communicate progress and new information to the user as you are doing work.
245
-
246
- Send updates when they add meaningful new information: a discovery, a tradeoff, a blocker, a substantial plan, or the start of a non-trivial edit or verification step.
247
-
248
- Do not narrate routine reads, searches, obvious next steps, or minor confirmations. Combine related progress into a single update.
249
-
250
- Do not begin responses with conversational interjections or meta commentary. Avoid openers such as acknowledgements ("Done —", "Got it", "Great question") or framing phrases.
251
-
252
- Before substantial work, send a short update describing your first step. Before editing files, send an update describing the edit.
253
-
254
- After you have sufficient context, and the work is substantial you can provide a longer plan (this is the only user update that may be longer than 2 sentences and can contain formatting).
255
-
256
- ### \`final\` channel
257
-
258
- Use final for the completed response.
259
-
260
- Structure your final response if necessary. The complexity of the answer should match the task. If the task is simple, your answer should be a one-liner. Order sections from general to specific to supporting.
261
-
262
- If the user asks for a code explanation, include code references. For simple tasks, just state the outcome without heavy formatting.
263
-
264
- For large or complex changes, lead with the solution, then explain what you did and why. For casual chat, just chat. If something couldn’t be done (tests, builds, etc.), say so. Suggest next steps only when they are natural and useful; if you list options, use numbered items.
109
+ If completion requires new authority, external coordination, or a meaningful expansion beyond the user’s implied intent and task scope (e.g. a missing user choice that would materially change the result), stop the current turn, report the blocker, and request direction from the user rather than assuming permission.
265
110
  `;
266
111
 
267
112
  // src/plugin/system-prompt/kimi.txt
@@ -525,26 +370,26 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
525
370
  `;
526
371
 
527
372
  // src/plugin/system-prompt.ts
528
- var OpenAIPlugin = make("openai", (id) => {
529
- if (id.includes("gpt")) {
530
- if (id.includes("codex"))
531
- return codex_default;
532
- return gpt_default;
533
- }
534
- if (id.includes("o1") || id.includes("o3"))
535
- return gpt_default;
373
+ var OpenAIPlugin = make("openai", (id) => id.includes("gpt") ? gpt_extension_default : undefined, {
374
+ operation: "append"
375
+ });
376
+ var AnthropicPlugin = make("anthropic", (id) => id.includes("claude") ? anthropic_default : undefined, {
377
+ operation: "replace"
378
+ });
379
+ var KimiPlugin = make("kimi", (id) => id.includes("kimi") ? kimi_default : undefined, {
380
+ operation: "replace"
381
+ });
382
+ var ArceePlugin = make("arcee", (id) => id.includes("trinity") ? trinity_default : undefined, {
383
+ operation: "replace"
536
384
  });
537
- var AnthropicPlugin = make("anthropic", (id) => id.includes("claude") ? anthropic_default : undefined);
538
- var KimiPlugin = make("kimi", (id) => id.includes("kimi") ? kimi_default : undefined);
539
- var ArceePlugin = make("arcee", (id) => id.includes("trinity") ? trinity_default : undefined);
540
385
  var MetaPlugin = make("meta", (id) => {
541
386
  if (!id.includes("muse"))
542
387
  return;
543
388
  const name = id.includes("muse-glimmer") ? "Muse Glimmer" : "Muse Spark";
544
389
  return meta_default.replaceAll("{{MODEL_NAME}}", name);
545
- });
390
+ }, { operation: "replace" });
546
391
  var Plugins = [OpenAIPlugin, AnthropicPlugin, KimiPlugin, ArceePlugin, MetaPlugin];
547
- function make(id, select) {
392
+ function make(id, getPrompt, options) {
548
393
  return define({
549
394
  id: `opencode.prompt.${id}`,
550
395
  effect: Effect.fn(`SystemPromptPlugin.${id}`)(function* (ctx) {
@@ -555,9 +400,13 @@ function make(id, select) {
555
400
  if (!system)
556
401
  return;
557
402
  const model = (yield* ctx.catalog.model.list()).data.find((model2) => model2.providerID === event.model.providerID && model2.id === event.model.id);
558
- const prompt = select(`${model?.modelID ?? event.model.id} ${model?.family ?? ""}`.toLowerCase());
403
+ const prompt = getPrompt(`${model?.modelID ?? event.model.id} ${model?.family ?? ""}`.toLowerCase());
559
404
  if (!prompt)
560
405
  return;
406
+ if (options.operation === "append") {
407
+ event.system.push(SystemPart.make(prompt));
408
+ return;
409
+ }
561
410
  event.system[0] = { ...system, text: prompt };
562
411
  }).pipe(Effect.catch(() => Effect.void)));
563
412
  })