@opencode/core 0.0.0-dev-19794 → 0.0.0-dev-19808
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 +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-activity-b4e924yg.js → project-02rqmf8t.js} +7 -7
- package/dist/chunks/{location-activity-5tcx1mdj.js → project-0735b3rr.js} +11 -11
- package/dist/chunks/{location-activity-pwm3dr09.js → project-0d8j8jf4.js} +14 -14
- package/dist/chunks/{location-activity-gfewbcwv.js → project-0j01dppz.js} +19 -19
- package/dist/chunks/{location-activity-fcrkznn8.js → project-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-activity-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-activity-pw95ag66.js → project-0rxeezjh.js} +46 -46
- package/dist/chunks/{location-activity-hwhpg98a.js → project-0wp98tjg.js} +15 -15
- package/dist/chunks/{location-activity-r9jnrgwr.js → project-121fysnx.js} +21 -21
- package/dist/chunks/{location-activity-1acjjqhc.js → project-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-activity-cyz11ekf.js → project-1b0m3tcm.js} +11 -11
- package/dist/chunks/{location-activity-884h22he.js → project-1bfsfmvc.js} +6 -6
- package/dist/chunks/{location-activity-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-zex83nyc.js → project-1dfw4dc0.js} +9 -9
- package/dist/chunks/{location-activity-y3fqx0mb.js → project-1dys48fd.js} +5 -5
- package/dist/chunks/project-1x11rq2a.js +18 -0
- package/dist/chunks/{location-activity-yqbj5rqb.js → project-20aywbtj.js} +17 -17
- package/dist/chunks/{location-activity-b5m6q9bc.js → project-2154xvbt.js} +10 -10
- package/dist/chunks/{location-activity-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-2402vzrj.js → project-2402vzrj.js} +1 -1
- package/dist/chunks/{location-activity-xb02k0wq.js → project-25m4ah6t.js} +7 -7
- package/dist/chunks/{location-activity-gey4je0z.js → project-26zzq0jd.js} +10 -10
- package/dist/chunks/{location-activity-29x78va6.js → project-29x78va6.js} +2 -2
- package/dist/chunks/{location-activity-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-9wzemrxv.js → project-2b9ddng0.js} +5 -5
- package/dist/chunks/{location-activity-n5x5ztv3.js → project-2ezxbx2h.js} +4 -4
- package/dist/chunks/{location-activity-mwff9d1z.js → project-2hwpx0mt.js} +43 -43
- package/dist/chunks/{location-activity-qcnfgy8g.js → project-2ngh24r2.js} +14 -14
- package/dist/chunks/{location-activity-j9z3hfdh.js → project-2s5ap0t5.js} +32 -32
- package/dist/chunks/{location-activity-nfmfy7ka.js → project-2st4nse8.js} +89 -89
- package/dist/chunks/{location-activity-f1gk7hd0.js → project-2syw43ez.js} +9 -9
- package/dist/chunks/{location-activity-d61eyh6t.js → project-2zsj3szv.js} +8 -8
- package/dist/chunks/{location-activity-c27esgm9.js → project-30846h32.js} +8 -8
- package/dist/chunks/{location-activity-akn2509w.js → project-38h7sz6a.js} +10 -10
- package/dist/chunks/{location-activity-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-s8fhwy6j.js → project-3zqtf8x6.js} +31 -31
- package/dist/chunks/{location-activity-n1zvcsbv.js → project-40f3jqr9.js} +30 -30
- package/dist/chunks/{location-activity-sw1dbqjn.js → project-40qvdfb9.js} +16 -16
- package/dist/chunks/{location-activity-t2z8k6jd.js → project-418525t0.js} +76 -76
- package/dist/chunks/{location-activity-2zcjvpqm.js → project-4298g368.js} +7 -7
- package/dist/chunks/{location-activity-59rktsjv.js → project-45tvpg27.js} +13 -13
- package/dist/chunks/{location-activity-wtx8k504.js → project-4669856t.js} +30 -30
- package/dist/chunks/{location-activity-tss1y9rk.js → project-49sfj3ag.js} +4 -4
- package/dist/chunks/{location-activity-1w2hbx1g.js → project-4akca2xe.js} +24 -24
- package/dist/chunks/{location-activity-jdbtf569.js → project-4bpsch3a.js} +10 -10
- package/dist/chunks/{location-activity-h6r3nrb9.js → project-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-activity-rx9htnkn.js → project-4dk5saw0.js} +9 -9
- package/dist/chunks/{location-activity-7chtch0f.js → project-4qa4byz9.js} +27 -27
- package/dist/chunks/{location-activity-faehd238.js → project-4t2w03ms.js} +23 -23
- package/dist/chunks/{location-activity-1ygqh575.js → project-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-activity-w5dsex9y.js → project-577vgfh0.js} +18 -18
- package/dist/chunks/{location-activity-aamtrqep.js → project-57ez7d0k.js} +9 -9
- package/dist/chunks/{location-activity-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-p4y0btc5.js → project-5ddhcb86.js} +11 -11
- package/dist/chunks/{location-activity-f50jd1y7.js → project-5f90fjb2.js} +12 -12
- package/dist/chunks/{location-activity-8xbyqt4m.js → project-5kt5dh38.js} +4 -4
- package/dist/chunks/{location-activity-nq804vd8.js → project-5mr3ea8c.js} +5 -5
- package/dist/chunks/{location-activity-gh7r9fp9.js → project-5p820rnk.js} +20 -20
- package/dist/chunks/{location-activity-q6qw5e9d.js → project-5prmhpyb.js} +18 -18
- package/dist/chunks/{location-activity-3k64ej12.js → project-5svwaqzj.js} +30 -30
- package/dist/chunks/{location-activity-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-e96ag9v9.js → project-5v647gk5.js} +27 -27
- package/dist/chunks/{location-activity-kaknqc73.js → project-61vqn8vq.js} +5 -5
- package/dist/chunks/{location-activity-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-q4j74qys.js → project-6chs0n91.js} +20 -20
- package/dist/chunks/{location-activity-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/project-6r3amyyd.js +4 -0
- package/dist/chunks/{location-activity-afs8yyqb.js → project-6xbp3c4v.js} +12 -12
- package/dist/chunks/{location-activity-4xn33aat.js → project-7339hpme.js} +24 -24
- package/dist/chunks/{location-activity-27bkjxt6.js → project-76kyjy16.js} +42 -42
- package/dist/chunks/{location-activity-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-nsxrn5pp.js → project-7gm6xabf.js} +12 -12
- package/dist/chunks/{location-activity-wfs1y3fr.js → project-7pznpzqw.js} +11 -11
- package/dist/chunks/{location-activity-pds74t41.js → project-7w99qc9d.js} +3 -3
- package/dist/chunks/{location-activity-b3mh8yph.js → project-87eezssk.js} +19 -19
- package/dist/chunks/{location-activity-pj1bassr.js → project-87vhaf0v.js} +12 -12
- package/dist/chunks/{location-activity-csf2jhsg.js → project-88sz8qcd.js} +4 -4
- package/dist/chunks/{location-activity-evgnw4ss.js → project-8bzr8qjy.js} +22 -22
- package/dist/chunks/{location-activity-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-x6gwry5r.js → project-8hgpce2m.js} +1 -1
- package/dist/chunks/{location-activity-4xmjakdf.js → project-8jtn3vpk.js} +20 -20
- package/dist/chunks/{location-activity-8wsye86r.js → project-8n69n882.js} +8 -8
- package/dist/chunks/{location-activity-8p4f9s12.js → project-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-activity-vn5vjjv5.js → project-8s4jfd15.js} +27 -27
- package/dist/chunks/{location-activity-t5hpss70.js → project-8tydrjgp.js} +34 -34
- package/dist/chunks/{location-activity-9hn6k4tm.js → project-8v6pyhej.js} +8 -8
- package/dist/chunks/{location-activity-5hankn48.js → project-8x1wmrf0.js} +24 -24
- package/dist/chunks/{location-activity-dm12sjej.js → project-8xabqj9z.js} +17 -17
- package/dist/chunks/{location-activity-qs001aqx.js → project-8xd21chy.js} +8 -8
- package/dist/chunks/{location-activity-22g9fvpg.js → project-904e1kvx.js} +13 -13
- package/dist/chunks/{location-activity-9ytc8xew.js → project-93w24n95.js} +33 -33
- package/dist/chunks/{location-activity-tx5b72jc.js → project-943pg1p3.js} +13 -13
- package/dist/chunks/{location-activity-x6vbza9y.js → project-95cfm2f5.js} +3 -3
- package/dist/chunks/{location-activity-c6ds0c94.js → project-9fc3v4re.js} +4 -4
- package/dist/chunks/{location-activity-8ajpkf82.js → project-9fgj1wek.js} +25 -25
- package/dist/chunks/{location-activity-3mt66r7c.js → project-9gavbjwv.js} +6 -6
- package/dist/chunks/{location-activity-0rmts1a1.js → project-9khxy410.js} +9 -9
- package/dist/chunks/{location-activity-xc8tzj2x.js → project-9xamxazz.js} +11 -11
- package/dist/chunks/{location-activity-a1bz86dw.js → project-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-activity-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-kgvsc4xe.js → project-acwjdd42.js} +32 -32
- package/dist/chunks/{location-activity-3gt99kcb.js → project-ajrjc9nc.js} +21 -21
- package/dist/chunks/{location-activity-ggym2vj4.js → project-ajwjhdxr.js} +15 -15
- package/dist/chunks/{location-activity-9pzj9sam.js → project-anbk7d0n.js} +17 -17
- package/dist/chunks/{location-activity-ymf3z7t2.js → project-aqyaex4m.js} +11 -11
- package/dist/chunks/{location-activity-4xgcr3mn.js → project-b584cafp.js} +5 -5
- package/dist/chunks/{location-activity-dye7spcq.js → project-b58cx4em.js} +14 -14
- package/dist/chunks/{location-activity-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-whyp0526.js → project-b96927t4.js} +16 -16
- package/dist/chunks/{location-activity-epcby9bt.js → project-b970q21p.js} +26 -26
- package/dist/chunks/{location-activity-cq37gk0t.js → project-bajakh74.js} +4 -4
- package/dist/chunks/{location-activity-secwk0ne.js → project-bgaavh4h.js} +47 -47
- package/dist/chunks/{location-activity-qcv725q6.js → project-bjmdedkt.js} +6 -6
- package/dist/chunks/{location-activity-f0vwc342.js → project-bnss5tr5.js} +20 -20
- package/dist/chunks/{location-activity-sy5pn4cx.js → project-bpx1m7nq.js} +9 -9
- package/dist/chunks/{location-activity-zzmq7f85.js → project-brax6ayp.js} +23 -23
- package/dist/chunks/{location-activity-1696f2f2.js → project-bs4qwf04.js} +30 -30
- package/dist/chunks/{location-activity-swzjrbcy.js → project-bwxtjd0k.js} +11 -11
- package/dist/chunks/{location-activity-1y3rywx0.js → project-bx8xv1jn.js} +17 -17
- package/dist/chunks/{location-activity-xdk9p2qn.js → project-c20khjev.js} +4 -4
- package/dist/chunks/{location-activity-9scxrkga.js → project-c8878faz.js} +6 -6
- package/dist/chunks/{location-activity-x3dv9y6a.js → project-c8k11835.js} +11 -11
- package/dist/chunks/{location-activity-4b7v3k4y.js → project-caq0qphb.js} +6 -6
- package/dist/chunks/{location-activity-cfpkc3c9.js → project-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-activity-yypy8zkj.js → project-cg9v6583.js} +68 -68
- package/dist/chunks/{location-activity-e0k11qb9.js → project-cp10g70z.js} +19 -19
- package/dist/chunks/{location-activity-ze5v0a14.js → project-ctzssw83.js} +8 -8
- package/dist/chunks/{location-activity-5kq76w66.js → project-cv7begbx.js} +11 -11
- package/dist/chunks/{location-activity-0ycqk32t.js → project-d30dzbew.js} +11 -11
- package/dist/chunks/{location-activity-2sejkfem.js → project-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-activity-nex89vhn.js → project-d737nyfv.js} +9 -9
- package/dist/chunks/{location-activity-99bx8r98.js → project-darzmxtc.js} +25 -25
- package/dist/chunks/{location-activity-r8vagek2.js → project-dce6r6n1.js} +17 -17
- package/dist/chunks/{location-activity-b29mbqx6.js → project-dfzjqex4.js} +5 -5
- package/dist/chunks/{location-activity-dsetz8zx.js → project-dpxc645f.js} +13 -13
- package/dist/chunks/{location-activity-7sx30sz0.js → project-drwz1cgf.js} +9 -9
- package/dist/chunks/{location-activity-7dbd7q38.js → project-e0sc9875.js} +38 -38
- package/dist/chunks/{location-activity-4nqk0e4d.js → project-e5ycfnsy.js} +23 -23
- package/dist/chunks/{location-activity-8s8mxddj.js → project-ec8389mk.js} +4 -4
- package/dist/chunks/{location-activity-k5r5fkm6.js → project-eex4q5kq.js} +43 -43
- package/dist/chunks/{location-activity-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-dcbzyqdw.js → project-ej0kexcm.js} +3 -3
- package/dist/chunks/{location-activity-3ke2knzt.js → project-enc3c1en.js} +12 -12
- package/dist/chunks/{location-activity-erw5rpbs.js → project-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-activity-8yg5c1vz.js → project-et1mcqr1.js} +35 -35
- package/dist/chunks/{location-activity-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-vd9b9v9n.js → project-ex8c59z1.js} +4 -4
- package/dist/chunks/{location-activity-4v41x4qk.js → project-exw32v2c.js} +14 -14
- package/dist/chunks/{location-activity-s3qy3pkq.js → project-f7zbn932.js} +5 -5
- package/dist/chunks/{location-activity-f828m53h.js → project-f828m53h.js} +2 -2
- package/dist/chunks/{location-activity-p6nn8yx3.js → project-fq2trbzm.js} +14 -14
- package/dist/chunks/{location-activity-3qr1c5sj.js → project-fq7zk3v1.js} +30 -30
- package/dist/chunks/{location-activity-ea3ctmvw.js → project-fqt333bx.js} +11 -11
- package/dist/chunks/{location-activity-85zvc8xh.js → project-ftbhbn1c.js} +18 -18
- package/dist/chunks/{location-activity-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-activity-gmdw1w1k.js → project-fzzxs4pw.js} +10 -10
- package/dist/chunks/{location-activity-737h3qkw.js → project-gbaprctd.js} +3 -3
- package/dist/chunks/{location-activity-qspncgd6.js → project-gcqq6a41.js} +10 -10
- package/dist/chunks/{location-activity-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-bp9cag59.js → project-gfqyseht.js} +15 -15
- package/dist/chunks/{location-activity-2jhpv4gd.js → project-gjt3wnbg.js} +10 -10
- package/dist/chunks/{location-activity-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-zde6s6dc.js → project-gvr18kdn.js} +15 -15
- package/dist/chunks/{location-activity-n8c291r7.js → project-gzbkpp9m.js} +6 -6
- package/dist/chunks/{location-activity-g0htp5bx.js → project-gzetp00y.js} +2 -2
- package/dist/chunks/{location-activity-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/project-h76drfxd.js +492 -0
- package/dist/chunks/{location-activity-pj3q0t88.js → project-hb54vpq3.js} +24 -24
- package/dist/chunks/{location-activity-99s6dn9h.js → project-hmegek5x.js} +30 -30
- package/dist/chunks/{location-activity-9sfgw921.js → project-hx9712vg.js} +9 -9
- package/dist/chunks/{location-activity-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-jkp0d30b.js → project-j5w2yx54.js} +6 -6
- package/dist/chunks/{location-activity-k3c624dm.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{location-activity-g5tjfj1j.js → project-k4j1fwe4.js} +22 -22
- package/dist/chunks/{location-activity-k9kj6xed.js → project-k9kj6xed.js} +2 -2
- package/dist/chunks/{location-activity-f3wste55.js → project-kd818940.js} +36 -36
- package/dist/chunks/project-kh68vv4e.js +65 -0
- package/dist/chunks/{location-activity-1xh8ssmd.js → project-kr59k6k4.js} +5 -5
- package/dist/chunks/{location-activity-ejj6pzc4.js → project-kvga5mgj.js} +38 -38
- package/dist/chunks/{location-activity-r01t9b5y.js → project-kw9yda2b.js} +8 -8
- package/dist/chunks/{location-activity-my4ejgx9.js → project-m2bas9w9.js} +13 -13
- package/dist/chunks/{location-activity-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-dhmh7aw6.js → project-m70sbz6t.js} +4 -4
- package/dist/chunks/{location-activity-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-3emwtkgg.js → project-mcnqqkf5.js} +10 -10
- package/dist/chunks/{location-activity-d3z7xh78.js → project-mksw9d65.js} +14 -14
- package/dist/chunks/{location-activity-3cz8rj72.js → project-mtft99cd.js} +5 -5
- package/dist/chunks/{location-activity-eq1pz5kg.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-activity-ce4f9bke.js → project-n5mzykqn.js} +3 -3
- package/dist/chunks/{location-activity-3f7nj4jn.js → project-n9nv5xk7.js} +4 -4
- package/dist/chunks/{location-activity-41rshfzb.js → project-njwzhrbr.js} +35 -35
- package/dist/chunks/{location-activity-jxxakrfy.js → project-nng2ktcm.js} +2 -2
- package/dist/chunks/{location-activity-qg0jgkcp.js → project-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-activity-qmzc0xmp.js → project-nrnwyn2y.js} +18 -18
- package/dist/chunks/{location-activity-4wrwqny8.js → project-nxejghtw.js} +177 -177
- package/dist/chunks/{location-activity-x5q7q960.js → project-nyr3eh2k.js} +1 -1
- package/dist/chunks/{location-activity-35agz59w.js → project-p0b4ytnr.js} +6 -6
- package/dist/chunks/{location-activity-tbz0fdvh.js → project-p28j5sbe.js} +5 -5
- package/dist/chunks/{location-activity-9wx32pn7.js → project-p2nh6kz3.js} +5 -5
- package/dist/chunks/{location-activity-txzbvn5r.js → project-p4p4m56q.js} +46 -46
- package/dist/chunks/{location-activity-hcy8yy3p.js → project-p4pkk9xt.js} +19 -19
- package/dist/chunks/{location-activity-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-342cjt5a.js → project-pst9a0jm.js} +27 -27
- package/dist/chunks/{location-activity-m6tgpen8.js → project-pxsm5x7k.js} +6 -6
- package/dist/chunks/{location-activity-0q9yp03d.js → project-pxy9p13k.js} +17 -17
- package/dist/chunks/{location-activity-bybaje47.js → project-q31d2jap.js} +13 -13
- package/dist/chunks/{location-activity-e1wqas3m.js → project-qdxda5yt.js} +8 -8
- package/dist/chunks/{location-activity-npam2p76.js → project-qfbhs8jv.js} +24 -24
- package/dist/chunks/{location-activity-sjrbamsq.js → project-qfr532ch.js} +15 -15
- package/dist/chunks/{location-activity-thfxpbq9.js → project-qgc1jx48.js} +21 -21
- package/dist/chunks/{location-activity-ftmw2c74.js → project-qj6cx3d1.js} +15 -15
- package/dist/chunks/{location-activity-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-ms990q8h.js → project-r1g7p998.js} +12 -12
- package/dist/chunks/{location-activity-505rds3d.js → project-r4wb26e5.js} +3 -3
- package/dist/chunks/{location-activity-1x1j0frd.js → project-r70c2fyq.js} +6 -6
- package/dist/chunks/{location-activity-vsbxp9bk.js → project-r73dct96.js} +3 -3
- package/dist/chunks/{location-activity-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-jahdw3jg.js → project-renwpp8n.js} +5 -5
- package/dist/chunks/{location-activity-5hkvr5ze.js → project-rfjs2hcd.js} +26 -26
- package/dist/chunks/{location-activity-wrtysnas.js → project-rgsna094.js} +11 -11
- package/dist/chunks/{location-activity-mkvt91jd.js → project-rjcqzb7c.js} +47 -47
- package/dist/chunks/{location-activity-shd80d53.js → project-rk9mr3em.js} +5 -5
- package/dist/chunks/{location-activity-0d3eppmm.js → project-rmy3f6ss.js} +56 -56
- package/dist/chunks/{location-activity-sw3g3drt.js → project-rqjy6n4c.js} +16 -16
- package/dist/chunks/{location-activity-32sfse7q.js → project-rxwv643q.js} +5 -5
- package/dist/chunks/{location-activity-s4enseaf.js → project-s4enseaf.js} +2 -2
- package/dist/chunks/{location-activity-pj7p226c.js → project-s8gj7xz5.js} +22 -22
- package/dist/chunks/{location-activity-ts2x07a1.js → project-scq4khx8.js} +1 -1
- package/dist/chunks/{location-activity-9t68tq8c.js → project-sjtpj5c2.js} +11 -11
- package/dist/chunks/{location-activity-q6p4kfbg.js → project-sq6q5d2e.js} +23 -23
- package/dist/chunks/{location-activity-qeq9gj8d.js → project-ss3b7j0h.js} +5 -5
- package/dist/chunks/{location-activity-558qpgqc.js → project-swpvr0jz.js} +41 -41
- package/dist/chunks/{location-activity-pkp7htqy.js → project-t2hp2ap3.js} +4 -4
- package/dist/chunks/{location-activity-rhjbct0v.js → project-t550f9t1.js} +4 -4
- package/dist/chunks/{location-activity-8t81gvaz.js → project-tav6404b.js} +42 -42
- package/dist/chunks/{location-activity-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-eahhehpg.js → project-tbmac1c7.js} +4 -4
- package/dist/chunks/{location-activity-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-gwv7ff5n.js → project-tde5gqp1.js} +35 -35
- package/dist/chunks/{location-activity-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-fpmq6gma.js → project-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-activity-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-n7thqm34.js → project-v5evc1bm.js} +14 -14
- package/dist/chunks/{location-activity-3hrfcd61.js → project-ve33rz04.js} +20 -20
- package/dist/chunks/{location-activity-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-qte5z7bc.js → project-vmq7ehpy.js} +5 -5
- package/dist/chunks/{location-activity-dfe8djrf.js → project-vncycja5.js} +4 -4
- package/dist/chunks/{location-activity-1d2ep7ra.js → project-vqg4qzsk.js} +8 -8
- package/dist/chunks/{location-activity-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-11dqjexa.js → project-wk5z6jzv.js} +9 -9
- package/dist/chunks/project-wtcbaqc8.js +26 -0
- package/dist/chunks/{location-activity-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-qf4c7ypp.js → project-x4b4x8x5.js} +20 -20
- package/dist/chunks/{location-activity-wx503qmq.js → project-xdzfp194.js} +18 -18
- package/dist/chunks/project-xev2z5q4.js +252 -0
- package/dist/chunks/{location-activity-xfkkasph.js → project-xfkkasph.js} +1 -1
- package/dist/chunks/{location-activity-hr4a8hfh.js → project-xjjmttq1.js} +14 -14
- package/dist/chunks/{location-activity-z2yvfsws.js → project-xxf60r1q.js} +9 -9
- package/dist/chunks/{location-activity-t55mnw92.js → project-y06k18bn.js} +14 -14
- package/dist/chunks/{location-activity-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-zgyntbz7.js → project-y1wxg7t9.js} +30 -30
- package/dist/chunks/{location-activity-dpkg50ah.js → project-y71avatq.js} +4 -4
- package/dist/chunks/{location-activity-0127mseq.js → project-y84ezk8w.js} +13 -13
- package/dist/chunks/{location-activity-1vhter9d.js → project-ye3ezfrm.js} +32 -32
- package/dist/chunks/{location-activity-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-9va0p087.js → project-ysk9zdyh.js} +28 -28
- package/dist/chunks/{location-activity-hx5re87y.js → project-yt9k6n4c.js} +4 -4
- package/dist/chunks/{location-activity-1w6nef6a.js → project-ytrprvm6.js} +7 -7
- package/dist/chunks/{location-activity-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-7endx8a2.js → project-z0pena87.js} +34 -34
- package/dist/chunks/{location-activity-ydp3pv4t.js → project-z64cp91v.js} +4 -4
- package/dist/chunks/{location-activity-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-activity-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-kn0baf35.js → project-zrh1xe08.js} +11 -11
- package/dist/chunks/{location-activity-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-activity-cf54hzk4.js → project-zzmxqkhr.js} +28 -28
- 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 +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- 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 +123 -123
- 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 +368 -368
- 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 +1 -1
- 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 +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +76 -76
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- 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 +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- 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 +90 -90
- package/dist/model-resolver.js +93 -93
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- 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 +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +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 +349 -349
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- 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 +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +149 -149
- 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 +127 -127
- package/dist/session/generate.js +152 -152
- 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 +4 -4
- 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 +1 -1
- 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 +5 -5
- 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 +209 -209
- 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 +216 -216
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +92 -92
- 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 +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +216 -216
- 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 +16 -16
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/location-activity-2fxk31r8.js +0 -65
- package/dist/chunks/location-activity-d81c9xxa.js +0 -492
- package/dist/chunks/location-activity-q509s3k3.js +0 -18
- package/dist/chunks/location-activity-wntvn2sn.js +0 -252
- package/dist/chunks/location-activity-xrsqh21y.js +0 -4
- package/dist/chunks/location-activity-yx5m4j68.js +0 -26
- /package/dist/chunks/{location-activity-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e3qxr5gk.js → project-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-5kt5dh38.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-tav6404b.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-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
22
|
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service30,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,7 +34,7 @@ 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;
|
|
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service30 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service30.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(Service34, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node33 = makeLocationNode({
|
|
112
|
+
service: Service30,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID3, Name2, available2, toModelOutput3, prepare3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID3, Name2, available2, toModelOutput3, prepare3, Service30, node33, exports_skill5, Event5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-7pznpzqw.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-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: () => Plugin33,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
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 endpoint2 = "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 Plugin33 = 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 Plugin6 = 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, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin6 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin33, exports_parallel };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service59
|
|
4
|
+
} from "./project-2hwpx0mt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./project-p4pkk9xt.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin13
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service59;
|
|
27
|
+
const shell = yield* Service78;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin48 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin13, exports_shell };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-5kt5dh38.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./project-5f90fjb2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./project-pxy9p13k.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-1x11rq2a.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service60,
|
|
18
|
+
node63
|
|
19
|
+
} from "./project-e5ycfnsy.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node17
|
|
22
|
+
} from "./project-2ngh24r2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node10
|
|
26
|
+
} from "./project-d4he2qe1.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service60;
|
|
48
48
|
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node63, FSUtil.node, node83, node85, node86, node17, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service38,
|
|
3
|
+
node40,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-5ddhcb86.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service36,
|
|
8
|
+
node38
|
|
9
|
+
} from "./project-j5w2yx54.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./project-kh68vv4e.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-xev2z5q4.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service38, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service39);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node38.replace(Layer.succeed(Service36, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node40.replace(Layer.succeed(Service38, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-5kt5dh38.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./project-pxy9p13k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID16
|
|
11
|
+
} from "./project-6r3amyyd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service78,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node82
|
|
16
|
+
} from "./project-p4pkk9xt.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput3,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event20,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info31,
|
|
31
|
+
NotFoundError: () => NotFoundError10,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service77,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node81
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event20 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info31 = Pty.Info;
|
|
45
45
|
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError10 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID16
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID16
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service77 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service82;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const shell = yield* Service78;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError10({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID16.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service77.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node81 = makeLocationNode({
|
|
274
|
+
service: Service77,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node86,
|
|
276
|
+
deps: [node86, node83, node82]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info31, CreateInput3, UpdateInput2, NotFoundError10, ExitedError2, Service77, node81, exports_pty, Event20 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-n5mzykqn.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-5kt5dh38.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service76,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service76.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service76, node80, exports_credential };
|