@opencode/core 0.0.0-dev-19598 → 0.0.0-dev-19599
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 +82 -82
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/tool-0mesazry.js +4 -0
- package/dist/chunks/{file-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-r3mfjy6q.js → tool-16jeg0qk.js} +294 -294
- package/dist/chunks/{file-3pbjq009.js → tool-17j9h1rv.js} +11 -11
- package/dist/chunks/{file-0v53mg2y.js → tool-1a6p2twq.js} +4 -4
- package/dist/chunks/{file-pajef2pp.js → tool-1bkx5pwe.js} +4 -4
- package/dist/chunks/{file-8yjzh81f.js → tool-1d4jdnc8.js} +6 -6
- package/dist/chunks/{file-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-919h57eb.js → tool-1gfn0ycf.js} +25 -25
- package/dist/chunks/{file-hhh0a6zm.js → tool-21dj5k26.js} +7 -7
- package/dist/chunks/{file-ampdzzmt.js → tool-21f2rsjd.js} +11 -11
- package/dist/chunks/{file-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → tool-2402vzrj.js} +5 -5
- package/dist/chunks/{file-tz1hbxk4.js → tool-253bq4qw.js} +3 -3
- package/dist/chunks/{file-z63w68vq.js → tool-29x78va6.js} +6 -6
- package/dist/chunks/{file-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-e6hd9jay.js → tool-2d57kztd.js} +4 -4
- package/dist/chunks/{file-avezr732.js → tool-2gkxg42g.js} +1 -1
- package/dist/chunks/{file-qd4n55pn.js → tool-2h74skrz.js} +26 -26
- package/dist/chunks/{file-c4vcfcbt.js → tool-2mq1h16s.js} +9 -9
- package/dist/chunks/{file-nx3x71r4.js → tool-2vg6efqn.js} +3 -3
- package/dist/chunks/{file-8gxqpgph.js → tool-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-2jtppnb6.js → tool-2wvxgkaf.js} +24 -24
- package/dist/chunks/{file-5vyabe77.js → tool-2x9c36ps.js} +46 -46
- package/dist/chunks/{file-x42bs0x6.js → tool-383meeh8.js} +47 -47
- package/dist/chunks/{file-qc0tpyc3.js → tool-3f6m7h4m.js} +9 -9
- package/dist/chunks/{file-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-8fj94art.js → tool-3g77v28p.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-c78bbtc9.js → tool-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-t6z0eevx.js → tool-3y6z2ty2.js} +15 -15
- package/dist/chunks/{file-pmh6tya1.js → tool-40tbggcp.js} +29 -29
- package/dist/chunks/{file-9vj1at0d.js → tool-4an599d2.js} +11 -11
- package/dist/chunks/{file-1j54nx79.js → tool-4e0pbrm7.js} +11 -11
- package/dist/chunks/{file-frmeqhta.js → tool-4gnyebnw.js} +7 -7
- package/dist/chunks/{file-vm86ksqf.js → tool-4gp9przv.js} +8 -8
- package/dist/chunks/{file-xjrg1qn8.js → tool-4kbjb3sr.js} +11 -11
- package/dist/chunks/{file-ffs43ht2.js → tool-4vkh6st7.js} +14 -14
- package/dist/chunks/{file-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-57ez7d0k.js → tool-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{file-jzt5g60a.js → tool-5hsgp0bq.js} +15 -15
- package/dist/chunks/{file-ns74bfrf.js → tool-5k338v2a.js} +20 -20
- package/dist/chunks/{file-3btn89ec.js → tool-5qdj1v4m.js} +10 -10
- package/dist/chunks/{file-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-804mq7mh.js → tool-5w7fqkzx.js} +10 -10
- package/dist/chunks/{file-2fy2emhs.js → tool-5y9tx54q.js} +12 -12
- package/dist/chunks/{file-ra8qdd9e.js → tool-63dea9jd.js} +1 -1
- package/dist/chunks/{file-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{file-3v0x2y7p.js → tool-66qmevrd.js} +8 -8
- package/dist/chunks/{file-vanydjgv.js → tool-66yyaz7c.js} +43 -43
- package/dist/chunks/{file-1zzmp92z.js → tool-6d1tapbz.js} +15 -15
- package/dist/chunks/{file-hy5fgcee.js → tool-6j9t704q.js} +15 -15
- package/dist/chunks/{file-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-3zykk5as.js → tool-6qkc0t3x.js} +8 -8
- package/dist/chunks/{file-pnwnc2eb.js → tool-6sg447na.js} +12 -12
- package/dist/chunks/{file-f3ngv102.js → tool-6sr3ve8g.js} +21 -21
- package/dist/chunks/{file-sznyev98.js → tool-6vq97qmv.js} +5 -5
- package/dist/chunks/{file-vcyhp7t3.js → tool-6yy9wark.js} +11 -11
- package/dist/chunks/{file-71q4at8m.js → tool-71q4at8m.js} +1 -1
- package/dist/chunks/{file-phc861ae.js → tool-7355chmd.js} +6 -6
- package/dist/chunks/{file-ecmre7pn.js → tool-7933w99v.js} +85 -85
- package/dist/chunks/{file-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-gs1hwhc0.js → tool-7eyb1ky7.js} +25 -25
- package/dist/chunks/{file-p0bspynp.js → tool-7m0wx7n2.js} +5 -5
- package/dist/chunks/{file-zdw538jz.js → tool-7q67xa21.js} +15 -15
- package/dist/chunks/{file-vmbah541.js → tool-7tw3btct.js} +6 -6
- package/dist/chunks/{file-t50jsm69.js → tool-7v2wf9c4.js} +29 -29
- package/dist/chunks/{file-7e0sczy2.js → tool-7vnx6y3p.js} +14 -14
- package/dist/chunks/{file-qyrnw00n.js → tool-884gyjym.js} +4 -4
- package/dist/chunks/{file-w1k39n5e.js → tool-88sz8qcd.js} +4 -4
- package/dist/chunks/{file-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-ne2r7j9m.js → tool-8dp74fdk.js} +24 -24
- package/dist/chunks/{file-jac4mw22.js → tool-8e117wbv.js} +5 -5
- package/dist/chunks/{file-mkt4f7jq.js → tool-8kacz6a1.js} +22 -22
- package/dist/chunks/{file-8p4f9s12.js → tool-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-vq7z185x.js → tool-8y01k5fy.js} +4 -4
- package/dist/chunks/{file-ye1wyhtp.js → tool-92s0cqnp.js} +10 -10
- package/dist/chunks/{file-ckpz9tzv.js → tool-95vfjh4q.js} +9 -9
- package/dist/chunks/{file-2yrd4w3g.js → tool-964t6598.js} +11 -11
- package/dist/chunks/{file-s3dxyf65.js → tool-98f484r8.js} +16 -16
- package/dist/chunks/{file-xgfp89dv.js → tool-99yh2pdr.js} +13 -13
- package/dist/chunks/{file-scv7p57g.js → tool-9d4sgpz8.js} +9 -9
- package/dist/chunks/{file-g0sczcq0.js → tool-9kvb8f9y.js} +23 -23
- package/dist/chunks/{file-kjpj2a9q.js → tool-9q34vwzw.js} +28 -28
- package/dist/chunks/tool-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-a1bz86dw.js → tool-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-88t9pbvw.js → tool-a6d3kgp8.js} +17 -17
- package/dist/chunks/{file-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{file-ryjh9mcz.js → tool-acpnwff5.js} +3 -3
- package/dist/chunks/{file-9dvg4g8f.js → tool-acxcbb38.js} +16 -16
- package/dist/chunks/{file-w0x3jd68.js → tool-akvwqyjh.js} +18 -18
- package/dist/chunks/{file-mqadsv8v.js → tool-awzpd58r.js} +9 -9
- package/dist/chunks/{file-sxz6gkc3.js → tool-axtvtek4.js} +4 -4
- package/dist/chunks/{file-m49cwa8c.js → tool-ayrzd4q0.js} +15 -15
- package/dist/chunks/{file-4zqrhqht.js → tool-b4655sfp.js} +45 -45
- package/dist/chunks/{file-r0eemgrz.js → tool-b5vpxnpr.js} +23 -23
- package/dist/chunks/{file-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-k0mc747p.js → tool-b7n5ecmq.js} +36 -36
- package/dist/chunks/{file-hfdr1yjj.js → tool-bajakh74.js} +4 -4
- package/dist/chunks/{file-eqjzvt4d.js → tool-bbaxns64.js} +8 -8
- package/dist/chunks/{file-wndsw9jd.js → tool-bmnapqat.js} +11 -11
- package/dist/chunks/{file-658qrzb6.js → tool-bv9pnvgp.js} +4 -4
- package/dist/chunks/{file-s8rxtnbc.js → tool-bwfqemah.js} +3 -3
- package/dist/chunks/{file-313wy76v.js → tool-c0g4q567.js} +17 -17
- package/dist/chunks/{file-k2bnz6b5.js → tool-c31h4aj0.js} +48 -48
- package/dist/chunks/{file-em65arkj.js → tool-c5f1xghs.js} +29 -29
- package/dist/chunks/{file-1t72z6bs.js → tool-c8r4c7x7.js} +24 -24
- package/dist/chunks/{file-58qyzcvs.js → tool-cddy6wgw.js} +11 -11
- package/dist/chunks/{file-3w80k797.js → tool-cdx2nmd2.js} +50 -50
- package/dist/chunks/{file-y6h4mdg2.js → tool-ce8sn01r.js} +43 -43
- package/dist/chunks/{file-85170kwf.js → tool-cejrj8y8.js} +21 -21
- package/dist/chunks/{file-cfpkc3c9.js → tool-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-6s5nejzz.js → tool-chp1ctqz.js} +11 -11
- package/dist/chunks/{file-wdpdtye9.js → tool-cseyvs3z.js} +25 -25
- package/dist/chunks/{file-xe94yqgp.js → tool-ctn2km86.js} +2 -2
- package/dist/chunks/{file-et0rkxxj.js → tool-d383cjmk.js} +8 -8
- package/dist/chunks/{file-zkb0rj7d.js → tool-d55qd04d.js} +32 -32
- package/dist/chunks/{file-6we377py.js → tool-da1ppnzr.js} +30 -30
- package/dist/chunks/{file-36msp9ny.js → tool-dadjnxcz.js} +13 -13
- package/dist/chunks/{file-m2cb1kfd.js → tool-djh8651g.js} +30 -30
- package/dist/chunks/{file-y71avatq.js → tool-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-485fr60v.js → tool-dy775f0c.js} +8 -8
- package/dist/chunks/{file-mcjktpac.js → tool-e0b694rp.js} +16 -16
- package/dist/chunks/{file-5qd3pb7m.js → tool-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mry3yw3z.js → tool-e4yvw0pn.js} +33 -33
- package/dist/chunks/{file-e5nv3ght.js → tool-e5nv3ght.js} +2 -2
- package/dist/chunks/{file-mw62vq54.js → tool-e8rb0fk9.js} +11 -11
- package/dist/chunks/{file-af04s6ss.js → tool-ead3g9p8.js} +5 -5
- package/dist/chunks/{file-5w575vpr.js → tool-ebx0djr7.js} +3 -3
- package/dist/chunks/{file-jva4mgym.js → tool-ec8389mk.js} +4 -4
- package/dist/chunks/{file-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-m947q6k5.js → tool-efxhpxf5.js} +24 -24
- package/dist/chunks/{file-xfz9zfky.js → tool-emgx2tje.js} +5 -5
- package/dist/chunks/{file-f42mf92g.js → tool-erw0n60b.js} +8 -8
- package/dist/chunks/{file-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-rcsscm7r.js → tool-f1ts345w.js} +11 -11
- package/dist/chunks/{file-4rcm86v0.js → tool-f1xrsf6k.js} +14 -14
- package/dist/chunks/{file-mnejq3c6.js → tool-f38hchcj.js} +9 -9
- package/dist/chunks/{file-9x1sbddt.js → tool-f3yjyja6.js} +13 -13
- package/dist/chunks/{file-f828m53h.js → tool-f828m53h.js} +2 -2
- package/dist/chunks/{file-7qb1bt6t.js → tool-f9a3pmyr.js} +13 -13
- package/dist/chunks/{file-2k8khapm.js → tool-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-zg2jh87r.js → tool-fdftwakz.js} +10 -10
- package/dist/chunks/{file-e1x4awme.js → tool-fgb2mcbr.js} +22 -22
- package/dist/chunks/{file-nqrry9qg.js → tool-fspd6qjs.js} +16 -16
- package/dist/chunks/{file-ggz1pmcj.js → tool-fsqnn3fv.js} +18 -18
- package/dist/chunks/{file-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-qcd1qc15.js → tool-fyfytr13.js} +9 -9
- package/dist/chunks/{file-fvrhsr23.js → tool-gan2aag1.js} +2 -2
- package/dist/chunks/{file-b1e26q27.js → tool-gbex3acd.js} +32 -32
- package/dist/chunks/{file-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-2rpf5fdd.js → tool-ggz7fzf6.js} +6 -6
- package/dist/chunks/{file-ejt0hq34.js → tool-gjh1s6ya.js} +13 -13
- package/dist/chunks/{file-g601pm08.js → tool-gjtgcmhe.js} +6 -6
- package/dist/chunks/{file-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-ef6j5nc6.js → tool-h0cab0jj.js} +6 -6
- package/dist/chunks/{file-cpj0znwe.js → tool-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-z7bpncyg.js → tool-hddv9rh5.js} +11 -11
- package/dist/chunks/{file-bgxcxs0p.js → tool-hnr5yq9h.js} +5 -5
- package/dist/chunks/{file-fwkb73sv.js → tool-hs2aqah5.js} +5 -5
- package/dist/chunks/{file-26m8t0ek.js → tool-hswenssz.js} +20 -20
- package/dist/chunks/{file-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{file-129brntk.js → tool-jez6grfh.js} +10 -10
- package/dist/chunks/{file-3z6mat0v.js → tool-jj2x8ya3.js} +24 -24
- package/dist/chunks/{file-gsx0ryk4.js → tool-jjs74g98.js} +9 -9
- package/dist/chunks/{file-m4e3ywc5.js → tool-jndxpbzp.js} +26 -26
- package/dist/chunks/{file-z6cdq4y7.js → tool-jpsh07gn.js} +4 -4
- package/dist/chunks/{file-kzw69375.js → tool-jqvwbgns.js} +7 -7
- package/dist/chunks/{file-10jz9m44.js → tool-jscm6k4t.js} +13 -13
- package/dist/chunks/{file-eqz5qmce.js → tool-jxrvs0y0.js} +11 -11
- package/dist/chunks/{file-xhmq8qgk.js → tool-jzzy94zk.js} +9 -9
- package/dist/chunks/{file-rpp558y0.js → tool-k56b83dc.js} +15 -15
- package/dist/chunks/{file-0vdk82c3.js → tool-kcxpnbwn.js} +20 -20
- package/dist/chunks/{file-de97ckz5.js → tool-kj8x889q.js} +2 -2
- package/dist/chunks/{file-cb51cg86.js → tool-knc2ad2x.js} +82 -82
- package/dist/chunks/{file-2m2rh4pc.js → tool-m46abj74.js} +5 -5
- package/dist/chunks/{file-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-dqvbfby7.js → tool-may1xj9k.js} +171 -171
- package/dist/chunks/{file-mppen3ja.js → tool-metb0c44.js} +11 -11
- package/dist/chunks/{file-qfa7jkp4.js → tool-mf4jvz0z.js} +8 -8
- package/dist/chunks/{file-3xy0seps.js → tool-mksr8qt3.js} +6 -6
- package/dist/chunks/{file-9avcp2jz.js → tool-mrk4e56b.js} +16 -16
- package/dist/chunks/{file-ev5x2d0f.js → tool-mtxfs5k5.js} +22 -22
- package/dist/chunks/{file-mvfsc1pv.js → tool-mvfsc1pv.js} +1 -1
- package/dist/chunks/{file-28q1zxr2.js → tool-mwp9jd7s.js} +8 -8
- package/dist/chunks/{file-7dx4zb5w.js → tool-n83tpar3.js} +28 -28
- package/dist/chunks/{file-ph5begyf.js → tool-n9a9ascx.js} +21 -21
- package/dist/chunks/{file-mv06p09r.js → tool-nafczmzp.js} +27 -27
- package/dist/chunks/{file-p9v06vkv.js → tool-nb4aeq3b.js} +7 -7
- package/dist/chunks/{file-7vzzf4r8.js → tool-nbzw66ce.js} +29 -29
- package/dist/chunks/{file-dqc15y4x.js → tool-nef32yex.js} +2 -2
- package/dist/chunks/{file-34v3mw25.js → tool-nffnkmsf.js} +14 -14
- package/dist/chunks/{file-hjt4xg1x.js → tool-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-00ahzcwm.js → tool-nr5q34ns.js} +13 -13
- package/dist/chunks/{file-f5syc60y.js → tool-nvxqht09.js} +3 -3
- package/dist/chunks/{file-5r9teng0.js → tool-nw3p9810.js} +4 -4
- package/dist/chunks/{file-dgj0dq1g.js → tool-p42hj8p8.js} +8 -8
- package/dist/chunks/{file-5c70fjhz.js → tool-p7cb5w0v.js} +4 -4
- package/dist/chunks/{file-42j12a3k.js → tool-pd0fnjnr.js} +24 -24
- package/dist/chunks/{file-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{file-agxtagsk.js → tool-pmwf0w9a.js} +32 -32
- package/dist/chunks/{file-2zf3hwjc.js → tool-pngq9dd9.js} +20 -20
- package/dist/chunks/{file-jndejbar.js → tool-prres578.js} +17 -17
- package/dist/chunks/{file-cqc023f0.js → tool-ptg6kxy0.js} +16 -16
- package/dist/chunks/{file-jbkjz0j2.js → tool-q4wkz71m.js} +17 -17
- package/dist/chunks/{file-0h54jqbs.js → tool-q7wajf8z.js} +8 -8
- package/dist/chunks/{file-n1jngd1w.js → tool-qh3h8fjc.js} +24 -24
- package/dist/chunks/{file-da6evnzj.js → tool-qkttm6v0.js} +11 -11
- package/dist/chunks/{file-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{file-prvz8ejv.js → tool-r1dtnce0.js} +20 -20
- package/dist/chunks/{file-v71dgxb6.js → tool-r2gzwywa.js} +28 -28
- package/dist/chunks/{file-182z4mkv.js → tool-r6fz4byc.js} +1 -1
- package/dist/chunks/{file-r9mregkx.js → tool-r9mregkx.js} +2 -2
- package/dist/chunks/{file-6gryy3ht.js → tool-rcptzcjb.js} +19 -19
- package/dist/chunks/{file-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-9tb0rzq8.js → tool-rfbvv5xc.js} +4 -4
- package/dist/chunks/{file-vhvvs13s.js → tool-rkdpvaam.js} +15 -15
- package/dist/chunks/{file-fctbv38k.js → tool-rm9n4pe2.js} +26 -26
- package/dist/chunks/{file-yrznvahk.js → tool-s4enseaf.js} +2 -2
- package/dist/chunks/{file-bd58x3af.js → tool-s4k2xazs.js} +13 -13
- package/dist/chunks/{file-tg00ampp.js → tool-s9pnwdwt.js} +1 -1
- package/dist/chunks/{file-4jc5c4h4.js → tool-scq4khx8.js} +1 -1
- package/dist/chunks/{file-eb6z8chr.js → tool-smthb8q2.js} +24 -24
- package/dist/chunks/{file-6wce12fj.js → tool-sr5hsr7h.js} +26 -26
- package/dist/chunks/{file-52zzeq6p.js → tool-sy7efrgz.js} +25 -25
- package/dist/chunks/{file-bycsbmk8.js → tool-t06sf88e.js} +10 -10
- package/dist/chunks/{file-s8d7rejh.js → tool-t550f9t1.js} +4 -4
- package/dist/chunks/{file-rzxstzmh.js → tool-t97w6b9c.js} +10 -10
- package/dist/chunks/{file-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-0mt6cg7p.js → tool-tbht75y9.js} +9 -9
- package/dist/chunks/{file-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{file-hkcvz44k.js → tool-tg3z6q21.js} +11 -11
- package/dist/chunks/{file-6kg1vfnr.js → tool-tprb9ykm.js} +6 -6
- package/dist/chunks/{file-j325xqev.js → tool-tqkrwgse.js} +2 -2
- package/dist/chunks/{file-tdqfck99.js → tool-tqq7t134.js} +14 -14
- package/dist/chunks/{file-cf2ej5qv.js → tool-tqsepttq.js} +11 -11
- package/dist/chunks/{file-6p7t068e.js → tool-ttyd6mwr.js} +9 -9
- package/dist/chunks/{file-t3x95jfd.js → tool-tvmnx93k.js} +65 -65
- package/dist/chunks/{file-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{file-q4yxhgfy.js → tool-v0hcs57f.js} +4 -4
- package/dist/chunks/{file-atrnym84.js → tool-v64wsefy.js} +15 -15
- package/dist/chunks/{file-vfgva3xk.js → tool-va79mfn6.js} +21 -21
- package/dist/chunks/{file-6bxb4cxk.js → tool-vas055je.js} +6 -6
- package/dist/chunks/{file-k2s68ryd.js → tool-vdyyrf70.js} +6 -6
- package/dist/chunks/{file-hq8zt1th.js → tool-ve6nm2s5.js} +6 -6
- package/dist/chunks/{file-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{file-w75v1kbk.js → tool-vgf270yp.js} +1 -1
- package/dist/chunks/{file-pwpabjhk.js → tool-vmyza7nt.js} +55 -55
- package/dist/chunks/{file-dtnrh8vj.js → tool-vqdbe12f.js} +40 -40
- package/dist/chunks/{file-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-yn670k7r.js → tool-w9rsy75j.js} +23 -23
- package/dist/chunks/{file-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{file-s48t05nw.js → tool-wjjsbp8j.js} +19 -19
- package/dist/chunks/{file-bknfn28s.js → tool-wzvtb6ev.js} +20 -20
- package/dist/chunks/{file-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-k6wrm9a0.js → tool-x7ajdgre.js} +9 -9
- package/dist/chunks/{file-emc9sr5q.js → tool-xerjptys.js} +5 -5
- package/dist/chunks/{file-y3dttyaz.js → tool-xkc29y86.js} +41 -41
- package/dist/chunks/{file-m3td6s3w.js → tool-xsghnh50.js} +9 -9
- package/dist/chunks/{file-y119texf.js → tool-y0rh7a7t.js} +16 -16
- package/dist/chunks/{file-5phqnecy.js → tool-y10wk092.js} +4 -4
- package/dist/chunks/{file-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-5276hfdk.js → tool-y3acf7kc.js} +18 -18
- package/dist/chunks/{file-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-yqncp4jv.js → tool-yqybgd19.js} +144 -144
- package/dist/chunks/{file-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-tmz405jm.js → tool-yyqa94g7.js} +42 -42
- package/dist/chunks/{file-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-m7tah5hb.js → tool-z4t82ehr.js} +6 -6
- package/dist/chunks/{file-bq2epsr3.js → tool-zdvgxm63.js} +25 -25
- package/dist/chunks/{file-0s3e8wbd.js → tool-ze59vjzs.js} +30 -30
- package/dist/chunks/{file-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-nc8419v6.js → tool-zr6g55aw.js} +5 -5
- package/dist/chunks/{file-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -94
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +97 -97
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +105 -105
- 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 +98 -98
- 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/id/id.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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +101 -101
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- 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 +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +172 -172
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/file-qapv375x.js +0 -4
- package/dist/chunks/file-qc068m1q.js +0 -18
- /package/dist/chunks/{file-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-f1ts345w.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin40,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin40 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin36 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin36 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin40, exports_firecrawl };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-nb4aeq3b.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service77
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-kj8x889q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./tool-va79mfn6.js";
|
|
12
12
|
import {
|
|
13
13
|
Service76
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-bwfqemah.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-f9a3pmyr.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service46
|
|
22
|
+
} from "./tool-vmyza7nt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service14,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-5hsgp0bq.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name10 = "patch";
|
|
89
|
+
var Input10 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin29 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
111
|
+
const environment = yield* Service58;
|
|
112
|
+
const access = yield* Service14;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
114
|
const formatter = yield* Service76;
|
|
115
115
|
const location = yield* Service77;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service46;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin5 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name10, Input10, Applied2, Output6, toModelContent4, Plugin29, exports_patch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-f1ts345w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID13
|
|
6
|
+
} from "./tool-40tbggcp.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-gjtgcmhe.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node62
|
|
9
|
+
} from "./tool-va79mfn6.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
24
|
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service58;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var node21 = makeLocationNode({ service:
|
|
178
|
+
var node21 = makeLocationNode({ service: Service18, layer, deps: [node62, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service18, node21, exports_ripgrep };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./tool-40tbggcp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./tool-vqdbe12f.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service72;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service60);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-f1ts345w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-40tbggcp.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-gjtgcmhe.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node34
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service29.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node34 = makeGlobalNode({ service: Service29, layer: layer14, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service29, makeLayer2, layer14, node34, exports_model_transport };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info16 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info10 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info16, exports_provider2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./tool-40tbggcp.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-zr6g55aw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service70,
|
|
16
|
+
node75
|
|
17
|
+
} from "./tool-jez6grfh.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service69,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node74,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service69 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service79;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service70;
|
|
110
|
+
return Service69.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node74 = makeGlobalNode({
|
|
171
|
+
service: Service69,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node84, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node75]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service69, isError2, validateBranch2, node74, exports_repository_cache };
|