@opencode/core 0.0.0-dev-19933 → 0.0.0-dev-19935
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-services-s12geb02.js → pty-04tfxcdr.js} +12 -12
- package/dist/chunks/{location-services-rph3zd4r.js → pty-0gaj4617.js} +6 -6
- package/dist/chunks/{location-services-rhjbct0v.js → pty-0gdmqesm.js} +4 -4
- package/dist/chunks/{location-services-0drgwj0w.js → pty-0kh0dn2a.js} +9 -9
- package/dist/chunks/{location-services-3yy68sra.js → pty-0m1yaj0w.js} +20 -20
- package/dist/chunks/{location-services-p74jqh8w.js → pty-0mp324rf.js} +11 -11
- package/dist/chunks/{location-services-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-gcc43v15.js → pty-0qjksd3p.js} +29 -29
- package/dist/chunks/{location-services-g9jp0y5t.js → pty-10ztk21w.js} +6 -6
- package/dist/chunks/{location-services-byqm21fr.js → pty-125gwrbg.js} +18 -18
- package/dist/chunks/{location-services-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-services-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-den0y6mq.js → pty-1jvwysfd.js} +23 -23
- package/dist/chunks/pty-1ms15p6n.js +65 -0
- package/dist/chunks/{location-services-aq066r76.js → pty-1nsrs91v.js} +23 -23
- package/dist/chunks/{location-services-d3s8x8d0.js → pty-1xj4prap.js} +24 -24
- package/dist/chunks/{location-services-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-1z8qb3ex.js → pty-21yscatf.js} +47 -47
- package/dist/chunks/{location-services-1gd24jtv.js → pty-23yqmb8f.js} +11 -11
- package/dist/chunks/{location-services-k1h24f7j.js → pty-24q3h2ph.js} +9 -9
- package/dist/chunks/{location-services-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-evbgk2k8.js → pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-services-xaf9sk1m.js → pty-2jn1a9mb.js} +24 -24
- package/dist/chunks/{location-services-hw0dh7gd.js → pty-2k0605zp.js} +42 -42
- package/dist/chunks/{location-services-1nwxscpy.js → pty-2vgzs72b.js} +5 -5
- package/dist/chunks/{location-services-nzbxqn7q.js → pty-2vtswabk.js} +9 -9
- package/dist/chunks/{location-services-01saf27s.js → pty-2w9fymad.js} +18 -18
- package/dist/chunks/{location-services-fj726280.js → pty-2x41v6hj.js} +14 -14
- package/dist/chunks/{location-services-k75p7jbd.js → pty-2xtspnhm.js} +18 -18
- package/dist/chunks/{location-services-ca10maaz.js → pty-2zqfv34k.js} +28 -28
- package/dist/chunks/{location-services-hpeaj78a.js → pty-30jzjac2.js} +8 -8
- package/dist/chunks/{location-services-qby9dwvd.js → pty-37ea9c2d.js} +8 -8
- package/dist/chunks/{location-services-9466nf0f.js → pty-3dvt7t1w.js} +64 -64
- package/dist/chunks/{location-services-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-1r1dat18.js → pty-3fhvbsdb.js} +15 -15
- package/dist/chunks/{location-services-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-zzrsh38e.js → pty-3jd4ahw0.js} +1 -1
- package/dist/chunks/{location-services-jhf3jymm.js → pty-3ppptnan.js} +6 -6
- package/dist/chunks/{location-services-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-cc1yeevh.js → pty-3zgfwzda.js} +3 -3
- package/dist/chunks/{location-services-v9wys9g0.js → pty-40rggeet.js} +5 -5
- package/dist/chunks/{location-services-fkv5dgng.js → pty-479h0rpz.js} +8 -8
- package/dist/chunks/{location-services-b1160vm0.js → pty-487tjbbd.js} +22 -22
- package/dist/chunks/{location-services-h6r3nrb9.js → pty-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-services-e6hf2w1z.js → pty-4ptcp2em.js} +28 -28
- package/dist/chunks/{location-services-gxmtjddh.js → pty-4ty2257w.js} +8 -8
- package/dist/chunks/{location-services-qn4ba14w.js → pty-510m7gjw.js} +5 -5
- package/dist/chunks/{location-services-tr93dsz8.js → pty-54c9gbn9.js} +9 -9
- package/dist/chunks/{location-services-egwaa4j7.js → pty-56c3q4gh.js} +2 -2
- package/dist/chunks/{location-services-56gdpj1q.js → pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-services-qpbc7zwf.js → pty-57e9z27j.js} +5 -5
- package/dist/chunks/{location-services-vwf963ta.js → pty-58mbwdrb.js} +15 -15
- package/dist/chunks/{location-services-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-amsysvbs.js → pty-5p5kf06w.js} +13 -13
- package/dist/chunks/{location-services-7b6mncz0.js → pty-5s45kcve.js} +19 -19
- package/dist/chunks/{location-services-qgx1rdqs.js → pty-5s7v9c7v.js} +18 -18
- package/dist/chunks/{location-services-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-4ths69c4.js → pty-5z94pt16.js} +11 -11
- package/dist/chunks/{location-services-5v7ahtzb.js → pty-61g3b1pw.js} +19 -19
- package/dist/chunks/{location-services-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{location-services-f07eqm4g.js → pty-67s6xyqv.js} +30 -30
- package/dist/chunks/{location-services-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-services-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-x8ebxbs7.js → pty-6mwr1jqd.js} +15 -15
- package/dist/chunks/{location-services-s3e3s6xq.js → pty-6qw955q2.js} +5 -5
- package/dist/chunks/{location-services-6v9pdapk.js → pty-729ex4wk.js} +35 -35
- package/dist/chunks/{location-services-zb1czzx9.js → pty-72s2ce21.js} +9 -9
- package/dist/chunks/{location-services-r99kzjq4.js → pty-772f7zcq.js} +3 -3
- package/dist/chunks/{location-services-5s3efz6b.js → pty-79wtkhdx.js} +43 -43
- package/dist/chunks/{location-services-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-rvt91he9.js → pty-7cge7rm7.js} +8 -8
- package/dist/chunks/{location-services-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-services-qjhg5syr.js → pty-7sttfjma.js} +25 -25
- package/dist/chunks/{location-services-bj7tvmw6.js → pty-7t45mvbd.js} +23 -23
- package/dist/chunks/{location-services-jh1by5q0.js → pty-7y216y5p.js} +24 -24
- package/dist/chunks/{location-services-w30j99fm.js → pty-7zgazq3n.js} +24 -24
- package/dist/chunks/{location-services-nea05py3.js → pty-81jw091s.js} +37 -37
- package/dist/chunks/{location-services-57ez7d0k.js → pty-81swgkk7.js} +7 -7
- package/dist/chunks/{location-services-fqhbsnr5.js → pty-89bb6baa.js} +8 -8
- package/dist/chunks/{location-services-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-wvepaptn.js → pty-8f1v9drm.js} +32 -32
- package/dist/chunks/{location-services-41rx6xpw.js → pty-8gvkar91.js} +16 -16
- package/dist/chunks/{location-services-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-cjwramev.js → pty-8qh6anns.js} +4 -4
- package/dist/chunks/{location-services-sxa34a4z.js → pty-8tr0qdz4.js} +10 -10
- package/dist/chunks/{location-services-jewzahs7.js → pty-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-services-yaarn63p.js → pty-8yf0cvxd.js} +7 -7
- package/dist/chunks/{location-services-2xk65d5p.js → pty-92s5ksem.js} +49 -49
- package/dist/chunks/{location-services-dndbn6tq.js → pty-94ycm6fd.js} +12 -12
- package/dist/chunks/{location-services-agp03ejd.js → pty-9j4rwzvb.js} +11 -11
- package/dist/chunks/{location-services-vfw0v6d8.js → pty-9q2chv03.js} +3 -3
- package/dist/chunks/{location-services-dvz5qkvp.js → pty-9vj1cv01.js} +9 -9
- package/dist/chunks/{location-services-88zcg80h.js → pty-9y446jqg.js} +11 -11
- package/dist/chunks/{location-services-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-jk7fjn0h.js → pty-a48s4pqa.js} +27 -27
- package/dist/chunks/{location-services-wxjeszww.js → pty-aads351p.js} +1 -1
- package/dist/chunks/{location-services-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-5b2n9wtc.js → pty-abb4bxme.js} +26 -26
- package/dist/chunks/{location-services-h2r7bbkd.js → pty-acp7khxw.js} +11 -11
- package/dist/chunks/{location-services-sns0d4xz.js → pty-ajv9ph60.js} +6 -6
- package/dist/chunks/{location-services-7gvwkz6m.js → pty-avm8jn6n.js} +5 -5
- package/dist/chunks/{location-services-smsg9td2.js → pty-b23z4qnb.js} +7 -7
- package/dist/chunks/{location-services-qa3qhgw8.js → pty-b27vhd2z.js} +4 -4
- package/dist/chunks/{location-services-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-mf9m2v67.js → pty-ba07h9gm.js} +2 -2
- package/dist/chunks/{location-services-g4e5a8px.js → pty-bc62gbf5.js} +21 -21
- package/dist/chunks/{location-services-06dxphr1.js → pty-bccb6npm.js} +4 -4
- package/dist/chunks/{location-services-ve4pfa0n.js → pty-bf0ztrs3.js} +4 -4
- package/dist/chunks/{location-services-97fmyryk.js → pty-bg2bzas4.js} +9 -9
- package/dist/chunks/{location-services-p435d5mj.js → pty-bm550x0b.js} +8 -8
- package/dist/chunks/{location-services-3b7ncy0a.js → pty-br51nt48.js} +3 -3
- package/dist/chunks/{location-services-veab9ysh.js → pty-c7byg8pj.js} +7 -7
- package/dist/chunks/{location-services-sa4w9a46.js → pty-c84hahnz.js} +3 -3
- package/dist/chunks/{location-services-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-9kmbd9mt.js → pty-cmkj70ft.js} +2 -2
- package/dist/chunks/{location-services-avymfndx.js → pty-crc6eftr.js} +50 -50
- package/dist/chunks/{location-services-dnnw2ag8.js → pty-crwbn2y9.js} +22 -22
- package/dist/chunks/{location-services-s0aexzn2.js → pty-d170h7tj.js} +16 -16
- package/dist/chunks/{location-services-5rsnc0wz.js → pty-d21c9hyv.js} +15 -15
- package/dist/chunks/{location-services-yxww1zge.js → pty-d4f5zm7n.js} +13 -13
- package/dist/chunks/{location-services-91ww8zqm.js → pty-d5z7kk5f.js} +6 -6
- package/dist/chunks/{location-services-3smbx4tg.js → pty-dep4keqg.js} +23 -23
- package/dist/chunks/{location-services-8scdvrd9.js → pty-dgsc5ysd.js} +30 -30
- package/dist/chunks/{location-services-bnq2yade.js → pty-dmrxm1ex.js} +60 -60
- package/dist/chunks/{location-services-vk1pnjq9.js → pty-dqsgs04j.js} +9 -9
- package/dist/chunks/{location-services-hyvan7kf.js → pty-e15f0xpb.js} +31 -31
- package/dist/chunks/{location-services-mbvw0189.js → pty-e1rbgcj4.js} +30 -30
- package/dist/chunks/{location-services-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-services-xn4a2vfg.js → pty-e3rw4ffc.js} +1 -1
- package/dist/chunks/{location-services-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-zwb7d1wn.js → pty-emwwjpt7.js} +22 -22
- package/dist/chunks/{location-services-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-services-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-smn8w5fw.js → pty-f2btm3ds.js} +4 -4
- package/dist/chunks/{location-services-f828m53h.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/pty-ffgm1r5f.js +26 -0
- package/dist/chunks/{location-services-6ehegarm.js → pty-fkjaqdxa.js} +44 -44
- package/dist/chunks/{location-services-shyynm3y.js → pty-fnf91rh6.js} +26 -26
- package/dist/chunks/{location-services-7jr5wnf4.js → pty-ftbyp22j.js} +33 -33
- package/dist/chunks/{location-services-pccv5wmk.js → pty-ftffx8fq.js} +22 -22
- package/dist/chunks/{location-services-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-mhjr3rfr.js → pty-fxv6f51q.js} +4 -4
- package/dist/chunks/{location-services-npedgy9w.js → pty-fyynqrjc.js} +34 -34
- package/dist/chunks/{location-services-hzzsfrh9.js → pty-fzdsdhyy.js} +9 -9
- package/dist/chunks/{location-services-p26b5pq5.js → pty-g49r3ea3.js} +24 -24
- package/dist/chunks/{location-services-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-padsqcqg.js → pty-gjyhvyzk.js} +10 -10
- package/dist/chunks/{location-services-j6amyfha.js → pty-gmt621qa.js} +17 -17
- package/dist/chunks/{location-services-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-qvk8q52w.js → pty-h5prsy26.js} +18 -18
- package/dist/chunks/{location-services-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-h71w788e.js → pty-h71w788e.js} +2 -2
- package/dist/chunks/{location-services-cnxm6v10.js → pty-hgyhsn9t.js} +16 -16
- package/dist/chunks/{location-services-r4dxhd0k.js → pty-hkw89x8s.js} +3 -3
- package/dist/chunks/{location-services-2h0n3pvm.js → pty-hm0swns8.js} +4 -4
- package/dist/chunks/{location-services-ddt2bs9e.js → pty-hn57h045.js} +4 -4
- package/dist/chunks/{location-services-97y1acd2.js → pty-hnrh7jv9.js} +11 -11
- package/dist/chunks/{location-services-k4e92dms.js → pty-httfvynw.js} +15 -15
- package/dist/chunks/{location-services-nfgkmr26.js → pty-hvrxfwdm.js} +6 -6
- package/dist/chunks/{location-services-6n4b0dsb.js → pty-j1mj860n.js} +9 -9
- package/dist/chunks/{location-services-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-txs978d1.js → pty-jsm1w6zq.js} +4 -4
- package/dist/chunks/{location-services-bpyqak8g.js → pty-jz9w4cgt.js} +7 -7
- package/dist/chunks/{location-services-qa03ng1b.js → pty-karrgenz.js} +37 -37
- package/dist/chunks/{location-services-66qy9qj4.js → pty-ke2bgdcy.js} +13 -13
- package/dist/chunks/{location-services-jw80jp6b.js → pty-kk00bynn.js} +21 -21
- package/dist/chunks/{location-services-nt0s1zvs.js → pty-ks3r113m.js} +14 -14
- package/dist/chunks/{location-services-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-y35sf2j4.js → pty-m9g140gf.js} +4 -4
- package/dist/chunks/{location-services-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-13gzpw2v.js → pty-mm0y4phk.js} +2 -2
- package/dist/chunks/{location-services-3pb9af0k.js → pty-mp49sbvf.js} +27 -27
- package/dist/chunks/{location-services-qeseq2md.js → pty-mqbat9jp.js} +3 -3
- package/dist/chunks/{location-services-qr7n58p5.js → pty-mzbph88c.js} +43 -43
- package/dist/chunks/{location-services-q65ygsy9.js → pty-n0m5xdp9.js} +10 -10
- package/dist/chunks/{location-services-15ykkz21.js → pty-n44333yt.js} +13 -13
- package/dist/chunks/{location-services-hqxaqnsz.js → pty-ndkp1pbx.js} +13 -13
- package/dist/chunks/{location-services-pnv527nz.js → pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-services-xp73bz4m.js → pty-nsvd1f8s.js} +21 -21
- package/dist/chunks/{location-services-1t9ytmqw.js → pty-ny05sq48.js} +9 -9
- package/dist/chunks/{location-services-k3c624dm.js → pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-services-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
- package/dist/chunks/{location-services-43d6ch47.js → pty-p6d074gg.js} +13 -13
- package/dist/chunks/{location-services-7d60y72p.js → pty-pa29zzk8.js} +22 -22
- package/dist/chunks/{location-services-wm5dzp9x.js → pty-pgadv6bt.js} +18 -18
- package/dist/chunks/{location-services-3ykzfd22.js → pty-pjedbq3k.js} +9 -9
- package/dist/chunks/{location-services-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-zyj38zv2.js → pty-pkatsdp4.js} +22 -22
- package/dist/chunks/{location-services-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-hgnyvvad.js → pty-pnchrenk.js} +32 -32
- package/dist/chunks/{location-services-zzzk6brv.js → pty-ppt37g3q.js} +59 -59
- package/dist/chunks/{location-services-pck9b22e.js → pty-ps1arbjd.js} +31 -31
- package/dist/chunks/{location-services-cxhh1rn6.js → pty-ps4an3s3.js} +3 -3
- package/dist/chunks/{location-services-heepps64.js → pty-q29thqgw.js} +6 -6
- package/dist/chunks/{location-services-n5vz0cry.js → pty-q8n9d2sh.js} +8 -8
- package/dist/chunks/{location-services-avzbvtge.js → pty-q9p4606t.js} +23 -23
- package/dist/chunks/{location-services-d4he2qe1.js → pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-services-xfkkasph.js → pty-qqeeq2t9.js} +7 -7
- package/dist/chunks/{location-services-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-nfwd4y0h.js → pty-qv3cmgwj.js} +20 -20
- package/dist/chunks/{location-services-nfh8hxhr.js → pty-qygprnkz.js} +11 -11
- package/dist/chunks/{location-services-ajqzprg7.js → pty-r1dq1bn8.js} +8 -8
- package/dist/chunks/{location-services-gkkm038p.js → pty-r56jycby.js} +17 -17
- package/dist/chunks/{location-services-mvfsc1pv.js → pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-services-3x2ckdv1.js → pty-r8f2g607.js} +8 -8
- package/dist/chunks/{location-services-vyxpt3wn.js → pty-r98b7zm4.js} +30 -30
- package/dist/chunks/{location-services-5tsc8w82.js → pty-rc72nxnw.js} +43 -43
- package/dist/chunks/{location-services-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-8djvvjxb.js → pty-rrtzm0z5.js} +22 -22
- package/dist/chunks/{location-services-csx807mm.js → pty-rscnw2jy.js} +17 -17
- package/dist/chunks/{location-services-sbgaavdd.js → pty-rwmws8eb.js} +13 -13
- package/dist/chunks/{location-services-bz85s9hh.js → pty-ryt7pzqc.js} +1 -1
- package/dist/chunks/{location-services-0gsvpvz9.js → pty-rz6pad5v.js} +25 -25
- package/dist/chunks/{location-services-a2dxn8dm.js → pty-s1vgemc7.js} +7 -7
- package/dist/chunks/{location-services-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{location-services-dgt1zz73.js → pty-s6ymxyzv.js} +6 -6
- package/dist/chunks/{location-services-ahk5atfs.js → pty-s7q0bjyb.js} +13 -13
- package/dist/chunks/{location-services-6fp3x2e4.js → pty-sc7m4xfj.js} +17 -17
- package/dist/chunks/{location-services-g0brck71.js → pty-sd0vhpay.js} +96 -96
- package/dist/chunks/{location-services-88pzrjvm.js → pty-sf1tgbav.js} +14 -14
- package/dist/chunks/{location-services-zdt4b259.js → pty-sz5c3476.js} +1 -1
- package/dist/chunks/{location-services-5wna4smh.js → pty-t2qsjm8j.js} +23 -23
- package/dist/chunks/{location-services-1ddyqjqr.js → pty-t3gyxbgb.js} +15 -15
- package/dist/chunks/{location-services-tj6ctq7t.js → pty-ta94ydyf.js} +10 -10
- package/dist/chunks/{location-services-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-ktbvhxdy.js → pty-tbe9f1mn.js} +21 -21
- package/dist/chunks/{location-services-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-wz3jkm9t.js → pty-tmdgs4qc.js} +11 -11
- package/dist/chunks/{location-services-br0tr5aq.js → pty-tpw6cwsb.js} +8 -8
- package/dist/chunks/{location-services-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-qcx6v6fb.js → pty-tyxp03c1.js} +29 -29
- package/dist/chunks/pty-v1faaxn9.js +18 -0
- package/dist/chunks/{location-services-wqjxr3aq.js → pty-v5g0yskm.js} +2 -2
- package/dist/chunks/{location-services-c3nq68wy.js → pty-v9a7a4zt.js} +91 -91
- package/dist/chunks/{location-services-7kesnrr4.js → pty-vcbz1vdx.js} +15 -15
- package/dist/chunks/{location-services-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-hc7n3jk5.js → pty-vkxpz7g2.js} +4 -4
- package/dist/chunks/{location-services-jtzqzwva.js → pty-vnr19yaz.js} +6 -6
- package/dist/chunks/{location-services-5p2kwt9x.js → pty-vv67fzzf.js} +22 -22
- package/dist/chunks/{location-services-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-54v9494h.js → pty-w4mwq8bs.js} +1 -1
- package/dist/chunks/{location-services-0rj48pfy.js → pty-w60ddt80.js} +17 -17
- package/dist/chunks/{location-services-6pbst28s.js → pty-w9fkbwq5.js} +10 -10
- package/dist/chunks/{location-services-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-ct491mk2.js → pty-wgh0awmw.js} +35 -35
- package/dist/chunks/pty-wh560a5b.js +252 -0
- package/dist/chunks/{location-services-xwnqybcm.js → pty-whhr0qbd.js} +5 -5
- package/dist/chunks/{location-services-reqnm6dy.js → pty-wjv0bjkz.js} +16 -16
- package/dist/chunks/{location-services-e0b31sa2.js → pty-wmt2jdxs.js} +21 -21
- package/dist/chunks/{location-services-b24tsyng.js → pty-wx3n4hzp.js} +24 -24
- package/dist/chunks/{location-services-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-0ryd0fps.js → pty-x2d9qy7d.js} +5 -5
- package/dist/chunks/{location-services-swz3aexg.js → pty-x2xsxqnt.js} +1 -1
- package/dist/chunks/{location-services-14ejk6kr.js → pty-x7tehcsj.js} +29 -29
- package/dist/chunks/{location-services-8jwr28ks.js → pty-x8ssrn04.js} +11 -11
- package/dist/chunks/{location-services-y9ksa81c.js → pty-xk4hfm6m.js} +11 -11
- package/dist/chunks/{location-services-f4mmxbf4.js → pty-xnbn90dq.js} +17 -17
- package/dist/chunks/pty-xrsqh21y.js +4 -0
- package/dist/chunks/{location-services-3akw3t53.js → pty-xxs85xy1.js} +16 -16
- package/dist/chunks/{location-services-cphcvfjg.js → pty-xxz86ynf.js} +24 -24
- package/dist/chunks/{location-services-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-nha1rwb4.js → pty-y2eym35f.js} +8 -8
- package/dist/chunks/{location-services-hx5ww8wt.js → pty-y5df08dr.js} +12 -12
- package/dist/chunks/{location-services-p7nsp59h.js → pty-y67gsgy6.js} +4 -4
- package/dist/chunks/{location-services-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-btetab1a.js → pty-y8s8jbmk.js} +8 -8
- package/dist/chunks/{location-services-n61zs1tf.js → pty-ydsbnknk.js} +8 -8
- package/dist/chunks/{location-services-35jdh5gh.js → pty-yensex2p.js} +143 -143
- package/dist/chunks/pty-ymeqjvqr.js +492 -0
- package/dist/chunks/{location-services-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-e1pavmxr.js → pty-ywb2092b.js} +5 -5
- package/dist/chunks/{location-services-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-gj3qr3g2.js → pty-z8k7ba4y.js} +16 -16
- package/dist/chunks/{location-services-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-qmkefe1x.js → pty-znfg10s7.js} +4 -4
- package/dist/chunks/{location-services-k9kj6xed.js → pty-zqx8wcya.js} +8 -8
- package/dist/chunks/{location-services-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-mv2f6kph.js → pty-zxv0wf82.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +120 -120
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-services-0mesazry.js +0 -4
- package/dist/chunks/location-services-1rx1b2j9.js +0 -492
- package/dist/chunks/location-services-3vrsxnng.js +0 -65
- package/dist/chunks/location-services-4v7qdvcn.js +0 -18
- package/dist/chunks/location-services-mg5wag8c.js +0 -252
- package/dist/chunks/location-services-z8f6hzd1.js +0 -26
- /package/dist/chunks/{location-services-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node80
|
|
7
|
+
} from "./pty-hgyhsn9t.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service65,
|
|
10
|
+
node68
|
|
11
|
+
} from "./pty-ks3r113m.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options7,
|
|
25
|
+
Service: () => Service64,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node67,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service64 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service65;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service64.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service64.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service64.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service64, layer: layer22(options), deps: [node80, node68] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node67 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options7, Service64, ripgrepLayer2, fffLayer2, layer22, configured8, node67, exports_search };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-z8k7ba4y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./pty-hgyhsn9t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service52,
|
|
12
|
+
node54
|
|
13
|
+
} from "./pty-a48s4pqa.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError6
|
|
16
|
+
} from "./pty-bg2bzas4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service50,
|
|
19
|
+
node52
|
|
20
|
+
} from "./pty-5s45kcve.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service51,
|
|
26
|
+
node53
|
|
27
|
+
} from "./pty-125gwrbg.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service58,
|
|
30
|
+
node60
|
|
31
|
+
} from "./pty-37ea9c2d.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-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: () => Event8,
|
|
46
|
+
ID: () => ID6,
|
|
47
|
+
NotFoundError: () => NotFoundError5,
|
|
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: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service49,
|
|
55
|
+
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node51
|
|
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 Event8 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID6 = Permission.ID;
|
|
68
|
+
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -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 NotFoundError5 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 Service49 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service82;
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service52;
|
|
134
|
+
const sessions = yield* Service50;
|
|
135
|
+
const saved = yield* Service51;
|
|
136
|
+
const hooks = yield* Service58;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError6({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID6.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID6.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError5({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service49.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node51 = makeLocationNode({
|
|
303
|
+
service: Service49,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node86, node80, node54, node52, node53, node60]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID6, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service49, node51, exports_permission, Rule2, Ruleset2, Event8 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./pty-2k0605zp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service11
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-ftffx8fq.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service68;
|
|
26
26
|
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin15 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin27, exports_compaction };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-z8k7ba4y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service79,
|
|
17
|
+
node83
|
|
18
|
+
} from "./pty-1nsrs91v.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event21,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info34,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service78,
|
|
35
|
+
Source: () => Source5,
|
|
36
|
+
node: () => node82
|
|
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 Event21 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source5 = Reference.Source;
|
|
46
|
+
var Info34 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service78 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service79;
|
|
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 [Info34.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
|
+
Info34.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 Service78.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 node82 = makeLocationNode({
|
|
116
|
+
service: Service78,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node83]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info34, Service78, node82, exports_reference2, Event21 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-z8k7ba4y.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./pty-hgyhsn9t.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service72,
|
|
20
|
+
node76,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./pty-x7tehcsj.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,24 +30,24 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID12,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service71,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node75,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
50
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
51
51
|
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info25 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service71 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service72;
|
|
65
|
+
const bus = yield* Service82;
|
|
66
|
+
const location = yield* Service76;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service71.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node86, node80] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,7 +225,7 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
231
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
@@ -233,4 +233,4 @@ function parse5(input) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2,
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service71, node75, compatibility2, parse4, exports_model2, Event15 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|