@opencode/core 0.0.0-dev-20010 → 0.0.0-dev-20011
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/{file-access-dp0d7rq6.js → location-services-076fzj3m.js} +58 -58
- package/dist/chunks/{file-access-24ct3y2e.js → location-services-09e6rhkd.js} +1 -1
- package/dist/chunks/{file-access-5ww8yrxx.js → location-services-0c0gbnv2.js} +20 -20
- package/dist/chunks/{file-access-hf63qasg.js → location-services-0jb4kqev.js} +6 -6
- package/dist/chunks/{file-access-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-ehatyybc.js → location-services-0qvtyca8.js} +8 -8
- package/dist/chunks/{file-access-37svwymz.js → location-services-0tqfqrz3.js} +10 -10
- package/dist/chunks/{file-access-4f0fby6w.js → location-services-0w9jsh9p.js} +2 -2
- package/dist/chunks/{file-access-nc0692wd.js → location-services-0ydqtzrm.js} +4 -4
- package/dist/chunks/{file-access-vyqn3nqs.js → location-services-10jtetaj.js} +4 -4
- package/dist/chunks/{file-access-1acjjqhc.js → location-services-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-access-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-9namg634.js → location-services-1e4fdp0q.js} +12 -12
- package/dist/chunks/{file-access-7gy38z07.js → location-services-1jzkgb6x.js} +23 -23
- package/dist/chunks/{file-access-1jtbg6c9.js → location-services-1sqpmxae.js} +16 -16
- package/dist/chunks/{file-access-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-xm5295m0.js → location-services-2461agpp.js} +4 -4
- package/dist/chunks/{file-access-fk0e1y1r.js → location-services-291jvy86.js} +9 -9
- package/dist/chunks/{file-access-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-satvg6hp.js → location-services-2h6rt1y3.js} +10 -10
- package/dist/chunks/{file-access-6vnhfzx9.js → location-services-2js1jyf4.js} +6 -6
- package/dist/chunks/{file-access-d4he2qe1.js → location-services-2mq1h16s.js} +9 -9
- package/dist/chunks/{file-access-sg3e8ft2.js → location-services-2q6q177z.js} +20 -20
- package/dist/chunks/{file-access-4bm5ja14.js → location-services-3ewed21c.js} +4 -4
- package/dist/chunks/{file-access-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-78c73d7g.js → location-services-3fxc45xk.js} +34 -34
- package/dist/chunks/{file-access-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-k100k1x5.js → location-services-3n35ajgm.js} +9 -9
- package/dist/chunks/{file-access-34ptww8y.js → location-services-3n95krej.js} +79 -79
- package/dist/chunks/{file-access-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-15nepkqg.js → location-services-4c2df9zx.js} +8 -8
- package/dist/chunks/{file-access-mpgs1ntc.js → location-services-4ceq19qe.js} +47 -47
- package/dist/chunks/{file-access-pgrdd2ve.js → location-services-4d2wgyyk.js} +6 -6
- package/dist/chunks/{file-access-bvsk2pep.js → location-services-4kxvs4qg.js} +17 -17
- package/dist/chunks/{file-access-p04pkz1c.js → location-services-4p0wpyt8.js} +15 -15
- package/dist/chunks/{file-access-bk7qdt7s.js → location-services-4qv5dbzb.js} +9 -9
- package/dist/chunks/{file-access-vs2tehdm.js → location-services-4qwjb3y0.js} +3 -3
- package/dist/chunks/{file-access-rmk2c50f.js → location-services-4v4bfvma.js} +5 -5
- package/dist/chunks/{file-access-ycrtq78m.js → location-services-4z5f2nag.js} +31 -31
- package/dist/chunks/{file-access-2hcvc8f1.js → location-services-50mgpba2.js} +20 -20
- package/dist/chunks/{file-access-e6hmchc5.js → location-services-510m7gjw.js} +5 -5
- package/dist/chunks/{file-access-etqc4x7c.js → location-services-51ghk93f.js} +3 -3
- package/dist/chunks/{file-access-ag580yac.js → location-services-53fyba40.js} +4 -4
- package/dist/chunks/{file-access-fsx03azj.js → location-services-54z46b7q.js} +7 -7
- package/dist/chunks/{file-access-56gdpj1q.js → location-services-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-access-57ez7d0k.js → location-services-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-yrpnr2zj.js → location-services-58951jed.js} +30 -30
- package/dist/chunks/{file-access-ndmv45hp.js → location-services-5cmxdwv8.js} +3 -3
- package/dist/chunks/{file-access-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-5ekn9679.js → location-services-5ekn9679.js} +1 -1
- package/dist/chunks/{file-access-19m0af1m.js → location-services-5fezsetf.js} +8 -8
- package/dist/chunks/{file-access-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-919h9xp7.js → location-services-5y5mrdty.js} +28 -28
- package/dist/chunks/{file-access-s2tvr5dg.js → location-services-5yf9hs8d.js} +11 -11
- package/dist/chunks/{file-access-0rn0af91.js → location-services-5z6f9w00.js} +12 -12
- package/dist/chunks/{file-access-619r8v3y.js → location-services-619r8v3y.js} +1 -1
- package/dist/chunks/{file-access-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{file-access-y97z94ck.js → location-services-6b2fqmg9.js} +14 -14
- package/dist/chunks/{file-access-pz1h63jt.js → location-services-6b5n2jj1.js} +25 -25
- package/dist/chunks/{file-access-rxvrk031.js → location-services-6kkvj210.js} +22 -22
- package/dist/chunks/{file-access-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-mgmtwba2.js → location-services-6sgxs7jb.js} +5 -5
- package/dist/chunks/{file-access-r0pc2tt6.js → location-services-6vn9xp8b.js} +25 -25
- package/dist/chunks/{file-access-vt0e9y1w.js → location-services-7b1fe5ah.js} +8 -8
- package/dist/chunks/{file-access-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-qgn6gcr1.js → location-services-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-access-859wm560.js → location-services-7pfrbv4x.js} +22 -22
- package/dist/chunks/{file-access-5rnnm2b5.js → location-services-7v81x33d.js} +9 -9
- package/dist/chunks/{file-access-bqm04z8x.js → location-services-7xgtadz5.js} +6 -6
- package/dist/chunks/{file-access-zkx33n4v.js → location-services-7z7wxyf7.js} +11 -11
- package/dist/chunks/{file-access-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-ydgy0jv4.js → location-services-8kysg0nx.js} +6 -6
- package/dist/chunks/{file-access-8p4f9s12.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-7v5p2n78.js → location-services-8va4mfas.js} +9 -9
- package/dist/chunks/{file-access-6tw2ysqh.js → location-services-911dk90e.js} +8 -8
- package/dist/chunks/{file-access-z3yhsc05.js → location-services-929zw6j4.js} +20 -20
- package/dist/chunks/{file-access-dzbt8m9q.js → location-services-94tds4en.js} +31 -31
- package/dist/chunks/{file-access-v76by4bg.js → location-services-954vm9zf.js} +6 -6
- package/dist/chunks/{file-access-p2fa2w79.js → location-services-95ae4rxz.js} +11 -11
- package/dist/chunks/{file-access-mgtp0e10.js → location-services-9a65bwts.js} +25 -25
- package/dist/chunks/{file-access-hdp5644h.js → location-services-9c01p13y.js} +15 -15
- package/dist/chunks/{file-access-e0bnrhje.js → location-services-9czmx1d9.js} +124 -124
- package/dist/chunks/{file-access-hzzc25wh.js → location-services-9jsb8q8w.js} +14 -14
- package/dist/chunks/{file-access-sqm52wn7.js → location-services-9rddrra1.js} +13 -13
- package/dist/chunks/{file-access-zx7j3hav.js → location-services-9v41vzcn.js} +33 -33
- package/dist/chunks/{file-access-jqe22faw.js → location-services-9w34r5ct.js} +18 -18
- package/dist/chunks/{file-access-773wjt79.js → location-services-9z21m1vc.js} +5 -5
- package/dist/chunks/{file-access-a1bz86dw.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-8ank75fn.js → location-services-a2qe2ev9.js} +8 -8
- package/dist/chunks/{file-access-mgj6pkkf.js → location-services-a3fhgjkr.js} +22 -22
- package/dist/chunks/{file-access-6gxdng4p.js → location-services-a4abrdce.js} +22 -22
- package/dist/chunks/{file-access-pn68zg67.js → location-services-a7cj8fws.js} +14 -14
- package/dist/chunks/{file-access-wvmhvm0m.js → location-services-a8d8pa79.js} +21 -21
- package/dist/chunks/{file-access-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-gnr28544.js → location-services-ab3hzfp7.js} +41 -41
- package/dist/chunks/{file-access-317cfnqd.js → location-services-at170bbr.js} +9 -9
- package/dist/chunks/{file-access-7x3ymcnd.js → location-services-b1te3k81.js} +12 -12
- package/dist/chunks/{file-access-jvv9dx74.js → location-services-b4n8ys81.js} +6 -6
- package/dist/chunks/{file-access-ynp3axf3.js → location-services-b5btqhwc.js} +3 -3
- package/dist/chunks/{file-access-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-a8mbncqe.js → location-services-b8pbb6y1.js} +11 -11
- package/dist/chunks/{file-access-2ktg6p98.js → location-services-b8qgwjvd.js} +16 -16
- package/dist/chunks/{file-access-zx4azftj.js → location-services-bd5rzvrt.js} +8 -8
- package/dist/chunks/{file-access-wn8y6sgg.js → location-services-bfhq8xkj.js} +7 -7
- package/dist/chunks/{file-access-cq37gk0t.js → location-services-bha4atvq.js} +4 -4
- package/dist/chunks/{file-access-x0f4f0m1.js → location-services-bhseht6g.js} +1 -1
- package/dist/chunks/{file-access-h99jmrd9.js → location-services-bkd4yspx.js} +10 -10
- package/dist/chunks/{file-access-1cj8gcbx.js → location-services-bmyx1hfb.js} +16 -16
- package/dist/chunks/{file-access-cmwkp3r5.js → location-services-br0tr5aq.js} +8 -8
- package/dist/chunks/{file-access-n7xygqpe.js → location-services-bsba7pb1.js} +11 -11
- package/dist/chunks/{file-access-k16yeph6.js → location-services-bygrnxdr.js} +29 -29
- package/dist/chunks/{file-access-km8beb5j.js → location-services-bza16hp0.js} +13 -13
- package/dist/chunks/{file-access-768gsh1v.js → location-services-c0ge5ze9.js} +6 -6
- package/dist/chunks/{file-access-r036svgx.js → location-services-c1wd4kg2.js} +11 -11
- package/dist/chunks/{file-access-xxseqtyh.js → location-services-c4h63tt8.js} +30 -30
- package/dist/chunks/{file-access-cfpkc3c9.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-16cax9zb.js → location-services-ckfwh0ft.js} +6 -6
- package/dist/chunks/{file-access-nzyhnfxz.js → location-services-cpj0znwe.js} +4 -4
- package/dist/chunks/{file-access-nazk6ep5.js → location-services-crnk5gej.js} +17 -17
- package/dist/chunks/{file-access-tgcdz44n.js → location-services-cw093v2r.js} +21 -21
- package/dist/chunks/{file-access-0t1q9tjc.js → location-services-djsrhgf5.js} +72 -72
- package/dist/chunks/{file-access-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-access-wrtjp1mn.js → location-services-drhhyq3n.js} +24 -24
- package/dist/chunks/{file-access-8jq0bfkk.js → location-services-drs1kqv3.js} +8 -8
- package/dist/chunks/{file-access-xfkkasph.js → location-services-drwq78ky.js} +4 -4
- package/dist/chunks/{file-access-afdssyjb.js → location-services-e2hjzebn.js} +4 -4
- package/dist/chunks/{file-access-bjwsxpgk.js → location-services-e58jwmtf.js} +20 -20
- package/dist/chunks/{file-access-h5kmmphm.js → location-services-e6e3axhh.js} +2 -2
- package/dist/chunks/{file-access-cjwredg8.js → location-services-e7aj1vd0.js} +15 -15
- package/dist/chunks/{file-access-05dyq9yx.js → location-services-e91k1as5.js} +7 -7
- package/dist/chunks/{file-access-rhjbct0v.js → location-services-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-access-jx3n259w.js → location-services-ecphvagr.js} +33 -33
- package/dist/chunks/{file-access-11vq80p7.js → location-services-eczyt3tv.js} +16 -16
- package/dist/chunks/{file-access-pwn9j9sb.js → location-services-eeqknjfh.js} +2 -2
- package/dist/chunks/{file-access-cjh1af7b.js → location-services-ef172n3c.js} +34 -34
- package/dist/chunks/{file-access-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-wfxxyxds.js → location-services-eg5k0e50.js} +9 -9
- package/dist/chunks/{file-access-hntp1kvn.js → location-services-ekw1vzjb.js} +1 -1
- package/dist/chunks/{file-access-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-access-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-2f0bjgcj.js → location-services-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-access-48qh5hqp.js → location-services-f3kw9eex.js} +8 -8
- package/dist/chunks/{file-access-f828m53h.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-ywyg2maf.js → location-services-ffv7dphc.js} +25 -25
- package/dist/chunks/{file-access-nq7qbqzc.js → location-services-fhs97t90.js} +9 -9
- package/dist/chunks/{file-access-k9kj6xed.js → location-services-fkjmw100.js} +2 -2
- package/dist/chunks/{file-access-t48g49hr.js → location-services-fpgytpcd.js} +11 -11
- package/dist/chunks/{file-access-58mcmt77.js → location-services-fphfnw8p.js} +25 -25
- package/dist/chunks/{file-access-qtqgfzev.js → location-services-fz4rhnde.js} +24 -24
- package/dist/chunks/{file-access-g190xswt.js → location-services-g190xswt.js} +1 -1
- package/dist/chunks/{file-access-v6zy1qsv.js → location-services-g866mvw0.js} +7 -7
- package/dist/chunks/{file-access-d216944b.js → location-services-g8d3gcyj.js} +4 -4
- package/dist/chunks/{file-access-qfgq1c71.js → location-services-g9bf7h26.js} +1 -1
- package/dist/chunks/{file-access-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-b4qmmyek.js → location-services-ggepezj9.js} +11 -11
- package/dist/chunks/{file-access-rtathh62.js → location-services-gv66gg0x.js} +8 -8
- package/dist/chunks/{file-access-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-09nm2wmq.js → location-services-hbdpwzfq.js} +16 -16
- package/dist/chunks/location-services-hnnewyce.js +26 -0
- package/dist/chunks/{file-access-20pzmj15.js → location-services-hssynh61.js} +17 -17
- package/dist/chunks/{file-access-rf3sv4f6.js → location-services-htetns6h.js} +42 -42
- package/dist/chunks/{file-access-2h0wcn0e.js → location-services-j48xdb6e.js} +11 -11
- package/dist/chunks/{file-access-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-b0dgvpy7.js → location-services-j58c5xyq.js} +9 -9
- package/dist/chunks/{file-access-658p8faw.js → location-services-j5kemd6q.js} +4 -4
- package/dist/chunks/{file-access-0v53mg2y.js → location-services-j83byb14.js} +4 -4
- package/dist/chunks/{file-access-xn76h8hp.js → location-services-jjvhwfpq.js} +18 -18
- package/dist/chunks/{file-access-cgq8fjpr.js → location-services-jmjmabnt.js} +9 -9
- package/dist/chunks/{file-access-90t26j8x.js → location-services-jrgj59py.js} +22 -22
- package/dist/chunks/{file-access-bjn91642.js → location-services-jva4mgym.js} +4 -4
- package/dist/chunks/{file-access-vrz7xrs5.js → location-services-jyg7bppw.js} +20 -20
- package/dist/chunks/{file-access-7pbtkrdy.js → location-services-jzvw9cjy.js} +1 -1
- package/dist/chunks/{file-access-qc7betj8.js → location-services-k255hwzq.js} +17 -17
- package/dist/chunks/{file-access-gsads2be.js → location-services-k31jsr5k.js} +16 -16
- package/dist/chunks/{file-access-k3c624dm.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-91zmhnyh.js → location-services-k4js8n82.js} +39 -39
- package/dist/chunks/{file-access-zh7rgrks.js → location-services-k89tvy88.js} +15 -15
- package/dist/chunks/{file-access-46a1trkr.js → location-services-kcd5m8qj.js} +14 -14
- package/dist/chunks/{file-access-34e0h94d.js → location-services-kgcsqxc0.js} +1 -1
- package/dist/chunks/{file-access-65jejx4v.js → location-services-kjbgyhn1.js} +11 -11
- package/dist/chunks/{file-access-8na3c29k.js → location-services-kpt1pgx2.js} +11 -11
- package/dist/chunks/{file-access-ybh0q6je.js → location-services-kwbh71xg.js} +47 -47
- package/dist/chunks/{file-access-n9ne1b93.js → location-services-m2d4znkh.js} +11 -11
- package/dist/chunks/{file-access-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-pszv7358.js → location-services-m8azmk47.js} +21 -21
- package/dist/chunks/{file-access-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-z2cgntw0.js → location-services-mfdejc95.js} +3 -3
- package/dist/chunks/{file-access-8g6xxsrk.js → location-services-mt7hacs3.js} +11 -11
- package/dist/chunks/{file-access-e37h8kwf.js → location-services-mvr5bn4j.js} +12 -12
- package/dist/chunks/{file-access-e0833qeh.js → location-services-mwr9pqc9.js} +21 -21
- package/dist/chunks/{file-access-mvgpk1ca.js → location-services-n5xzyk2f.js} +10 -10
- package/dist/chunks/{file-access-ktvn187s.js → location-services-n93zkqgy.js} +25 -25
- package/dist/chunks/{file-access-6enf0aw0.js → location-services-nhn30yps.js} +3 -3
- package/dist/chunks/{file-access-8ra6m1eq.js → location-services-njp0gf2a.js} +13 -13
- package/dist/chunks/{file-access-saye24w9.js → location-services-npq7nscb.js} +4 -4
- package/dist/chunks/{file-access-r33ff4dw.js → location-services-nqnxh7mc.js} +4 -4
- package/dist/chunks/{file-access-c6e7fcwh.js → location-services-p26kqw2f.js} +24 -24
- package/dist/chunks/{file-access-3hdyanjz.js → location-services-p26stxcb.js} +4 -4
- package/dist/chunks/{file-access-tbz0fdvh.js → location-services-p28j5sbe.js} +5 -5
- package/dist/chunks/{file-access-4sy0vzp4.js → location-services-p3rst35z.js} +8 -8
- package/dist/chunks/{file-access-pecb0brz.js → location-services-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-access-eqncpqrf.js → location-services-pbqq4tza.js} +15 -15
- package/dist/chunks/{file-access-4s1tnqdt.js → location-services-pe8tv1h6.js} +3 -3
- package/dist/chunks/{file-access-0ehystez.js → location-services-phgh3kxd.js} +6 -6
- package/dist/chunks/{file-access-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-frrq0hd0.js → location-services-prjfewh6.js} +4 -4
- package/dist/chunks/{file-access-fs40rkt5.js → location-services-ptrzmbv7.js} +43 -43
- package/dist/chunks/{file-access-hkdbkshs.js → location-services-qa4rgfar.js} +13 -13
- package/dist/chunks/{file-access-v6ndbskd.js → location-services-qedddj0d.js} +13 -13
- package/dist/chunks/{file-access-752w5jz5.js → location-services-qh5mrz6m.js} +25 -25
- package/dist/chunks/{file-access-08atjc0y.js → location-services-qjsjev06.js} +21 -21
- package/dist/chunks/{file-access-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-0fp6vpq7.js → location-services-qt21ay13.js} +38 -38
- package/dist/chunks/{file-access-qjxevsft.js → location-services-r3c4069c.js} +1 -1
- package/dist/chunks/{file-access-73tb2d7t.js → location-services-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-access-xs2bmay3.js → location-services-r756e8jm.js} +19 -19
- package/dist/chunks/{file-access-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-9pk0fx53.js → location-services-rm4rssxj.js} +5 -5
- package/dist/chunks/{file-access-1bnjjx40.js → location-services-rrwq8gjb.js} +18 -18
- package/dist/chunks/{file-access-bxs86mwm.js → location-services-s402295g.js} +17 -17
- package/dist/chunks/{file-access-afknyawd.js → location-services-sg4jxb88.js} +12 -12
- package/dist/chunks/{file-access-rjzssajw.js → location-services-skezdadn.js} +8 -8
- package/dist/chunks/{file-access-zfp10n8z.js → location-services-st74dpns.js} +11 -11
- package/dist/chunks/{file-access-tzqjevm8.js → location-services-sz74yh9r.js} +9 -9
- package/dist/chunks/{file-access-kzp8v912.js → location-services-t0qhjgyp.js} +6 -6
- package/dist/chunks/{file-access-cka7hfyn.js → location-services-t134qhcv.js} +24 -24
- package/dist/chunks/{file-access-0a692sth.js → location-services-t55y95db.js} +30 -30
- package/dist/chunks/{file-access-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-2xszf6tt.js → location-services-tcffg621.js} +37 -37
- package/dist/chunks/{file-access-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-dwzbgcev.js → location-services-te8pmjpx.js} +3 -3
- package/dist/chunks/{file-access-ymmys65e.js → location-services-th3akfh8.js} +18 -18
- package/dist/chunks/{file-access-y5phfrgc.js → location-services-tkkpbq49.js} +9 -9
- package/dist/chunks/{file-access-kr1sqef6.js → location-services-tm53c378.js} +17 -17
- package/dist/chunks/{file-access-4dzg40rw.js → location-services-ttjqyb0b.js} +12 -12
- package/dist/chunks/{file-access-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-3dap0f8b.js → location-services-tx06y4r2.js} +26 -26
- package/dist/chunks/{file-access-qx03bd0a.js → location-services-tzz062re.js} +6 -6
- package/dist/chunks/{file-access-y8qxa0m2.js → location-services-v0jj9yeq.js} +307 -307
- package/dist/chunks/{file-access-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-raf9h2ts.js → location-services-vm0ks5e0.js} +9 -9
- package/dist/chunks/{file-access-hkagk5ex.js → location-services-vmgq4x8b.js} +2 -2
- package/dist/chunks/{file-access-wrmrmykr.js → location-services-vmwh049b.js} +3 -3
- package/dist/chunks/{file-access-aah9qcnd.js → location-services-vqxt8g7e.js} +8 -8
- package/dist/chunks/{file-access-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-gmjq4p6e.js → location-services-w47g9jnr.js} +5 -5
- package/dist/chunks/{file-access-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-5q8gz8g4.js → location-services-wfgx88ta.js} +14 -14
- package/dist/chunks/{file-access-t6r7h21p.js → location-services-wpg9je3n.js} +13 -13
- package/dist/chunks/{file-access-p38vwk10.js → location-services-wqz2nznd.js} +29 -29
- package/dist/chunks/{file-access-93syhrr0.js → location-services-wrgwgm8m.js} +5 -5
- package/dist/chunks/{file-access-m9rhymkd.js → location-services-wxafn8fs.js} +36 -36
- package/dist/chunks/{file-access-9a0fsf8a.js → location-services-x163ashe.js} +3 -3
- package/dist/chunks/{file-access-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-zd30eb5w.js → location-services-x2d9qy7d.js} +5 -5
- package/dist/chunks/{file-access-fz4sbwmc.js → location-services-xjqa0996.js} +21 -21
- package/dist/chunks/{file-access-7hcsbk7e.js → location-services-xmgg1s1t.js} +46 -46
- package/dist/chunks/{file-access-sng8r1vf.js → location-services-y1e7j0p1.js} +24 -24
- package/dist/chunks/{file-access-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-7v8yt572.js → location-services-yce5w86h.js} +13 -13
- package/dist/chunks/{file-access-kw7v9xqj.js → location-services-yj10h50k.js} +20 -20
- package/dist/chunks/location-services-ykg4wt0r.js +252 -0
- package/dist/chunks/{file-access-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-3emr59yt.js → location-services-z5rd9rww.js} +8 -8
- package/dist/chunks/{file-access-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-kdjb3rjh.js → location-services-z81vx979.js} +12 -12
- package/dist/chunks/{file-access-pber7c1w.js → location-services-zacw89sw.js} +15 -15
- package/dist/chunks/{file-access-93ygb5af.js → location-services-zdwe30dy.js} +6 -6
- package/dist/chunks/{file-access-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-288g8677.js → location-services-zh3km4py.js} +4 -4
- package/dist/chunks/{file-access-227994hr.js → location-services-zpdbj17a.js} +32 -32
- package/dist/chunks/{file-access-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-jcvejxbn.js → location-services-zz760rd9.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +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 +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 +119 -119
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +99 -99
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +81 -81
- 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 +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- 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 +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +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 +121 -121
- 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 +119 -119
- 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 +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +88 -88
- 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 +127 -127
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- 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 +74 -74
- 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 +114 -114
- package/dist/session/model-transport.js +5 -5
- 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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +1 -1
- 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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/file-access-4cm67rrf.js +0 -26
- package/dist/chunks/file-access-qr6m8t0g.js +0 -252
- /package/dist/chunks/{file-access-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qapv375x.js → location-services-qapv375x.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./location-services-7v81x33d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./location-services-zdwe30dy.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-619r8v3y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service79
|
|
15
|
+
} from "./location-services-a2qe2ev9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-vmwh049b.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service72
|
|
23
|
+
} from "./location-services-a3fhgjkr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service58;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service79;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service72;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service43;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service12,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node14
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service12 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node14 = makeLocationNode({
|
|
19
|
+
service: Service12,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service12, node14, bound2, exports_instance2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node67,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node67 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer24, configured11, node67, exports_app };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-0ydqtzrm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node41
|
|
8
|
+
} from "./location-services-wxafn8fs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./location-services-htetns6h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./location-services-7pfrbv4x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service42;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service75;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node40 = makeLocationNode({
|
|
124
|
+
service: Service37,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node45, node41, node87, node79]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service37, layer14, node40, exports_mcp3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service73,
|
|
3
|
+
node77,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-3n35ajgm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node61
|
|
9
|
+
} from "./location-services-zdwe30dy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./location-services-1jzkgb6x.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ykg4wt0r.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(Service73, 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, Service13);
|
|
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
|
+
node61.replace(Layer.succeed(Service58, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node77.replace(Layer.succeed(Service73, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-w47g9jnr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make20
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make20 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service82;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make20, exports_git2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-services-jjvhwfpq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./location-services-qt21ay13.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-b4n8ys81.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin12
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin12 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service51;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service52;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin31 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin12, exports_compatibility };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-te8pmjpx.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-0ydqtzrm.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-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: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service71,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
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 ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service71 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
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 Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service71.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(Service75, 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 Info26({
|
|
80
|
+
id: ID11.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(Service75, 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(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.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(Service75, 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(Event17.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(Service75, 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(Event17.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(Service75, 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(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service71, node75, exports_credential };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info16
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info10
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info10, exports_agent3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info22,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info22 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info22, key2, exports_connection };
|