@opencode/core 0.0.0-dev-19991 → 0.0.0-dev-19993
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{job-fgj9eewk.js → pty-026axa4a.js} +22 -22
- package/dist/chunks/{job-cy2t7a9f.js → pty-02xe747d.js} +8 -8
- package/dist/chunks/{job-s4593r7a.js → pty-038mqbwm.js} +5 -5
- package/dist/chunks/{job-dr0xhgmj.js → pty-050w92qt.js} +8 -8
- package/dist/chunks/{job-9a9fnb0v.js → pty-062r8x8b.js} +86 -86
- package/dist/chunks/{job-c7cmyqst.js → pty-09tf4pjr.js} +86 -86
- package/dist/chunks/{job-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-qtvt1tb2.js → pty-0tay0vp0.js} +15 -15
- package/dist/chunks/{job-wxe1qfek.js → pty-0w94f9zc.js} +8 -8
- package/dist/chunks/{job-1893sfh5.js → pty-1543s7pr.js} +4 -4
- package/dist/chunks/{job-cpy6gm2a.js → pty-15zevn5w.js} +6 -6
- package/dist/chunks/{job-80pgdbe5.js → pty-192rtf0k.js} +25 -25
- package/dist/chunks/{job-z7qfkqf8.js → pty-1avgqjfw.js} +11 -11
- package/dist/chunks/{job-2wbyv4kq.js → pty-1cd81313.js} +11 -11
- package/dist/chunks/{job-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-bd943b9h.js → pty-1m68c3fq.js} +8 -8
- package/dist/chunks/{job-rtz5r970.js → pty-1sn1ktbx.js} +9 -9
- package/dist/chunks/{job-33w4ejhs.js → pty-1ygqh575.js} +6 -6
- package/dist/chunks/{job-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{job-bbg3k5tc.js → pty-24dx1hrc.js} +7 -7
- package/dist/chunks/{job-vxhvdh02.js → pty-29mx63hq.js} +26 -26
- package/dist/chunks/{job-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-9wg6p14c.js → pty-2hvjkdzw.js} +3 -3
- package/dist/chunks/{job-ngw0yr95.js → pty-2s238nn0.js} +182 -182
- package/dist/chunks/{job-h8pjxa4c.js → pty-2sbg9ezb.js} +57 -57
- package/dist/chunks/{job-6cj5e2j1.js → pty-2shksz5k.js} +15 -15
- package/dist/chunks/{job-n81qyw5n.js → pty-2sr83qrg.js} +1 -1
- package/dist/chunks/{job-57ez7d0k.js → pty-2w6fc0zt.js} +7 -7
- package/dist/chunks/{job-6t6swmjj.js → pty-2yb6xvw8.js} +10 -10
- package/dist/chunks/{job-703pgk6j.js → pty-3cs1hnzz.js} +20 -20
- package/dist/chunks/{job-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-rj7g1jgh.js → pty-3q7edt44.js} +11 -11
- package/dist/chunks/{job-9jmday68.js → pty-3shkqxcj.js} +6 -6
- package/dist/chunks/{job-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-8ys1rqda.js → pty-3srp75sn.js} +13 -13
- package/dist/chunks/{job-12s9g5ah.js → pty-3tjpy68d.js} +31 -31
- package/dist/chunks/{job-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-nd3qp2qj.js → pty-41tykhqn.js} +8 -8
- package/dist/chunks/{job-hsm12kgw.js → pty-43kxyya3.js} +12 -12
- package/dist/chunks/pty-45th5jwr.js +18 -0
- package/dist/chunks/{job-h3q3a7w1.js → pty-461fsfdt.js} +16 -16
- package/dist/chunks/{job-z5h7vj4c.js → pty-48yax929.js} +42 -42
- package/dist/chunks/{job-ddy4yvgx.js → pty-4cv6vszb.js} +22 -22
- package/dist/chunks/{job-9jbvj98d.js → pty-4e8vs6eh.js} +8 -8
- package/dist/chunks/{job-gfj5zv56.js → pty-4efdx9rk.js} +19 -19
- package/dist/chunks/{job-hzx1q887.js → pty-4tajgtbv.js} +18 -18
- package/dist/chunks/pty-4wwmgmwd.js +26 -0
- package/dist/chunks/{job-9cdbj0z8.js → pty-53gk70sf.js} +9 -9
- package/dist/chunks/{job-zarvnrrs.js → pty-548d8qnr.js} +13 -13
- package/dist/chunks/{job-hpp7tn2c.js → pty-570bm5aw.js} +19 -19
- package/dist/chunks/{job-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{job-xt66np2h.js → pty-5getdy1k.js} +26 -26
- package/dist/chunks/{job-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-1d9mhc4t.js → pty-5vdyt57w.js} +3 -3
- package/dist/chunks/{job-tpw6cwsb.js → pty-5yzzbxa7.js} +8 -8
- package/dist/chunks/{job-qgn6gcr1.js → pty-607tc6va.js} +5 -5
- package/dist/chunks/{job-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{job-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{job-cte9ap30.js → pty-6kg1vfnr.js} +6 -6
- package/dist/chunks/{job-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-afed7ext.js → pty-6ng8rhkc.js} +12 -12
- package/dist/chunks/{job-zj09a0ew.js → pty-6rjq4ad6.js} +4 -4
- package/dist/chunks/{job-pyvejd51.js → pty-6svx4vfh.js} +23 -23
- package/dist/chunks/{job-9hgtwsex.js → pty-6wc135vc.js} +24 -24
- package/dist/chunks/{job-5ex2qdew.js → pty-6y2kb6da.js} +16 -16
- package/dist/chunks/{job-22zqdxpe.js → pty-71y3c5ag.js} +27 -27
- package/dist/chunks/{job-2f0bjgcj.js → pty-78v47nsk.js} +5 -5
- package/dist/chunks/{job-f4yg3x8e.js → pty-7b6h5z22.js} +23 -23
- package/dist/chunks/{job-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-aq7cz6xn.js → pty-7g9sy6yd.js} +10 -10
- package/dist/chunks/{job-57mhv3ve.js → pty-7mr8gmff.js} +4 -4
- package/dist/chunks/{job-938pnx2w.js → pty-870m6jn5.js} +6 -6
- package/dist/chunks/{job-14pqwfqq.js → pty-879k3rbz.js} +5 -5
- package/dist/chunks/{job-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{job-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-1eafergb.js → pty-8exbzf8y.js} +15 -15
- package/dist/chunks/{job-jarcygrp.js → pty-8m27p9j3.js} +7 -7
- package/dist/chunks/{job-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-5x1evzv1.js → pty-8pf6zh8g.js} +7 -7
- package/dist/chunks/{job-r38b5aga.js → pty-8vhnwsrf.js} +69 -69
- package/dist/chunks/{job-5mtzsd3b.js → pty-8z00fdkb.js} +4 -4
- package/dist/chunks/{job-91m9hd8f.js → pty-93hpb89x.js} +2 -2
- package/dist/chunks/{job-mg60xe33.js → pty-9dvfkq0c.js} +9 -9
- package/dist/chunks/{job-s2p7pqj8.js → pty-9j764z9f.js} +7 -7
- package/dist/chunks/{job-jy0tw7a9.js → pty-9n5gchmp.js} +26 -26
- package/dist/chunks/{job-cy400w2v.js → pty-9pr215e3.js} +21 -21
- package/dist/chunks/{job-5c4hm403.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-kzr6x06e.js → pty-a5cfpm61.js} +6 -6
- package/dist/chunks/{job-1gfn2p90.js → pty-a8mkfh3x.js} +11 -11
- package/dist/chunks/{job-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{job-0sc4hq23.js → pty-ab845m4a.js} +23 -23
- package/dist/chunks/{job-5hytd44a.js → pty-abcdk8h0.js} +43 -43
- package/dist/chunks/{job-akxbm3tg.js → pty-aemqn3ez.js} +11 -11
- package/dist/chunks/{job-vyqn3nqs.js → pty-atfs7rhk.js} +7 -7
- package/dist/chunks/{job-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-jjgs6v1z.js → pty-ba30f0re.js} +26 -26
- package/dist/chunks/{job-ypy3tj6c.js → pty-bbd5t3cy.js} +32 -32
- package/dist/chunks/{job-b07rpg7m.js → pty-be40ghdv.js} +2 -2
- package/dist/chunks/{job-2tfmgkzg.js → pty-bha4atvq.js} +4 -4
- package/dist/chunks/{job-50359g9p.js → pty-bhteabqx.js} +4 -4
- package/dist/chunks/{job-yycg06yt.js → pty-bpckba2r.js} +11 -11
- package/dist/chunks/{job-3wpx5q79.js → pty-bqa7vndz.js} +27 -27
- package/dist/chunks/{job-nb3mbbtq.js → pty-bqjt5s0q.js} +38 -38
- package/dist/chunks/{job-xc3hytd0.js → pty-c7w3tbrx.js} +9 -9
- package/dist/chunks/{job-3wmpd27r.js → pty-ca9wasfp.js} +18 -18
- package/dist/chunks/{job-042m1axd.js → pty-cbc0wxnt.js} +4 -4
- package/dist/chunks/{job-wp3wd75h.js → pty-cfhq3gyz.js} +28 -28
- package/dist/chunks/{job-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-rjzvn95g.js → pty-cp1t7mny.js} +23 -23
- package/dist/chunks/{job-wf2gw9c7.js → pty-czzrymxc.js} +20 -20
- package/dist/chunks/{job-69ympfzj.js → pty-d386qjdf.js} +3 -3
- package/dist/chunks/{job-wd181aqj.js → pty-d81wp89e.js} +11 -11
- package/dist/chunks/{job-s49mw2d2.js → pty-d8sk975s.js} +27 -27
- package/dist/chunks/{job-cw648t5b.js → pty-dc0f92gk.js} +44 -44
- package/dist/chunks/{job-p0nmg0y1.js → pty-dh91zd6a.js} +11 -11
- package/dist/chunks/{job-qmqgtz8f.js → pty-djszqvmq.js} +9 -9
- package/dist/chunks/{job-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-kafv6sxw.js → pty-draats0m.js} +5 -5
- package/dist/chunks/{job-drwq78ky.js → pty-drwq78ky.js} +1 -1
- package/dist/chunks/{job-x3r34n0z.js → pty-e163j4jp.js} +12 -12
- package/dist/chunks/{job-1m2scy3b.js → pty-e2sckgsq.js} +24 -24
- package/dist/chunks/{job-ttqndqg1.js → pty-e4y0dkgq.js} +17 -17
- package/dist/chunks/{job-ysymny8f.js → pty-e91xfsxp.js} +2 -2
- package/dist/chunks/{job-eaj1djv9.js → pty-eaj1djv9.js} +1 -1
- package/dist/chunks/{job-z3aecv7n.js → pty-ecxgrer6.js} +40 -40
- package/dist/chunks/{job-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-4zjzz3mp.js → pty-ehhpwfhw.js} +35 -35
- package/dist/chunks/{job-m3w1hak0.js → pty-emca911v.js} +8 -8
- package/dist/chunks/{job-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{job-9mfasev3.js → pty-esmjnf1q.js} +4 -4
- package/dist/chunks/{job-8z3a9qz0.js → pty-et2qvwfy.js} +10 -10
- package/dist/chunks/{job-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-gjcrvc1t.js → pty-eyx3sbbq.js} +4 -4
- package/dist/chunks/{job-0c8g4rz7.js → pty-f22wqnxv.js} +11 -11
- package/dist/chunks/{job-hdnk95c8.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{job-0yx8dg9f.js → pty-f8fgzrbf.js} +20 -20
- package/dist/chunks/{job-e6pz3x8j.js → pty-favr8gmm.js} +15 -15
- package/dist/chunks/{job-0h9kb953.js → pty-feqpvc5c.js} +17 -17
- package/dist/chunks/{job-msnc0r2s.js → pty-fmj93vfk.js} +12 -12
- package/dist/chunks/{job-kgb8679n.js → pty-frw7gw9n.js} +30 -30
- package/dist/chunks/{job-wpscpwbe.js → pty-fvkf5gpn.js} +5 -5
- package/dist/chunks/{job-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-gcr36c81.js → pty-fya5n5xa.js} +10 -10
- package/dist/chunks/{job-zasg9jps.js → pty-g2eett4k.js} +11 -11
- package/dist/chunks/{job-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-z7txhgna.js → pty-h0sprvfa.js} +43 -43
- package/dist/chunks/{job-n5dd59r9.js → pty-h53kmbdm.js} +53 -53
- package/dist/chunks/{job-eb8p1x6c.js → pty-h61ncxx5.js} +10 -10
- package/dist/chunks/{job-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-c0gzcd05.js → pty-ha666rq4.js} +3 -3
- package/dist/chunks/{job-saj4m0jd.js → pty-hm7r1852.js} +18 -18
- package/dist/chunks/{job-pstg3rfm.js → pty-hqmr0w3b.js} +1 -1
- package/dist/chunks/{job-s8w77z3v.js → pty-hs74x4gh.js} +4 -4
- package/dist/chunks/{job-m7k46wx7.js → pty-hsgwpaad.js} +17 -17
- package/dist/chunks/{job-d0haaqjx.js → pty-hwdkr1sy.js} +9 -9
- package/dist/chunks/{job-etz2h44w.js → pty-j1fnkb2v.js} +32 -32
- package/dist/chunks/{job-zceb0js2.js → pty-j2zz4nqv.js} +15 -15
- package/dist/chunks/{job-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{job-f3ftg8kf.js → pty-j69p7kth.js} +18 -18
- package/dist/chunks/{job-xqb9mapt.js → pty-j7c1rfea.js} +21 -21
- package/dist/chunks/{job-0x6zdgwk.js → pty-jbtd89qx.js} +13 -13
- package/dist/chunks/{job-ezr78dm1.js → pty-jgq9btc2.js} +46 -46
- package/dist/chunks/{job-d1r5081s.js → pty-jgttmm4a.js} +5 -5
- package/dist/chunks/{job-d1mtykxg.js → pty-jhf3jymm.js} +6 -6
- package/dist/chunks/{job-h0q3s94c.js → pty-jt4eq04m.js} +36 -36
- package/dist/chunks/{job-mkhqqj1a.js → pty-jz67am5p.js} +9 -9
- package/dist/chunks/{job-6ysrkrkr.js → pty-k1qrnqst.js} +8 -8
- package/dist/chunks/{job-s3kkbw9k.js → pty-k5t1vn2m.js} +24 -24
- package/dist/chunks/{job-masq2mrx.js → pty-kcnwc050.js} +32 -32
- package/dist/chunks/{job-knb7evpn.js → pty-knb7evpn.js} +2 -2
- package/dist/chunks/{job-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{job-bcp0qbb2.js → pty-m5j28g6y.js} +7 -7
- package/dist/chunks/{job-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-chpvn4sn.js → pty-mbfxv7fw.js} +27 -27
- package/dist/chunks/{job-97bh2sm1.js → pty-mfcw5yns.js} +5 -5
- package/dist/chunks/{job-eq1pz5kg.js → pty-mhkvc446.js} +3 -3
- package/dist/chunks/{job-7y7f7qq9.js → pty-mkmvax1f.js} +10 -10
- package/dist/chunks/{job-00fdfwqz.js → pty-mx7gy8pb.js} +5 -5
- package/dist/chunks/{job-eb4mwfj7.js → pty-mys1tqp3.js} +32 -32
- package/dist/chunks/{job-4xzhx21y.js → pty-nbgyd66e.js} +23 -23
- package/dist/chunks/{job-4fwm7fde.js → pty-njs4fkas.js} +17 -17
- package/dist/chunks/{job-sd11ez4q.js → pty-nkasj3c8.js} +7 -7
- package/dist/chunks/{job-nscznvay.js → pty-nscznvay.js} +2 -2
- package/dist/chunks/{job-f76dg3ny.js → pty-nt2pe6m8.js} +22 -22
- package/dist/chunks/{job-y72zmemf.js → pty-nw53exab.js} +8 -8
- package/dist/chunks/{job-k3c624dm.js → pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{job-gj9znxmq.js → pty-p1cpmwyf.js} +11 -11
- package/dist/chunks/{job-5r48yps5.js → pty-p1zevnby.js} +32 -32
- package/dist/chunks/{job-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
- package/dist/chunks/{job-pe8q98sy.js → pty-p7p04q1a.js} +15 -15
- package/dist/chunks/{job-dqetsxv8.js → pty-p7zm9vnn.js} +15 -15
- package/dist/chunks/{job-pth1ywyf.js → pty-p8z07maz.js} +19 -19
- package/dist/chunks/{job-y35sf2j4.js → pty-pcfkrm12.js} +4 -4
- package/dist/chunks/{job-s8zy8myc.js → pty-pecb0brz.js} +5 -5
- package/dist/chunks/{job-j4cre6xx.js → pty-pekx08ex.js} +24 -24
- package/dist/chunks/pty-pf0d5y53.js +252 -0
- package/dist/chunks/{job-dj68pnee.js → pty-ph842b28.js} +4 -4
- package/dist/chunks/{job-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{job-r98e92ep.js → pty-pmr4s4kc.js} +4 -4
- package/dist/chunks/{job-3m4wy9bb.js → pty-pvcnmygp.js} +16 -16
- package/dist/chunks/{job-ea2yn5et.js → pty-q40w5akv.js} +1 -1
- package/dist/chunks/{job-w3jg838k.js → pty-q58mka6k.js} +9 -9
- package/dist/chunks/{job-jm2xz6tr.js → pty-qggqx5pb.js} +20 -20
- package/dist/chunks/{job-e6hmchc5.js → pty-qjnxxf51.js} +5 -5
- package/dist/chunks/{job-psnewtef.js → pty-qr8qa9bm.js} +30 -30
- package/dist/chunks/{job-rvgjzjnk.js → pty-qrrcqbrg.js} +13 -13
- package/dist/chunks/{job-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/pty-qtvmxc8s.js +4 -0
- package/dist/chunks/{job-6001ydma.js → pty-r7pg2k45.js} +30 -30
- package/dist/chunks/{job-6fatt4mk.js → pty-r9w3djhf.js} +9 -9
- package/dist/chunks/{job-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-zb6mh64b.js → pty-rf2pre7z.js} +16 -16
- package/dist/chunks/{job-g0fcm7nw.js → pty-rgch3z0v.js} +18 -18
- package/dist/chunks/{job-8bxyyd4j.js → pty-rp6xkheg.js} +10 -10
- package/dist/chunks/{job-d1j26mvh.js → pty-rrfm0vdv.js} +12 -12
- package/dist/chunks/{job-z4zq31br.js → pty-rsf4gv7k.js} +22 -22
- package/dist/chunks/{job-0x9s8x9m.js → pty-rt43k5p5.js} +32 -32
- package/dist/chunks/{job-2xbyajcg.js → pty-rxdxv3zs.js} +11 -11
- package/dist/chunks/{job-pkk2asg3.js → pty-rzz4s24w.js} +22 -22
- package/dist/chunks/{job-k62ssfxt.js → pty-s0agc963.js} +5 -5
- package/dist/chunks/{job-fe4adkkf.js → pty-s1x3xehd.js} +16 -16
- package/dist/chunks/{job-7m7dt9m0.js → pty-s23akgaf.js} +5 -5
- package/dist/chunks/{job-6e57129z.js → pty-s4w9dbtc.js} +8 -8
- package/dist/chunks/{job-8qmmky1n.js → pty-s9na07f2.js} +11 -11
- package/dist/chunks/{job-magykp64.js → pty-sez5jh81.js} +4 -4
- package/dist/chunks/{job-vrp3jcqz.js → pty-sgb290x0.js} +15 -15
- package/dist/chunks/{job-3gh7ype1.js → pty-sk7gk9f5.js} +10 -10
- package/dist/chunks/{job-ztp6e5py.js → pty-t3444mmx.js} +3 -3
- package/dist/chunks/{job-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-7xb6m5vr.js → pty-tct3dq34.js} +47 -47
- package/dist/chunks/{job-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{job-dy5vnjks.js → pty-texm17j6.js} +24 -24
- package/dist/chunks/{job-fm2qvscf.js → pty-tkmwgdpd.js} +7 -7
- package/dist/chunks/{job-vh84pt0z.js → pty-tms1td0z.js} +49 -49
- package/dist/chunks/{job-d9cqvg8s.js → pty-tpnwfd5g.js} +6 -6
- package/dist/chunks/{job-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{job-rw31fdpv.js → pty-typarb9b.js} +18 -18
- package/dist/chunks/{job-gst7axd9.js → pty-tz4n1mmd.js} +4 -4
- package/dist/chunks/{job-c9t6rsb1.js → pty-v2cwp70s.js} +47 -47
- package/dist/chunks/{job-e61jppz1.js → pty-vbwvxk55.js} +4 -4
- package/dist/chunks/{job-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{job-msq0jde0.js → pty-vj81g6vn.js} +4 -4
- package/dist/chunks/{job-njfjhgn1.js → pty-vqwxbh15.js} +13 -13
- package/dist/chunks/{job-t9tdpx12.js → pty-vw2351hj.js} +5 -5
- package/dist/chunks/{job-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-ay89j342.js → pty-w2xf1871.js} +35 -35
- package/dist/chunks/{job-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-pb1eahw5.js → pty-w97g4k0g.js} +8 -8
- package/dist/chunks/{job-nq9p7zc7.js → pty-w9ka22cp.js} +32 -32
- package/dist/chunks/{job-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{job-enmfj45s.js → pty-wwpq4dkc.js} +320 -320
- package/dist/chunks/{job-rm5hrb5v.js → pty-wx15ps39.js} +8 -8
- package/dist/chunks/{job-0g57vqqh.js → pty-x10m976v.js} +30 -30
- package/dist/chunks/{job-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-rrg5aw96.js → pty-x2jawspn.js} +9 -9
- package/dist/chunks/{job-150yg2gd.js → pty-x2rw7g36.js} +5 -5
- package/dist/chunks/{job-xzq0fv4c.js → pty-xc8wbe60.js} +25 -25
- package/dist/chunks/{job-j6x7mymp.js → pty-xcz1w3cx.js} +26 -26
- package/dist/chunks/{job-pvn0sd5h.js → pty-xhrfypmh.js} +32 -32
- package/dist/chunks/{job-gvwmjjns.js → pty-xj2v2q7r.js} +6 -6
- package/dist/chunks/{job-a21vwdep.js → pty-xkr6cyjb.js} +23 -23
- package/dist/chunks/{job-ssrqve95.js → pty-xvnj5msj.js} +3 -3
- package/dist/chunks/{job-s375a249.js → pty-xya6rnzh.js} +7 -7
- package/dist/chunks/{job-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-qw5053sy.js → pty-y9g97vsr.js} +28 -28
- package/dist/chunks/{job-f2n192rq.js → pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-vay4fam9.js → pty-yrbxk7kt.js} +17 -17
- package/dist/chunks/{job-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{job-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{job-yfw923as.js → pty-z7br6qex.js} +24 -24
- package/dist/chunks/{job-91q1j1ah.js → pty-zab6dek8.js} +22 -22
- package/dist/chunks/{job-8kmg6yga.js → pty-zcc1n10w.js} +6 -6
- package/dist/chunks/{job-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-9adjxv5d.js → pty-zg5t6seb.js} +11 -11
- package/dist/chunks/{job-ygdr3659.js → pty-zqpw1c2p.js} +30 -30
- package/dist/chunks/{job-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-2aanacxr.js → pty-zxeq00ty.js} +12 -12
- package/dist/chunks/{job-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/job-4v7qdvcn.js +0 -18
- package/dist/chunks/job-e8cren91.js +0 -26
- package/dist/chunks/job-srvsgmta.js +0 -252
- package/dist/chunks/job-z926abd4.js +0 -4
- /package/dist/chunks/{job-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-w2xf1871.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./pty-s1x3xehd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./pty-2sbg9ezb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service64,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node68,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service64 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service78;
|
|
61
|
+
const permission = yield* Service65;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service64.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [FSUtil.node, node82, node69] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service64, resolvePath2, node68, exports_file_access };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-w9ka22cp.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-bbd5t3cy.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./pty-rp6xkheg.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-93hpb89x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-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: () => Service39,
|
|
23
|
+
make: () => make17,
|
|
24
|
+
node: () => node41
|
|
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 Service39 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 make17 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service82;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service39.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service39, make17);
|
|
362
|
+
var node41 = makeGlobalNode({ service: Service39, layer, deps: [node86] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service39, make17, node41, exports_job };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-wx15ps39.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin9 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin17 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin17 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint6, Plugin9, exports_parallel };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./pty-6ng8rhkc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node82
|
|
14
|
+
} from "./pty-s1x3xehd.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service40,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service40 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node42 = makeLocationNode({
|
|
144
|
+
service: Service40,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service40, Service40.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service64, Service64.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error2, Service40, node42, noopLayer3, exports_snapshot2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node65
|
|
9
|
+
} from "./pty-k5t1vn2m.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-qr8qa9bm.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service62;
|
|
331
|
+
return Service7.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node65] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-vbwvxk55.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-2sbg9ezb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
21
|
ID: () => ID3,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info14,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service33,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info14 = Skill.Info;
|
|
43
43
|
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service33 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service33.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node36 = makeLocationNode({
|
|
112
|
+
service: Service33,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info14, ID3, Name2, available2, toModelOutput3, prepare3, Service33, node36, exports_skill5, Event5 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-vbwvxk55.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event17,
|
|
18
|
+
ID: () => ID14,
|
|
19
|
+
Info: () => Info28,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service68,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node72
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event17 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID14 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID14.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info28 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info28.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID14.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service68.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID14.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID14.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID14, Name3, defaultID2, Color2, Info28, Service68, node72, exports_agent4, Event17 };
|