@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,59 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./pty-0mp324rf.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./location-services-gj3qr3g2.js";
|
|
8
|
+
} from "./pty-z8k7ba4y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node61
|
|
12
|
+
} from "./pty-58mbwdrb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node42
|
|
16
|
+
} from "./pty-3ppptnan.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./pty-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./pty-hn57h045.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-bg2bzas4.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service50,
|
|
32
|
+
node52
|
|
33
|
+
} from "./pty-5s45kcve.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./pty-hm0swns8.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./pty-q9p4606t.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./pty-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service37,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer15,
|
|
50
|
+
node: () => node40,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service50;
|
|
70
|
+
const instances = yield* Service40;
|
|
71
|
+
const bus = yield* Service82;
|
|
72
|
+
const jobs = yield* Service59;
|
|
73
|
+
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,14 +82,14 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make17({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service37.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node40 = makeGlobalNode({
|
|
133
|
+
service: Service37,
|
|
134
|
+
layer: layer15,
|
|
135
|
+
deps: [node52, node42, node86, node87, node61]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service37, Service37.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service37, terminal2, layer15, node40, noopLayer3, exports_execution };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./pty-crwbn2y9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service69;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-z8k7ba4y.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./pty-bc62gbf5.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-1jvwysfd.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
35
|
ID: () => ID14,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info28,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service73,
|
|
44
|
+
node: () => node77
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
65
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
66
66
|
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info28 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -100,14 +100,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service73 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service75;
|
|
110
|
+
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info28.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service73.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node77 = makeLocationNode({
|
|
583
|
+
service: Service73,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node79, node86, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
588
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node77, exports_integration, Event17 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make18,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-dmrxm1ex.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service25,
|
|
12
|
+
node28
|
|
13
|
+
} from "./pty-92s5ksem.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./pty-8f1v9drm.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service21,
|
|
27
|
+
layer: () => layer8,
|
|
28
|
+
node: () => node25
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service21 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer8 = Layer.effect(Service21, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service25;
|
|
68
|
+
return Service21.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make18({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node25 = makeLocationNode({ service: Service21, layer: layer8, deps: [node28] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service21, layer8, node25, exports_instructions2 };
|
|
@@ -2,34 +2,34 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./pty-hgyhsn9t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./pty-2jn1a9mb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./pty-2xtspnhm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-s7q0bjyb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service49
|
|
22
|
+
} from "./pty-dmrxm1ex.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service16,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-5s7v9c7v.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
@@ -38,7 +38,7 @@ __export(exports_patch, {
|
|
|
38
38
|
Input: () => Input2,
|
|
39
39
|
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
42
|
name: () => name2,
|
|
43
43
|
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
@@ -105,15 +105,15 @@ var toModelContent2 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin2 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const access = yield* Service16;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service14;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service49;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export { name2, Input2, Applied2, Output2, toModelContent2,
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./pty-1jvwysfd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./pty-dmrxm1ex.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service48
|
|
14
|
+
} from "./pty-61g3b1pw.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin5,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin5 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service49;
|
|
53
|
+
const forms = yield* Service74;
|
|
54
|
+
const websearch = yield* Service48;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name4, NO_RESULTS2, description2, Input4, Plugin5, exports_websearch };
|