@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-mutation-g6cjcx64.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -22,44 +22,44 @@ __export(exports_credential, {
|
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event17,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID11,
|
|
26
|
+
Info: () => Info21,
|
|
27
27
|
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service74,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node78
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID11 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
40
|
var Key3 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
43
|
var Event17 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info21 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID11,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
56
|
-
const db = (yield*
|
|
55
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
56
|
+
const db = (yield* Service84).db;
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info21({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service74.of({
|
|
74
74
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
75
75
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info21({
|
|
82
|
+
id: input.id ?? ID11.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -203,6 +203,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node88, node87] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID11, OAuth3, Key3, External2, Value2, Event17, Info21, Service74, node78, exports_credential };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-wjr9rjd7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin28,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin28 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin22 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin28, exports_exa };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-x6gzkr09.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./file-mutation-7vmkqt70.js";
|
|
10
10
|
import {
|
|
11
11
|
Service22
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-f63qcbt6.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin14
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin14 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service51;
|
|
34
34
|
const location = yield* Service81;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
36
|
const worktrees = yield* Service22;
|
|
@@ -48,4 +48,4 @@ var Plugin37 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin14, exports_worktree };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service52,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node55,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service52 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service52.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service52).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service52, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node55 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options10, Service52, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured9, node55, exports_watcher };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-mutation-kng38vy9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service75
|
|
10
|
+
} from "./file-mutation-5hqd4evq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input8,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin43,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description5,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name8,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name8 = "skill";
|
|
30
|
+
var Input8 = Schema.Struct({
|
|
31
|
+
id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin43 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service75;
|
|
51
|
+
const permission = yield* Service76;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name8,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description5,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input8,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name8,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin15 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name8, Input8, Output5, description5, toModelOutput2, Plugin43, exports_skill3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options7,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service48,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node51,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options7 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service48 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service48.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service48, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node51 = configured7();
|
|
213
213
|
|
|
214
|
-
export { Options7,
|
|
214
|
+
export { Options7, Service48, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured7, node51, exports_select };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-82v73sw7.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service55,
|
|
17
|
+
node58
|
|
18
|
+
} from "./file-mutation-z3nay82g.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service80,
|
|
21
|
+
node84
|
|
22
|
+
} from "./file-mutation-2ktf0ed2.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service42,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node45
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service42 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service80;
|
|
58
|
+
const image = yield* Service55;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service42.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node45 = makeLocationNode({
|
|
277
|
+
service: Service42,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node84, node58]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
6
6
|
import {
|
|
7
7
|
ID6,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info15
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-5y9r66cr.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -119,10 +119,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
121
|
return Info15.make({
|
|
122
|
-
...Info15.default(
|
|
122
|
+
...Info15.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
124
|
modelID: ID6.make(remote.id),
|
|
125
|
-
providerID:
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|