@opencode/core 0.0.0-dev-20791 → 0.0.0-dev-20794
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +76 -76
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{provider-emrckeyb.js → file-mutation-001v9px8.js} +31 -31
- package/dist/chunks/{provider-b65scesz.js → file-mutation-08pekkkp.js} +33 -33
- package/dist/chunks/{provider-xasyx0as.js → file-mutation-08w4ybrc.js} +4 -4
- package/dist/chunks/{provider-03g00rc2.js → file-mutation-0bqktbhr.js} +9 -9
- package/dist/chunks/{provider-0vbcp93d.js → file-mutation-0emb60td.js} +2 -2
- package/dist/chunks/{provider-3vyzva02.js → file-mutation-0kj4k1tc.js} +39 -39
- package/dist/chunks/{provider-3hrm5za2.js → file-mutation-0mez6xtb.js} +15 -15
- package/dist/chunks/{provider-cscw30g0.js → file-mutation-0nchd41w.js} +18 -18
- package/dist/chunks/{provider-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-zec2tej3.js → file-mutation-0pfnnq19.js} +4 -4
- package/dist/chunks/{provider-rf8f0yt3.js → file-mutation-0xvjdmzv.js} +5 -5
- package/dist/chunks/{provider-62vm8mpr.js → file-mutation-0xwjverx.js} +24 -24
- package/dist/chunks/{provider-td1bkjex.js → file-mutation-16p3pjs3.js} +20 -20
- package/dist/chunks/{provider-vk40tmth.js → file-mutation-1795xh8n.js} +10 -10
- package/dist/chunks/{provider-92vpqabm.js → file-mutation-1er3e6yx.js} +25 -25
- package/dist/chunks/{provider-e5bq21fb.js → file-mutation-1jk66z4d.js} +38 -38
- package/dist/chunks/{provider-2cbec54g.js → file-mutation-1ptst37f.js} +42 -42
- package/dist/chunks/{provider-1z89szcw.js → file-mutation-1rfarsz2.js} +17 -17
- package/dist/chunks/{provider-nggw558s.js → file-mutation-1v97ydhe.js} +32 -32
- package/dist/chunks/{provider-8xxzf2da.js → file-mutation-1wjt2sv4.js} +2 -2
- package/dist/chunks/{provider-4jgvg5sf.js → file-mutation-1zr2pts9.js} +39 -39
- package/dist/chunks/{provider-dj10tw80.js → file-mutation-22vr6xcz.js} +7 -7
- package/dist/chunks/{provider-85b4mqzk.js → file-mutation-2a12y9bg.js} +6 -6
- package/dist/chunks/{provider-fxgpk5d8.js → file-mutation-2bv980vf.js} +2 -2
- package/dist/chunks/{provider-4xpgt2w9.js → file-mutation-2cjv1swf.js} +5 -5
- package/dist/chunks/{provider-a2qe2ev9.js → file-mutation-2ktf0ed2.js} +8 -8
- package/dist/chunks/{provider-6p4dxar3.js → file-mutation-2p9rsret.js} +11 -11
- package/dist/chunks/{provider-vee0vrgv.js → file-mutation-2pg08m5e.js} +9 -9
- package/dist/chunks/{provider-bvmsv81p.js → file-mutation-2tnztyb4.js} +18 -18
- package/dist/chunks/{provider-2vvh33eb.js → file-mutation-2vvh33eb.js} +2 -2
- package/dist/chunks/{provider-8r1jb4je.js → file-mutation-2vwxxgve.js} +1 -1
- package/dist/chunks/{provider-45hw2ke2.js → file-mutation-30c1nq7z.js} +8 -8
- package/dist/chunks/{provider-qjqmwmzb.js → file-mutation-31prma8q.js} +8 -8
- package/dist/chunks/{provider-fj6865vy.js → file-mutation-347k46de.js} +20 -20
- package/dist/chunks/{provider-ke3v7s92.js → file-mutation-35s76chf.js} +4 -4
- package/dist/chunks/{provider-3cegwx68.js → file-mutation-3cegwx68.js} +2 -2
- package/dist/chunks/{provider-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{provider-ck5v4t4h.js → file-mutation-3rg2w6xv.js} +13 -13
- package/dist/chunks/{provider-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-cd6yk4zv.js → file-mutation-3z5acqv0.js} +5 -5
- package/dist/chunks/{provider-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-1281thgj.js → file-mutation-413zckkp.js} +11 -11
- package/dist/chunks/{provider-ws53rjxg.js → file-mutation-4an6wz3e.js} +30 -30
- package/dist/chunks/{provider-8k33st31.js → file-mutation-4b4qgg5c.js} +27 -27
- package/dist/chunks/{provider-thm5q0xs.js → file-mutation-4bxnfknc.js} +16 -16
- package/dist/chunks/{provider-apq16njp.js → file-mutation-4ffk7hnv.js} +36 -36
- package/dist/chunks/{provider-4spa2hfp.js → file-mutation-4jfbp8dd.js} +5 -5
- package/dist/chunks/{provider-zjtrsxny.js → file-mutation-4m4myvej.js} +5 -5
- package/dist/chunks/{provider-fwwk8vbp.js → file-mutation-4nj4bn9q.js} +9 -9
- package/dist/chunks/{provider-4ts7tf6z.js → file-mutation-4ts7tf6z.js} +2 -2
- package/dist/chunks/{provider-7ev5skf9.js → file-mutation-4xfmg39d.js} +13 -13
- package/dist/chunks/{provider-1pb85ckn.js → file-mutation-511hp0pk.js} +3 -3
- package/dist/chunks/{provider-mp6d0dty.js → file-mutation-52fpbh6z.js} +8 -8
- package/dist/chunks/{provider-a9gv15q4.js → file-mutation-55c2f9sd.js} +31 -31
- package/dist/chunks/{provider-3f6waj75.js → file-mutation-5ezk1j40.js} +27 -27
- package/dist/chunks/{provider-t91hcw5k.js → file-mutation-5hqd4evq.js} +22 -22
- package/dist/chunks/{provider-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-q2zbepsx.js → file-mutation-5nhcs1gc.js} +22 -22
- package/dist/chunks/{provider-wcgx21r5.js → file-mutation-5r0361rz.js} +15 -15
- package/dist/chunks/{provider-vsnf9nwj.js → file-mutation-5t8ewn7s.js} +11 -11
- package/dist/chunks/{provider-mv3a9vfa.js → file-mutation-5y9r66cr.js} +19 -19
- package/dist/chunks/{provider-kkq6mwcr.js → file-mutation-5z6x68ky.js} +14 -14
- package/dist/chunks/{provider-wh8ssgqw.js → file-mutation-5zm63kxk.js} +18 -18
- package/dist/chunks/{provider-ebwxn0bv.js → file-mutation-6128rfg2.js} +8 -8
- package/dist/chunks/{provider-pr7pa2x1.js → file-mutation-6159pc4w.js} +8 -8
- package/dist/chunks/{provider-63db42yp.js → file-mutation-63db42yp.js} +2 -2
- package/dist/chunks/{provider-wt1nksa6.js → file-mutation-66hgkdkn.js} +12 -12
- package/dist/chunks/{provider-2kqaa06v.js → file-mutation-6gfcack1.js} +26 -26
- package/dist/chunks/{provider-w4jn1cxa.js → file-mutation-6k82atfh.js} +11 -11
- package/dist/chunks/{provider-0xqyf95c.js → file-mutation-6t4hr8r6.js} +4 -4
- package/dist/chunks/{provider-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-xnfh7z4s.js → file-mutation-6xsva56f.js} +10 -10
- package/dist/chunks/file-mutation-775h0p7n.js +26 -0
- package/dist/chunks/{provider-9hgbqvyk.js → file-mutation-792fxttk.js} +17 -17
- package/dist/chunks/{provider-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-fcrkznn8.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{provider-xa42b6m5.js → file-mutation-7q7krz9g.js} +11 -11
- package/dist/chunks/{provider-6m6pfhdc.js → file-mutation-7qxkbnsm.js} +4 -4
- package/dist/chunks/{provider-660vws5y.js → file-mutation-7sh3javy.js} +11 -11
- package/dist/chunks/{provider-32qtf6eh.js → file-mutation-7vmkqt70.js} +36 -36
- package/dist/chunks/{provider-37rmtkzf.js → file-mutation-7x9mkh61.js} +9 -9
- package/dist/chunks/{provider-mxc9h5jw.js → file-mutation-7xkbz91v.js} +11 -11
- package/dist/chunks/{provider-q5e7cmwt.js → file-mutation-7zt5x37y.js} +1 -1
- package/dist/chunks/{provider-avqctdqx.js → file-mutation-80c2enrh.js} +10 -10
- package/dist/chunks/{provider-82v73sw7.js → file-mutation-82v73sw7.js} +3 -3
- package/dist/chunks/{provider-84h8c373.js → file-mutation-84h8c373.js} +2 -2
- package/dist/chunks/{provider-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{provider-2aftvdxj.js → file-mutation-895hwfaf.js} +18 -18
- package/dist/chunks/{provider-c59j4z19.js → file-mutation-8gnbq3mq.js} +49 -49
- package/dist/chunks/{provider-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-6rf3xdqr.js → file-mutation-8n3kfz9t.js} +5 -5
- package/dist/chunks/{provider-y7f9yaqr.js → file-mutation-8spzkyqz.js} +11 -11
- package/dist/chunks/{provider-8sze2n9a.js → file-mutation-8sze2n9a.js} +2 -2
- package/dist/chunks/{provider-0vtm6bxs.js → file-mutation-8tma8yk9.js} +8 -8
- package/dist/chunks/{provider-xxbftrs5.js → file-mutation-8vmqdhw3.js} +7 -7
- package/dist/chunks/{provider-6an8s7fn.js → file-mutation-8ws6ad5b.js} +4 -4
- package/dist/chunks/{provider-q5xvhvda.js → file-mutation-8x85sx4p.js} +7 -14
- package/dist/chunks/{provider-76geegwy.js → file-mutation-96fkfqj2.js} +30 -30
- package/dist/chunks/{provider-waskdk5r.js → file-mutation-97aeaand.js} +4 -4
- package/dist/chunks/{provider-fff0xyha.js → file-mutation-97x6zpcg.js} +19 -19
- package/dist/chunks/{provider-6e3qzxz7.js → file-mutation-987t3db3.js} +41 -41
- package/dist/chunks/{provider-95fdcy0x.js → file-mutation-9j45sp9y.js} +3 -3
- package/dist/chunks/{provider-0d84vz2x.js → file-mutation-9p0ppmpk.js} +11 -11
- package/dist/chunks/{provider-6dktpyb5.js → file-mutation-a2zbpae8.js} +34 -34
- package/dist/chunks/{provider-x0q5m72f.js → file-mutation-a9ztvwgh.js} +6 -6
- package/dist/chunks/{provider-cjggxxw5.js → file-mutation-abyvteg4.js} +5 -5
- package/dist/chunks/{provider-9h4qydt5.js → file-mutation-arkxpnc7.js} +10 -10
- package/dist/chunks/{provider-vvccsdf3.js → file-mutation-b02gegf9.js} +6 -6
- package/dist/chunks/{provider-p2kw5rbw.js → file-mutation-br43j30r.js} +6 -6
- package/dist/chunks/{provider-pssynsjy.js → file-mutation-br5x8hm0.js} +13 -13
- package/dist/chunks/{provider-0hb4wmm5.js → file-mutation-brkb82jv.js} +3 -3
- package/dist/chunks/{provider-fjw2kstf.js → file-mutation-bx3a7gm0.js} +30 -30
- package/dist/chunks/{provider-by5v678g.js → file-mutation-by5v678g.js} +1 -1
- package/dist/chunks/{provider-1fgp8xwn.js → file-mutation-c3nph5qn.js} +19 -19
- package/dist/chunks/{provider-8saax5z0.js → file-mutation-cb73d6eg.js} +3 -3
- package/dist/chunks/{provider-w144htxh.js → file-mutation-cpa5tgd0.js} +4 -4
- package/dist/chunks/{provider-pawgp0r2.js → file-mutation-cxyknwdq.js} +26 -26
- package/dist/chunks/{provider-pt6k7v6r.js → file-mutation-czrk7eqc.js} +13 -13
- package/dist/chunks/{provider-g7758hjd.js → file-mutation-d1rwsgz6.js} +31 -31
- package/dist/chunks/{provider-s9qpn53w.js → file-mutation-d3sj2eet.js} +15 -15
- package/dist/chunks/{provider-49q5ax9f.js → file-mutation-dfd436bf.js} +22 -22
- package/dist/chunks/{provider-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{provider-bfsxa3aj.js → file-mutation-dvnvp1s2.js} +9 -9
- package/dist/chunks/{provider-t1ab5pxs.js → file-mutation-dx0zwnzh.js} +11 -11
- package/dist/chunks/{provider-5xd5tp9x.js → file-mutation-e0rj9m82.js} +30 -30
- package/dist/chunks/{provider-myz3c1x1.js → file-mutation-e2f8ga9k.js} +17 -17
- package/dist/chunks/{provider-3xks077t.js → file-mutation-e4xjgbbt.js} +9 -9
- package/dist/chunks/{provider-e80seqcp.js → file-mutation-e80seqcp.js} +1 -1
- package/dist/chunks/{provider-e8vwfchq.js → file-mutation-e8vwfchq.js} +3 -3
- package/dist/chunks/{provider-k621mz99.js → file-mutation-e9myf44w.js} +12 -12
- package/dist/chunks/{provider-eaj1djv9.js → file-mutation-eaj1djv9.js} +1 -1
- package/dist/chunks/{provider-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/file-mutation-ekpbha00.js +513 -0
- package/dist/chunks/{provider-b42z8asq.js → file-mutation-emh6xp50.js} +18 -18
- package/dist/chunks/{provider-wzwfmfap.js → file-mutation-emjccja6.js} +4 -4
- package/dist/chunks/{provider-s26hbv8p.js → file-mutation-ermxvwhp.js} +4 -4
- package/dist/chunks/{provider-zxjj126v.js → file-mutation-ev47m0c9.js} +12 -12
- package/dist/chunks/{provider-weqgmzm7.js → file-mutation-f63qcbt6.js} +8 -8
- package/dist/chunks/{provider-t7n9q6bq.js → file-mutation-f73rjn58.js} +4 -4
- package/dist/chunks/{provider-f75zav2x.js → file-mutation-f75zav2x.js} +2 -2
- package/dist/chunks/{provider-zdj1medq.js → file-mutation-fmcyb5kn.js} +11 -11
- package/dist/chunks/{provider-x2arpr3q.js → file-mutation-frjx316d.js} +32 -32
- package/dist/chunks/{provider-4gnvd7qm.js → file-mutation-fvhg8gw5.js} +5 -5
- package/dist/chunks/{provider-mkdknv6v.js → file-mutation-fx15w7g6.js} +82 -82
- package/dist/chunks/{provider-m30y0s1n.js → file-mutation-fyme91p9.js} +7 -7
- package/dist/chunks/{provider-0xwgk9vz.js → file-mutation-g6cjcx64.js} +11 -11
- package/dist/chunks/{provider-62jnxtzq.js → file-mutation-g7m5jc3s.js} +13 -13
- package/dist/chunks/{provider-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-gk8qb678.js → file-mutation-gk8qb678.js} +1 -1
- package/dist/chunks/{provider-zw2hpfmh.js → file-mutation-gqtdsdt7.js} +4 -4
- package/dist/chunks/{provider-f29mbr7f.js → file-mutation-gw7cjrad.js} +4 -4
- package/dist/chunks/{provider-047jqq3p.js → file-mutation-gw9kxxex.js} +16 -16
- package/dist/chunks/{provider-kmyvz7s7.js → file-mutation-h2cxmyv6.js} +146 -146
- package/dist/chunks/{provider-0ftbr9pt.js → file-mutation-h3kajr6j.js} +4 -4
- package/dist/chunks/{provider-y6fmmag9.js → file-mutation-h6cmthvy.js} +14 -14
- package/dist/chunks/{provider-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-h7s7r6s9.js → file-mutation-h7s7r6s9.js} +2 -2
- package/dist/chunks/{provider-nk5pjz5k.js → file-mutation-h8ev6gqr.js} +25 -25
- package/dist/chunks/file-mutation-h9wkgsjp.js +253 -0
- package/dist/chunks/{provider-amxsreew.js → file-mutation-hdwqhw82.js} +3 -3
- package/dist/chunks/{provider-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{provider-zkzvxy35.js → file-mutation-hkvdrpa0.js} +18 -18
- package/dist/chunks/{provider-h7a371x4.js → file-mutation-hm8d1c19.js} +24 -24
- package/dist/chunks/{provider-6t6v4r2b.js → file-mutation-hpz1ef6d.js} +29 -29
- package/dist/chunks/{provider-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-3403f573.js → file-mutation-j6g3s69e.js} +11 -11
- package/dist/chunks/{provider-d883x9cj.js → file-mutation-jmb3v5n8.js} +26 -26
- package/dist/chunks/{provider-bkec5w72.js → file-mutation-jn8pq3zr.js} +13 -13
- package/dist/chunks/{provider-cngbv4vx.js → file-mutation-jxy38crn.js} +15 -15
- package/dist/chunks/{provider-dvf4d4yx.js → file-mutation-k6geg3g4.js} +7 -7
- package/dist/chunks/{provider-kb9j3d72.js → file-mutation-kb9j3d72.js} +3 -3
- package/dist/chunks/{provider-2h977fq8.js → file-mutation-kng38vy9.js} +27 -27
- package/dist/chunks/{provider-ashwz6j6.js → file-mutation-krr416t2.js} +21 -21
- package/dist/chunks/{provider-n9henkkh.js → file-mutation-ks1x06j6.js} +27 -27
- package/dist/chunks/{provider-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-2e7wrvcp.js → file-mutation-m4bedved.js} +5 -5
- package/dist/chunks/{provider-9cppds89.js → file-mutation-m8kxqagj.js} +14 -14
- package/dist/chunks/{provider-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-1zvzsdwq.js → file-mutation-ma3c0nra.js} +4 -4
- package/dist/chunks/{provider-hhgjrq7n.js → file-mutation-mb650nvc.js} +6 -6
- package/dist/chunks/{provider-29wxprpz.js → file-mutation-mbytadxt.js} +11 -11
- package/dist/chunks/{provider-yykvs157.js → file-mutation-mfae1c65.js} +11 -11
- package/dist/chunks/{provider-dtkcvn89.js → file-mutation-mkpy3z2x.js} +11 -11
- package/dist/chunks/{provider-vejsh113.js → file-mutation-mmwgr206.js} +27 -27
- package/dist/chunks/{provider-4wbp889g.js → file-mutation-mr2053vn.js} +8 -8
- package/dist/chunks/{provider-70kn96kt.js → file-mutation-n75va8h4.js} +14 -14
- package/dist/chunks/{provider-9kc6pycg.js → file-mutation-n9735yat.js} +27 -27
- package/dist/chunks/{provider-52y26bc1.js → file-mutation-n9b0e670.js} +11 -11
- package/dist/chunks/{provider-dg0xkvw5.js → file-mutation-nc2e17ej.js} +37 -37
- package/dist/chunks/{provider-4yyqrevp.js → file-mutation-ncceg1m1.js} +16 -16
- package/dist/chunks/{provider-gtkn8gkd.js → file-mutation-nfmcnngg.js} +17 -17
- package/dist/chunks/{provider-g686f6pq.js → file-mutation-ngt4szzp.js} +9 -9
- package/dist/chunks/{provider-4b6t6vp9.js → file-mutation-nk8pyrqt.js} +11 -11
- package/dist/chunks/{provider-2ptgxraj.js → file-mutation-nm2znq5e.js} +12 -12
- package/dist/chunks/{provider-s1dh365q.js → file-mutation-nmc82f5r.js} +5 -5
- package/dist/chunks/{provider-zee0z0hh.js → file-mutation-ns2ffs2h.js} +8 -8
- package/dist/chunks/{provider-1ajx6rf5.js → file-mutation-p37cw4rj.js} +8 -8
- package/dist/chunks/{provider-b674v2dg.js → file-mutation-pcj7teyq.js} +2 -2
- package/dist/chunks/{provider-nzqd0z95.js → file-mutation-pdt2jafh.js} +17 -17
- package/dist/chunks/{provider-qwgxfp2a.js → file-mutation-pjbxg7y6.js} +3 -3
- package/dist/chunks/{provider-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{provider-9yq3t2hf.js → file-mutation-pnhxssdf.js} +1 -1
- package/dist/chunks/{provider-rmjt2b52.js → file-mutation-pqzs1kgy.js} +20 -20
- package/dist/chunks/{provider-335g9ndw.js → file-mutation-pttfvfkm.js} +40 -40
- package/dist/chunks/{provider-26zrht65.js → file-mutation-q0dpqjr6.js} +5 -5
- package/dist/chunks/{provider-q0xm7vwc.js → file-mutation-q0xm7vwc.js} +2 -2
- package/dist/chunks/{provider-dv078rhj.js → file-mutation-q1v2ecrg.js} +20 -20
- package/dist/chunks/{provider-7feea0h6.js → file-mutation-q4bmetfh.js} +11 -11
- package/dist/chunks/{provider-tby2y51h.js → file-mutation-q53wc5d1.js} +5 -5
- package/dist/chunks/{provider-jxjmkhwe.js → file-mutation-q53z4mp6.js} +67 -67
- package/dist/chunks/{provider-q95xegsv.js → file-mutation-q7mz9q6q.js} +44 -44
- package/dist/chunks/{provider-dzzj39sc.js → file-mutation-qmav61fh.js} +25 -25
- package/dist/chunks/{provider-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-atm02tjg.js → file-mutation-r29xnvpy.js} +23 -23
- package/dist/chunks/{provider-cwa6csj7.js → file-mutation-r2m716tb.js} +9 -9
- package/dist/chunks/{provider-30405gqp.js → file-mutation-r2rtbtrq.js} +11 -11
- package/dist/chunks/{provider-54ma36ye.js → file-mutation-r94pvvab.js} +4 -4
- package/dist/chunks/{provider-fmp9231c.js → file-mutation-raq2v0bx.js} +3 -3
- package/dist/chunks/{provider-g249fj17.js → file-mutation-rcm8yqz1.js} +5 -5
- package/dist/chunks/{provider-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-kancfa1f.js → file-mutation-rejzs90v.js} +13 -13
- package/dist/chunks/{provider-cn00qjjk.js → file-mutation-rxnjmc3f.js} +31 -31
- package/dist/chunks/{provider-ryr25ayn.js → file-mutation-ryr25ayn.js} +1 -1
- package/dist/chunks/{provider-scgrse2b.js → file-mutation-scgrse2b.js} +2 -2
- package/dist/chunks/{provider-sds13m34.js → file-mutation-sds13m34.js} +3 -3
- package/dist/chunks/{provider-h2jbhxpy.js → file-mutation-sj77aade.js} +8 -8
- package/dist/chunks/{provider-f3njbn8g.js → file-mutation-sv7n11b0.js} +22 -22
- package/dist/chunks/{provider-qrhkshcm.js → file-mutation-svfda40e.js} +23 -23
- package/dist/chunks/{provider-n5yd7gvm.js → file-mutation-swfq2ggm.js} +8 -8
- package/dist/chunks/{provider-tjnp7r6e.js → file-mutation-t1s1k5yy.js} +11 -11
- package/dist/chunks/{provider-p6hhy8bg.js → file-mutation-t88w3btv.js} +22 -22
- package/dist/chunks/{provider-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-1sw2bjqg.js → file-mutation-tb0p0v3w.js} +25 -25
- package/dist/chunks/{provider-4d2ssmng.js → file-mutation-tbe3ncrs.js} +16 -16
- package/dist/chunks/{provider-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{provider-r5w6n4cv.js → file-mutation-tgnk2hj2.js} +24 -24
- package/dist/chunks/{provider-t6waa6vr.js → file-mutation-tmh2szjd.js} +6 -6
- package/dist/chunks/{provider-sv3kqa3f.js → file-mutation-tx6et3w6.js} +79 -79
- package/dist/chunks/{provider-r4kk7qr4.js → file-mutation-tygvv2hj.js} +15 -15
- package/dist/chunks/{provider-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{provider-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{provider-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-pv6pvbp0.js → file-mutation-vkaebcec.js} +16 -16
- package/dist/chunks/{provider-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-38adaqc0.js → file-mutation-w8xr7nv8.js} +5 -5
- package/dist/chunks/{provider-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{provider-j9cyargr.js → file-mutation-wd9rzwsc.js} +8 -8
- package/dist/chunks/{provider-1ffvrpkg.js → file-mutation-wjr9rjd7.js} +9 -9
- package/dist/chunks/{provider-7f2fthed.js → file-mutation-wqpqtk9p.js} +8 -8
- package/dist/chunks/{provider-jthxwa51.js → file-mutation-wwk9s6gm.js} +4 -4
- package/dist/chunks/{provider-shrjyxtz.js → file-mutation-x3j07sqv.js} +1 -1
- package/dist/chunks/{provider-eh0k18hk.js → file-mutation-x555xz49.js} +16 -16
- package/dist/chunks/{provider-bnhfyrbt.js → file-mutation-x6gzkr09.js} +2 -2
- package/dist/chunks/{provider-v0es1rhs.js → file-mutation-xecxzrdp.js} +2 -2
- package/dist/chunks/{provider-xfkkasph.js → file-mutation-xfkkasph.js} +1 -1
- package/dist/chunks/{provider-9v6yecg3.js → file-mutation-y029vxmf.js} +9 -9
- package/dist/chunks/{provider-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-rc8hhhh7.js → file-mutation-y2p23j5v.js} +15 -15
- package/dist/chunks/{provider-f78dsz6n.js → file-mutation-y8wcetdn.js} +11 -11
- package/dist/chunks/{provider-5zageasv.js → file-mutation-y9s6fa94.js} +11 -11
- package/dist/chunks/{provider-j9sn2hmy.js → file-mutation-y9tr1e68.js} +52 -52
- package/dist/chunks/{provider-1acjjqhc.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{provider-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-880p7epb.js → file-mutation-z3nay82g.js} +9 -9
- package/dist/chunks/{provider-14y0d454.js → file-mutation-zh9hhqtd.js} +16 -16
- package/dist/chunks/{provider-8gn0smby.js → file-mutation-zpqaydr5.js} +14 -14
- package/dist/chunks/{provider-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-m98yqj1g.js → file-mutation-zz6a9v66.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +95 -95
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +215 -215
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +94 -94
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +86 -86
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/provider-58247qtm.js +0 -26
- package/dist/chunks/provider-ejhexyp6.js +0 -253
- package/dist/chunks/provider-r7jvaf8c.js +0 -513
- /package/dist/chunks/{provider-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-bw78ga2c.js → file-mutation-bw78ga2c.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ss358qx3.js → file-mutation-ss358qx3.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-x6gzkr09.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID8,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node75,
|
|
21
|
+
Event14
|
|
22
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -37,11 +37,11 @@ __export(exports_model2, {
|
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service67,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node69,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -68,10 +68,10 @@ var Cost2 = Model.Cost;
|
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
69
|
var Info15 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service67 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
73
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service71;
|
|
75
75
|
const bus = yield* Service83;
|
|
76
76
|
const location = yield* Service81;
|
|
77
77
|
let input;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service67.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node69 = makeLocationNode({ service: Service67, layer, deps: [node75, node87, node85] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -241,9 +241,9 @@ function compatibility2(input) {
|
|
|
241
241
|
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
244
|
+
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
245
245
|
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info15,
|
|
249
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info15, Service67, node69, supportsText2, compatibility2, parse5, exports_model2, Event13 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./file-mutation-t88w3btv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./file-mutation-7vmkqt70.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service50,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-1795xh8n.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make3
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service51;
|
|
35
|
+
const managed = yield* Service50;
|
|
36
|
+
const watcher = yield* Service52;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y9s6fa94.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service74
|
|
11
|
+
} from "./file-mutation-svfda40e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-jmb3v5n8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
20
20
|
import {
|
|
21
21
|
ID6,
|
|
22
22
|
VariantID2,
|
|
23
23
|
Info15
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-5y9r66cr.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./file-mutation-r94pvvab.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/chatgpt.ts
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -40,8 +40,8 @@ var issuer = "https://auth.openai.com";
|
|
|
40
40
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
41
41
|
var resource = "https://api.openai.com/v1";
|
|
42
42
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
43
|
-
var providerID =
|
|
44
|
-
var integrationID =
|
|
43
|
+
var providerID = ID8.openai;
|
|
44
|
+
var integrationID = ID9.make("openai");
|
|
45
45
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
46
46
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
47
47
|
var fallbackModels = new Set([
|
|
@@ -177,7 +177,7 @@ var ChatGPTPlugin2 = define({
|
|
|
177
177
|
id: "opencode.provider.chatgpt",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
179
|
const bus = yield* Service83;
|
|
180
|
-
const credentials = yield*
|
|
180
|
+
const credentials = yield* Service74;
|
|
181
181
|
const loading = Semaphore.makeUnsafe(1);
|
|
182
182
|
let chatgpt;
|
|
183
183
|
let source;
|
|
@@ -192,7 +192,7 @@ var ChatGPTPlugin2 = define({
|
|
|
192
192
|
yield* ctx.integration.transform((editor) => {
|
|
193
193
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
194
194
|
});
|
|
195
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
195
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
|
|
196
196
|
const value = entry.value;
|
|
197
197
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
198
198
|
return Effect.void;
|
|
@@ -221,7 +221,7 @@ var ChatGPTPlugin2 = define({
|
|
|
221
221
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
222
222
|
return;
|
|
223
223
|
}));
|
|
224
|
-
evt.headers["session-id"] = session ?
|
|
224
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
225
225
|
evt.headers["thread-id"] = evt.sessionID;
|
|
226
226
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
227
227
|
}), { providerID });
|
|
@@ -320,7 +320,7 @@ function deriveModels2(remote, existing) {
|
|
|
320
320
|
const found = byID.get(model.modelID);
|
|
321
321
|
return found ? [deriveModel(found, model)] : [];
|
|
322
322
|
}),
|
|
323
|
-
...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info15.default(
|
|
323
|
+
...remote.filter((model) => !known.has(ID6.make(model.slug))).map((model) => deriveModel(model, Info15.default(ID8.openai, ID6.make(model.slug))))
|
|
324
324
|
];
|
|
325
325
|
}
|
|
326
326
|
function deriveModel(remote, previous) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info10
|
|
7
|
+
} from "./file-mutation-97aeaand.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
14
14
|
__export(exports_agent3, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent3,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info9
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info10)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info9 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info9, exports_agent3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-ss358qx3.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-e8vwfchq.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-08w4ybrc.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-gw7cjrad.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-ss358qx3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service85,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node89
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service85 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -717,7 +717,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
717
717
|
kind: index === 0 ? "main" : "linked"
|
|
718
718
|
}));
|
|
719
719
|
});
|
|
720
|
-
return
|
|
720
|
+
return Service85.of({
|
|
721
721
|
repo: { discover, clone, create },
|
|
722
722
|
remote: { get: remote },
|
|
723
723
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
734
734
|
objects: { pack: packObjects }
|
|
735
735
|
});
|
|
736
736
|
}));
|
|
737
|
-
var
|
|
737
|
+
var node89 = makeGlobalNode({ service: Service85, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
738
738
|
function run(cwd, proc, args) {
|
|
739
739
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
740
740
|
}
|
|
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
|
|
|
801
801
|
return path.resolve(cwd, normalized);
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
804
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service85, node89, exports_git3 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service37,
|
|
7
7
|
node40
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-0kj4k1tc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./file-mutation-kng38vy9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./file-mutation-tgnk2hj2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service36,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service36 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var layer14 = Layer.effect(Service36, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service37;
|
|
42
|
-
const tools = yield*
|
|
42
|
+
const tools = yield* Service42;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service76;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node39 = makeLocationNode({
|
|
124
|
+
service: Service36,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node45, node40, node87, node80]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service36, layer14, node39, exports_mcp3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./file-mutation-7vmkqt70.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./file-mutation-y8wcetdn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin13
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const output = yield* Service49;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin38 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin13, exports_tool_output };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin33
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin33 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin26 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin33, exports_mcp_codemode_defaults };
|