@opencode/core 0.0.0-dev-19298 → 0.0.0-dev-19300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{wellknown-afdssyjb.js → repository-06x8he3q.js} +4 -4
- package/dist/chunks/{wellknown-1cxh2yq8.js → repository-0f776x05.js} +15 -15
- package/dist/chunks/{wellknown-qg0c46zd.js → repository-0ms83wsr.js} +9 -9
- package/dist/chunks/{wellknown-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{wellknown-0fey9sjf.js → repository-0rvwym2w.js} +4 -4
- package/dist/chunks/{wellknown-f4xmay09.js → repository-0sb7r7z8.js} +168 -168
- package/dist/chunks/{wellknown-81a28jj9.js → repository-0y360m9h.js} +20 -20
- package/dist/chunks/{wellknown-ec8389mk.js → repository-1080qp6z.js} +4 -4
- package/dist/chunks/{wellknown-ebc7h8jh.js → repository-11tcp5y8.js} +4 -4
- package/dist/chunks/{wellknown-94sf61n7.js → repository-1235z6h5.js} +11 -11
- package/dist/chunks/{wellknown-jsf83ghp.js → repository-12gb8myc.js} +17 -17
- package/dist/chunks/{wellknown-r8xr0va3.js → repository-1acjjqhc.js} +4 -4
- package/dist/chunks/{wellknown-qfeftde1.js → repository-1d1r455x.js} +10 -10
- package/dist/chunks/{wellknown-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-0hpxrkyb.js → repository-1dfhrqqs.js} +5 -5
- package/dist/chunks/{wellknown-j7hxrhe3.js → repository-1rw8y3qp.js} +25 -25
- package/dist/chunks/{wellknown-92sryvry.js → repository-1s7e6phh.js} +6 -6
- package/dist/chunks/{wellknown-dqyrj80g.js → repository-1xb5wcr4.js} +22 -22
- package/dist/chunks/{wellknown-h5nf0wwg.js → repository-20d5ynpz.js} +18 -18
- package/dist/chunks/{wellknown-hsbjamnz.js → repository-21505my7.js} +32 -32
- package/dist/chunks/{wellknown-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-8cw9e3y8.js → repository-23ys1acm.js} +24 -24
- package/dist/chunks/{wellknown-t1gyex3t.js → repository-24jpa85g.js} +11 -11
- package/dist/chunks/{wellknown-kwvvtnkq.js → repository-25dt1yg9.js} +39 -39
- package/dist/chunks/{wellknown-rhvgj8e6.js → repository-28bdjpwd.js} +20 -20
- package/dist/chunks/{wellknown-z63w68vq.js → repository-29x78va6.js} +6 -6
- package/dist/chunks/{wellknown-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-1vf609rd.js → repository-2gqxkbxa.js} +20 -20
- package/dist/chunks/{wellknown-844ef7ks.js → repository-2hyh68ab.js} +8 -8
- package/dist/chunks/{wellknown-vxyf8mmv.js → repository-2jd3nfvw.js} +26 -26
- package/dist/chunks/{wellknown-kby4yt7g.js → repository-2ke5dpvq.js} +16 -16
- package/dist/chunks/{wellknown-0rzpb8gt.js → repository-2nxb55e9.js} +11 -11
- package/dist/chunks/{wellknown-jc5jqykq.js → repository-2p2ash1s.js} +6 -6
- package/dist/chunks/{wellknown-yb0rz80c.js → repository-2qw4fg5j.js} +23 -23
- package/dist/chunks/{wellknown-5ba826g4.js → repository-2zm9r2mq.js} +33 -33
- package/dist/chunks/{wellknown-r47paza8.js → repository-3da9a2rq.js} +41 -41
- package/dist/chunks/{wellknown-m8vs919j.js → repository-3faemfqa.js} +20 -20
- package/dist/chunks/{wellknown-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-arnmqd59.js → repository-3sy2qy7n.js} +1 -1
- package/dist/chunks/{wellknown-nbddwgy7.js → repository-3tey5e4w.js} +10 -10
- package/dist/chunks/{wellknown-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-x4qbn06s.js → repository-42t63d0v.js} +9 -9
- package/dist/chunks/{wellknown-b0yc1cc1.js → repository-42x6g9em.js} +17 -17
- package/dist/chunks/{wellknown-1e8nxva5.js → repository-488yfy34.js} +14 -14
- package/dist/chunks/{wellknown-pwzt2dd6.js → repository-4ftw1z01.js} +23 -23
- package/dist/chunks/{wellknown-1a8afdf1.js → repository-4rq8jptq.js} +13 -13
- package/dist/chunks/{wellknown-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{wellknown-gtp0d19d.js → repository-5c74bejr.js} +13 -13
- package/dist/chunks/{wellknown-bbcn74nn.js → repository-5ck9wg8w.js} +8 -8
- package/dist/chunks/{wellknown-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-g477egy3.js → repository-5hk4b2g6.js} +8 -8
- package/dist/chunks/{wellknown-zrnwyp6v.js → repository-5kh3zgw0.js} +15 -15
- package/dist/chunks/{wellknown-0gyadjkj.js → repository-5m82w98f.js} +36 -36
- package/dist/chunks/{wellknown-433mxpjr.js → repository-5ndbzdej.js} +41 -41
- package/dist/chunks/{wellknown-kdpy9gz7.js → repository-5p36ytzk.js} +30 -30
- package/dist/chunks/{wellknown-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-yrntw0wa.js → repository-5ta6a5m3.js} +10 -10
- package/dist/chunks/{wellknown-1w8g4bq4.js → repository-5wz9f6t6.js} +16 -16
- package/dist/chunks/{wellknown-pcf161yc.js → repository-65k3vztb.js} +56 -56
- package/dist/chunks/{wellknown-gdcxaw8d.js → repository-65tew8e9.js} +30 -30
- package/dist/chunks/{wellknown-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-2402vzrj.js → repository-6h73sxmp.js} +5 -5
- package/dist/chunks/{wellknown-jw80jp6b.js → repository-6m42r3np.js} +21 -21
- package/dist/chunks/{wellknown-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-k5nzfyaf.js → repository-6nyfbssk.js} +24 -24
- package/dist/chunks/{wellknown-cq37gk0t.js → repository-6s9eyz9r.js} +4 -4
- package/dist/chunks/{wellknown-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{wellknown-h9t3yg4c.js → repository-756ftpmv.js} +4 -4
- package/dist/chunks/{wellknown-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-pshw0dya.js → repository-7fh28bch.js} +30 -30
- package/dist/chunks/{wellknown-fvanntqq.js → repository-7yqjxrmz.js} +4 -4
- package/dist/chunks/{wellknown-86hz29wt.js → repository-7yscfpph.js} +7 -7
- package/dist/chunks/{wellknown-ryr25ayn.js → repository-806j49yq.js} +4 -4
- package/dist/chunks/{wellknown-ebah8r6x.js → repository-81rrwt6s.js} +6 -6
- package/dist/chunks/{wellknown-qnxyes55.js → repository-83m7jv2c.js} +6 -6
- package/dist/chunks/{wellknown-5ekz0yty.js → repository-8brhm2ma.js} +35 -35
- package/dist/chunks/{wellknown-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-wxgaszs1.js → repository-8g0ywzr5.js} +18 -18
- package/dist/chunks/{wellknown-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{wellknown-t0x5rdq8.js → repository-8w9tvb25.js} +9 -9
- package/dist/chunks/{wellknown-jy16bfac.js → repository-96yt6zt0.js} +1 -1
- package/dist/chunks/{wellknown-f1qeq853.js → repository-98h7z1dp.js} +5 -5
- package/dist/chunks/{wellknown-kvmv1fep.js → repository-99xeyytz.js} +22 -22
- package/dist/chunks/{wellknown-6h4qwayx.js → repository-9e0shq8y.js} +2 -2
- package/dist/chunks/{wellknown-dnwf0qct.js → repository-9nps6jxk.js} +81 -81
- package/dist/chunks/{wellknown-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{wellknown-4wdpjckx.js → repository-a3xfqne5.js} +19 -19
- package/dist/chunks/{wellknown-5wwtptpe.js → repository-a7ya2t55.js} +4 -4
- package/dist/chunks/{wellknown-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-7s9yv6nr.js → repository-acr4esdf.js} +22 -22
- package/dist/chunks/{wellknown-0f9afca0.js → repository-af04s6ss.js} +5 -5
- package/dist/chunks/{wellknown-80e0yyk8.js → repository-b0q3gy5e.js} +14 -14
- package/dist/chunks/{wellknown-8zm39b8n.js → repository-b3mzkn50.js} +17 -17
- package/dist/chunks/{wellknown-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-06dxphr1.js → repository-bccb6npm.js} +4 -4
- package/dist/chunks/{wellknown-301ntmw9.js → repository-bey7x3zt.js} +24 -24
- package/dist/chunks/{wellknown-f7na88a3.js → repository-bk1bf212.js} +33 -33
- package/dist/chunks/{wellknown-1t0hsb5v.js → repository-bksjv0kp.js} +11 -11
- package/dist/chunks/{wellknown-q8p9236r.js → repository-bn9sxrbg.js} +32 -32
- package/dist/chunks/{wellknown-w10k0mk6.js → repository-bs5pepmy.js} +24 -24
- package/dist/chunks/{wellknown-g8j92q4r.js → repository-byvwwxkk.js} +30 -30
- package/dist/chunks/{wellknown-th16xtyn.js → repository-bz3n39rt.js} +54 -54
- package/dist/chunks/{wellknown-vhzmfeej.js → repository-cfhyqxd5.js} +26 -26
- package/dist/chunks/{wellknown-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{wellknown-vy22dxga.js → repository-cqz2c9ze.js} +16 -16
- package/dist/chunks/{wellknown-xekzrwwc.js → repository-crptryd9.js} +9 -9
- package/dist/chunks/{wellknown-9pebw04q.js → repository-ct5ygdvv.js} +32 -32
- package/dist/chunks/{wellknown-4kftbr8z.js → repository-d3p1g0v9.js} +81 -81
- package/dist/chunks/{wellknown-6xzgjakr.js → repository-d971jd90.js} +24 -24
- package/dist/chunks/{wellknown-97648kyg.js → repository-dcmk5z6d.js} +11 -11
- package/dist/chunks/{wellknown-w6jjpet8.js → repository-drx0v7dc.js} +18 -18
- package/dist/chunks/repository-dxj72tfx.js +18 -0
- package/dist/chunks/{wellknown-qm7jrdpz.js → repository-e7710hd6.js} +5 -5
- package/dist/chunks/{wellknown-rhjbct0v.js → repository-eaj1djv9.js} +8 -8
- package/dist/chunks/{wellknown-y8t89g2h.js → repository-ec018mz5.js} +8 -8
- package/dist/chunks/{wellknown-2gc4ne5c.js → repository-eddb1hsm.js} +3 -3
- package/dist/chunks/{wellknown-92ceydex.js → repository-ee84hvhb.js} +19 -19
- package/dist/chunks/{wellknown-fpv6qd1b.js → repository-egdp0v7k.js} +5 -5
- package/dist/chunks/{wellknown-7kwy8a22.js → repository-ehg1nygq.js} +6 -6
- package/dist/chunks/{wellknown-gnwvvsrg.js → repository-eppyg65b.js} +19 -19
- package/dist/chunks/{wellknown-jwx4y25k.js → repository-esj243wz.js} +9 -9
- package/dist/chunks/{wellknown-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-dhnpxtn3.js → repository-f19mrtp6.js} +24 -24
- package/dist/chunks/{wellknown-6wfwqt87.js → repository-f2wm6whm.js} +10 -10
- package/dist/chunks/{wellknown-f828m53h.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{wellknown-f9bavhm2.js → repository-f8q7mv7a.js} +1 -1
- package/dist/chunks/{wellknown-vxwzppst.js → repository-f9dnc6qb.js} +9 -9
- package/dist/chunks/{wellknown-rt56ea7r.js → repository-farzb5ty.js} +15 -15
- package/dist/chunks/{wellknown-2az4qg4k.js → repository-fcx00w1h.js} +9 -9
- package/dist/chunks/{wellknown-qmr73083.js → repository-fgh0kbhd.js} +1 -1
- package/dist/chunks/{wellknown-98b7kxpa.js → repository-fk4ccpbg.js} +9 -9
- package/dist/chunks/{wellknown-v69q3rne.js → repository-fvkyxybn.js} +21 -21
- package/dist/chunks/{wellknown-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-83q352bh.js → repository-fy9dm37w.js} +44 -44
- package/dist/chunks/{wellknown-18cztcj7.js → repository-fygdb7h7.js} +3 -3
- package/dist/chunks/{wellknown-kb2g279d.js → repository-g1nak0bc.js} +15 -15
- package/dist/chunks/{wellknown-4w8b7heb.js → repository-g32rby1q.js} +21 -21
- package/dist/chunks/{wellknown-rh8sysy4.js → repository-g52x9ads.js} +10 -10
- package/dist/chunks/{wellknown-qha4sez1.js → repository-g5qy6dee.js} +10 -10
- package/dist/chunks/{wellknown-6cpxxfqb.js → repository-gasa05ya.js} +33 -33
- package/dist/chunks/{wellknown-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-153kn5pz.js → repository-gg4p3dxp.js} +43 -43
- package/dist/chunks/{wellknown-zerdtc7d.js → repository-gj9xpvv3.js} +2 -2
- package/dist/chunks/repository-gjn7zjnk.js +247 -0
- package/dist/chunks/{wellknown-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-cf5npnpn.js → repository-gw75b7xp.js} +39 -39
- package/dist/chunks/{wellknown-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/repository-h47he10w.js +4 -0
- package/dist/chunks/{wellknown-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-dy1s2zwt.js → repository-h77e4z6a.js} +7 -7
- package/dist/chunks/{wellknown-ag9w6e5n.js → repository-h9xzymfq.js} +4 -4
- package/dist/chunks/{wellknown-5hjhdcrb.js → repository-hbhp39pa.js} +25 -25
- package/dist/chunks/{wellknown-r5yb3bmp.js → repository-hc0r56wb.js} +35 -35
- package/dist/chunks/{wellknown-0r7yqxbf.js → repository-hcz3zddy.js} +5 -5
- package/dist/chunks/{wellknown-jj63jgrn.js → repository-hd29wc17.js} +8 -8
- package/dist/chunks/{wellknown-nf8nzb7g.js → repository-hhnggr0y.js} +9 -9
- package/dist/chunks/{wellknown-ajq9kf1a.js → repository-hj52cskm.js} +3 -3
- package/dist/chunks/{wellknown-9ppkv52n.js → repository-j0er744w.js} +8 -8
- package/dist/chunks/{wellknown-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-1m53f3h1.js → repository-j7rmzkqc.js} +18 -18
- package/dist/chunks/{wellknown-paphc93g.js → repository-j935v87r.js} +2 -2
- package/dist/chunks/{wellknown-r5ba5pd1.js → repository-ja76sygq.js} +9 -9
- package/dist/chunks/{wellknown-s9cync3p.js → repository-jc87ns02.js} +26 -26
- package/dist/chunks/repository-jn0ab61b.js +22 -0
- package/dist/chunks/{wellknown-v8ch97zc.js → repository-k16ay38w.js} +1 -1
- package/dist/chunks/{wellknown-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{wellknown-5jtdmvnp.js → repository-ksz0h0wp.js} +1 -1
- package/dist/chunks/{wellknown-a4exdnt3.js → repository-m1jtpm13.js} +4 -4
- package/dist/chunks/{wellknown-2d6j2h4j.js → repository-m27pyyd3.js} +6 -6
- package/dist/chunks/{wellknown-e5xbyv4k.js → repository-m52vhm9w.js} +3 -3
- package/dist/chunks/{wellknown-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-yesww6qn.js → repository-m9wjgnng.js} +9 -9
- package/dist/chunks/{wellknown-s9c35a17.js → repository-mhwnn3nh.js} +7 -7
- package/dist/chunks/{wellknown-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{wellknown-zc3bbtev.js → repository-mqypt7zj.js} +9 -9
- package/dist/chunks/{wellknown-eg418mx6.js → repository-mtgx628c.js} +16 -16
- package/dist/chunks/{wellknown-kbv6dgc6.js → repository-mvdnynp8.js} +4 -4
- package/dist/chunks/{wellknown-r5x6zcsm.js → repository-mvfsc1pv.js} +3 -3
- package/dist/chunks/{wellknown-1vsftg9k.js → repository-n6fqsy4a.js} +9 -9
- package/dist/chunks/{wellknown-sv9bpgvh.js → repository-n76fdqym.js} +5 -5
- package/dist/chunks/{wellknown-pchvxq4t.js → repository-n77pyy8y.js} +4 -4
- package/dist/chunks/{wellknown-n0zn403d.js → repository-n8gkpbkd.js} +22 -22
- package/dist/chunks/{wellknown-j15mxnwj.js → repository-nayt11ps.js} +3 -3
- package/dist/chunks/{wellknown-7wdjtyr9.js → repository-ndmv45hp.js} +3 -3
- package/dist/chunks/{wellknown-6erqqgaw.js → repository-nf52vkfc.js} +11 -11
- package/dist/chunks/{wellknown-1smgb78j.js → repository-ng1cxp70.js} +15 -15
- package/dist/chunks/{wellknown-hjt4xg1x.js → repository-nhy5jxhy.js} +4 -4
- package/dist/chunks/{wellknown-jn3vahqd.js → repository-njtrby3g.js} +11 -11
- package/dist/chunks/{wellknown-vwjrxgyb.js → repository-np2wt734.js} +60 -60
- package/dist/chunks/{wellknown-5g4j5yqq.js → repository-nw0w9xts.js} +18 -18
- package/dist/chunks/{wellknown-rkbmpfe2.js → repository-nxrh5nrb.js} +10 -10
- package/dist/chunks/{wellknown-ztc1je1k.js → repository-nyfsa3d4.js} +15 -15
- package/dist/chunks/{wellknown-frfc3m7z.js → repository-p3cr5m8k.js} +8 -8
- package/dist/chunks/{wellknown-jxak35yf.js → repository-p40ajvra.js} +46 -46
- package/dist/chunks/{wellknown-xtxsez35.js → repository-p5ym65ek.js} +12 -12
- package/dist/chunks/repository-pe1hnp5n.js +462 -0
- package/dist/chunks/{wellknown-rvyy05ds.js → repository-pgyxckf0.js} +11 -11
- package/dist/chunks/{wellknown-vyqn3nqs.js → repository-pjedbq3k.js} +4 -4
- package/dist/chunks/{wellknown-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-2g4a82s9.js → repository-pjw4mgws.js} +17 -17
- package/dist/chunks/{wellknown-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-5aveev3e.js → repository-pnean495.js} +5 -5
- package/dist/chunks/{wellknown-h1p5fdzw.js → repository-ppg2pkc4.js} +7 -7
- package/dist/chunks/{wellknown-cx9z24qy.js → repository-pt9hhbjv.js} +25 -25
- package/dist/chunks/{wellknown-vbt1q5qz.js → repository-pz6kvv0a.js} +7 -7
- package/dist/chunks/{wellknown-k7ezg90w.js → repository-pzqj8cz9.js} +11 -11
- package/dist/chunks/{wellknown-2wj8n25z.js → repository-q5zafh14.js} +6 -6
- package/dist/chunks/{wellknown-pcax7nge.js → repository-q7v1pqah.js} +10 -10
- package/dist/chunks/{wellknown-345aazev.js → repository-qe2326jn.js} +6 -6
- package/dist/chunks/{wellknown-6d5ab3w3.js → repository-qegb081p.js} +12 -12
- package/dist/chunks/{wellknown-7dqw4kz8.js → repository-qgn6gcr1.js} +5 -5
- package/dist/chunks/{wellknown-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-h2r7bbkd.js → repository-qth74v4j.js} +11 -11
- package/dist/chunks/{wellknown-tsra1adq.js → repository-qxc8wz53.js} +20 -20
- package/dist/chunks/{wellknown-zfdfzxrp.js → repository-r034twb5.js} +18 -18
- package/dist/chunks/{wellknown-31dz7cp4.js → repository-r9babyk8.js} +1 -1
- package/dist/chunks/{wellknown-751bb1qn.js → repository-rad6g3ft.js} +6 -6
- package/dist/chunks/{wellknown-dhh9g715.js → repository-rpxwpx2g.js} +17 -17
- package/dist/chunks/{wellknown-htjw9qza.js → repository-rsvmvhbp.js} +6 -6
- package/dist/chunks/{wellknown-yrznvahk.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{wellknown-kj3rejfq.js → repository-s702d5fa.js} +47 -47
- package/dist/chunks/{wellknown-vx52c60r.js → repository-s784my9g.js} +14 -14
- package/dist/chunks/{wellknown-hv7kxmpp.js → repository-s9teexy3.js} +13 -13
- package/dist/chunks/{wellknown-c8x8zcz1.js → repository-sf673xhe.js} +13 -13
- package/dist/chunks/{wellknown-k3htwn63.js → repository-sqc84shp.js} +30 -30
- package/dist/chunks/{wellknown-4f40xxt9.js → repository-svz4xhyh.js} +17 -17
- package/dist/chunks/{wellknown-q17z9dx8.js → repository-t0sqncza.js} +5 -5
- package/dist/chunks/{wellknown-d50f2zf5.js → repository-t23qze4t.js} +1 -1
- package/dist/chunks/{wellknown-13adgrn5.js → repository-t430gn4d.js} +24 -24
- package/dist/chunks/{wellknown-qek8dtx8.js → repository-t97t2t7r.js} +11 -11
- package/dist/chunks/{wellknown-3vt47zmq.js → repository-t9azvbfb.js} +17 -17
- package/dist/chunks/{wellknown-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-0w219v1z.js → repository-tetdjcv5.js} +11 -11
- package/dist/chunks/{wellknown-x8epn3eh.js → repository-tf1axwb0.js} +27 -27
- package/dist/chunks/{wellknown-3w2b2yj4.js → repository-tn0aqsam.js} +5 -5
- package/dist/chunks/{wellknown-5b5zdayx.js → repository-trjbg8c1.js} +20 -20
- package/dist/chunks/{wellknown-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-z9054wkr.js → repository-twcs75va.js} +20 -20
- package/dist/chunks/{wellknown-xczywpe1.js → repository-twkbfbpv.js} +23 -23
- package/dist/chunks/{wellknown-tjbnh4gx.js → repository-tysrnn2h.js} +11 -11
- package/dist/chunks/{wellknown-rsym84ch.js → repository-v33xfvcj.js} +9 -9
- package/dist/chunks/{wellknown-tregh9zc.js → repository-v4t0dn9g.js} +2 -2
- package/dist/chunks/{wellknown-gkzab4dd.js → repository-vc1a951d.js} +35 -35
- package/dist/chunks/{wellknown-0v53mg2y.js → repository-ve4pfa0n.js} +4 -4
- package/dist/chunks/{wellknown-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-6d8w2zge.js → repository-vm3tqwqk.js} +4 -4
- package/dist/chunks/{wellknown-t3jrbyxp.js → repository-vxzf7v58.js} +3 -3
- package/dist/chunks/{wellknown-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-p8kqgwd3.js → repository-w86n12pv.js} +43 -43
- package/dist/chunks/{wellknown-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-djyr913s.js → repository-wsax0zm4.js} +9 -9
- package/dist/chunks/{wellknown-kckbw66n.js → repository-wvp8ne5c.js} +14 -14
- package/dist/chunks/{wellknown-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
- package/dist/chunks/{wellknown-r0pa45k4.js → repository-x8pybnqb.js} +6 -6
- package/dist/chunks/{wellknown-qr27hz8v.js → repository-xn4600q8.js} +4 -4
- package/dist/chunks/{wellknown-ej8cxv4b.js → repository-xwdv5ax5.js} +9 -9
- package/dist/chunks/{wellknown-0jfqnnd8.js → repository-xxrmh4kw.js} +34 -34
- package/dist/chunks/{wellknown-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-sg5j0v43.js → repository-y1p12sez.js} +34 -34
- package/dist/chunks/{wellknown-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{wellknown-7png34pd.js → repository-ygab95pb.js} +11 -11
- package/dist/chunks/{wellknown-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-5gbkaz4t.js → repository-yyyn8rfv.js} +5 -5
- package/dist/chunks/{wellknown-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-t5t85r32.js → repository-z4vx8zth.js} +28 -28
- package/dist/chunks/{wellknown-1ah30sey.js → repository-z69s9t6b.js} +5 -5
- package/dist/chunks/{wellknown-j7ashrwe.js → repository-z6dtt623.js} +41 -41
- package/dist/chunks/{wellknown-599k2402.js → repository-z9czcytr.js} +25 -25
- package/dist/chunks/{wellknown-d8ag70r5.js → repository-zapem284.js} +17 -17
- package/dist/chunks/{wellknown-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-e0prvjnp.js → repository-zhxw6mnd.js} +2 -2
- package/dist/chunks/{wellknown-eg7325wb.js → repository-zqn7tw4w.js} +26 -26
- package/dist/chunks/{wellknown-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +73 -73
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +80 -80
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +213 -213
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- 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 +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +99 -99
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/wellknown-0mesazry.js +0 -4
- package/dist/chunks/wellknown-b99r3qgs.js +0 -22
- package/dist/chunks/wellknown-qc068m1q.js +0 -18
- package/dist/chunks/wellknown-tn1q108x.js +0 -462
- package/dist/chunks/wellknown-vaf1ev04.js +0 -247
- /package/dist/chunks/{wellknown-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a1tpkmh4.js → repository-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-mvdnynp8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service69,
|
|
7
|
+
node74
|
|
8
|
+
} from "./repository-svz4xhyh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service49,
|
|
12
|
+
node52
|
|
13
|
+
} from "./repository-bs5pepmy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError5
|
|
16
|
+
} from "./repository-hhnggr0y.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service48,
|
|
19
|
+
node51
|
|
20
|
+
} from "./repository-mtgx628c.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service47,
|
|
26
|
+
node50
|
|
27
|
+
} from "./repository-12gb8myc.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service67,
|
|
30
|
+
node72
|
|
31
|
+
} from "./repository-hd29wc17.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event9,
|
|
46
|
+
ID: () => ID6,
|
|
47
|
+
NotFoundError: () => NotFoundError4,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service46,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node49
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID6 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID6.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID8.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID6,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID6,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError4 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID6
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service46 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service69;
|
|
133
|
+
const agents = yield* Service49;
|
|
134
|
+
const sessions = yield* Service48;
|
|
135
|
+
const saved = yield* Service47;
|
|
136
|
+
const hooks = yield* Service67;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError5({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID6.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError4({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service46.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node49 = makeLocationNode({
|
|
289
|
+
service: Service46,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84,
|
|
291
|
+
deps: [node84, node74, node52, node51, node50, node72]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError4, evaluate2, merge2, Service46, node49, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-mvdnynp8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service45,
|
|
17
17
|
node48
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-20d5ynpz.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info5,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service36,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node40
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info5 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service36 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service45;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info5.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info5.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service36.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node40 = makeLocationNode({
|
|
116
|
+
service: Service36,
|
|
117
117
|
layer,
|
|
118
118
|
deps: [Global.node, node84, node48]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info5, Service36, node40, exports_reference2, Event7 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-mvdnynp8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-bz3n39rt.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
21
|
ID: () => ID5,
|
|
22
22
|
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,11 +34,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
42
|
var Info7 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service44 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service44.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node47 = makeLocationNode({
|
|
112
|
+
service: Service44,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service44, node47, exports_skill5, Event8 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
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 Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, 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(Service7, 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 Service6.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(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node9, exports_discovery };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./repository-svz4xhyh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./repository-bey7x3zt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-5c74bejr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service52
|
|
14
|
+
} from "./repository-farzb5ty.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service46
|
|
17
|
+
} from "./repository-bz3n39rt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service18,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-r034twb5.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input10,
|
|
34
|
+
Output: () => Output6,
|
|
35
|
+
Plugin: () => Plugin28,
|
|
36
|
+
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name10 = "edit";
|
|
43
|
+
var Input10 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input11 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output6 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin28 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service18;
|
|
110
|
+
const fileMutation = yield* Service17;
|
|
111
|
+
const environment = yield* Service63;
|
|
112
|
+
const formatter = yield* Service52;
|
|
113
|
+
const location = yield* Service69;
|
|
114
|
+
const permission = yield* Service46;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name10,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input10,
|
|
120
|
+
output: Output6,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin30 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name10, Input10, Output6, Plugin28, exports_edit };
|