@opencode/core 0.0.0-dev-19652 → 0.0.0-dev-19653
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{schema-w9jmd2e2.js → snapshot-01thgb1n.js} +82 -82
- package/dist/chunks/{schema-4td6qmdq.js → snapshot-05qwv096.js} +18 -18
- package/dist/chunks/{schema-6dk543bq.js → snapshot-0h83wq1x.js} +8 -8
- package/dist/chunks/{schema-6hjx5zpb.js → snapshot-0jq9fyba.js} +9 -9
- package/dist/chunks/snapshot-0mesazry.js +4 -0
- package/dist/chunks/{schema-ppns27wk.js → snapshot-0msp93dq.js} +17 -17
- package/dist/chunks/{schema-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0q0f95c6.js → snapshot-0q0f95c6.js} +1 -1
- package/dist/chunks/{schema-fqtvmpfq.js → snapshot-0xezjjjn.js} +8 -8
- package/dist/chunks/{schema-7jstqpd5.js → snapshot-10x1vztd.js} +32 -32
- package/dist/chunks/{schema-42way606.js → snapshot-12t47v60.js} +10 -10
- package/dist/chunks/{schema-v5dkyp31.js → snapshot-19vf66h0.js} +4 -4
- package/dist/chunks/{schema-qenep300.js → snapshot-1apne1gy.js} +36 -36
- package/dist/chunks/{schema-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-jc26sbfk.js → snapshot-1ef5mg7v.js} +3 -3
- package/dist/chunks/{schema-xpbr7bcc.js → snapshot-1fh5hkmz.js} +8 -8
- package/dist/chunks/{schema-sjf3tctt.js → snapshot-1jfn0zqb.js} +12 -12
- package/dist/chunks/{schema-81aqn7eh.js → snapshot-1md7fgng.js} +17 -17
- package/dist/chunks/{schema-6w1d93z6.js → snapshot-1ny5n266.js} +9 -9
- package/dist/chunks/{schema-eevfkcnk.js → snapshot-1th92w80.js} +24 -24
- package/dist/chunks/{schema-mqzgvnq5.js → snapshot-1y3jj0rs.js} +21 -21
- package/dist/chunks/{schema-1ygqh575.js → snapshot-1ygqh575.js} +2 -2
- package/dist/chunks/{schema-p01rfyrx.js → snapshot-1yrbrdr0.js} +4 -4
- package/dist/chunks/{schema-y0pcwp9m.js → snapshot-1ysy6ptp.js} +46 -46
- package/dist/chunks/{schema-ty91eq5w.js → snapshot-218gy5ye.js} +5 -5
- package/dist/chunks/{schema-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{schema-w1ad28wa.js → snapshot-2336b01z.js} +8 -8
- package/dist/chunks/{schema-6h73sxmp.js → snapshot-2402vzrj.js} +5 -5
- package/dist/chunks/{schema-zz75d48d.js → snapshot-26wn6ybt.js} +304 -304
- package/dist/chunks/{schema-z63w68vq.js → snapshot-29x78va6.js} +6 -6
- package/dist/chunks/{schema-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-x3656kx6.js → snapshot-2fvxk96d.js} +12 -12
- package/dist/chunks/{schema-49cpqk8x.js → snapshot-2gygnsh6.js} +8 -8
- package/dist/chunks/{schema-4xeagmdc.js → snapshot-2nymxq0b.js} +3 -3
- package/dist/chunks/{schema-3nsjfmzq.js → snapshot-2wr5drz2.js} +8 -8
- package/dist/chunks/{schema-nrc1qagd.js → snapshot-32mp9n9c.js} +10 -10
- package/dist/chunks/{schema-h0qctgs0.js → snapshot-3ap7mgrf.js} +11 -11
- package/dist/chunks/{schema-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-zc3k5t70.js → snapshot-3pyz1as7.js} +13 -13
- package/dist/chunks/{schema-58bewgwg.js → snapshot-3qd7w4g0.js} +17 -17
- package/dist/chunks/{schema-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-d4727nqf.js → snapshot-3trdb5vg.js} +14 -14
- package/dist/chunks/{schema-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-hp0ybgxk.js → snapshot-3wbd4v1a.js} +10 -10
- package/dist/chunks/{schema-3ee1q45j.js → snapshot-3xm7255b.js} +7 -7
- package/dist/chunks/{schema-gps939mq.js → snapshot-49tdp8w1.js} +41 -41
- package/dist/chunks/{schema-smjnv1yt.js → snapshot-4da5jyfn.js} +20 -20
- package/dist/chunks/{schema-p7rq11dp.js → snapshot-5bvcz4p2.js} +23 -23
- package/dist/chunks/{schema-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-957yf008.js → snapshot-5ddxzgrt.js} +21 -21
- package/dist/chunks/snapshot-5ms05kda.js +247 -0
- package/dist/chunks/{schema-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/snapshot-619r8v3y.js +18 -0
- package/dist/chunks/{schema-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{schema-8aw2er08.js → snapshot-66dcbfb0.js} +22 -22
- package/dist/chunks/{schema-ztcmmyvq.js → snapshot-69dycrt6.js} +20 -20
- package/dist/chunks/{schema-rz9jtxyn.js → snapshot-69vedpkd.js} +6 -6
- package/dist/chunks/{schema-rd1twtdz.js → snapshot-6ad4ne84.js} +11 -11
- package/dist/chunks/{schema-1fg54p4f.js → snapshot-6kse8r33.js} +2 -2
- package/dist/chunks/{schema-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-vtna6zda.js → snapshot-6rpmvfyt.js} +14 -14
- package/dist/chunks/{schema-1bbkgx8g.js → snapshot-73tb2d7t.js} +3 -3
- package/dist/chunks/{schema-xtb4zs1s.js → snapshot-7b52g2gd.js} +32 -32
- package/dist/chunks/{schema-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-607tc6va.js → snapshot-7dqw4kz8.js} +5 -5
- package/dist/chunks/{schema-ckspfy32.js → snapshot-7h87z3j8.js} +15 -15
- package/dist/chunks/{schema-t6kmr1tg.js → snapshot-7rch35r1.js} +15 -15
- package/dist/chunks/{schema-c7fs63yh.js → snapshot-87dr90gt.js} +6 -6
- package/dist/chunks/{schema-tgzhv03a.js → snapshot-89q4ger5.js} +11 -11
- package/dist/chunks/{schema-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-0dz7dwft.js → snapshot-8e1mf62q.js} +3 -3
- package/dist/chunks/{schema-rcdaxd8f.js → snapshot-8jrg70p8.js} +25 -25
- package/dist/chunks/{schema-vtqhpasw.js → snapshot-8p3ra840.js} +13 -13
- package/dist/chunks/{schema-dj2t23y0.js → snapshot-8p4f9s12.js} +2 -2
- package/dist/chunks/{schema-b3yf6gst.js → snapshot-8vdf1faw.js} +20 -20
- package/dist/chunks/{schema-03ep55h0.js → snapshot-90fr4d2x.js} +17 -17
- package/dist/chunks/{schema-410w8yr6.js → snapshot-93kcsy4k.js} +24 -24
- package/dist/chunks/{schema-3ythc6yv.js → snapshot-9e3vcssh.js} +4 -4
- package/dist/chunks/{schema-scd6nj0g.js → snapshot-9e768ymn.js} +26 -26
- package/dist/chunks/{schema-2df3b3hs.js → snapshot-9mdncq0s.js} +17 -17
- package/dist/chunks/{schema-5c4hm403.js → snapshot-a1bz86dw.js} +3 -3
- package/dist/chunks/{schema-jca4demv.js → snapshot-a3r4dcrj.js} +2 -2
- package/dist/chunks/{schema-ddj5qfgg.js → snapshot-a74266j8.js} +26 -26
- package/dist/chunks/{schema-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-2fgn2we9.js → snapshot-aamtrqep.js} +9 -9
- package/dist/chunks/{schema-wp67138w.js → snapshot-aceeg3cp.js} +27 -27
- package/dist/chunks/{schema-4rt0waxz.js → snapshot-af89ncq8.js} +16 -16
- package/dist/chunks/{schema-5htpha5v.js → snapshot-akp91e4k.js} +17 -17
- package/dist/chunks/{schema-cws54ygj.js → snapshot-ar8rz7nx.js} +10 -10
- package/dist/chunks/{schema-jyvkdnw5.js → snapshot-argg83d8.js} +13 -13
- package/dist/chunks/{schema-9j3p0a6z.js → snapshot-awftjxgk.js} +37 -37
- package/dist/chunks/{schema-mgbtsknw.js → snapshot-awgbw8fq.js} +33 -33
- package/dist/chunks/{schema-typ47xqv.js → snapshot-b128nfhh.js} +10 -10
- package/dist/chunks/{schema-8d4156c8.js → snapshot-b5816jtq.js} +22 -22
- package/dist/chunks/{schema-rpcw9abc.js → snapshot-b5h975ar.js} +16 -16
- package/dist/chunks/{schema-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-m9wy7qrr.js → snapshot-bdqrk2vk.js} +6 -6
- package/dist/chunks/{schema-gjfy02nj.js → snapshot-bh94tj1g.js} +36 -36
- package/dist/chunks/{schema-egb509wj.js → snapshot-bn8ttp5v.js} +9 -9
- package/dist/chunks/{schema-bndc73cn.js → snapshot-bndc73cn.js} +2 -2
- package/dist/chunks/{schema-gnssr4kh.js → snapshot-bppjq47q.js} +11 -11
- package/dist/chunks/{schema-ctkq0avj.js → snapshot-bpwjc9wy.js} +19 -19
- package/dist/chunks/{schema-ycnmbzhj.js → snapshot-bq4csc8x.js} +6 -6
- package/dist/chunks/snapshot-c4g7evww.js +26 -0
- package/dist/chunks/{schema-p1aznbsd.js → snapshot-c877w3g9.js} +30 -30
- package/dist/chunks/{schema-m0jqrx5p.js → snapshot-cfpkc3c9.js} +2 -2
- package/dist/chunks/{schema-2tfmgkzg.js → snapshot-cq37gk0t.js} +4 -4
- package/dist/chunks/{schema-w1k39n5e.js → snapshot-csf2jhsg.js} +4 -4
- package/dist/chunks/{schema-sztsy51r.js → snapshot-ctvc05cr.js} +14 -14
- package/dist/chunks/{schema-0f9afca0.js → snapshot-d2aac7k2.js} +5 -5
- package/dist/chunks/{schema-fd75nkaf.js → snapshot-dcqsap79.js} +11 -11
- package/dist/chunks/{schema-k5wasz4q.js → snapshot-dpz4ks7y.js} +5 -5
- package/dist/chunks/{schema-1wzaq9wx.js → snapshot-drnp37zn.js} +3 -3
- package/dist/chunks/{schema-drwq78ky.js → snapshot-drwq78ky.js} +1 -1
- package/dist/chunks/{schema-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-603btna3.js → snapshot-e80mc8w1.js} +20 -20
- package/dist/chunks/{schema-xr05v48s.js → snapshot-edb149hz.js} +6 -6
- package/dist/chunks/{schema-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-nekzqhap.js → snapshot-eqmsh7pr.js} +9 -9
- package/dist/chunks/{schema-09m97qzh.js → snapshot-er24ykwd.js} +56 -56
- package/dist/chunks/{schema-mmwvyfxk.js → snapshot-erzjndax.js} +32 -32
- package/dist/chunks/{schema-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-kyxd1ff3.js → snapshot-exh8aam3.js} +17 -17
- package/dist/chunks/{schema-k8m1efg7.js → snapshot-eygb68nf.js} +2 -2
- package/dist/chunks/{schema-f2n192rq.js → snapshot-f2n192rq.js} +1 -1
- package/dist/chunks/{schema-vy5pp12k.js → snapshot-f6h37ngn.js} +32 -32
- package/dist/chunks/{schema-hdnk95c8.js → snapshot-f828m53h.js} +2 -2
- package/dist/chunks/{schema-tjecye6p.js → snapshot-fcs2b5j4.js} +19 -19
- package/dist/chunks/{schema-fy8yekx1.js → snapshot-fdzrfqx5.js} +4 -4
- package/dist/chunks/{schema-57b0vs49.js → snapshot-fkwnxpt2.js} +3 -3
- package/dist/chunks/{schema-76mtmnx0.js → snapshot-fn0sks19.js} +6 -6
- package/dist/chunks/{schema-kwnfrnw8.js → snapshot-fq55hpy7.js} +44 -44
- package/dist/chunks/{schema-p6dqprnz.js → snapshot-fve3v9r5.js} +17 -17
- package/dist/chunks/{schema-n61j5yzm.js → snapshot-fwbhsxh7.js} +5 -5
- package/dist/chunks/{schema-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-5yzzbxa7.js → snapshot-g0445xdp.js} +8 -8
- package/dist/chunks/{schema-hknczzph.js → snapshot-g290m0sn.js} +9 -9
- package/dist/chunks/{schema-kgxz2f7g.js → snapshot-g7jvb7c9.js} +12 -12
- package/dist/chunks/{schema-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-r2m716tb.js → snapshot-gjwgx2c5.js} +9 -9
- package/dist/chunks/{schema-awaxm1q8.js → snapshot-gkkbyfpt.js} +32 -32
- package/dist/chunks/{schema-tgtkvqe9.js → snapshot-gp07xrgk.js} +5 -5
- package/dist/chunks/{schema-m5bv8msf.js → snapshot-grmpjd60.js} +17 -17
- package/dist/chunks/{schema-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-3qq5da58.js → snapshot-gyg781zn.js} +89 -89
- package/dist/chunks/{schema-h03wrkyp.js → snapshot-h03wrkyp.js} +2 -2
- package/dist/chunks/{schema-6008d0qp.js → snapshot-h2ez88j0.js} +187 -187
- package/dist/chunks/{schema-cpj0znwe.js → snapshot-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-jd2srmve.js → snapshot-h8hzwc5x.js} +3 -3
- package/dist/chunks/{schema-pt08jtz7.js → snapshot-hb0he38b.js} +8 -8
- package/dist/chunks/{schema-6rf1xn29.js → snapshot-hfn0tva4.js} +12 -12
- package/dist/chunks/{schema-8gxqpgph.js → snapshot-hn57h045.js} +4 -4
- package/dist/chunks/{schema-zqw47kg9.js → snapshot-hn75ne8v.js} +15 -15
- package/dist/chunks/{schema-0r7yqxbf.js → snapshot-hnr5yq9h.js} +5 -5
- package/dist/chunks/{schema-knvfs6pc.js → snapshot-hpwzmg5q.js} +11 -11
- package/dist/chunks/{schema-69mekdnv.js → snapshot-hqymy954.js} +25 -25
- package/dist/chunks/{schema-r2e4tzq6.js → snapshot-hsj3aajr.js} +46 -46
- package/dist/chunks/{schema-z5wxwd7n.js → snapshot-hsp1havs.js} +15 -15
- package/dist/chunks/{schema-fg588aq2.js → snapshot-hst1fhzz.js} +14 -14
- package/dist/chunks/{schema-mp38ktsp.js → snapshot-hvq2e6yw.js} +24 -24
- package/dist/chunks/{schema-pzkc7njq.js → snapshot-hvxr6sb7.js} +17 -17
- package/dist/chunks/{schema-94fp10gk.js → snapshot-j0wffheb.js} +4 -4
- package/dist/chunks/{schema-tg92h923.js → snapshot-j1198zr5.js} +11 -11
- package/dist/chunks/{schema-hrbhtc9f.js → snapshot-j1cg1qz3.js} +30 -30
- package/dist/chunks/{schema-5377s7rv.js → snapshot-j4yjh87y.js} +34 -34
- package/dist/chunks/{schema-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-x4bypsmn.js → snapshot-jbj8jg2f.js} +11 -11
- package/dist/chunks/{schema-q3t37ft6.js → snapshot-jexxy024.js} +3 -3
- package/dist/chunks/{schema-kj973gv5.js → snapshot-jkw5p48s.js} +4 -4
- package/dist/chunks/{schema-kg6516s3.js → snapshot-jmq43bvs.js} +7 -7
- package/dist/chunks/{schema-tac2mqbh.js → snapshot-jzcabyfg.js} +4 -4
- package/dist/chunks/{schema-2j9z72bx.js → snapshot-jzsegfhb.js} +4 -4
- package/dist/chunks/{schema-9esbgk1q.js → snapshot-k5721584.js} +4 -4
- package/dist/chunks/{schema-yqb6sz7a.js → snapshot-kbvc63j3.js} +9 -9
- package/dist/chunks/{schema-8nmhcqgw.js → snapshot-kebtznj1.js} +13 -13
- package/dist/chunks/{schema-mrs0jc6e.js → snapshot-kkzntj36.js} +22 -22
- package/dist/chunks/{schema-ngqd1g3c.js → snapshot-kmbfnqse.js} +4 -4
- package/dist/chunks/{schema-fkjmw100.js → snapshot-knb7evpn.js} +6 -6
- package/dist/chunks/{schema-5b21016n.js → snapshot-m0kv6xab.js} +8 -8
- package/dist/chunks/{schema-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-58np9qmz.js → snapshot-mft8z28a.js} +10 -10
- package/dist/chunks/{schema-t904akrn.js → snapshot-mqs2tvqp.js} +11 -11
- package/dist/chunks/{schema-nxf878eb.js → snapshot-mqxhjc40.js} +38 -38
- package/dist/chunks/{schema-kbch1f4b.js → snapshot-mrfv1e3e.js} +46 -46
- package/dist/chunks/{schema-jeck9fhr.js → snapshot-mwyy18e8.js} +15 -15
- package/dist/chunks/{schema-yyrnn2g5.js → snapshot-mxv3m5ng.js} +32 -32
- package/dist/chunks/{schema-f1t1f2q3.js → snapshot-n36b8xge.js} +25 -25
- package/dist/chunks/{schema-0fn2v7vk.js → snapshot-ne3jdqry.js} +6 -6
- package/dist/chunks/{schema-m31hrvtp.js → snapshot-njct8jvz.js} +7 -7
- package/dist/chunks/{schema-2072y70k.js → snapshot-nnq58889.js} +28 -28
- package/dist/chunks/{schema-4r0rs1wm.js → snapshot-ntxwhzte.js} +26 -26
- package/dist/chunks/{schema-bsywhvdw.js → snapshot-nwbtwnx3.js} +15 -15
- package/dist/chunks/{schema-qdw6nraz.js → snapshot-nwha1t5p.js} +23 -23
- package/dist/chunks/{schema-axb19299.js → snapshot-pcgbtdxm.js} +64 -64
- package/dist/chunks/{schema-rj5n40r1.js → snapshot-pddmdwmf.js} +30 -30
- package/dist/chunks/{schema-00a8st2d.js → snapshot-phbzgask.js} +20 -20
- package/dist/chunks/{schema-h7e5g0tn.js → snapshot-phjaars8.js} +6 -6
- package/dist/chunks/{schema-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{schema-c3x1jprk.js → snapshot-pp9p7z27.js} +5 -5
- package/dist/chunks/{schema-7a89sew0.js → snapshot-pt64hy19.js} +23 -23
- package/dist/chunks/{schema-x31saxwp.js → snapshot-q1c6gfm2.js} +22 -22
- package/dist/chunks/{schema-820fwhp7.js → snapshot-q3gzdryb.js} +7 -7
- package/dist/chunks/{schema-hcnq7x11.js → snapshot-qhsabzhs.js} +9 -9
- package/dist/chunks/{schema-mecezrcf.js → snapshot-qqcmrm0p.js} +23 -23
- package/dist/chunks/{schema-ckfwh0ft.js → snapshot-qs001aqx.js} +11 -11
- package/dist/chunks/{schema-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-35agz59w.js → snapshot-qz49fwgp.js} +6 -6
- package/dist/chunks/{schema-a578tmxk.js → snapshot-r86vms50.js} +22 -22
- package/dist/chunks/{schema-0v53mg2y.js → snapshot-r98e92ep.js} +4 -4
- package/dist/chunks/{schema-r9mregkx.js → snapshot-r9mregkx.js} +2 -2
- package/dist/chunks/{schema-kqvqnzwb.js → snapshot-rd783k6y.js} +18 -18
- package/dist/chunks/{schema-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-ce5fknq2.js → snapshot-rf80fxgj.js} +5 -5
- package/dist/chunks/{schema-nq7qbqzc.js → snapshot-rhafb4aa.js} +9 -9
- package/dist/chunks/{schema-eaj1djv9.js → snapshot-rhjbct0v.js} +8 -8
- package/dist/chunks/{schema-hyjskg14.js → snapshot-rj4axa9p.js} +9 -9
- package/dist/chunks/{schema-vvvs0jwh.js → snapshot-rr2wt9g3.js} +4 -4
- package/dist/chunks/{schema-evg6vw2r.js → snapshot-rz3xxe6k.js} +57 -57
- package/dist/chunks/{schema-50qbb3mm.js → snapshot-s13g4vm4.js} +11 -11
- package/dist/chunks/{schema-4x3es53w.js → snapshot-s4emxj9z.js} +26 -26
- package/dist/chunks/{schema-yrznvahk.js → snapshot-s4enseaf.js} +2 -2
- package/dist/chunks/{schema-79qmf15m.js → snapshot-sa73gjsr.js} +46 -46
- package/dist/chunks/{schema-htmcw1qg.js → snapshot-sd061d7v.js} +13 -13
- package/dist/chunks/{schema-e7hkndy5.js → snapshot-sh4v7n8h.js} +22 -22
- package/dist/chunks/{schema-bdcpzjfh.js → snapshot-st1gh55s.js} +1 -1
- package/dist/chunks/{schema-wzw28g6j.js → snapshot-sv3gqcn4.js} +23 -23
- package/dist/chunks/{schema-6sydn1mq.js → snapshot-t594wqmv.js} +3 -3
- package/dist/chunks/{schema-3yr6111a.js → snapshot-t5emj2h2.js} +31 -31
- package/dist/chunks/{schema-ekdmd5z4.js → snapshot-ta2099j2.js} +47 -47
- package/dist/chunks/{schema-vm903892.js → snapshot-tar7az88.js} +1 -1
- package/dist/chunks/{schema-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → snapshot-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{schema-tn0aqsam.js → snapshot-tn0aqsam.js} +2 -2
- package/dist/chunks/{schema-4jc5c4h4.js → snapshot-ts2x07a1.js} +1 -1
- package/dist/chunks/{schema-9qdsg55z.js → snapshot-tsm2qp81.js} +20 -20
- package/dist/chunks/{schema-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-cd4vjczq.js → snapshot-tzv9gha2.js} +10 -10
- package/dist/chunks/{schema-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-99pz0y8y.js → snapshot-vkgpxk0m.js} +32 -32
- package/dist/chunks/{schema-zw2p42d9.js → snapshot-vq4eqjm7.js} +5 -5
- package/dist/chunks/{schema-h896pcm5.js → snapshot-vqfzq50h.js} +6 -6
- package/dist/chunks/{schema-y7s0zapj.js → snapshot-vrvxb7z7.js} +17 -17
- package/dist/chunks/{schema-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-06z447d2.js → snapshot-w2fs4da3.js} +11 -11
- package/dist/chunks/{schema-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-r8vbt15x.js → snapshot-w435n5nj.js} +26 -26
- package/dist/chunks/{schema-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{schema-030jpyv0.js → snapshot-wdn2d5ek.js} +7 -7
- package/dist/chunks/{schema-rp39zwfx.js → snapshot-wfdf6d3v.js} +9 -9
- package/dist/chunks/{schema-gmjjhz4f.js → snapshot-wrhfnc47.js} +9 -9
- package/dist/chunks/{schema-xr485xf2.js → snapshot-wsepfvn3.js} +5 -5
- package/dist/chunks/{schema-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-5sbtfkvy.js → snapshot-x8mrydwy.js} +11 -11
- package/dist/chunks/{schema-r2fyx2gr.js → snapshot-xac6wcsk.js} +32 -32
- package/dist/chunks/{schema-g190xswt.js → snapshot-xdk9p2qn.js} +21 -21
- package/dist/chunks/{schema-17xzmh3e.js → snapshot-xe6a6y7j.js} +40 -40
- package/dist/chunks/{schema-4sa93e2e.js → snapshot-y1ah066v.js} +38 -38
- package/dist/chunks/{schema-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-9c3np669.js → snapshot-y1qqcj8h.js} +8 -8
- package/dist/chunks/{schema-3cemjer9.js → snapshot-y22m1gtg.js} +11 -11
- package/dist/chunks/{schema-y71avatq.js → snapshot-y71avatq.js} +1 -1
- package/dist/chunks/{schema-z0rhrb3j.js → snapshot-y742baad.js} +37 -37
- package/dist/chunks/{schema-r8r0p3p5.js → snapshot-y9y2zt4e.js} +25 -25
- package/dist/chunks/{schema-47vm6cas.js → snapshot-yehf1tbz.js} +9 -9
- package/dist/chunks/{schema-rv9hmyrv.js → snapshot-yntgc0th.js} +25 -25
- package/dist/chunks/{schema-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-38s28pd0.js → snapshot-yzmrefmx.js} +36 -36
- package/dist/chunks/{schema-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-eye44qas.js → snapshot-z3nay82g.js} +9 -9
- package/dist/chunks/{schema-y1f6k396.js → snapshot-z73n086k.js} +20 -20
- package/dist/chunks/{schema-bjgq97ey.js → snapshot-z896z5cb.js} +12 -12
- package/dist/chunks/{schema-5rzrtx0h.js → snapshot-z8kb0hdh.js} +24 -24
- package/dist/chunks/{schema-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-4dv0c8br.js → snapshot-zt79f2av.js} +9 -9
- package/dist/chunks/{schema-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +121 -121
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- 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 +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- 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 +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- 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 +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- 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 +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- 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/prompt-cache-key.js +89 -89
- 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 +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- 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 +344 -344
- package/dist/plugin/update.js +6 -6
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- 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 +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +129 -129
- 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 +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- 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 +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +2 -2
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- 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 +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/schema-dmc6ybme.js +0 -26
- package/dist/chunks/schema-hgd4btym.js +0 -18
- package/dist/chunks/schema-hxa7m5za.js +0 -4
- package/dist/chunks/schema-srr10nqc.js +0 -247
- /package/dist/chunks/{schema-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-fdzrfqx5.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./snapshot-c877w3g9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID16,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-t5emj2h2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-xac6wcsk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-yntgc0th.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID16.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID16.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID13.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID13.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./snapshot-mrfv1e3e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./snapshot-f6h37ngn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin44 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service65;
|
|
27
|
+
const snapshot = yield* Service61;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin31 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin44, exports_snapshot };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-fdzrfqx5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event10,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options5,
|
|
30
|
+
Service: () => Service49,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer20,
|
|
33
|
+
node: () => node52
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event10 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options5 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service49 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service81;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service49.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service49,
|
|
110
|
+
layer: layer20(options),
|
|
111
111
|
deps: [node85]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node52 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event10, Options5, Service49, layer20, configured6, node52, exports_instruction_discovery };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./snapshot-mxv3m5ng.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./snapshot-mrfv1e3e.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-69vedpkd.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -26,7 +26,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service65;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./snapshot-vqfzq50h.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./snapshot-hsj3aajr.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service41;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service62), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-jexxy024.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError7,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./snapshot-xac6wcsk.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-xac6wcsk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info26
|
|
11
|
+
} from "./snapshot-mxv3m5ng.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info26.make({
|
|
122
|
+
...Info26.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-fdzrfqx5.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service78,
|
|
12
|
+
node82,
|
|
13
|
+
Event19
|
|
14
|
+
} from "./snapshot-t5emj2h2.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79
|
|
21
|
+
} from "./snapshot-fve3v9r5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -36,13 +36,13 @@ import { Effect as Effect2, Option, Schema as Schema2, Struct as Struct2 } from
|
|
|
36
36
|
var exports_provider3 = {};
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
|
-
Event: () =>
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
39
|
+
Event: () => Event17,
|
|
40
|
+
ID: () => ID13,
|
|
41
|
+
Info: () => Info27,
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
|
-
Request: () =>
|
|
45
|
-
Service: () =>
|
|
44
|
+
Request: () => Request3,
|
|
45
|
+
Service: () => Service74,
|
|
46
46
|
Settings: () => Settings2,
|
|
47
47
|
aisdk: () => aisdk2,
|
|
48
48
|
isAISDK: () => isAISDK2,
|
|
@@ -50,7 +50,7 @@ __export(exports_provider3, {
|
|
|
50
50
|
mergeHeaders: () => mergeHeaders2,
|
|
51
51
|
mergeOverlay: () => mergeOverlay2,
|
|
52
52
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node78,
|
|
54
54
|
packageName: () => packageName2
|
|
55
55
|
});
|
|
56
56
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -61,8 +61,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
61
61
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
62
62
|
import { Credential } from "@opencode/schema/credential";
|
|
63
63
|
import { freeze } from "immer";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
65
|
+
var ID13 = Provider.ID;
|
|
66
66
|
var AISDK_PREFIX2 = "aisdk:";
|
|
67
67
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
68
68
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -199,11 +199,11 @@ function mergeHeaders2(base, overlay) {
|
|
|
199
199
|
return result;
|
|
200
200
|
}, new Map).values());
|
|
201
201
|
}
|
|
202
|
-
var
|
|
202
|
+
var Request3 = Provider.Request;
|
|
203
203
|
var Settings2 = Provider.Settings;
|
|
204
|
-
var
|
|
204
|
+
var Info27 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
207
207
|
}
|
|
208
208
|
var definitions = new WeakMap;
|
|
209
209
|
function index(models) {
|
|
@@ -214,10 +214,10 @@ function index(models) {
|
|
|
214
214
|
definitions.set(models, result);
|
|
215
215
|
return result;
|
|
216
216
|
}
|
|
217
|
-
var layer = Layer.effect(
|
|
217
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
218
218
|
const bus = yield* Service81;
|
|
219
|
-
const integrations = yield*
|
|
220
|
-
const location = yield*
|
|
219
|
+
const integrations = yield* Service78;
|
|
220
|
+
const location = yield* Service75;
|
|
221
221
|
const state = create3({
|
|
222
222
|
name: "provider",
|
|
223
223
|
initial: () => new Map,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
228
228
|
const current = records.get(id);
|
|
229
229
|
if (current)
|
|
230
230
|
return current;
|
|
231
|
-
const added = { provider:
|
|
231
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
232
232
|
records.set(id, added);
|
|
233
233
|
maps.add(added.models);
|
|
234
234
|
return added;
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
312
312
|
const available = Array.from(records.values()).filter((record) => {
|
|
313
313
|
if (record.provider.activation === "disabled")
|
|
314
314
|
return false;
|
|
315
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
315
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
316
316
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
317
317
|
return false;
|
|
318
318
|
if (record.provider.activation === "enabled")
|
|
@@ -336,8 +336,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
336
336
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
337
337
|
});
|
|
338
338
|
});
|
|
339
|
-
yield* bus.subscribe([
|
|
340
|
-
return
|
|
339
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
340
|
+
return Service74.of({
|
|
341
341
|
transform: state.transform,
|
|
342
342
|
reload: state.reload,
|
|
343
343
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -346,7 +346,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
346
346
|
snapshot
|
|
347
347
|
});
|
|
348
348
|
}));
|
|
349
|
-
var
|
|
349
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node85, node82, node79] });
|
|
350
350
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
351
351
|
const module = yield* Effect.tryPromise({
|
|
352
352
|
try: () => {
|
|
@@ -606,4 +606,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
606
606
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
607
607
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
608
608
|
|
|
609
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
609
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service74, node78, exports_provider3, Event17 };
|