@opencode/core 0.0.0-dev-20716 → 0.0.0-dev-20717
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 +80 -80
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +74 -74
- package/dist/chunks/{plugin-jh47mxj5.js → bus-03sww6te.js} +11 -11
- package/dist/chunks/{plugin-r514a842.js → bus-03wzhvf1.js} +9 -9
- package/dist/chunks/{plugin-zvt5dnpc.js → bus-06x8he3q.js} +4 -4
- package/dist/chunks/{plugin-2e04gbjj.js → bus-0ffzpc2q.js} +4 -4
- package/dist/chunks/{plugin-0j77ygfz.js → bus-0j77ygfz.js} +2 -2
- package/dist/chunks/{plugin-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-6ms2k3cp.js → bus-0v822vvc.js} +3 -3
- package/dist/chunks/{plugin-rc1ztwwt.js → bus-0v9naeh7.js} +43 -43
- package/dist/chunks/{plugin-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-j7k49zb7.js → bus-0wqkrk39.js} +16 -16
- package/dist/chunks/{plugin-vx3jgdek.js → bus-143qq2q9.js} +3 -3
- package/dist/chunks/{plugin-6qgafbs3.js → bus-16h5vx33.js} +11 -11
- package/dist/chunks/{plugin-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-1dvck2a7.js → bus-1dvck2a7.js} +2 -2
- package/dist/chunks/{plugin-9vbdnjbz.js → bus-1fcqmh0f.js} +4 -4
- package/dist/chunks/{plugin-s6hk9e70.js → bus-1hzxxycf.js} +5 -5
- package/dist/chunks/{plugin-33q5xsn5.js → bus-1s608d8d.js} +8 -8
- package/dist/chunks/{plugin-dgpvcc9c.js → bus-1v3x8h5m.js} +13 -13
- package/dist/chunks/{plugin-1zc36k3v.js → bus-21qwd7zh.js} +7 -7
- package/dist/chunks/{plugin-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-pyaqxafm.js → bus-2ac6q9fr.js} +26 -26
- package/dist/chunks/{plugin-7fzbnxm1.js → bus-2agezns5.js} +8 -8
- package/dist/chunks/{plugin-2ccvkpx1.js → bus-2ccvkpx1.js} +2 -2
- package/dist/chunks/{plugin-j7qcjkyd.js → bus-2f3b10ch.js} +53 -53
- package/dist/chunks/{plugin-v7w5nhha.js → bus-2k8vvcse.js} +31 -31
- package/dist/chunks/{plugin-zfs8ae4p.js → bus-2m8jawch.js} +4 -4
- package/dist/chunks/{plugin-4jjqa0cz.js → bus-2t3mzhjr.js} +18 -18
- package/dist/chunks/{plugin-3ha02kdk.js → bus-2w9zm6x6.js} +7 -7
- package/dist/chunks/{plugin-khm4b8bb.js → bus-2wwb7yfm.js} +5 -5
- package/dist/chunks/{plugin-kv7d7xma.js → bus-2x6wmvtw.js} +11 -11
- package/dist/chunks/{plugin-g9fj5wqd.js → bus-37rfkxtg.js} +27 -27
- package/dist/chunks/{plugin-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-9er205jf.js → bus-3n9wzqh8.js} +5 -5
- package/dist/chunks/{plugin-pxhak851.js → bus-3pm9060n.js} +6 -6
- package/dist/chunks/{plugin-91p1v22t.js → bus-3rtxz4nr.js} +8 -8
- package/dist/chunks/{plugin-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-gbmp0j2a.js → bus-3trzjgwr.js} +37 -37
- package/dist/chunks/{plugin-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-bb07mdh7.js → bus-40kgmzpw.js} +15 -15
- package/dist/chunks/{plugin-zr1vdv8d.js → bus-41cwz3p6.js} +21 -21
- package/dist/chunks/{plugin-1s2ke74t.js → bus-448v1y6b.js} +13 -13
- package/dist/chunks/{plugin-47jkzegy.js → bus-47jkzegy.js} +2 -2
- package/dist/chunks/{plugin-drkn8tgb.js → bus-4adjf9qe.js} +11 -11
- package/dist/chunks/{plugin-6mr91m03.js → bus-4c536per.js} +23 -23
- package/dist/chunks/{plugin-eay56ta9.js → bus-4ew5rnj4.js} +13 -13
- package/dist/chunks/{plugin-6347z6ya.js → bus-4g8499m9.js} +35 -35
- package/dist/chunks/{plugin-drjeadwa.js → bus-4ngxe3th.js} +17 -17
- package/dist/chunks/{plugin-f9ed3mbq.js → bus-4ykyqmv9.js} +24 -24
- package/dist/chunks/{plugin-4z58m4b4.js → bus-4z58m4b4.js} +1 -1
- package/dist/chunks/{plugin-p7cteepy.js → bus-4z8sycdz.js} +24 -24
- package/dist/chunks/{plugin-8tb08yqb.js → bus-50mfpd21.js} +25 -25
- package/dist/chunks/{plugin-hhrcfy2a.js → bus-50ws1j4q.js} +182 -182
- package/dist/chunks/{plugin-mqynkxap.js → bus-5187rmdv.js} +4 -4
- package/dist/chunks/{plugin-d4he2qe1.js → bus-5d607bsg.js} +9 -9
- package/dist/chunks/{plugin-dxkam57h.js → bus-5dn96qcv.js} +5 -5
- package/dist/chunks/{plugin-0040kgya.js → bus-5k6y69wn.js} +15 -15
- package/dist/chunks/{plugin-s53nhgqv.js → bus-5ktns266.js} +16 -16
- package/dist/chunks/{plugin-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-hn9gbd1m.js → bus-5mc86df6.js} +4 -4
- package/dist/chunks/{plugin-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-731gbtyw.js → bus-5w5p7qgm.js} +45 -45
- package/dist/chunks/{plugin-fhcrm83x.js → bus-5ywnpb1q.js} +41 -41
- package/dist/chunks/{plugin-s2g5tphy.js → bus-5z7krgsm.js} +17 -17
- package/dist/chunks/{plugin-jp2ksrwx.js → bus-6694p3b8.js} +18 -18
- package/dist/chunks/{plugin-b02dhnsm.js → bus-6rxtg7gn.js} +17 -17
- package/dist/chunks/{plugin-6xb47vfp.js → bus-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-71az546q.js → bus-71az546q.js} +2 -2
- package/dist/chunks/{plugin-y03v4dfr.js → bus-78zj2w3x.js} +31 -31
- package/dist/chunks/{plugin-r0xq1941.js → bus-7bka8wt5.js} +3 -3
- package/dist/chunks/{plugin-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-6h1ernme.js → bus-7c08hygz.js} +8 -8
- package/dist/chunks/{plugin-fcrkznn8.js → bus-7dqw4kz8.js} +5 -5
- package/dist/chunks/{plugin-z33gpsam.js → bus-8428mbzp.js} +13 -13
- package/dist/chunks/{plugin-84txncab.js → bus-84txncab.js} +1 -1
- package/dist/chunks/{plugin-hq5tbv6m.js → bus-85f8ybn1.js} +40 -40
- package/dist/chunks/{plugin-207ajt2h.js → bus-89vjf07m.js} +5 -5
- package/dist/chunks/{plugin-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-8m6m0r52.js → bus-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-gajgbq35.js → bus-8w469hvp.js} +15 -15
- package/dist/chunks/{plugin-0egz4g8j.js → bus-8wr5kw0m.js} +22 -22
- package/dist/chunks/{plugin-syh7g5hv.js → bus-8xp7mz7t.js} +26 -26
- package/dist/chunks/{plugin-7mpnrwh9.js → bus-8zxmwjep.js} +5 -5
- package/dist/chunks/{plugin-4w5f3qm5.js → bus-92swnv4m.js} +8 -8
- package/dist/chunks/{plugin-hw6d5gbj.js → bus-9an6z3zg.js} +8 -8
- package/dist/chunks/{plugin-9e5bzkjp.js → bus-9e5bzkjp.js} +3 -3
- package/dist/chunks/{plugin-5pyjqqve.js → bus-9pa8tak9.js} +2 -2
- package/dist/chunks/{plugin-qvz03jj1.js → bus-9s0ng0ae.js} +4 -4
- package/dist/chunks/{plugin-sp0rvjz9.js → bus-9t8z9rdd.js} +49 -49
- package/dist/chunks/{plugin-5gjnpq0p.js → bus-9zpzztxj.js} +323 -323
- package/dist/chunks/{plugin-vbdk3j7h.js → bus-a1g1snd0.js} +4 -4
- package/dist/chunks/{plugin-b27vhd2z.js → bus-a2ew8a62.js} +4 -4
- package/dist/chunks/{plugin-cm2n3612.js → bus-a74vk8t0.js} +11 -11
- package/dist/chunks/{plugin-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-50kcz2ma.js → bus-afh8ba5a.js} +36 -36
- package/dist/chunks/{plugin-5a5md02d.js → bus-apdsa737.js} +38 -38
- package/dist/chunks/{plugin-q95kk0as.js → bus-b1g5rpv7.js} +10 -10
- package/dist/chunks/{plugin-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-62zxkdxb.js → bus-bmssw0wc.js} +8 -8
- package/dist/chunks/{plugin-j7zryc91.js → bus-bqszwq89.js} +6 -6
- package/dist/chunks/{plugin-2pnhn36q.js → bus-c20khjev.js} +4 -4
- package/dist/chunks/{plugin-fbsjs46p.js → bus-c57kr184.js} +29 -29
- package/dist/chunks/{plugin-3d2465tj.js → bus-ch8h0cmv.js} +8 -8
- package/dist/chunks/{plugin-5gx2vrqy.js → bus-chc0kx6d.js} +5 -5
- package/dist/chunks/{plugin-g1qz6sq4.js → bus-chkwe70y.js} +11 -11
- package/dist/chunks/{plugin-4xw7q3e5.js → bus-crqm33dp.js} +45 -45
- package/dist/chunks/{plugin-t9hddrtd.js → bus-cvh4a6ak.js} +17 -17
- package/dist/chunks/{plugin-7mqz96f4.js → bus-cwrzxn64.js} +22 -22
- package/dist/chunks/{plugin-jhqtn4pg.js → bus-d62vewej.js} +14 -14
- package/dist/chunks/{plugin-t9pkw8p9.js → bus-dc7n4fmx.js} +20 -20
- package/dist/chunks/{plugin-f8c48b1w.js → bus-dckjds39.js} +45 -45
- package/dist/chunks/{plugin-gs574n2b.js → bus-dg9e8shs.js} +57 -57
- package/dist/chunks/{plugin-tmdpeazq.js → bus-djfg9dqa.js} +23 -23
- package/dist/chunks/{plugin-rgmrnzyv.js → bus-dwmvx258.js} +11 -11
- package/dist/chunks/bus-dxctn4km.js +26 -0
- package/dist/chunks/{plugin-0pje3wpz.js → bus-e0kgmy75.js} +23 -23
- package/dist/chunks/{plugin-tfrx45ns.js → bus-e1h55cs2.js} +11 -11
- package/dist/chunks/{plugin-czpcksrb.js → bus-e375atp3.js} +11 -11
- package/dist/chunks/{plugin-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/bus-efjadhkr.js +253 -0
- package/dist/chunks/{plugin-9ajf8e0t.js → bus-ejvnp2ks.js} +11 -11
- package/dist/chunks/{plugin-fqyvw1ch.js → bus-ejxtpekp.js} +29 -29
- package/dist/chunks/{plugin-gh5z95q3.js → bus-en9mxp96.js} +9 -9
- package/dist/chunks/{plugin-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-nw3qp17x.js → bus-f1k90085.js} +30 -30
- package/dist/chunks/{plugin-5gawfmt6.js → bus-f6gfhbzj.js} +21 -21
- package/dist/chunks/{plugin-y1b74c65.js → bus-fj9gb212.js} +10 -10
- package/dist/chunks/{plugin-zshn8c59.js → bus-ftfsszrc.js} +40 -40
- package/dist/chunks/{plugin-12zwqvq4.js → bus-fw687wex.js} +16 -16
- package/dist/chunks/{plugin-p9bdjwbt.js → bus-fzk3mefm.js} +12 -12
- package/dist/chunks/{plugin-s9r2n8zd.js → bus-g17byzt8.js} +3 -3
- package/dist/chunks/{plugin-chrxq3ex.js → bus-g21r4nge.js} +9 -9
- package/dist/chunks/{plugin-y36z6atj.js → bus-g59t3z9x.js} +12 -12
- package/dist/chunks/{plugin-xq23y69h.js → bus-g5nhetnh.js} +5 -5
- package/dist/chunks/{plugin-cwwrcagb.js → bus-gch621w7.js} +5 -5
- package/dist/chunks/{plugin-gd0tnyjc.js → bus-gd0tnyjc.js} +1 -1
- package/dist/chunks/{plugin-q16rmxfd.js → bus-gd1azcth.js} +4 -4
- package/dist/chunks/{plugin-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-tc7jvtnb.js → bus-gn2reamh.js} +13 -13
- package/dist/chunks/{plugin-xhq15gqt.js → bus-grf59032.js} +5 -5
- package/dist/chunks/{plugin-1a75fjgy.js → bus-grnn7sex.js} +31 -31
- package/dist/chunks/{plugin-refa6f6d.js → bus-gsqzrz8w.js} +24 -24
- package/dist/chunks/{plugin-h2b79v29.js → bus-h2b79v29.js} +2 -2
- package/dist/chunks/{plugin-k2pce4vm.js → bus-h4gayt2r.js} +38 -38
- package/dist/chunks/{plugin-0nghm7mk.js → bus-h54ekfxy.js} +1 -1
- package/dist/chunks/{plugin-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-7e170h78.js → bus-h79qd4dv.js} +12 -12
- package/dist/chunks/{plugin-1xkvfpwz.js → bus-hewsjq8z.js} +27 -27
- package/dist/chunks/{plugin-aeexs5yx.js → bus-hf9ehm1e.js} +24 -24
- package/dist/chunks/{plugin-ks3yrbs5.js → bus-hqcv0nt6.js} +72 -72
- package/dist/chunks/{plugin-nyhm2pe6.js → bus-j045qakk.js} +9 -9
- package/dist/chunks/{plugin-q8px5grq.js → bus-j0crpdb9.js} +23 -23
- package/dist/chunks/{plugin-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-1k22ry1w.js → bus-j7bdx0mg.js} +19 -19
- package/dist/chunks/{plugin-ad3f97w8.js → bus-jkt162fx.js} +32 -32
- package/dist/chunks/{plugin-x7jrqq4e.js → bus-jmqgqzta.js} +7 -7
- package/dist/chunks/{plugin-m6hcz0m6.js → bus-jnffje0a.js} +9 -9
- package/dist/chunks/{plugin-b9w2rp40.js → bus-jvbg9edc.js} +20 -20
- package/dist/chunks/{plugin-v6w3d60y.js → bus-k4p30yx3.js} +22 -22
- package/dist/chunks/{plugin-zkcpggaq.js → bus-k5p0xmg8.js} +29 -29
- package/dist/chunks/{plugin-f62qkzqr.js → bus-k8hpw67k.js} +5 -5
- package/dist/chunks/{plugin-g8wkkt5t.js → bus-k9ew0x4h.js} +25 -25
- package/dist/chunks/{plugin-zgpkwneq.js → bus-kctg07cb.js} +18 -18
- package/dist/chunks/{plugin-t32j9pk6.js → bus-knxpcbk1.js} +13 -13
- package/dist/chunks/{plugin-n2zqvap7.js → bus-kzqbv2ef.js} +33 -33
- package/dist/chunks/{plugin-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-z050hvk1.js → bus-m9retq26.js} +5 -5
- package/dist/chunks/{plugin-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-360kw5yh.js → bus-mewra3jg.js} +21 -21
- package/dist/chunks/{plugin-1ygqh575.js → bus-mfqp6xfm.js} +6 -6
- package/dist/chunks/{plugin-9zsmh4sr.js → bus-mg4hhe4f.js} +22 -22
- package/dist/chunks/{plugin-73tb2d7t.js → bus-mhkvc446.js} +3 -3
- package/dist/chunks/{plugin-1gy6cnch.js → bus-msz6jcxw.js} +22 -22
- package/dist/chunks/{plugin-3y377wv9.js → bus-mxvxcxwy.js} +4 -4
- package/dist/chunks/{plugin-psvgxdkg.js → bus-n3q78mhp.js} +6 -6
- package/dist/chunks/{plugin-81exr9xt.js → bus-n8849sdr.js} +17 -17
- package/dist/chunks/{plugin-dxxcy6b7.js → bus-n90gr1mm.js} +10 -10
- package/dist/chunks/{plugin-d9019ttd.js → bus-nct9s1hw.js} +14 -14
- package/dist/chunks/{plugin-cfcy483q.js → bus-ndsx31w4.js} +34 -34
- package/dist/chunks/{plugin-9hn6k4tm.js → bus-p37cw4rj.js} +8 -8
- package/dist/chunks/{plugin-cjnb9fx3.js → bus-pb4zsb95.js} +1 -1
- package/dist/chunks/{plugin-bb1q0dxh.js → bus-pbyaj4br.js} +17 -17
- package/dist/chunks/{plugin-3ee781nc.js → bus-pdpp1bnv.js} +16 -16
- package/dist/chunks/{plugin-9deqs6b2.js → bus-phveq2xn.js} +9 -9
- package/dist/chunks/{plugin-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-2xmw97mn.js → bus-ptfmnse7.js} +11 -11
- package/dist/chunks/{plugin-cfsekr6v.js → bus-py3kkmfq.js} +2 -2
- package/dist/chunks/{plugin-wrs1pmrk.js → bus-q63c569t.js} +22 -22
- package/dist/chunks/{plugin-2336b01z.js → bus-q6d53jre.js} +8 -8
- package/dist/chunks/{plugin-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-4434d9q2.js → bus-qr6f2pwv.js} +9 -9
- package/dist/chunks/{plugin-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-qxjc9qry.js → bus-qxjc9qry.js} +3 -3
- package/dist/chunks/{plugin-scgrse2b.js → bus-qygbw77c.js} +5 -5
- package/dist/chunks/{plugin-vvc0eer9.js → bus-r8afh34n.js} +45 -45
- package/dist/chunks/{plugin-54ma36ye.js → bus-r94pvvab.js} +4 -4
- package/dist/chunks/bus-rap9a73h.js +18 -0
- package/dist/chunks/{plugin-v39axx5b.js → bus-rcqmksdz.js} +10 -10
- package/dist/chunks/{plugin-m9zqhkv0.js → bus-rdber3y1.js} +33 -33
- package/dist/chunks/{plugin-538eje9f.js → bus-rdk08ed1.js} +18 -18
- package/dist/chunks/{plugin-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-cjt22dq1.js → bus-rket6atq.js} +16 -16
- package/dist/chunks/{plugin-0te0cf72.js → bus-s6mj4d9f.js} +33 -33
- package/dist/chunks/{plugin-dv57ms7t.js → bus-sgn9eezn.js} +9 -9
- package/dist/chunks/{plugin-7t56kane.js → bus-sgp384a4.js} +20 -20
- package/dist/chunks/{plugin-5qdzryxg.js → bus-snkf0wzq.js} +33 -33
- package/dist/chunks/{plugin-4mw11sjj.js → bus-sstbnqm0.js} +92 -92
- package/dist/chunks/{plugin-2a6rn6yr.js → bus-sxzvkvgj.js} +6 -6
- package/dist/chunks/{plugin-83z83vf4.js → bus-sya89326.js} +43 -43
- package/dist/chunks/{plugin-gabayzqy.js → bus-sywdhydk.js} +11 -11
- package/dist/chunks/{plugin-prfy19s1.js → bus-t0teqtp6.js} +6 -6
- package/dist/chunks/{plugin-a6dacsnj.js → bus-t14r6jk1.js} +3 -3
- package/dist/chunks/{plugin-26ac1eqm.js → bus-t450s2gd.js} +9 -9
- package/dist/chunks/{plugin-s8d7rejh.js → bus-t550f9t1.js} +4 -4
- package/dist/chunks/{plugin-nhs9pheh.js → bus-t5ka509r.js} +13 -13
- package/dist/chunks/{plugin-m6fr6886.js → bus-t78f7576.js} +27 -27
- package/dist/chunks/{plugin-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-r0jkcj1b.js → bus-thka7k42.js} +3 -3
- package/dist/chunks/{plugin-qm1cwvyg.js → bus-tn2f5wk8.js} +21 -21
- package/dist/chunks/{plugin-ya6e0w5c.js → bus-tn2fka87.js} +24 -24
- package/dist/chunks/{plugin-as98je0f.js → bus-v0hecgst.js} +14 -14
- package/dist/chunks/{plugin-w24mfxr8.js → bus-v7808e1w.js} +11 -11
- package/dist/chunks/{plugin-7qnfss41.js → bus-v96fb61g.js} +11 -11
- package/dist/chunks/{plugin-f2yvyqxr.js → bus-vatq0zec.js} +3 -3
- package/dist/chunks/{plugin-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-zxbspt8e.js → bus-vfjhn2wd.js} +4 -4
- package/dist/chunks/{plugin-nn242kmy.js → bus-vfqq47st.js} +16 -16
- package/dist/chunks/{plugin-nqfysxyg.js → bus-vvk5zfmw.js} +21 -21
- package/dist/chunks/{plugin-4z9p2se2.js → bus-vz63xazc.js} +17 -17
- package/dist/chunks/{plugin-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-kjdm35cs.js → bus-w2h15q85.js} +5 -5
- package/dist/chunks/{plugin-ywamwn7x.js → bus-w2mrnr68.js} +4 -4
- package/dist/chunks/{plugin-3b9qt4hj.js → bus-w3jg838k.js} +9 -9
- package/dist/chunks/{plugin-ds64xa00.js → bus-w3w22yba.js} +19 -19
- package/dist/chunks/{plugin-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-y0wg71jz.js → bus-w8re96tr.js} +35 -35
- package/dist/chunks/{plugin-2c1zyav3.js → bus-wcdqrb7q.js} +17 -17
- package/dist/chunks/{plugin-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-ejak9dhc.js → bus-wdgfqfb8.js} +38 -38
- package/dist/chunks/{plugin-zf1zfd4r.js → bus-wf7jkce5.js} +81 -81
- package/dist/chunks/{plugin-4ezfzqbj.js → bus-wg96wy5v.js} +2 -2
- package/dist/chunks/{plugin-4qfmz2gm.js → bus-wj3cgm7c.js} +18 -18
- package/dist/chunks/{plugin-9afpsfvx.js → bus-wk7y1wk7.js} +19 -19
- package/dist/chunks/{plugin-hs8w90mj.js → bus-wm4vkbe2.js} +3 -3
- package/dist/chunks/{plugin-1z18ck0n.js → bus-wqgzkz37.js} +3 -3
- package/dist/chunks/{plugin-11dqjexa.js → bus-x2aynqqh.js} +9 -9
- package/dist/chunks/{plugin-1he5hg8q.js → bus-x8ba1gzy.js} +8 -8
- package/dist/chunks/{plugin-hc27pwqt.js → bus-x8yqvqn2.js} +23 -23
- package/dist/chunks/{plugin-hw0p3tgj.js → bus-xadn7sc3.js} +26 -26
- package/dist/chunks/{plugin-g5w8qwbj.js → bus-xfkkasph.js} +4 -4
- package/dist/chunks/{plugin-dmqcgk4z.js → bus-xkntkrq7.js} +5 -5
- package/dist/chunks/{plugin-0cd6g7qn.js → bus-xm90a83n.js} +30 -30
- package/dist/chunks/{plugin-7v9cbr6d.js → bus-xnkhzy4t.js} +13 -13
- package/dist/chunks/{plugin-vxzh5eqq.js → bus-xxndcd6m.js} +4 -4
- package/dist/chunks/{plugin-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-703m18f1.js → bus-y5hsvsvt.js} +15 -15
- package/dist/chunks/{plugin-qzzq6f9n.js → bus-y64r4fk7.js} +27 -27
- package/dist/chunks/{plugin-d858xzj7.js → bus-y6mhz57t.js} +4 -4
- package/dist/chunks/{plugin-dpkg50ah.js → bus-y71avatq.js} +4 -4
- package/dist/chunks/{plugin-3az0cy8z.js → bus-yck8tg9e.js} +12 -12
- package/dist/chunks/{plugin-w5ea6xsj.js → bus-yfctmqzq.js} +12 -12
- package/dist/chunks/{plugin-b9kzf0wm.js → bus-yh9hw8gt.js} +50 -50
- package/dist/chunks/{plugin-r8xr0va3.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{plugin-h10w1dwf.js → bus-ytnhha0b.js} +11 -11
- package/dist/chunks/{plugin-84gkm6w5.js → bus-ytzgz0qd.js} +4 -4
- package/dist/chunks/{plugin-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-jhsjgqmj.js → bus-zbfyanxm.js} +8 -8
- package/dist/chunks/{plugin-qzf73wsh.js → bus-ze83rx7h.js} +20 -20
- package/dist/chunks/{plugin-zr9y32zn.js → bus-zge5mp1t.js} +27 -27
- package/dist/chunks/{plugin-0bvpg6nm.js → bus-zj3vg3nr.js} +32 -32
- package/dist/chunks/{plugin-pjphrd73.js → bus-zke0g2sf.js} +9 -9
- package/dist/chunks/{plugin-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +100 -100
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +99 -99
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- 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 +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +94 -94
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +129 -129
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +203 -203
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- 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 +90 -90
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/plugin-9sh4wc5j.js +0 -18
- package/dist/chunks/plugin-c5q6vktn.js +0 -26
- package/dist/chunks/plugin-rdsbctrt.js +0 -253
- /package/dist/chunks/{plugin-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e3qxr5gk.js → bus-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node9, exports_discovery };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node81
|
|
7
|
+
} from "./bus-vz63xazc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service72,
|
|
10
|
+
node75
|
|
11
|
+
} from "./bus-2t3mzhjr.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options5,
|
|
25
|
+
Service: () => Service52,
|
|
26
|
+
configured: () => configured5,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer18,
|
|
29
|
+
node: () => node54,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service52 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service72;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service52.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service52.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service52.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer18 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured5(options) {
|
|
186
|
+
return makeLocationNode({ service: Service52, layer: layer18(options), deps: [node81, node75] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node54 = configured5();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options5, Service52, ripgrepLayer2, fffLayer2, layer18, configured5, node54, exports_search };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-vatq0zec.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service81,
|
|
10
|
+
node85
|
|
11
|
+
} from "./bus-g59t3z9x.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-143qq2q9.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9e5bzkjp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service40,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer15,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node42,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service40 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service81;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer15 = Layer.effect(Service40, make17());
|
|
231
|
+
var node42 = makeGlobalNode({ service: Service40, layer: layer15, deps: [node88, node85] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make17, layer15, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service75,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer26,
|
|
15
|
+
node: () => node79,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service75 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer26 = Layer.effect(Service75, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service75.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node79 = makeGlobalNode({ service: Service75, layer: layer26, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service75, layer26, node79, statements2, decision2, exports_managed_policy };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-vatq0zec.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./bus-g59t3z9x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./bus-pdpp1bnv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node44
|
|
16
|
+
} from "./bus-sxzvkvgj.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./bus-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service39
|
|
26
|
+
} from "./bus-06x8he3q.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service58,
|
|
29
|
+
node60
|
|
30
|
+
} from "./bus-nct9s1hw.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-3n9wzqh8.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./bus-f6gfhbzj.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./bus-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service38,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer14,
|
|
47
|
+
node: () => node41,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service38 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer14 = Layer.effect(Service38, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service58;
|
|
64
|
+
const instances = yield* Service42;
|
|
65
|
+
const bus = yield* Service81;
|
|
66
|
+
const jobs = yield* Service82;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service38.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node41 = makeGlobalNode({
|
|
127
|
+
service: Service38,
|
|
128
|
+
layer: layer14,
|
|
129
|
+
deps: [node60, node44, node85, node88, node86]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service38, Service38.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service38, terminal2, layer14, node41, noopLayer3, exports_execution };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-vatq0zec.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./bus-sxzvkvgj.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-rap9a73h.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-4z58m4b4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-1s608d8d.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-kzqbv2ef.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service23
|
|
21
|
+
} from "./bus-wf7jkce5.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service42;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service23;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./bus-sxzvkvgj.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-wqgzkz37.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./bus-sgp384a4.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
19
19
|
__export(exports_skill4, {
|
|
20
20
|
SessionSkill: () => exports_skill4,
|
|
21
|
-
get: () =>
|
|
21
|
+
get: () => get5
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
|
-
var
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
24
|
+
var get5 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
30
30
|
return skill;
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { get5, exports_skill4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./bus-ejxtpekp.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|