@opencode/core 0.0.0-dev-20336 → 0.0.0-dev-20344
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{job-9thnk5ps.js → location-02ncb0r7.js} +27 -27
- package/dist/chunks/{job-0b1jg2q1.js → location-02pzv384.js} +3 -3
- package/dist/chunks/{job-qyq6e5qz.js → location-09q1akkk.js} +43 -43
- package/dist/chunks/{job-w8yd187f.js → location-0djkakhq.js} +29 -29
- package/dist/chunks/{job-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-2d4k9jj7.js → location-0prctygm.js} +20 -20
- package/dist/chunks/{job-khwh3fyq.js → location-0v2sk5j6.js} +8 -8
- package/dist/chunks/{job-rmvhjvxm.js → location-100xjj6b.js} +2 -2
- package/dist/chunks/{job-xb02k0wq.js → location-19vf66h0.js} +4 -4
- package/dist/chunks/{job-8d0p2m37.js → location-1ceye290.js} +6 -6
- package/dist/chunks/{job-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-th0s0f4m.js → location-1nrdzak4.js} +84 -84
- package/dist/chunks/{job-a8w7s6c8.js → location-1qmb30g3.js} +3 -3
- package/dist/chunks/{job-j3d0mbdc.js → location-1s7a7rc8.js} +23 -23
- package/dist/chunks/{job-w3jyfp25.js → location-21a7rb1f.js} +9 -9
- package/dist/chunks/{job-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{job-346y6mfm.js → location-23xej63c.js} +6 -6
- package/dist/chunks/{job-29x78va6.js → location-29x78va6.js} +2 -2
- package/dist/chunks/{job-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-xwvjf3ce.js → location-2crtrvgv.js} +11 -11
- package/dist/chunks/{job-7ebn0nc0.js → location-2d57kztd.js} +6 -6
- package/dist/chunks/{job-tq0aja3g.js → location-2pmtme7c.js} +26 -26
- package/dist/chunks/{job-z06kv680.js → location-2qfnc9v9.js} +24 -24
- package/dist/chunks/{job-q5asdkn4.js → location-2vs2nh1n.js} +4 -4
- package/dist/chunks/{job-54rsvzdv.js → location-2zmtdwwa.js} +14 -14
- package/dist/chunks/{job-adkeyyk9.js → location-3ea3aynk.js} +11 -11
- package/dist/chunks/{job-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-xr9x2h9h.js → location-3pr8te96.js} +31 -31
- package/dist/chunks/{job-zs1hc5s2.js → location-3r5gxg73.js} +13 -13
- package/dist/chunks/{job-20khx3m5.js → location-3r5v0g1e.js} +38 -38
- package/dist/chunks/{job-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-7q3qvr3d.js → location-3wrtxrr4.js} +6 -6
- package/dist/chunks/{job-hvfrsctp.js → location-3xxwahma.js} +13 -13
- package/dist/chunks/{job-gvx451f5.js → location-3zhghk4y.js} +13 -13
- package/dist/chunks/{job-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-d7eda4mw.js → location-4aj77gpq.js} +9 -9
- package/dist/chunks/{job-p7afssgn.js → location-4m6thn4g.js} +8 -8
- package/dist/chunks/{job-86w17476.js → location-4ms6454k.js} +35 -35
- package/dist/chunks/{job-eqkxs06z.js → location-4mwpykj0.js} +6 -6
- package/dist/chunks/{job-gzasaysv.js → location-4p7vd6rv.js} +30 -30
- package/dist/chunks/{job-q3njkd70.js → location-4ygrs1t9.js} +20 -20
- package/dist/chunks/{job-ztsxb9dj.js → location-5475xd7t.js} +11 -11
- package/dist/chunks/{job-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{job-54tcyq79.js → location-54tcyq79.js} +2 -2
- package/dist/chunks/{job-mfqp6xfm.js → location-56gdpj1q.js} +6 -6
- package/dist/chunks/{job-57ez7d0k.js → location-57ez7d0k.js} +2 -2
- package/dist/chunks/{job-zxapkpa5.js → location-5a824ydm.js} +5 -5
- package/dist/chunks/{job-br36vpfw.js → location-5b7ts617.js} +8 -8
- package/dist/chunks/{job-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{job-ax7kbht8.js → location-5jkbe8f2.js} +26 -26
- package/dist/chunks/{job-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-83a48ncz.js → location-5xeggsjb.js} +46 -46
- package/dist/chunks/{job-b3bcnazv.js → location-5ys6ptk8.js} +8 -8
- package/dist/chunks/{job-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{job-dq0v80fr.js → location-68y7phbn.js} +5 -5
- package/dist/chunks/{job-ad13vv04.js → location-6cqxdj14.js} +17 -17
- package/dist/chunks/{job-ndkpbsgf.js → location-6dz1qw9v.js} +4 -4
- package/dist/chunks/{job-9k8ccm24.js → location-6hwp1n2b.js} +19 -19
- package/dist/chunks/{job-x8mwn2ty.js → location-6j6h2v05.js} +43 -43
- package/dist/chunks/{job-rk32hc8c.js → location-6ktz889z.js} +3 -3
- package/dist/chunks/{job-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-py3kkmfq.js → location-6pc27hjz.js} +6 -6
- package/dist/chunks/{job-a78s9db2.js → location-6z9mwsmt.js} +22 -22
- package/dist/chunks/{job-cnj87pjj.js → location-77bexmsv.js} +10 -10
- package/dist/chunks/{job-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-qgn6gcr1.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/{job-h5psk01r.js → location-7k9teg1e.js} +7 -7
- package/dist/chunks/{job-q8ghk9ne.js → location-7nh1fm73.js} +9 -9
- package/dist/chunks/{job-6tz19gyx.js → location-7rx9p9hh.js} +25 -25
- package/dist/chunks/{job-88y100z1.js → location-7ypqrqvy.js} +17 -17
- package/dist/chunks/{job-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{job-z4kpbbmy.js → location-85sw6847.js} +24 -24
- package/dist/chunks/{job-cwghwexs.js → location-86jdww2w.js} +10 -10
- package/dist/chunks/{job-t6etr70n.js → location-89n34mzq.js} +66 -66
- package/dist/chunks/{job-fh75rate.js → location-8cqwjt8t.js} +1 -1
- package/dist/chunks/{job-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-594rwtqg.js → location-8dg5vm6z.js} +88 -88
- package/dist/chunks/{job-vwyyqzd7.js → location-8dywwfr0.js} +9 -9
- package/dist/chunks/{job-yf26cq0g.js → location-8jqzhmtt.js} +5 -5
- package/dist/chunks/{job-vyf876zv.js → location-8kzf8c2b.js} +12 -12
- package/dist/chunks/{job-80mwyjq3.js → location-8mqyqb4j.js} +6 -6
- package/dist/chunks/{job-yv6ca32c.js → location-8qf8ceg9.js} +18 -18
- package/dist/chunks/{job-tqxmj6gx.js → location-8v1cm23h.js} +9 -9
- package/dist/chunks/{job-d4str853.js → location-95cjtnmc.js} +33 -33
- package/dist/chunks/{job-vxzh5eqq.js → location-96ctqc5x.js} +4 -4
- package/dist/chunks/{job-ym4mtytv.js → location-9jzbk5r7.js} +20 -20
- package/dist/chunks/{job-ztt4fm57.js → location-a02r20w9.js} +8 -8
- package/dist/chunks/{job-x7900zzk.js → location-a67xc8v7.js} +13 -13
- package/dist/chunks/{job-3mhv727s.js → location-a6j3e98v.js} +9 -9
- package/dist/chunks/{job-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{job-hbqjxvpe.js → location-adqdpybp.js} +9 -9
- package/dist/chunks/{job-w9k9pd4w.js → location-ajevxyj5.js} +6 -6
- package/dist/chunks/{job-j2hkd4k9.js → location-anyjerdd.js} +31 -31
- package/dist/chunks/{job-vwhw76dt.js → location-aqjetw3w.js} +16 -16
- package/dist/chunks/{job-c0m0cb4z.js → location-as89ak57.js} +16 -16
- package/dist/chunks/{job-7gvwkz6m.js → location-avm8jn6n.js} +5 -5
- package/dist/chunks/{job-60fbsqnd.js → location-b6763zrq.js} +4 -4
- package/dist/chunks/{job-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-ky6yw5g0.js → location-bddt2pqj.js} +11 -11
- package/dist/chunks/{job-dsxds9jb.js → location-be3vrfba.js} +11 -11
- package/dist/chunks/{job-q4q3htsk.js → location-bg5p7gs6.js} +15 -15
- package/dist/chunks/{job-bpecpa4s.js → location-bj98hwq8.js} +9 -9
- package/dist/chunks/{job-bjtzbw4r.js → location-bjtzbw4r.js} +3 -3
- package/dist/chunks/{job-zph2bqh4.js → location-bk7jaeqh.js} +4 -4
- package/dist/chunks/{job-bqnbcz94.js → location-bkcw67jg.js} +37 -37
- package/dist/chunks/{job-rbdzqrp0.js → location-bks6cz2k.js} +32 -32
- package/dist/chunks/{job-czfptnv9.js → location-br0tr5aq.js} +8 -8
- package/dist/chunks/{job-a57rzqkn.js → location-bt7n4pmb.js} +4 -4
- package/dist/chunks/{job-h9c5bhzr.js → location-c91k7ad4.js} +27 -27
- package/dist/chunks/{job-1qqp8se9.js → location-ckqfqcne.js} +39 -39
- package/dist/chunks/{job-fpmq6gma.js → location-d87ppnb3.js} +5 -5
- package/dist/chunks/{job-g4xer9vd.js → location-d8h50pbm.js} +12 -12
- package/dist/chunks/{job-xh1ma9n3.js → location-ddrs7t2j.js} +6 -6
- package/dist/chunks/{job-kbdnyrzf.js → location-dgadgb83.js} +6 -6
- package/dist/chunks/{job-tnyr0z2a.js → location-djanh1gf.js} +21 -21
- package/dist/chunks/{job-kj3jrt41.js → location-dk95rs1h.js} +22 -22
- package/dist/chunks/{job-dmqcgk4z.js → location-dmqcgk4z.js} +2 -2
- package/dist/chunks/{job-dnxkq42g.js → location-dnxkq42g.js} +1 -1
- package/dist/chunks/{job-y71avatq.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-xfkkasph.js → location-drwq78ky.js} +4 -4
- package/dist/chunks/{job-vxexwmjt.js → location-dv0n9c2x.js} +45 -45
- package/dist/chunks/{job-m4c9d9r4.js → location-dz88wbe7.js} +22 -22
- package/dist/chunks/{job-vj9emm8g.js → location-dzpwn25x.js} +20 -20
- package/dist/chunks/{job-qeg61qyy.js → location-e0m7kynn.js} +3 -3
- package/dist/chunks/{job-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{job-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-43ngz610.js → location-em07s6t6.js} +10 -10
- package/dist/chunks/{job-r76nadcw.js → location-emdq8hvp.js} +2 -2
- package/dist/chunks/{job-pgp1nwjn.js → location-espax8zg.js} +4 -4
- package/dist/chunks/{job-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-2gjr1rky.js → location-exptz1jn.js} +8 -8
- package/dist/chunks/{job-yaqxtwvd.js → location-f04hbnz0.js} +3 -3
- package/dist/chunks/{job-2asns5vc.js → location-f08wkcbe.js} +6 -6
- package/dist/chunks/{job-xnyj4tg8.js → location-f1w4z5f6.js} +11 -11
- package/dist/chunks/{job-7a3m00ed.js → location-f2y0nrye.js} +26 -26
- package/dist/chunks/{job-n35d2xk4.js → location-fhs97t90.js} +9 -9
- package/dist/chunks/{job-0pa63p4t.js → location-fq4hkzfh.js} +9 -9
- package/dist/chunks/{job-c6wc5rke.js → location-fy4xcsnd.js} +11 -11
- package/dist/chunks/{job-4mgk6c50.js → location-g05cwh14.js} +12 -12
- package/dist/chunks/{job-rpdjsxb2.js → location-g6996jmd.js} +11 -11
- package/dist/chunks/{job-428rdfbk.js → location-g78cg05n.js} +7 -7
- package/dist/chunks/{job-7vbwhngw.js → location-gb5fcfe9.js} +3 -3
- package/dist/chunks/{job-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-3hgf9tpp.js → location-gec89q0r.js} +24 -24
- package/dist/chunks/{job-gfvb90ym.js → location-gfvb90ym.js} +2 -2
- package/dist/chunks/{job-gx0n0a9z.js → location-gh2q5f0h.js} +13 -13
- package/dist/chunks/{job-hggwccpy.js → location-gnhm909b.js} +8 -8
- package/dist/chunks/{job-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-j14t79n7.js → location-h4c91pay.js} +4 -4
- package/dist/chunks/{job-vd7rzxqf.js → location-h6b02349.js} +5 -5
- package/dist/chunks/{job-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-1b4m0bzf.js → location-h9wp8z5w.js} +4 -4
- package/dist/chunks/{job-p9g6edyn.js → location-hbkd0kx9.js} +11 -11
- package/dist/chunks/{job-b9acg77r.js → location-he6fwm9p.js} +18 -18
- package/dist/chunks/{job-bcbyy22v.js → location-hnwtc367.js} +4 -4
- package/dist/chunks/{job-qzm2e7xh.js → location-hs5zt0a8.js} +6 -6
- package/dist/chunks/{job-rxbadc90.js → location-j03hpba4.js} +16 -16
- package/dist/chunks/{job-sstpnqq8.js → location-j2z7g6g4.js} +4 -4
- package/dist/chunks/{job-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{job-aakp3cxj.js → location-j8svvbq4.js} +8 -8
- package/dist/chunks/{job-ta3krhcf.js → location-jasex9we.js} +20 -20
- package/dist/chunks/{job-mk4tcgbc.js → location-jjpdfk8h.js} +23 -23
- package/dist/chunks/{job-zpxvft8s.js → location-jv7gn18a.js} +17 -17
- package/dist/chunks/{job-95axr1yr.js → location-k18kvgqw.js} +26 -26
- package/dist/chunks/{job-k3c624dm.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{job-kxwsagv1.js → location-k81hr64f.js} +6 -6
- package/dist/chunks/{job-7grbyccc.js → location-khkvak3g.js} +2 -2
- package/dist/chunks/{job-nkwkaxf1.js → location-kxf9nzd0.js} +10 -10
- package/dist/chunks/{job-t3rymwwm.js → location-m1a691bq.js} +9 -9
- package/dist/chunks/{job-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-g6dneb80.js → location-m4x4aq54.js} +36 -36
- package/dist/chunks/{job-tx577je4.js → location-m5jy6c1p.js} +8 -8
- package/dist/chunks/{job-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-qa7075pb.js → location-ma15yhyh.js} +5 -5
- package/dist/chunks/{job-dvqtpf6s.js → location-mg7d5g79.js} +14 -14
- package/dist/chunks/{job-1d626cn7.js → location-mjncxbbh.js} +9 -9
- package/dist/chunks/{job-h6z2539c.js → location-mt41vr8a.js} +21 -21
- package/dist/chunks/{job-phhdajc1.js → location-mtr9da87.js} +8 -8
- package/dist/chunks/{job-0mv8j8k9.js → location-mtzh4w76.js} +1 -1
- package/dist/chunks/{job-mvfsc1pv.js → location-mvfsc1pv.js} +1 -1
- package/dist/chunks/{job-8z3rc051.js → location-mwacmns3.js} +4 -4
- package/dist/chunks/{job-6pf2q9rn.js → location-myd9kayg.js} +7 -7
- package/dist/chunks/{job-4ppwc1fw.js → location-n3csj6mp.js} +15 -15
- package/dist/chunks/{job-j1432g81.js → location-n4thbxy5.js} +115 -114
- package/dist/chunks/{job-g9vavm7g.js → location-n6rcy4mh.js} +2 -2
- package/dist/chunks/{job-xq6sg5pm.js → location-ndcdw9g8.js} +18 -18
- package/dist/chunks/{job-8te14jf7.js → location-nkp651gc.js} +15 -15
- package/dist/chunks/{job-1385q6zt.js → location-nqeb2avx.js} +16 -16
- package/dist/chunks/{job-xkhfjrgz.js → location-nvxqht09.js} +3 -3
- package/dist/chunks/{job-rzs3gq0x.js → location-nw53exab.js} +8 -8
- package/dist/chunks/{job-150yg2gd.js → location-nz569jqt.js} +5 -5
- package/dist/chunks/{job-43j300tq.js → location-p1nmr6zw.js} +12 -12
- package/dist/chunks/{job-n2kah95r.js → location-p84dsdfh.js} +8 -8
- package/dist/chunks/{job-nrgqgta6.js → location-p91yt6mk.js} +14 -14
- package/dist/chunks/{job-41vqc9dz.js → location-pbw0r91s.js} +11 -11
- package/dist/chunks/{job-cq5z9zk7.js → location-ph85sfvw.js} +25 -25
- package/dist/chunks/{job-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{job-nwd3z7e8.js → location-pq4fj8xc.js} +48 -48
- package/dist/chunks/{job-psazpmmj.js → location-psazpmmj.js} +2 -2
- package/dist/chunks/{job-xsgk3b13.js → location-q0raz0xt.js} +9 -9
- package/dist/chunks/location-q509s3k3.js +18 -0
- package/dist/chunks/{job-58acdtj6.js → location-qa3tmgdp.js} +11 -11
- package/dist/chunks/{job-eb35tzb0.js → location-qkaqxm3y.js} +6 -6
- package/dist/chunks/{job-5d607bsg.js → location-qmqgtz8f.js} +9 -9
- package/dist/chunks/{job-5r5k3c40.js → location-qpcrevt6.js} +26 -26
- package/dist/chunks/{job-f32czd11.js → location-qs001aqx.js} +8 -8
- package/dist/chunks/{job-br7skqp4.js → location-qs2a9kth.js} +34 -34
- package/dist/chunks/{job-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{job-510m7gjw.js → location-qte5z7bc.js} +5 -5
- package/dist/chunks/{job-mnbh32fx.js → location-r01t9b5y.js} +6 -6
- package/dist/chunks/{job-f5gy8qwh.js → location-r2vmt3px.js} +8 -8
- package/dist/chunks/{job-3v2cpxt2.js → location-r539qsq3.js} +11 -11
- package/dist/chunks/{job-fsgfmda0.js → location-r5h3vakg.js} +7 -7
- package/dist/chunks/{job-aa96q7pf.js → location-r9fqj8ns.js} +25 -25
- package/dist/chunks/location-rbnh57a3.js +507 -0
- package/dist/chunks/{job-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-s8d7rejh.js → location-rhjbct0v.js} +4 -4
- package/dist/chunks/{job-qv2280dq.js → location-rscp1sre.js} +17 -17
- package/dist/chunks/{job-s4enseaf.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{job-pgvyfn9b.js → location-s6tgk9vn.js} +31 -31
- package/dist/chunks/{job-xcae95h5.js → location-s85wev1h.js} +1 -1
- package/dist/chunks/{job-6hq6h515.js → location-sjcx3g3r.js} +22 -22
- package/dist/chunks/{job-y4ny5ahf.js → location-smwhbszz.js} +17 -17
- package/dist/chunks/{job-m5dccm3z.js → location-t1e7skfr.js} +18 -18
- package/dist/chunks/{job-7vw9mcmm.js → location-t35kk4m3.js} +13 -13
- package/dist/chunks/{job-xs1p5wmh.js → location-t6zqrtn1.js} +7 -7
- package/dist/chunks/{job-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tfzngn12.js → location-tbmac1c7.js} +4 -4
- package/dist/chunks/{job-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-ass7ydek.js → location-td97gtjv.js} +5 -5
- package/dist/chunks/{job-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{job-g2yz86wh.js → location-tqkrwgse.js} +2 -2
- package/dist/chunks/{job-spxtaarx.js → location-trf615cw.js} +24 -24
- package/dist/chunks/{job-qk2y8k3x.js → location-tsb833f7.js} +1 -1
- package/dist/chunks/{job-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{job-33k2ehp8.js → location-twmzk99d.js} +2 -2
- package/dist/chunks/{job-jf6zf2rn.js → location-tx44wenv.js} +10 -10
- package/dist/chunks/{job-75csm02s.js → location-v0a36qrn.js} +14 -14
- package/dist/chunks/{job-ghxhxmvq.js → location-v4bf4b2h.js} +4 -4
- package/dist/chunks/{job-rss0fqwj.js → location-vakeda38.js} +5 -5
- package/dist/chunks/{job-7rj9kkae.js → location-vd3e338q.js} +285 -285
- package/dist/chunks/{job-zwnps6g2.js → location-vdb8q7n5.js} +24 -24
- package/dist/chunks/{job-ve4pfa0n.js → location-ve4pfa0n.js} +1 -1
- package/dist/chunks/{job-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{job-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-9aheh86c.js → location-w4m15ch3.js} +13 -13
- package/dist/chunks/{job-3x2zyzfp.js → location-w561axtn.js} +18 -18
- package/dist/chunks/{job-9n0gwwx1.js → location-w8h3bv79.js} +34 -34
- package/dist/chunks/{job-g4888p5f.js → location-watadjga.js} +16 -16
- package/dist/chunks/{job-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{job-nkht507p.js → location-x19b8bje.js} +1 -1
- package/dist/chunks/{job-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-vz7a7mkg.js → location-x594m8gs.js} +8 -8
- package/dist/chunks/{job-axmvebxj.js → location-xdk9p2qn.js} +4 -4
- package/dist/chunks/{job-nvw9amg7.js → location-xdzxe0wf.js} +8 -8
- package/dist/chunks/{job-9b6x747e.js → location-xeeh34fw.js} +12 -12
- package/dist/chunks/{job-v8y396jm.js → location-xfgqgyq2.js} +16 -16
- package/dist/chunks/{job-6qjftq9w.js → location-xhq66er1.js} +16 -16
- package/dist/chunks/{job-h66gqtfn.js → location-xj05n8sj.js} +1 -1
- package/dist/chunks/{job-55c455mf.js → location-xnwq07qp.js} +1 -1
- package/dist/chunks/{job-r7ytkdzw.js → location-xxfd829z.js} +21 -21
- package/dist/chunks/{job-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-jb5gz6q5.js → location-y3ts0hry.js} +8 -8
- package/dist/chunks/{job-bzgcn0jp.js → location-y56ehv6b.js} +9 -9
- package/dist/chunks/location-y6qt5j83.js +26 -0
- package/dist/chunks/{job-05nz9j8w.js → location-ybx772w1.js} +50 -50
- package/dist/chunks/location-ycn72enr.js +252 -0
- package/dist/chunks/{job-ap89vq3r.js → location-yks39n9z.js} +20 -20
- package/dist/chunks/{job-1acjjqhc.js → location-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-2dxnkfqe.js → location-ys0deajw.js} +16 -16
- package/dist/chunks/{job-aw67y148.js → location-ysbspvw2.js} +11 -11
- package/dist/chunks/{job-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-jqc5y2ba.js → location-zbt3cmbn.js} +10 -10
- package/dist/chunks/{job-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-8c0jss2t.js → location-zh9b217t.js} +3 -3
- package/dist/chunks/{job-325sge2s.js → location-znsx74x0.js} +1 -1
- package/dist/chunks/{job-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-ngts6ef0.js → location-zrq8kphx.js} +8 -8
- package/dist/chunks/{job-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{job-zf229rdw.js → location-zzmaa19e.js} +11 -11
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/job-5cgcf55e.js +0 -507
- package/dist/chunks/job-7sn92kxj.js +0 -252
- package/dist/chunks/job-9q1v9n4z.js +0 -26
- package/dist/chunks/job-rap9a73h.js +0 -18
- /package/dist/chunks/{job-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node57
|
|
18
|
+
} from "./location-q0raz0xt.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service64,
|
|
21
|
+
node67
|
|
22
|
+
} from "./location-zrq8kphx.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service53,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node56
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service53 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service64;
|
|
58
|
+
const image = yield* Service54;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service53.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node56 = makeLocationNode({
|
|
277
|
+
service: Service53,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node67, node57]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service53, node56, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-khkvak3g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./location-4ms6454k.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service33
|
|
12
|
+
} from "./location-xfgqgyq2.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin21
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin21 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service70;
|
|
34
34
|
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service33;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin6 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin21, exports_worktree };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./location-xxfd829z.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node70
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service67.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service67, node70, exports_ripgrep };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-khkvak3g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service68
|
|
11
|
+
} from "./location-xxfd829z.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./location-mg7d5g79.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service45,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-a67xc8v7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./location-dv0n9c2x.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service37,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-nkp651gc.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
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 Plugin7 = {
|
|
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*
|
|
111
|
+
const environment = yield* Service68;
|
|
112
|
+
const access = yield* Service37;
|
|
113
|
+
const fileMutation = yield* Service45;
|
|
114
|
+
const formatter = yield* Service57;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service60;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin37 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name7, Input7, Applied2, Output3, toModelContent3, Plugin7, exports_patch };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-bt7n4pmb.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-khkvak3g.js";
|
|
13
13
|
import {
|
|
14
|
+
rewrite2,
|
|
14
15
|
ID13,
|
|
15
16
|
modelSettings2,
|
|
16
17
|
mergeOverlay2,
|
|
17
18
|
mergeHeaders2,
|
|
18
19
|
Service75,
|
|
19
20
|
node79,
|
|
20
|
-
Event17
|
|
21
|
-
|
|
22
|
-
} from "./job-7rj9kkae.js";
|
|
21
|
+
Event17
|
|
22
|
+
} from "./location-vd3e338q.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-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: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID12,
|
|
36
36
|
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node78,
|
|
44
44
|
parse: () => parse5
|
|
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 Event16 } from "@opencode/schema/model";
|
|
51
51
|
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
@@ -58,9 +58,9 @@ var Cost2 = Model.Cost;
|
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
59
|
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
64
|
const providers = yield* Service75;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service74.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(Service72, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -233,4 +233,4 @@ function parse5(input) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26,
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service74, node78, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qa3tmgdp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-bt7n4pmb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-5a824ydm.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-ajevxyj5.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-vd3e338q.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mwacmns3.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
7
7
|
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info21,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule3
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info21 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule3,
|
|
41
|
+
export { Action2, Object2, Rule3, Info21, exports_permission2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./location-6z9mwsmt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-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: () => make7
|
|
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 make7 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service71;
|
|
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 { make7, LoadError2, exports_module };
|