@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-tbe3ncrs.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service20,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured4,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
node: () => node23
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,24 +36,24 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service20 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service20.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service41, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer10 = makeLayer();
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service20,
|
|
265
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node23 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError4, Service20, layer10, configured4, node23, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID8.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID8.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID8.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-97aeaand.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./file-mutation-6128rfg2.js";
|
|
10
10
|
import {
|
|
11
11
|
Info11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-ryr25ayn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info8
|
|
15
|
+
} from "./file-mutation-2cjv1swf.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
20
|
Info12
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-pcj7teyq.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-7qxkbnsm.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -102,7 +102,7 @@ function normalize2(input) {
|
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info8, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-8n3kfz9t.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make4 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make8 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make4();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
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/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID12.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-5y9r66cr.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./file-mutation-7vmkqt70.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-hdwqhw82.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin16
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin16, exports_provider };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node46
|
|
4
|
+
} from "./file-mutation-0xwjverx.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
19
|
Service: () => Service30,
|
|
20
20
|
node: () => node34
|
|
21
21
|
});
|
|
@@ -60,7 +60,7 @@ var update = (previous, current) => {
|
|
|
60
60
|
class Service30 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
62
|
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
63
|
-
const references = yield*
|
|
63
|
+
const references = yield* Service43;
|
|
64
64
|
return Service30.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var node34 = makeLocationNode({ service: Service30, layer, deps: [
|
|
84
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node46] });
|
|
85
85
|
|
|
86
|
-
export { Service30, node34,
|
|
86
|
+
export { Service30, node34, exports_instructions3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
@@ -22,18 +22,18 @@ __export(exports_form, {
|
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError8,
|
|
24
24
|
Reply: () => Reply2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service73,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer26,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID10 = Form.ID;
|
|
39
39
|
var Info20 = Form.Info;
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service73 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer26 = Layer.effect(
|
|
84
|
+
var layer26 = Layer.effect(Service73, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer26 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service73.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node77 = makeLocationNode({ service: Service73, layer: layer26, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID10, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2,
|
|
319
|
+
export { ID10, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer26, node77, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./file-mutation-mkpy3z2x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./file-mutation-kng38vy9.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service26
|
|
14
|
+
} from "./file-mutation-x555xz49.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin39 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service76;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service26;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name4, NO_RESULTS2, description2, Input4, Plugin39, exports_websearch2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y9s6fa94.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin29,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin29 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin18 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin18 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin29, exports_tavily };
|