@opencode/core 0.0.0-dev-20621 → 0.0.0-dev-20625
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{tool-3sdb20zb.js → workspace-04792bgd.js} +11 -11
- package/dist/chunks/{tool-nkxtzyv4.js → workspace-077cgkzg.js} +23 -23
- package/dist/chunks/{tool-mx9vqzsb.js → workspace-07w59vex.js} +6 -6
- package/dist/chunks/{tool-4c8s8kge.js → workspace-08t9thee.js} +5 -5
- package/dist/chunks/{tool-zr70bgmb.js → workspace-0cnpbvek.js} +15 -15
- package/dist/chunks/{tool-dd40s8jk.js → workspace-0dygnakk.js} +4 -4
- package/dist/chunks/{tool-6qzp8a5z.js → workspace-0gh43fvp.js} +9 -9
- package/dist/chunks/{tool-qgn6gcr1.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{tool-hmb6jn2z.js → workspace-0k0tdk4v.js} +20 -20
- package/dist/chunks/{tool-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0emb60td.js → workspace-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-rjep82nj.js → workspace-0zm4vsbv.js} +17 -17
- package/dist/chunks/{tool-h65drem0.js → workspace-16m64twp.js} +16 -16
- package/dist/chunks/{tool-bcr0ksmf.js → workspace-1acz6075.js} +11 -11
- package/dist/chunks/{tool-4mpv5s2v.js → workspace-1d4zkfab.js} +40 -40
- package/dist/chunks/{tool-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-wk2zpc1v.js → workspace-1e10y0rh.js} +11 -11
- package/dist/chunks/{tool-j1ba0jw9.js → workspace-1fhw6qp6.js} +32 -32
- package/dist/chunks/{tool-40gsab6q.js → workspace-1v8896a1.js} +8 -8
- package/dist/chunks/{tool-r1z1z81h.js → workspace-24738xn5.js} +14 -14
- package/dist/chunks/{tool-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-rxn8twjw.js → workspace-2cabk1b6.js} +2 -2
- package/dist/chunks/{tool-vpfpr37q.js → workspace-2d4jh34x.js} +11 -11
- package/dist/chunks/{tool-350pbqn9.js → workspace-2eaaba8k.js} +26 -26
- package/dist/chunks/{tool-z26t8xx0.js → workspace-2g06r5p1.js} +15 -15
- package/dist/chunks/{tool-yxe8956e.js → workspace-2jygvae8.js} +11 -11
- package/dist/chunks/{tool-d0m8bny5.js → workspace-2kapx5s0.js} +21 -21
- package/dist/chunks/workspace-2qxg5hny.js +253 -0
- package/dist/chunks/{tool-7crx08a4.js → workspace-30ak4e5k.js} +8 -8
- package/dist/chunks/{tool-9thxh3x6.js → workspace-35vpxd0z.js} +7 -7
- package/dist/chunks/{tool-h43cy6bd.js → workspace-37gg4rjc.js} +8 -8
- package/dist/chunks/{tool-3cegwx68.js → workspace-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-51r1g0v9.js → workspace-3d5pf0rw.js} +11 -11
- package/dist/chunks/{tool-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-tcyk0gcq.js → workspace-3qny4s1r.js} +13 -13
- package/dist/chunks/{tool-zsr4wwhv.js → workspace-3sj8yt8v.js} +4 -4
- package/dist/chunks/{tool-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-dcgfqf6n.js → workspace-3wfp78gc.js} +6 -6
- package/dist/chunks/{tool-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-16pwk8my.js → workspace-49494kth.js} +18 -18
- package/dist/chunks/{tool-n3kz9j5v.js → workspace-4bf12bpw.js} +5 -5
- package/dist/chunks/{tool-j6rvrjb2.js → workspace-4ctbs581.js} +15 -15
- package/dist/chunks/{tool-9xafsdbn.js → workspace-4jcpse7m.js} +15 -15
- package/dist/chunks/{tool-4ts7tf6z.js → workspace-4ts7tf6z.js} +2 -2
- package/dist/chunks/{tool-54ma36ye.js → workspace-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-1ygqh575.js → workspace-56gdpj1q.js} +9 -9
- package/dist/chunks/{tool-tytd2jm0.js → workspace-56hrvcw3.js} +50 -50
- package/dist/chunks/{tool-p2y4rtdg.js → workspace-57nggxpn.js} +37 -37
- package/dist/chunks/{tool-a7bsh1ec.js → workspace-58twkbn2.js} +11 -11
- package/dist/chunks/{tool-23mntapz.js → workspace-5ct8ze0w.js} +11 -11
- package/dist/chunks/{tool-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-eaxx2kzt.js → workspace-5gjk7y31.js} +4 -4
- package/dist/chunks/{tool-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-wyyj98bv.js → workspace-5t0mhk5g.js} +3 -3
- package/dist/chunks/{tool-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-5yzzbxa7.js → workspace-5xtgfte3.js} +8 -8
- package/dist/chunks/{tool-8h9kzq6c.js → workspace-5xvy2j9s.js} +13 -13
- package/dist/chunks/workspace-619r8v3y.js +18 -0
- package/dist/chunks/{tool-zbt4vqdm.js → workspace-6b43n2qe.js} +23 -23
- package/dist/chunks/{tool-2n6fa56a.js → workspace-6j68t7ds.js} +1 -1
- package/dist/chunks/{tool-c1ant5c1.js → workspace-6kkym95p.js} +165 -165
- package/dist/chunks/{tool-e4gfb4rf.js → workspace-6n6n0wbe.js} +22 -22
- package/dist/chunks/{tool-w7jnj522.js → workspace-6qpyh92k.js} +18 -18
- package/dist/chunks/{tool-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-5jxm9yfz.js → workspace-6ygyve09.js} +26 -26
- package/dist/chunks/{tool-qt17f4h7.js → workspace-71tv947p.js} +15 -15
- package/dist/chunks/{tool-zcdqtjtf.js → workspace-74f6ffmn.js} +47 -47
- package/dist/chunks/{tool-ng6f7xag.js → workspace-7504msxf.js} +25 -25
- package/dist/chunks/{tool-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-x2jd95r3.js → workspace-7e820gef.js} +32 -32
- package/dist/chunks/{tool-yxnaqxdh.js → workspace-7naznwf1.js} +6 -6
- package/dist/chunks/{tool-ckag18vk.js → workspace-7w38sh68.js} +21 -21
- package/dist/chunks/{tool-84h8c373.js → workspace-84h8c373.js} +2 -2
- package/dist/chunks/{tool-84txncab.js → workspace-84txncab.js} +1 -1
- package/dist/chunks/{tool-6w4tq3mb.js → workspace-86km67cx.js} +9 -9
- package/dist/chunks/{tool-egspt8cm.js → workspace-86mjrc9q.js} +63 -63
- package/dist/chunks/{tool-w36j0bmk.js → workspace-8a6ws7jr.js} +9 -9
- package/dist/chunks/{tool-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-7q4nzkb9.js → workspace-8fkq3ra9.js} +16 -16
- package/dist/chunks/{tool-6m1hjez2.js → workspace-8gm8r8mn.js} +15 -15
- package/dist/chunks/{tool-qx8vbekt.js → workspace-8p3g3wy0.js} +11 -11
- package/dist/chunks/{tool-9swdtjav.js → workspace-8t5jjh5c.js} +5 -5
- package/dist/chunks/{tool-h9pcb0g7.js → workspace-8z7vm853.js} +5 -5
- package/dist/chunks/{tool-6zhvkmk5.js → workspace-94yy4jsn.js} +4 -4
- package/dist/chunks/{tool-g357tzjd.js → workspace-9jq6257y.js} +25 -25
- package/dist/chunks/{tool-b750x627.js → workspace-9rebvyz3.js} +4 -4
- package/dist/chunks/{tool-1x69mj4q.js → workspace-9vprb1nh.js} +12 -12
- package/dist/chunks/{tool-sxt8reb7.js → workspace-a3zzg5mb.js} +27 -27
- package/dist/chunks/{tool-kvvk39gs.js → workspace-a8bn8zg0.js} +4 -4
- package/dist/chunks/{tool-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-qtq3p0wt.js → workspace-aaqcndx2.js} +42 -42
- package/dist/chunks/{tool-g4ezwve1.js → workspace-ap1jses2.js} +23 -23
- package/dist/chunks/{tool-r9w3djhf.js → workspace-atytsmf1.js} +9 -9
- package/dist/chunks/{tool-c7f2cwkk.js → workspace-aw1g0m68.js} +3 -3
- package/dist/chunks/{tool-3j9bgvtg.js → workspace-axs6pdy0.js} +5 -5
- package/dist/chunks/{tool-9f2nvjyq.js → workspace-b3vk0wha.js} +3 -3
- package/dist/chunks/{tool-kzgmjn1f.js → workspace-b61vcdbg.js} +9 -9
- package/dist/chunks/{tool-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-2k71kv7p.js → workspace-bacyadyn.js} +4 -4
- package/dist/chunks/{tool-pz19f1h4.js → workspace-bf3ep3zf.js} +16 -16
- package/dist/chunks/{tool-scqzf1nw.js → workspace-bgnv3g07.js} +6 -6
- package/dist/chunks/{tool-mzrc21xj.js → workspace-bj5ap212.js} +40 -40
- package/dist/chunks/{tool-fe6bz30b.js → workspace-bjz294g4.js} +18 -18
- package/dist/chunks/{tool-yptech69.js → workspace-bq7qaacb.js} +38 -38
- package/dist/chunks/{tool-tdtgstz8.js → workspace-bt43sfkk.js} +18 -18
- package/dist/chunks/{tool-mktzjf14.js → workspace-bv2qvk3v.js} +48 -48
- package/dist/chunks/{tool-ydty4xqc.js → workspace-bvvmdrd3.js} +17 -17
- package/dist/chunks/{tool-s7nv2rwz.js → workspace-bx0gyb4h.js} +5 -5
- package/dist/chunks/{tool-42ayv7pm.js → workspace-bx4w3v62.js} +42 -42
- package/dist/chunks/{tool-3x1fhjfk.js → workspace-c1ka28h1.js} +5 -5
- package/dist/chunks/{tool-4xtwzbwp.js → workspace-ca6v8khj.js} +323 -323
- package/dist/chunks/{tool-vk9cvn9d.js → workspace-caf87exy.js} +27 -27
- package/dist/chunks/{tool-0xccjjzw.js → workspace-cg7s6gpq.js} +30 -30
- package/dist/chunks/{tool-kne8f3cn.js → workspace-ckf8nxjz.js} +4 -4
- package/dist/chunks/{tool-wpgamtwv.js → workspace-ckn890ey.js} +26 -26
- package/dist/chunks/{tool-4jjk64j7.js → workspace-cqqer672.js} +13 -13
- package/dist/chunks/{tool-2zv0bcyv.js → workspace-cscmnd2v.js} +8 -8
- package/dist/chunks/{tool-k1pmzggn.js → workspace-cvgbrmvq.js} +30 -30
- package/dist/chunks/{tool-2sejkfem.js → workspace-cwa6csj7.js} +9 -9
- package/dist/chunks/{tool-p10vm95c.js → workspace-d2ffjrg3.js} +7 -7
- package/dist/chunks/{tool-ynky3s72.js → workspace-desgj5fn.js} +26 -26
- package/dist/chunks/{tool-pdssdm3r.js → workspace-dwnnjgz6.js} +45 -45
- package/dist/chunks/{tool-rx871m47.js → workspace-e107jb5k.js} +2 -2
- package/dist/chunks/{tool-z5n58sqq.js → workspace-e2h0q4a9.js} +8 -8
- package/dist/chunks/{tool-1ewxhx38.js → workspace-e3gcztwa.js} +30 -30
- package/dist/chunks/{tool-pjsqfx9m.js → workspace-easapccs.js} +6 -6
- package/dist/chunks/{tool-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-9tqp4rjd.js → workspace-efbajcyc.js} +34 -34
- package/dist/chunks/{tool-853r27ye.js → workspace-ejgp49jg.js} +20 -20
- package/dist/chunks/{tool-txw06jcg.js → workspace-emx6shzs.js} +24 -24
- package/dist/chunks/{tool-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-mzraw8ha.js → workspace-ewx9y0me.js} +7 -7
- package/dist/chunks/{tool-bx021530.js → workspace-f6626pn0.js} +12 -12
- package/dist/chunks/{tool-f75zav2x.js → workspace-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-qk33d3eb.js → workspace-f7gr38pv.js} +5 -5
- package/dist/chunks/{tool-f4tfcf42.js → workspace-fte4edzz.js} +10 -10
- package/dist/chunks/{tool-81bpzke5.js → workspace-g38n4cbf.js} +11 -11
- package/dist/chunks/{tool-1cz6w5aa.js → workspace-g6cj2pz3.js} +5 -5
- package/dist/chunks/{tool-zab19jja.js → workspace-g762atc6.js} +9 -9
- package/dist/chunks/{tool-wfdj1abq.js → workspace-g79x7y0t.js} +11 -11
- package/dist/chunks/{tool-cz3qxt32.js → workspace-gamkna2f.js} +32 -32
- package/dist/chunks/{tool-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-cjdpndr5.js → workspace-gr68n6sk.js} +7 -7
- package/dist/chunks/{tool-bbpgpzrp.js → workspace-grtn0enx.js} +4 -4
- package/dist/chunks/{tool-6ysrkrkr.js → workspace-h275bwc7.js} +8 -8
- package/dist/chunks/{tool-sgd5yhbj.js → workspace-h2txwa5e.js} +9 -9
- package/dist/chunks/{tool-3w57jhwt.js → workspace-h4ckqw4f.js} +8 -8
- package/dist/chunks/{tool-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-w0jh0ny2.js → workspace-hd75z5fa.js} +10 -10
- package/dist/chunks/{tool-a65exzz3.js → workspace-heymn33v.js} +13 -13
- package/dist/chunks/{tool-303t2pvh.js → workspace-hfr420wr.js} +26 -26
- package/dist/chunks/{tool-393z7mah.js → workspace-hgnewnvf.js} +3 -3
- package/dist/chunks/{tool-qbd5ma0n.js → workspace-hns92ys1.js} +10 -10
- package/dist/chunks/{tool-6az9vrde.js → workspace-hp2fw5k6.js} +24 -24
- package/dist/chunks/{tool-gx34rq0y.js → workspace-hqf62ytx.js} +3 -3
- package/dist/chunks/{tool-r9t00hsy.js → workspace-hr5bc81f.js} +8 -8
- package/dist/chunks/workspace-j49cp3s0.js +26 -0
- package/dist/chunks/{tool-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-pvnmdee5.js → workspace-jdzksevj.js} +10 -10
- package/dist/chunks/{tool-cfsekr6v.js → workspace-jktqzjpa.js} +8 -8
- package/dist/chunks/{tool-75v4x8jp.js → workspace-jvddzxac.js} +14 -14
- package/dist/chunks/{tool-krzbbgtd.js → workspace-k2vb740h.js} +9 -9
- package/dist/chunks/{tool-66t34m9w.js → workspace-k30vhdc4.js} +12 -12
- package/dist/chunks/{tool-mwwxnxty.js → workspace-k3sn4jay.js} +4 -4
- package/dist/chunks/{tool-zqrhdrkc.js → workspace-k471ddga.js} +43 -43
- package/dist/chunks/{tool-cjxvfp5z.js → workspace-k569he40.js} +7 -7
- package/dist/chunks/{tool-tnjsmpmj.js → workspace-kaq877jq.js} +11 -11
- package/dist/chunks/{tool-kb9j3d72.js → workspace-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-p6hyfmfc.js → workspace-kgzx153c.js} +3 -3
- package/dist/chunks/{tool-kfdtc9qy.js → workspace-km0c42ps.js} +11 -11
- package/dist/chunks/{tool-pnzjke2r.js → workspace-kn0kwb9r.js} +22 -22
- package/dist/chunks/{tool-fhm77ccb.js → workspace-kprvgbka.js} +3 -3
- package/dist/chunks/{tool-qc3y4bn0.js → workspace-kpv8xpp3.js} +4 -4
- package/dist/chunks/{tool-4set99t9.js → workspace-kt4j6m51.js} +3 -3
- package/dist/chunks/{tool-vdg7jmx3.js → workspace-kzykqk6j.js} +12 -12
- package/dist/chunks/{tool-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-n7c1m45s.js → workspace-m6f5ap24.js} +15 -15
- package/dist/chunks/{tool-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-9y9sk2j9.js → workspace-mbnxefga.js} +2 -2
- package/dist/chunks/{tool-czkrkmgx.js → workspace-mh5wyt4r.js} +11 -11
- package/dist/chunks/{tool-xcmk6yw7.js → workspace-mhnyy3p3.js} +11 -11
- package/dist/chunks/{tool-xqq6j46d.js → workspace-mq716n2q.js} +18 -18
- package/dist/chunks/{tool-adfa1w2n.js → workspace-msr7hntd.js} +4 -4
- package/dist/chunks/{tool-a1gpj94z.js → workspace-mvfsc1pv.js} +3 -3
- package/dist/chunks/{tool-ncnm8wen.js → workspace-n2thn3nx.js} +1 -1
- package/dist/chunks/{tool-2xcf8v2e.js → workspace-nex76z7d.js} +15 -15
- package/dist/chunks/{tool-cwxwnzw8.js → workspace-nfj32nd6.js} +6 -6
- package/dist/chunks/{tool-8sq1nazw.js → workspace-nqsd8asp.js} +43 -43
- package/dist/chunks/{tool-61m1wdtq.js → workspace-nvdeaskg.js} +15 -15
- package/dist/chunks/{tool-dpkg50ah.js → workspace-nxm207yx.js} +4 -4
- package/dist/chunks/{tool-c3227a7e.js → workspace-p1f7zze4.js} +17 -17
- package/dist/chunks/{tool-b8yxdv3q.js → workspace-p2wa0wpq.js} +22 -22
- package/dist/chunks/{tool-na90p5sz.js → workspace-pbp90nbc.js} +27 -27
- package/dist/chunks/{tool-tpypbtav.js → workspace-pghsmdqn.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{tool-m9kfb99s.js → workspace-pqnryrb4.js} +9 -9
- package/dist/chunks/{tool-q0xm7vwc.js → workspace-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-mrtp8nr7.js → workspace-q1v6wmhm.js} +10 -10
- package/dist/chunks/{tool-56avvebe.js → workspace-qagmmt9n.js} +33 -33
- package/dist/chunks/{tool-7vp466hh.js → workspace-qc4y4x1d.js} +18 -18
- package/dist/chunks/{tool-690bn0hf.js → workspace-qhjkx6qf.js} +21 -21
- package/dist/chunks/{tool-npt101jb.js → workspace-qj3j2ed4.js} +26 -26
- package/dist/chunks/{tool-qnc92qwc.js → workspace-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-sm965ndy.js → workspace-qvb3nf84.js} +8 -8
- package/dist/chunks/{tool-gkwkvfez.js → workspace-qx4ps3zc.js} +20 -20
- package/dist/chunks/{tool-mdmbfqgq.js → workspace-r01t9b5y.js} +8 -8
- package/dist/chunks/{tool-swk0q7s9.js → workspace-r3p59fwg.js} +4 -4
- package/dist/chunks/{tool-1acjjqhc.js → workspace-r8xr0va3.js} +4 -4
- package/dist/chunks/{tool-a2zv89qz.js → workspace-r9htttdr.js} +13 -13
- package/dist/chunks/{tool-see9wd13.js → workspace-rd8yy9nb.js} +66 -66
- package/dist/chunks/{tool-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-qdm0xvfe.js → workspace-rfmnp9jb.js} +4 -4
- package/dist/chunks/{tool-9t7a50xb.js → workspace-rhjbct0v.js} +4 -4
- package/dist/chunks/{tool-nesyhtff.js → workspace-rksdhb0n.js} +18 -18
- package/dist/chunks/{tool-semz41dm.js → workspace-rrn10n85.js} +8 -8
- package/dist/chunks/{tool-axe3mf62.js → workspace-rrt0a0ha.js} +3 -3
- package/dist/chunks/{tool-at1kfnmk.js → workspace-rvf0m9x6.js} +8 -8
- package/dist/chunks/{tool-dbqekdzp.js → workspace-s6rbynpa.js} +5 -5
- package/dist/chunks/{tool-y6wve3t3.js → workspace-s76r9yk2.js} +13 -13
- package/dist/chunks/{tool-gfygj460.js → workspace-sb1pzkvh.js} +16 -16
- package/dist/chunks/{tool-ct5kn7sm.js → workspace-se3n8wcd.js} +18 -18
- package/dist/chunks/{tool-g0vvyb83.js → workspace-sfvft427.js} +11 -11
- package/dist/chunks/{tool-bvjdq5yq.js → workspace-sgcq822w.js} +5 -5
- package/dist/chunks/{tool-fgvy1g99.js → workspace-smq3dd2v.js} +31 -31
- package/dist/chunks/{tool-wdeky1ys.js → workspace-t13mbkgb.js} +22 -22
- package/dist/chunks/{tool-h6tdr0wz.js → workspace-t1fjxj08.js} +13 -13
- package/dist/chunks/{tool-8rqycdgd.js → workspace-t2fc4mz5.js} +7 -7
- package/dist/chunks/{tool-wkqs3fc0.js → workspace-t3039at6.js} +26 -26
- package/dist/chunks/{tool-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-hv8s3tg2.js → workspace-tdj9jt6q.js} +11 -11
- package/dist/chunks/{tool-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{tool-pzcaekwn.js → workspace-tdx4y9zn.js} +11 -11
- package/dist/chunks/{tool-0y2egbcr.js → workspace-tqrjxmaf.js} +8 -8
- package/dist/chunks/{tool-gxds6sjc.js → workspace-ty9zft9p.js} +15 -15
- package/dist/chunks/{tool-xecxzrdp.js → workspace-v0es1rhs.js} +2 -2
- package/dist/chunks/{tool-3936tkf8.js → workspace-v2fwckm2.js} +13 -13
- package/dist/chunks/{tool-apme4279.js → workspace-v9t2f4tw.js} +22 -22
- package/dist/chunks/{tool-ck2jvgzg.js → workspace-vaxgn10g.js} +25 -25
- package/dist/chunks/{tool-08ed4zmw.js → workspace-vbrdpthe.js} +6 -6
- package/dist/chunks/{tool-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-g6tpgah0.js → workspace-vgfxpara.js} +81 -81
- package/dist/chunks/{tool-kc6hkr7d.js → workspace-vhvtqta5.js} +6 -6
- package/dist/chunks/{tool-a1jynv3g.js → workspace-vjthrvv1.js} +12 -12
- package/dist/chunks/{tool-5d17xbav.js → workspace-vrpz8t5t.js} +5 -5
- package/dist/chunks/{tool-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-g5w8qwbj.js → workspace-w19d8598.js} +7 -7
- package/dist/chunks/{tool-g24rjnnt.js → workspace-w39jehkq.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-vcccfxhw.js → workspace-w8jg2tm8.js} +34 -34
- package/dist/chunks/{tool-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{tool-jy0x8hkf.js → workspace-wqzz8241.js} +8 -8
- package/dist/chunks/{tool-hqwyy3bj.js → workspace-x07w92bc.js} +3 -3
- package/dist/chunks/{tool-125pv97z.js → workspace-x2bhny64.js} +7 -7
- package/dist/chunks/{tool-a3c7ahw6.js → workspace-x3gqap9d.js} +4 -4
- package/dist/chunks/{tool-addxnjmp.js → workspace-x661k3y3.js} +4 -4
- package/dist/chunks/{tool-entbm7rc.js → workspace-xa1y625z.js} +20 -20
- package/dist/chunks/{tool-a2gqrh8v.js → workspace-xcjenepd.js} +31 -31
- package/dist/chunks/{tool-cy8n646y.js → workspace-xh51jhwy.js} +26 -26
- package/dist/chunks/{tool-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
- package/dist/chunks/{tool-xyafkbt0.js → workspace-xyafkbt0.js} +3 -3
- package/dist/chunks/{tool-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-e4q1gg2w.js → workspace-y2bx8ks4.js} +16 -16
- package/dist/chunks/{tool-m8tjqkzb.js → workspace-y2tx55zg.js} +5 -5
- package/dist/chunks/{tool-ymj5q7t9.js → workspace-yvmkmgn5.js} +12 -12
- package/dist/chunks/{tool-dwktjsma.js → workspace-ywd8qmyg.js} +1 -1
- package/dist/chunks/{tool-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-csdqyeex.js → workspace-z0cec5bd.js} +14 -14
- package/dist/chunks/{tool-b1axcb5r.js → workspace-z28g1vpv.js} +31 -31
- package/dist/chunks/{tool-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-7rm45jzf.js → workspace-zrbek4sy.js} +4 -4
- package/dist/chunks/{tool-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-scgrse2b.js → workspace-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +354 -354
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/tool-39v3zkdd.js +0 -26
- package/dist/chunks/tool-gdn38z0d.js +0 -253
- package/dist/chunks/tool-q509s3k3.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → workspace-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./workspace-w8jg2tm8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./workspace-bj5ap212.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin30,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin30 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service47;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin30, register2, exports_mcp };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-rfmnp9jb.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./workspace-k30vhdc4.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-emx6shzs.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event17,
|
|
38
|
+
ID: () => ID13,
|
|
39
|
+
Info: () => Info22,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service73,
|
|
47
|
+
node: () => node76
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
70
|
+
var ID13 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info22 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID13,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service73 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service75;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info22.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service73.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node76 = makeLocationNode({
|
|
603
|
+
service: Service73,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node78, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node76, exports_integration, Event17 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./workspace-caf87exy.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID12.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-kgzx153c.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node70
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service68.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node70 = makeGlobalNode({ service: Service68, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service68, node70, exports_kv };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service48,
|
|
3
|
+
node51
|
|
4
|
+
} from "./workspace-ejgp49jg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-2cabk1b6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node50
|
|
12
|
+
} from "./workspace-w8jg2tm8.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node5
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service47;
|
|
40
|
+
const watcher = yield* Service48;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node5 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node50, FSUtil.node, node51, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service3, layer5, node5, empty2, exports_source };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-8z7vm853.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-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: () => Plugin36,
|
|
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/unstable/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 Plugin36 = 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 Plugin6 = 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, Plugin36, exports_exa };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin36
|
|
3
|
+
} from "./workspace-hr5bc81f.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin35
|
|
6
|
+
} from "./workspace-pqnryrb4.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin38
|
|
9
|
+
} from "./workspace-k2vb740h.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./workspace-e2h0q4a9.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin34
|
|
15
|
+
} from "./workspace-nfj32nd6.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin36,
|
|
20
|
+
Plugin35,
|
|
21
|
+
Plugin38,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin34
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-rfmnp9jb.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service9,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node11
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service9 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service9.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node11 = makeGlobalNode({ service: Service9, layer: layer7, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service9, layer7, node11, exports_sdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./workspace-w19d8598.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
node86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-8z7vm853.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-2cabk1b6.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make13
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-hqf62ytx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service23,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node26
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,9 +31,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service23 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service80;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make13;
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service23.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node26 = makeLocationNode({
|
|
61
|
+
service: Service23,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service23, node26, exports_strategies };
|