@opencode/core 0.0.0-dev-19340 → 0.0.0-dev-19342
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 +79 -79
- 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/{command-zpwwzgp1.js → file-retention-0bzed8qe.js} +30 -30
- package/dist/chunks/{command-vqanb4pf.js → file-retention-0djgsxfa.js} +9 -9
- package/dist/chunks/{command-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-cy0caesz.js → file-retention-0sdp51s0.js} +16 -16
- package/dist/chunks/{command-352w66m8.js → file-retention-0vqy458c.js} +8 -8
- package/dist/chunks/{command-3s259dc5.js → file-retention-1d0fhjp0.js} +9 -9
- package/dist/chunks/{command-6sd8tygk.js → file-retention-1d5qcw44.js} +4 -4
- package/dist/chunks/{command-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-1dfhrqqs.js → file-retention-1dfhrqqs.js} +2 -2
- package/dist/chunks/{command-fyjrpq2n.js → file-retention-1emffesh.js} +5 -5
- package/dist/chunks/{command-jdfx4b8y.js → file-retention-1p35s36r.js} +17 -17
- package/dist/chunks/{command-4drgpw32.js → file-retention-1q5awywt.js} +5 -5
- package/dist/chunks/{command-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{command-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{command-hdx86dvw.js → file-retention-283c8amn.js} +20 -20
- package/dist/chunks/{command-29x78va6.js → file-retention-29x78va6.js} +2 -2
- package/dist/chunks/{command-2336b01z.js → file-retention-2a4f6v5q.js} +8 -8
- package/dist/chunks/{command-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-g48a3zmh.js → file-retention-2a9489x0.js} +12 -12
- package/dist/chunks/{command-snjca2tz.js → file-retention-2dhvjk9m.js} +54 -54
- package/dist/chunks/{command-tb5310gf.js → file-retention-2wddc2mm.js} +27 -27
- package/dist/chunks/{command-v9g8grrj.js → file-retention-2wmkh6wf.js} +15 -15
- package/dist/chunks/{command-ftt3rafc.js → file-retention-35etrq90.js} +22 -22
- package/dist/chunks/{command-ycyqxyvr.js → file-retention-35gx5fr5.js} +10 -10
- package/dist/chunks/{command-ca8kgyjt.js → file-retention-3bfh1azg.js} +81 -81
- package/dist/chunks/{command-16zr1pr9.js → file-retention-3cqavhax.js} +8 -8
- package/dist/chunks/{command-2gg4mvag.js → file-retention-3eqpb9zq.js} +20 -20
- package/dist/chunks/{command-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-p5gbrdgq.js → file-retention-3tc1r0mp.js} +20 -20
- package/dist/chunks/{command-f405q49x.js → file-retention-3tf484fr.js} +18 -18
- package/dist/chunks/{command-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-dv5md250.js → file-retention-42fa2mq1.js} +26 -26
- package/dist/chunks/{command-a3vbp4x0.js → file-retention-457xx6wr.js} +9 -9
- package/dist/chunks/{command-8560ytdy.js → file-retention-45ax9jcn.js} +26 -26
- package/dist/chunks/{command-47gsdddb.js → file-retention-47gsdddb.js} +1 -1
- package/dist/chunks/{command-68m404t8.js → file-retention-495xzanh.js} +15 -15
- package/dist/chunks/{command-ffd8yj9h.js → file-retention-49ej072a.js} +3 -3
- package/dist/chunks/{command-mgkcxgp8.js → file-retention-4c9pdqrn.js} +16 -16
- package/dist/chunks/{command-hmv863ha.js → file-retention-4hqfr28c.js} +32 -32
- package/dist/chunks/{command-hrstj3y9.js → file-retention-4ram32jk.js} +19 -19
- package/dist/chunks/{command-ra3qct3x.js → file-retention-50mx3fww.js} +8 -8
- package/dist/chunks/{command-1k8kk91w.js → file-retention-51pqj4sw.js} +46 -46
- package/dist/chunks/{command-68w7n5s5.js → file-retention-53b5596a.js} +9 -9
- package/dist/chunks/{command-y45y5km7.js → file-retention-541f07s9.js} +17 -17
- package/dist/chunks/{command-1ygqh575.js → file-retention-56gdpj1q.js} +9 -9
- package/dist/chunks/{command-tkbkgwhn.js → file-retention-585pw9ae.js} +22 -22
- package/dist/chunks/{command-xwe3tfkg.js → file-retention-5c9mjg6a.js} +26 -26
- package/dist/chunks/{command-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{command-fhh9803e.js → file-retention-5qng0t1j.js} +9 -9
- package/dist/chunks/{command-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-vxkr754a.js → file-retention-629h1w84.js} +6 -6
- package/dist/chunks/{command-556mt29y.js → file-retention-62qy00sv.js} +2 -2
- package/dist/chunks/{command-6p3xbzsx.js → file-retention-64kphnzf.js} +4 -4
- package/dist/chunks/{command-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{command-rqdgyf5f.js → file-retention-68vz8m4p.js} +14 -14
- package/dist/chunks/{command-8wkvwetv.js → file-retention-69ycz7qv.js} +30 -30
- package/dist/chunks/{command-h17eanzf.js → file-retention-6bdbvcy9.js} +23 -23
- package/dist/chunks/{command-cgpqyknh.js → file-retention-6dxcmtmc.js} +24 -24
- package/dist/chunks/{command-n0j6r25c.js → file-retention-6f22aege.js} +28 -28
- package/dist/chunks/{command-6jnybvqn.js → file-retention-6jnybvqn.js} +2 -2
- package/dist/chunks/{command-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-hzdjxxhj.js → file-retention-6ppfrw8p.js} +23 -23
- package/dist/chunks/{command-cqq77scw.js → file-retention-6tkx0wew.js} +6 -6
- package/dist/chunks/{command-2fptrwpm.js → file-retention-6vfxs2dk.js} +16 -16
- package/dist/chunks/{command-7zxy0r75.js → file-retention-6xfzx76p.js} +11 -11
- package/dist/chunks/{command-mvqfncgj.js → file-retention-6zagmew0.js} +13 -13
- package/dist/chunks/{command-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{command-eq1pz5kg.js → file-retention-73tb2d7t.js} +3 -3
- package/dist/chunks/file-retention-79fjvhba.js +247 -0
- package/dist/chunks/{command-8a43qwm6.js → file-retention-7b6kgw3h.js} +40 -40
- package/dist/chunks/{command-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{command-s4szbmdb.js → file-retention-7eagj9kf.js} +9 -9
- package/dist/chunks/{command-2jmaghvr.js → file-retention-7ebn0nc0.js} +6 -6
- package/dist/chunks/{command-jp4vwsmq.js → file-retention-7zypnq1v.js} +10 -10
- package/dist/chunks/{command-844ef7ks.js → file-retention-844ef7ks.js} +1 -1
- package/dist/chunks/{command-remxzp3g.js → file-retention-84e78dg0.js} +5 -5
- package/dist/chunks/{command-z5pdw36g.js → file-retention-89xjw27r.js} +34 -34
- package/dist/chunks/{command-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-2s62dw2x.js → file-retention-8h998g6s.js} +1 -1
- package/dist/chunks/{command-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-xw8fym13.js → file-retention-8pak98y4.js} +18 -18
- package/dist/chunks/{command-wstvv1gd.js → file-retention-8qbgjw8c.js} +6 -6
- package/dist/chunks/{command-bcm798z8.js → file-retention-8vg9ss2j.js} +5 -5
- package/dist/chunks/{command-8wsye86r.js → file-retention-8wsye86r.js} +1 -1
- package/dist/chunks/{command-07am1m2n.js → file-retention-8yc64hpa.js} +14 -14
- package/dist/chunks/{command-9v7bhpan.js → file-retention-95fjfv4d.js} +11 -11
- package/dist/chunks/{command-h457z9c3.js → file-retention-96yt6zt0.js} +1 -1
- package/dist/chunks/{command-21pbdrht.js → file-retention-9a0n252a.js} +50 -50
- package/dist/chunks/{command-f1endfdf.js → file-retention-9p2ve8w2.js} +27 -27
- package/dist/chunks/{command-06fs55ff.js → file-retention-9pgqtxcp.js} +21 -21
- package/dist/chunks/{command-ezxzkja2.js → file-retention-9pyf0cwy.js} +17 -17
- package/dist/chunks/file-retention-9sh4wc5j.js +18 -0
- package/dist/chunks/{command-xra6sk40.js → file-retention-9t1jp5yp.js} +9 -9
- package/dist/chunks/{command-2r3qnbph.js → file-retention-9wnjnk6r.js} +5 -5
- package/dist/chunks/{command-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/file-retention-a4qn8ft9.js +462 -0
- package/dist/chunks/{command-tbwa9y7t.js → file-retention-a6x36d81.js} +4 -4
- package/dist/chunks/{command-dq5erfj9.js → file-retention-a8zn6wm8.js} +15 -15
- package/dist/chunks/{command-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{command-hpr7c3g9.js → file-retention-ab3m9e4p.js} +8 -8
- package/dist/chunks/{command-gfdt0few.js → file-retention-agj0b0se.js} +17 -17
- package/dist/chunks/{command-by885ras.js → file-retention-aj8kkpvr.js} +4 -4
- package/dist/chunks/{command-6hyh8d33.js → file-retention-anhfpk2y.js} +15 -15
- package/dist/chunks/{command-p34q75r1.js → file-retention-aqhnkr3e.js} +45 -45
- package/dist/chunks/{command-zgq1tywg.js → file-retention-asqsdy15.js} +41 -41
- package/dist/chunks/{command-ncaz8497.js → file-retention-aywpdfxt.js} +13 -13
- package/dist/chunks/{command-qtsr48c5.js → file-retention-b0p6ev8e.js} +6 -6
- package/dist/chunks/{command-3xgcdqsq.js → file-retention-b65ks73n.js} +37 -37
- package/dist/chunks/{command-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-xfjwmp6z.js → file-retention-baeg8a9n.js} +4 -4
- package/dist/chunks/{command-058t7yf9.js → file-retention-bcnz578n.js} +2 -2
- package/dist/chunks/{command-fq2b9r6y.js → file-retention-bd1zqjbj.js} +15 -15
- package/dist/chunks/{command-3j8sdtpz.js → file-retention-bf0ztrs3.js} +4 -4
- package/dist/chunks/{command-8em5q6v9.js → file-retention-bs7hmeg3.js} +18 -18
- package/dist/chunks/{command-kv4yc82c.js → file-retention-ccmdxyv2.js} +11 -11
- package/dist/chunks/{command-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-rgach609.js → file-retention-cne0g9zz.js} +11 -11
- package/dist/chunks/{command-h336fp6c.js → file-retention-cvmpta01.js} +166 -166
- package/dist/chunks/{command-sjajpaqc.js → file-retention-cyymmyy1.js} +13 -13
- package/dist/chunks/{command-357er88r.js → file-retention-cz0cqjej.js} +5 -5
- package/dist/chunks/{command-1tj6de83.js → file-retention-d0zk2jym.js} +6 -6
- package/dist/chunks/{command-81swgkk7.js → file-retention-d67aqa6n.js} +9 -9
- package/dist/chunks/{command-my9h9hzg.js → file-retention-d8s0zgrq.js} +9 -9
- package/dist/chunks/{command-b06etp1z.js → file-retention-dcm7ab38.js} +28 -28
- package/dist/chunks/{command-frdrseff.js → file-retention-dfdxrv27.js} +26 -26
- package/dist/chunks/{command-atwtfknp.js → file-retention-dfwmnba5.js} +24 -24
- package/dist/chunks/{command-bnm0713s.js → file-retention-dn5dwck5.js} +15 -15
- package/dist/chunks/{command-hwe7x4em.js → file-retention-dn7xhbn4.js} +6 -6
- package/dist/chunks/{command-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-rj8d4vx7.js → file-retention-dy2q6f9r.js} +17 -17
- package/dist/chunks/{command-phjaars8.js → file-retention-e2nxat5d.js} +6 -6
- package/dist/chunks/{command-6c7a0g9q.js → file-retention-e59w6ff2.js} +13 -13
- package/dist/chunks/{command-3wm7cf08.js → file-retention-e6d6pdps.js} +6 -6
- package/dist/chunks/{command-grw52wr5.js → file-retention-e7058pvs.js} +18 -18
- package/dist/chunks/{command-x0511brf.js → file-retention-ec8389mk.js} +4 -4
- package/dist/chunks/{command-bx97mp2c.js → file-retention-eksy8cvr.js} +3 -3
- package/dist/chunks/{command-wsjnvgbx.js → file-retention-emc1bwfy.js} +10 -10
- package/dist/chunks/{command-9wrz99x9.js → file-retention-ep52dk3v.js} +18 -18
- package/dist/chunks/{command-n5wndhd6.js → file-retention-epfxrcc1.js} +27 -27
- package/dist/chunks/{command-mbznh4s6.js → file-retention-ephtsj6m.js} +73 -73
- package/dist/chunks/{command-a2fmrcfx.js → file-retention-er56z9m3.js} +4 -4
- package/dist/chunks/{command-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-jwx4y25k.js → file-retention-f7ehr2sm.js} +2 -2
- package/dist/chunks/{command-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{command-nrpht070.js → file-retention-f8hk6r9n.js} +24 -24
- package/dist/chunks/{command-y49qrr0k.js → file-retention-f8q7mv7a.js} +1 -1
- package/dist/chunks/{command-j91vykf4.js → file-retention-fcnx6kxm.js} +26 -26
- package/dist/chunks/{command-m9g7kjz2.js → file-retention-fgh0kbhd.js} +1 -1
- package/dist/chunks/{command-4exj6bqr.js → file-retention-fpasx09t.js} +15 -15
- package/dist/chunks/{command-4zy2mhr2.js → file-retention-fpffc2t3.js} +26 -26
- package/dist/chunks/{command-vr9ffpmn.js → file-retention-fs0qk05d.js} +14 -14
- package/dist/chunks/{command-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-8xyemkvq.js → file-retention-fygdb7h7.js} +3 -3
- package/dist/chunks/{command-0arazqkx.js → file-retention-g7kcqsv9.js} +10 -10
- package/dist/chunks/{command-bgcypqfq.js → file-retention-g917tkp4.js} +17 -17
- package/dist/chunks/{command-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-gdvy8fx6.js → file-retention-gdvy8fx6.js} +1 -1
- package/dist/chunks/{command-87s66tky.js → file-retention-gexddpvz.js} +8 -8
- package/dist/chunks/{command-gcgba2m6.js → file-retention-gnv2jnak.js} +11 -11
- package/dist/chunks/{command-37wx6eva.js → file-retention-gpa4jt68.js} +10 -10
- package/dist/chunks/{command-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-kjcr15p7.js → file-retention-gx1zhcta.js} +1 -1
- package/dist/chunks/{command-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{command-xtcj8k9r.js → file-retention-h66ky8mw.js} +36 -36
- package/dist/chunks/{command-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-tk55yp24.js → file-retention-havkms48.js} +21 -21
- package/dist/chunks/{command-cq37gk0t.js → file-retention-hfdr1yjj.js} +4 -4
- package/dist/chunks/{command-5gy68s7g.js → file-retention-hgdkda7v.js} +22 -22
- package/dist/chunks/{command-289tsq5j.js → file-retention-hp4rcpke.js} +36 -36
- package/dist/chunks/{command-3hrzv0kt.js → file-retention-hs0jw6ga.js} +33 -33
- package/dist/chunks/{command-jefma2gq.js → file-retention-j26kwb45.js} +10 -10
- package/dist/chunks/{command-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{command-dt3kpdt2.js → file-retention-j62zf0j4.js} +11 -11
- package/dist/chunks/{command-5s59rewz.js → file-retention-jdzbt2xe.js} +5 -5
- package/dist/chunks/{command-8zbbstcn.js → file-retention-jf9e43jb.js} +25 -25
- package/dist/chunks/{command-ywj00zs4.js → file-retention-jfcgv9fx.js} +37 -37
- package/dist/chunks/{command-fhq6reqx.js → file-retention-jkg5sjyj.js} +18 -18
- package/dist/chunks/{command-jr3tywxk.js → file-retention-jr3tywxk.js} +1 -1
- package/dist/chunks/{command-s534qmrw.js → file-retention-jwjk52g2.js} +4 -4
- package/dist/chunks/{command-xfxn6gek.js → file-retention-k16ay38w.js} +1 -1
- package/dist/chunks/{command-0njkqfg3.js → file-retention-k2fzxap7.js} +11 -11
- package/dist/chunks/{command-kwktpek4.js → file-retention-k3aec3va.js} +6 -6
- package/dist/chunks/{command-zcrspsvn.js → file-retention-k76fn4kw.js} +4 -4
- package/dist/chunks/{command-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{command-baf8vqcb.js → file-retention-kntggcm2.js} +13 -13
- package/dist/chunks/{command-qd417my5.js → file-retention-ksz0h0wp.js} +1 -1
- package/dist/chunks/{command-9cctb9bg.js → file-retention-ktd0ny7h.js} +14 -14
- package/dist/chunks/{command-3kp7n1bh.js → file-retention-kty5e6rg.js} +24 -24
- package/dist/chunks/{command-vzrnynxw.js → file-retention-m27pyyd3.js} +6 -6
- package/dist/chunks/{command-swx6zjdy.js → file-retention-m7a7ecn8.js} +20 -20
- package/dist/chunks/{command-m4bcmcjq.js → file-retention-m7ckg0ge.js} +39 -39
- package/dist/chunks/{command-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-redwpn1x.js → file-retention-mas5vrzc.js} +4 -4
- package/dist/chunks/{command-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{command-mrn52ye8.js → file-retention-mry8kks8.js} +16 -16
- package/dist/chunks/{command-7gvwkz6m.js → file-retention-mtft99cd.js} +5 -5
- package/dist/chunks/{command-qwch66v3.js → file-retention-mwsqdqh0.js} +6 -6
- package/dist/chunks/{command-yjdkc533.js → file-retention-mwxv72xg.js} +25 -25
- package/dist/chunks/{command-j4e3jsg7.js → file-retention-n76fdqym.js} +5 -5
- package/dist/chunks/{command-akqdjt52.js → file-retention-nd0e9ps3.js} +38 -38
- package/dist/chunks/{command-ee0v75zs.js → file-retention-ng32y6cj.js} +12 -12
- package/dist/chunks/{command-m5zyy4tv.js → file-retention-np25b77a.js} +16 -16
- package/dist/chunks/{command-xgm06qps.js → file-retention-nqk5w1a0.js} +30 -30
- package/dist/chunks/{command-r54ga04y.js → file-retention-nqvtjg2n.js} +56 -56
- package/dist/chunks/{command-qsee9sfb.js → file-retention-nvxqht09.js} +3 -3
- package/dist/chunks/{command-tdmnc99b.js → file-retention-p1tnmtrd.js} +38 -38
- package/dist/chunks/{command-ndhysefr.js → file-retention-p5gjast5.js} +25 -25
- package/dist/chunks/{command-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{command-290wsyyp.js → file-retention-pmhn6z4y.js} +17 -17
- package/dist/chunks/{command-q30tygxd.js → file-retention-pnean495.js} +5 -5
- package/dist/chunks/{command-2jr08de7.js → file-retention-pqfk32hy.js} +26 -26
- package/dist/chunks/{command-e81phd5e.js → file-retention-qb679xd1.js} +13 -13
- package/dist/chunks/{command-071pgthj.js → file-retention-qqnpzgrv.js} +32 -32
- package/dist/chunks/{command-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{command-jv01nqvq.js → file-retention-qte5z7bc.js} +5 -5
- package/dist/chunks/{command-mpn2n5n1.js → file-retention-qz85fsjb.js} +10 -10
- package/dist/chunks/{command-x8ya09y2.js → file-retention-qzf7gp6y.js} +14 -14
- package/dist/chunks/{command-rhy34gnx.js → file-retention-qzg4pp06.js} +6 -6
- package/dist/chunks/{command-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
- package/dist/chunks/{command-z33n7yxw.js → file-retention-r9babyk8.js} +1 -1
- package/dist/chunks/{command-vhs5mz75.js → file-retention-rajee5vh.js} +10 -10
- package/dist/chunks/{command-71sxxhdq.js → file-retention-rm1xb6h6.js} +11 -11
- package/dist/chunks/{command-s2kyekkn.js → file-retention-rmmwd74s.js} +16 -16
- package/dist/chunks/{command-st3pa4gm.js → file-retention-rpd6j9rw.js} +20 -20
- package/dist/chunks/{command-8dpy7hpx.js → file-retention-rr6hv98y.js} +7 -7
- package/dist/chunks/{command-smsvd5z8.js → file-retention-rv7h995b.js} +20 -20
- package/dist/chunks/{command-nq63wmfx.js → file-retention-s1jhc5dh.js} +7 -7
- package/dist/chunks/{command-s4enseaf.js → file-retention-s4enseaf.js} +2 -2
- package/dist/chunks/{command-rhjbct0v.js → file-retention-s8d7rejh.js} +4 -4
- package/dist/chunks/file-retention-sb5atwea.js +22 -0
- package/dist/chunks/{command-zbb6rgvj.js → file-retention-szbk6at4.js} +4 -4
- package/dist/chunks/{command-t0x5rdq8.js → file-retention-t0x5rdq8.js} +2 -2
- package/dist/chunks/{command-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
- package/dist/chunks/{command-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{command-1hp1n8hq.js → file-retention-tk4atcvg.js} +10 -10
- package/dist/chunks/{command-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{command-qqd26nq6.js → file-retention-v0pw5p58.js} +24 -24
- package/dist/chunks/{command-nvnfwph8.js → file-retention-v98h3e24.js} +11 -11
- package/dist/chunks/{command-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{command-kf5543nd.js → file-retention-vmcy0e8f.js} +4 -4
- package/dist/chunks/{command-neeqahzq.js → file-retention-vt377krn.js} +55 -55
- package/dist/chunks/{command-70vxa6pp.js → file-retention-vvv3thrh.js} +12 -12
- package/dist/chunks/{command-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-scgtce1m.js → file-retention-w9s5j4xj.js} +2 -2
- package/dist/chunks/{command-wa9n8nyq.js → file-retention-wa9n8nyq.js} +2 -2
- package/dist/chunks/{command-xq4rgyah.js → file-retention-wac04bcv.js} +16 -16
- package/dist/chunks/{command-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{command-vptj8nd7.js → file-retention-wznsaygs.js} +7 -7
- package/dist/chunks/{command-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
- package/dist/chunks/{command-4z9mtqyz.js → file-retention-xg28p7zb.js} +25 -25
- package/dist/chunks/{command-ewq934af.js → file-retention-xhpvdsvw.js} +14 -14
- package/dist/chunks/{command-hn16n4ga.js → file-retention-xmqphtg9.js} +41 -41
- package/dist/chunks/{command-wpm2rk0p.js → file-retention-xxk5ry2v.js} +6 -6
- package/dist/chunks/{command-16yyeh88.js → file-retention-xxmdkfzw.js} +6 -6
- package/dist/chunks/{command-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-qymwj187.js → file-retention-y7xpfv66.js} +27 -27
- package/dist/chunks/{command-8zv2n1xn.js → file-retention-y9btvcpe.js} +10 -10
- package/dist/chunks/{command-vqfcvgsz.js → file-retention-ya188s48.js} +24 -24
- package/dist/chunks/{command-h29crgh1.js → file-retention-yeyn4dnq.js} +7 -7
- package/dist/chunks/{command-4d14myfn.js → file-retention-ymbwjezv.js} +33 -33
- package/dist/chunks/{command-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-yd8re12n.js → file-retention-yy1nq4n5.js} +18 -18
- package/dist/chunks/{command-4tkmwwah.js → file-retention-yz6s7xzz.js} +9 -9
- package/dist/chunks/{command-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-d87ppnb3.js → file-retention-z3pw5915.js} +5 -5
- package/dist/chunks/{command-s7kwm6zm.js → file-retention-z69s9t6b.js} +5 -5
- package/dist/chunks/{command-hc7b2h00.js → file-retention-z8jx6s5t.js} +20 -20
- package/dist/chunks/{command-rr7cvzdb.js → file-retention-zcxgbk88.js} +4 -4
- package/dist/chunks/{command-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-73gmm198.js → file-retention-zv0544jz.js} +4 -4
- package/dist/chunks/{command-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-hjcy75b0.js → file-retention-zzyk28zh.js} +18 -18
- 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 +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- 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 +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +362 -362
- 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 +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 +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- 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 +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- 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 +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- 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 +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +82 -82
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +2 -2
- 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 +223 -223
- 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 +167 -167
- 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 +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +129 -129
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +101 -101
- 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 +121 -121
- 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 +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +113 -113
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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 +82 -82
- 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 +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/command-8jw9xxr7.js +0 -22
- package/dist/chunks/command-9dwetznw.js +0 -462
- package/dist/chunks/command-gnc7c7rw.js +0 -247
- package/dist/chunks/command-rap9a73h.js +0 -18
- /package/dist/chunks/{command-0mesazry.js → file-retention-0mesazry.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{command-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-j935v87r.js → file-retention-j935v87r.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,114 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-49ej072a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID10,
|
|
7
|
+
Service60,
|
|
8
|
+
node65
|
|
9
|
+
} from "./file-retention-9pgqtxcp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node73
|
|
13
|
+
} from "./file-retention-mwxv72xg.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-s8d7rejh.js";
|
|
17
17
|
import {
|
|
18
18
|
make15
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-d8s0zgrq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service67,
|
|
22
|
+
node72
|
|
23
|
+
} from "./file-retention-f8hk6r9n.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node78
|
|
27
|
+
} from "./file-retention-541f07s9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service34,
|
|
30
|
+
node38
|
|
31
|
+
} from "./file-retention-0sdp51s0.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-k3aec3va.js";
|
|
35
35
|
import {
|
|
36
36
|
provenance2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-retention-64kphnzf.js";
|
|
38
38
|
import {
|
|
39
39
|
entriesForRunner2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-retention-ab3m9e4p.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
42
|
+
Service59,
|
|
43
|
+
node64
|
|
44
|
+
} from "./file-retention-8yc64hpa.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
46
|
+
Service44,
|
|
47
47
|
node49
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-retention-35etrq90.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service31,
|
|
51
|
+
node36
|
|
52
|
+
} from "./file-retention-dcm7ab38.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
54
|
+
Service30,
|
|
55
|
+
node35
|
|
56
|
+
} from "./file-retention-6bdbvcy9.js";
|
|
57
57
|
import {
|
|
58
58
|
Service29,
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
59
|
+
node34
|
|
60
|
+
} from "./file-retention-fs0qk05d.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
62
|
+
Service35,
|
|
63
|
+
node39
|
|
64
|
+
} from "./file-retention-8pak98y4.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
} from "./
|
|
66
|
+
Service28,
|
|
67
|
+
node33
|
|
68
|
+
} from "./file-retention-bd1zqjbj.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service25,
|
|
71
|
+
node29
|
|
72
|
+
} from "./file-retention-0bzed8qe.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service52,
|
|
75
|
+
node57
|
|
76
|
+
} from "./file-retention-qb679xd1.js";
|
|
77
77
|
import {
|
|
78
78
|
__export
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
80
80
|
|
|
81
81
|
// src/session/context.ts
|
|
82
82
|
var exports_context = {};
|
|
83
83
|
__export(exports_context, {
|
|
84
|
-
Service: () =>
|
|
84
|
+
Service: () => Service24,
|
|
85
85
|
SessionContext: () => exports_context,
|
|
86
|
-
node: () =>
|
|
86
|
+
node: () => node28
|
|
87
87
|
});
|
|
88
88
|
import { Model } from "@opencode/schema/model";
|
|
89
89
|
import { Context, Effect, Layer } from "effect";
|
|
90
90
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
91
|
-
class
|
|
91
|
+
class Service24 extends Context.Service()("@opencode/SessionContext") {
|
|
92
92
|
}
|
|
93
|
-
var layer = Layer.effect(
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const builtins = yield*
|
|
96
|
-
const catalog = yield*
|
|
93
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
94
|
+
const agents = yield* Service60;
|
|
95
|
+
const builtins = yield* Service34;
|
|
96
|
+
const catalog = yield* Service68;
|
|
97
97
|
const db = (yield* Service80).db;
|
|
98
|
-
const discovery = yield*
|
|
99
|
-
const entries = yield*
|
|
100
|
-
const location = yield*
|
|
101
|
-
const mcpInstructions = yield*
|
|
102
|
-
const mcpTools = yield*
|
|
103
|
-
const models = yield*
|
|
104
|
-
const modelRequests = yield*
|
|
98
|
+
const discovery = yield* Service67;
|
|
99
|
+
const entries = yield* Service28;
|
|
100
|
+
const location = yield* Service73;
|
|
101
|
+
const mcpInstructions = yield* Service30;
|
|
102
|
+
const mcpTools = yield* Service31;
|
|
103
|
+
const models = yield* Service52;
|
|
104
|
+
const modelRequests = yield* Service25;
|
|
105
105
|
const referenceInstructions = yield* Service29;
|
|
106
|
-
const skillInstructions = yield*
|
|
107
|
-
const store = yield*
|
|
108
|
-
const registry = yield*
|
|
106
|
+
const skillInstructions = yield* Service35;
|
|
107
|
+
const store = yield* Service59;
|
|
108
|
+
const registry = yield* Service44;
|
|
109
109
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
110
110
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
111
|
-
const agent = yield* agents.get(
|
|
111
|
+
const agent = yield* agents.get(ID10.make("title"));
|
|
112
112
|
if (!agent)
|
|
113
113
|
return;
|
|
114
114
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
183
183
|
tools: selection.tools
|
|
184
184
|
};
|
|
185
185
|
});
|
|
186
|
-
return
|
|
186
|
+
return Service24.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
187
187
|
}));
|
|
188
188
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
189
|
-
var
|
|
190
|
-
service:
|
|
189
|
+
var node28 = makeLocationNode({
|
|
190
|
+
service: Service24,
|
|
191
191
|
layer,
|
|
192
192
|
deps: [
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
node65,
|
|
194
|
+
node73,
|
|
195
195
|
node85,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
node37,
|
|
199
|
-
node81,
|
|
200
|
-
node30,
|
|
201
|
-
node31,
|
|
196
|
+
node38,
|
|
197
|
+
node72,
|
|
202
198
|
node33,
|
|
203
|
-
|
|
199
|
+
node78,
|
|
204
200
|
node35,
|
|
205
|
-
|
|
206
|
-
|
|
201
|
+
node36,
|
|
202
|
+
node34,
|
|
203
|
+
node57,
|
|
204
|
+
node29,
|
|
205
|
+
node64,
|
|
206
|
+
node39,
|
|
207
207
|
node49
|
|
208
208
|
]
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { Service24, node28, exports_context };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./file-retention-aqhnkr3e.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin13
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin13 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service71;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin16 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin13, exports_websearch };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-1d5qcw44.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./file-retention-541f07s9.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info6,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service40,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info6, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service40 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service73;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info6));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service40.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node44 = makeLocationNode({
|
|
165
|
+
service: Service40,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node78, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info6, Mode2, DiffError2, Service40, node44, exports_vcs };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./file-retention-9pgqtxcp.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info25
|
|
9
|
+
} from "./file-retention-8qbgjw8c.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-er56z9m3.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./file-retention-aqhnkr3e.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin16
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info25);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin16 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service71;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin24 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin16, exports_agent };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node53
|
|
9
|
+
} from "./file-retention-dfwmnba5.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service16,
|
|
24
|
+
node: () => node19
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service16 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service48;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service16.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node19 = makeLocationNode({ service: Service16, layer, deps: [node53, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Error2, InvalidPatternError2, Service16, node19, exports_ripgrep };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./file-retention-2dhvjk9m.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service43
|
|
10
|
+
} from "./file-retention-ktd0ny7h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin22,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
31
|
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin22 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service43;
|
|
51
|
+
const permission = yield* Service57;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin42 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output3, description2, toModelOutput2, Plugin22, exports_skill2 };
|