@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
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node71
|
|
9
|
+
} from "./file-mutation-krr416t2.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-n9735yat.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service69;
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node71] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./file-mutation-g6cjcx64.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service60
|
|
9
|
+
} from "./file-mutation-b02gegf9.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./file-mutation-4an6wz3e.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-mutation-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-e8vwfchq.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-kb9j3d72.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
45
|
-
const database = yield*
|
|
44
|
+
const instances = yield* Service60;
|
|
45
|
+
const database = yield* Service84;
|
|
46
46
|
const bus = yield* Service83;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service41;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service60;
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service41;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./file-mutation-b02gegf9.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-by5v678g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./file-mutation-1zr2pts9.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service60;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-x6gzkr09.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service24,
|
|
17
|
+
node: () => node27
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service24 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service24.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node27 = makeLocationNode({
|
|
91
|
+
service: Service24,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service24, node27, exports_formatter2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-gqtdsdt7.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
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-svfda40e.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-jmb3v5n8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service71
|
|
20
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
21
21
|
import {
|
|
22
22
|
ID6
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-5y9r66cr.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-mutation-tmh2szjd.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-y9s6fa94.js";
|
|
31
31
|
import {
|
|
32
32
|
ID15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-6xsva56f.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get4
|
|
36
|
+
} from "./file-mutation-r94pvvab.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID9.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service71;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID8.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID8.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID8.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
232
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,19 +241,19 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
248
248
|
}));
|
|
249
249
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
250
250
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
251
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
251
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID8.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID8.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID8.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-mutation-g6cjcx64.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-kb9j3d72.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-6159pc4w.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-63db42yp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput5,
|
|
24
|
+
Service: () => Service78,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node82
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service78 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service84;
|
|
59
|
+
return Service78.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput5, Service78, node82, exports_store };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y9s6fa94.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-wjr9rjd7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin26 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin19 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin19 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin26, exports_parallel };
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./file-mutation-b02gegf9.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-by5v678g.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-e8vwfchq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service75
|
|
12
|
+
} from "./file-mutation-5hqd4evq.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
19
19
|
__export(exports_skill4, {
|
|
20
20
|
SessionSkill: () => exports_skill4,
|
|
21
|
-
get: () =>
|
|
21
|
+
get: () => get5
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
|
-
var
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
24
|
+
var get5 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
+
const instances = yield* Service60;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service75), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
30
30
|
return skill;
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { get5, exports_skill4 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|