@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
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-4ms6454k.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service68
|
|
13
|
+
} from "./location-xxfd829z.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./location-6cqxdj14.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service60
|
|
19
|
+
} from "./location-dv0n9c2x.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service37,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-nkp651gc.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service56,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-yks39n9z.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service27
|
|
37
|
+
} from "./location-09q1akkk.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service13
|
|
40
|
+
} from "./location-8dg5vm6z.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-h4c91pay.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin2,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin2 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service13;
|
|
123
|
+
const jobs = yield* Service44;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service68;
|
|
126
|
+
const access = yield* Service37;
|
|
127
|
+
const shell = yield* Service27;
|
|
128
|
+
const shellSelect = yield* Service56;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service60;
|
|
131
|
+
const config = yield* Service70;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin42 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name2,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin42 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name2,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input2,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin42 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name2,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name2];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin2, exports_shell };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-02pzv384.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-bt7n4pmb.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-68y7phbn.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./location-kxf9nzd0.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-nvxqht09.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service44,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service44 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service73;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service44.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service44, make18);
|
|
362
|
+
var node46 = makeGlobalNode({ service: Service44, layer, deps: [node77] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service44, make18, node46, exports_job };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qa3tmgdp.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Service77
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-5a824ydm.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ajevxyj5.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-vd3e338q.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
+
Service37
|
|
9
|
+
} from "./location-nkp651gc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./location-nqeb2avx.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./location-jv7gn18a.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
35
|
Input: () => Input5,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin5,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
38
|
name: () => name5,
|
|
39
|
-
toModelContent: () =>
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -55,12 +55,12 @@ var LocationInput = Schema.Struct({
|
|
|
55
55
|
});
|
|
56
56
|
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin5 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service37;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
@@ -112,7 +112,7 @@ var Plugin40 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent2 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export { name5, Input5,
|
|
184
|
+
export { name5, Input5, Plugin5, toModelContent2, exports_read };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./location-xeeh34fw.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./location-watadjga.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./location-4ms6454k.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-nvxqht09.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service44
|
|
18
|
+
} from "./location-6cqxdj14.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./location-dv0n9c2x.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service13
|
|
25
|
+
} from "./location-8dg5vm6z.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make5
|
|
31
|
+
} from "./location-zzmaa19e.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin12,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input4 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin12 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service13;
|
|
93
|
+
const jobs = yield* Service44;
|
|
94
|
+
const agents = yield* Service63;
|
|
95
|
+
const config = yield* Service70;
|
|
96
|
+
const permission = yield* Service60;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make5;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin39 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin39 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name10];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name10, Input10, Output6, description4, Plugin12, exports_subagent };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-vd3e338q.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-watadjga.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|