@opencode/core 0.0.0-dev-20012 → 0.0.0-dev-20013
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/{image-m4emphp1.js → file-access-00c8amp3.js} +49 -49
- package/dist/chunks/{image-vk0va4ns.js → file-access-05dyq9yx.js} +7 -7
- package/dist/chunks/{image-rbxccrva.js → file-access-08atjc0y.js} +21 -21
- package/dist/chunks/{image-3czpn3qn.js → file-access-09nm2wmq.js} +10 -10
- package/dist/chunks/{image-hbf5bmg6.js → file-access-0a692sth.js} +37 -37
- package/dist/chunks/{image-1r56tgej.js → file-access-0ehystez.js} +3 -3
- package/dist/chunks/{image-m2yd4h25.js → file-access-0fp6vpq7.js} +38 -38
- package/dist/chunks/{image-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-wz8tevja.js → file-access-0rn0af91.js} +12 -12
- package/dist/chunks/{image-sqmc1ypj.js → file-access-0t1q9tjc.js} +76 -76
- package/dist/chunks/{image-t9zs3egg.js → file-access-0v53mg2y.js} +4 -4
- package/dist/chunks/{image-6xh0g4kx.js → file-access-11vq80p7.js} +25 -25
- package/dist/chunks/{image-bh0zzf2s.js → file-access-15nepkqg.js} +8 -8
- package/dist/chunks/{image-g8jasmdt.js → file-access-16cax9zb.js} +8 -8
- package/dist/chunks/{image-yw90mp9f.js → file-access-19m0af1m.js} +8 -8
- package/dist/chunks/{image-rhraev7y.js → file-access-1acjjqhc.js} +4 -4
- package/dist/chunks/{image-z0tsxkyk.js → file-access-1bnjjx40.js} +23 -23
- package/dist/chunks/{image-qbdtkhea.js → file-access-1cj8gcbx.js} +16 -16
- package/dist/chunks/{image-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-be95997k.js → file-access-1jtbg6c9.js} +14 -14
- package/dist/chunks/{image-jgphgq4c.js → file-access-20pzmj15.js} +17 -17
- package/dist/chunks/{image-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{image-v8aah0kr.js → file-access-227994hr.js} +32 -32
- package/dist/chunks/{image-2402vzrj.js → file-access-2402vzrj.js} +1 -1
- package/dist/chunks/{image-tsr6kwcz.js → file-access-24ct3y2e.js} +3 -3
- package/dist/chunks/{image-nfd0y60j.js → file-access-288g8677.js} +4 -4
- package/dist/chunks/{image-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-3cfzdc8e.js → file-access-2f0bjgcj.js} +5 -5
- package/dist/chunks/{image-dks483fm.js → file-access-2h0wcn0e.js} +11 -11
- package/dist/chunks/{image-y5cwy1mn.js → file-access-2hcvc8f1.js} +20 -20
- package/dist/chunks/{image-2k2bn567.js → file-access-2ktg6p98.js} +16 -16
- package/dist/chunks/{image-ky514c0v.js → file-access-317cfnqd.js} +11 -11
- package/dist/chunks/{image-rstenykm.js → file-access-34e0h94d.js} +3 -3
- package/dist/chunks/{image-npq2n3tp.js → file-access-37svwymz.js} +10 -10
- package/dist/chunks/{image-258eh3rs.js → file-access-3dap0f8b.js} +26 -26
- package/dist/chunks/{image-f5gy8qwh.js → file-access-3emr59yt.js} +7 -7
- package/dist/chunks/{image-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-dz8x4rxg.js → file-access-3hdyanjz.js} +4 -4
- package/dist/chunks/{image-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-qd1nr1jp.js → file-access-46a1trkr.js} +12 -12
- package/dist/chunks/{image-924007vm.js → file-access-48qh5hqp.js} +8 -8
- package/dist/chunks/{image-kkp8zx71.js → file-access-4bm5ja14.js} +4 -4
- package/dist/chunks/file-access-4cm67rrf.js +26 -0
- package/dist/chunks/{image-en4eedd3.js → file-access-4dzg40rw.js} +9 -9
- package/dist/chunks/{image-1g4xhxjj.js → file-access-4f0fby6w.js} +2 -2
- package/dist/chunks/{image-c4spbmd0.js → file-access-4s1tnqdt.js} +9 -9
- package/dist/chunks/{image-56gdpj1q.js → file-access-56gdpj1q.js} +2 -2
- package/dist/chunks/{image-57ez7d0k.js → file-access-57ez7d0k.js} +2 -2
- package/dist/chunks/{image-a4rx6ejt.js → file-access-58mcmt77.js} +25 -25
- package/dist/chunks/{image-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5ekn9679.js → file-access-5ekn9679.js} +1 -1
- package/dist/chunks/{image-3b7qpc67.js → file-access-5q8gz8g4.js} +22 -22
- package/dist/chunks/{image-anf0zms1.js → file-access-5rnnm2b5.js} +9 -9
- package/dist/chunks/{image-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-js7vnd8z.js → file-access-5ww8yrxx.js} +25 -25
- package/dist/chunks/file-access-619r8v3y.js +18 -0
- package/dist/chunks/{image-8krfq0r3.js → file-access-658p8faw.js} +4 -4
- package/dist/chunks/{image-7keqm5b0.js → file-access-65jejx4v.js} +13 -13
- package/dist/chunks/{image-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{image-0rt1aerz.js → file-access-6enf0aw0.js} +3 -3
- package/dist/chunks/{image-v5w4drkp.js → file-access-6gxdng4p.js} +27 -27
- package/dist/chunks/{image-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-d04y4xb3.js → file-access-6tw2ysqh.js} +8 -8
- package/dist/chunks/{image-1f0kfkq1.js → file-access-6vnhfzx9.js} +6 -6
- package/dist/chunks/{image-7yh4e7ss.js → file-access-73tb2d7t.js} +3 -3
- package/dist/chunks/{image-nh4xrcr0.js → file-access-752w5jz5.js} +26 -26
- package/dist/chunks/{image-8d0p2m37.js → file-access-768gsh1v.js} +3 -3
- package/dist/chunks/{image-3tkhky9t.js → file-access-773wjt79.js} +7 -7
- package/dist/chunks/{image-10kf31pw.js → file-access-78c73d7g.js} +34 -34
- package/dist/chunks/{image-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-7ykc5hxq.js → file-access-7gy38z07.js} +24 -24
- package/dist/chunks/{image-kes097j4.js → file-access-7pbtkrdy.js} +3 -3
- package/dist/chunks/{image-0gy1wr0y.js → file-access-7v5p2n78.js} +13 -13
- package/dist/chunks/{image-d18skez3.js → file-access-7v8yt572.js} +15 -15
- package/dist/chunks/{image-ddk8b4gr.js → file-access-7x3ymcnd.js} +12 -12
- package/dist/chunks/{image-b7vxzd00.js → file-access-859wm560.js} +22 -22
- package/dist/chunks/{image-k1gkpfdk.js → file-access-8ank75fn.js} +8 -8
- package/dist/chunks/{image-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-wzhg77bf.js → file-access-8g6xxsrk.js} +10 -10
- package/dist/chunks/{image-tk2v6jy0.js → file-access-8jq0bfkk.js} +8 -8
- package/dist/chunks/{image-anb8rm3e.js → file-access-8na3c29k.js} +11 -11
- package/dist/chunks/{image-8p4f9s12.js → file-access-8p4f9s12.js} +2 -2
- package/dist/chunks/{image-vtt0yr3x.js → file-access-8ra6m1eq.js} +7 -7
- package/dist/chunks/{image-weagdthn.js → file-access-90t26j8x.js} +13 -13
- package/dist/chunks/{image-5qfssqaz.js → file-access-93syhrr0.js} +10 -10
- package/dist/chunks/{image-ycjb11n5.js → file-access-93ygb5af.js} +6 -6
- package/dist/chunks/{image-ga8qx7mf.js → file-access-98jp8s51.js} +166 -166
- package/dist/chunks/{image-ezt9kfxv.js → file-access-9a0fsf8a.js} +5 -5
- package/dist/chunks/{image-hv8bfrwv.js → file-access-9b9bawht.js} +31 -31
- package/dist/chunks/{image-p28j5sbe.js → file-access-9cyfspf3.js} +6 -5
- package/dist/chunks/{image-1mp28asa.js → file-access-9namg634.js} +25 -25
- package/dist/chunks/{image-b340zwh0.js → file-access-9pk0fx53.js} +3 -3
- package/dist/chunks/{image-a1bz86dw.js → file-access-a1bz86dw.js} +3 -3
- package/dist/chunks/{image-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{image-namhjc4y.js → file-access-aah9qcnd.js} +7 -7
- package/dist/chunks/{image-n4r3xatb.js → file-access-afdssyjb.js} +4 -4
- package/dist/chunks/{image-qrtzkn9f.js → file-access-afknyawd.js} +12 -12
- package/dist/chunks/{image-dg2cj1yd.js → file-access-ag580yac.js} +4 -4
- package/dist/chunks/{image-h71w788e.js → file-access-b0dgvpy7.js} +9 -9
- package/dist/chunks/{image-tjpj2e3q.js → file-access-b4qmmyek.js} +11 -11
- package/dist/chunks/{image-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-y67gsgy6.js → file-access-bjn91642.js} +4 -4
- package/dist/chunks/{image-p84br5ek.js → file-access-bjwsxpgk.js} +20 -20
- package/dist/chunks/{image-s4hm96va.js → file-access-bk7qdt7s.js} +11 -11
- package/dist/chunks/{image-g1cnsceh.js → file-access-bqm04z8x.js} +6 -6
- package/dist/chunks/{image-znepfjcf.js → file-access-bvsk2pep.js} +17 -17
- package/dist/chunks/{image-nab6jkb6.js → file-access-bxs86mwm.js} +12 -12
- package/dist/chunks/{image-p2safxe9.js → file-access-c6e7fcwh.js} +15 -15
- package/dist/chunks/{image-cfpkc3c9.js → file-access-cfpkc3c9.js} +2 -2
- package/dist/chunks/{image-ewnwpw42.js → file-access-cgq8fjpr.js} +9 -9
- package/dist/chunks/{image-jmvq68x6.js → file-access-cjh1af7b.js} +37 -37
- package/dist/chunks/{image-vca968f4.js → file-access-cjwredg8.js} +15 -15
- package/dist/chunks/{image-ad4z1jrs.js → file-access-cka7hfyn.js} +25 -25
- package/dist/chunks/{image-cmwkp3r5.js → file-access-cmwkp3r5.js} +1 -1
- package/dist/chunks/{image-cq37gk0t.js → file-access-cq37gk0t.js} +4 -4
- package/dist/chunks/{image-a2ew8a62.js → file-access-d216944b.js} +7 -7
- package/dist/chunks/{image-mp3sjqb3.js → file-access-d2554jjm.js} +26 -26
- package/dist/chunks/{image-c765mh8b.js → file-access-d4he2qe1.js} +9 -9
- package/dist/chunks/{image-fng32zf3.js → file-access-d4x8y6s3.js} +68 -68
- package/dist/chunks/{image-4hxys4rp.js → file-access-d9qy0tkw.js} +46 -46
- package/dist/chunks/{image-v61m3kz8.js → file-access-dwzbgcev.js} +3 -3
- package/dist/chunks/{image-59fd7wwn.js → file-access-dzbt8m9q.js} +31 -31
- package/dist/chunks/{image-n8yas6hm.js → file-access-e0833qeh.js} +21 -21
- package/dist/chunks/{image-mzvzs703.js → file-access-e37h8kwf.js} +12 -12
- package/dist/chunks/{image-qte5z7bc.js → file-access-e6hmchc5.js} +5 -5
- package/dist/chunks/{image-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-77fp0bkd.js → file-access-ehatyybc.js} +8 -8
- package/dist/chunks/{image-hbw0vr81.js → file-access-eqncpqrf.js} +15 -15
- package/dist/chunks/{image-erw5rpbs.js → file-access-erw5rpbs.js} +2 -2
- package/dist/chunks/{image-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-9dpmj859.js → file-access-etqc4x7c.js} +5 -5
- package/dist/chunks/{image-f828m53h.js → file-access-f828m53h.js} +2 -2
- package/dist/chunks/file-access-fadsvk8f.js +252 -0
- package/dist/chunks/{image-bhk8ct5v.js → file-access-fk0e1y1r.js} +9 -9
- package/dist/chunks/{image-svndcwjb.js → file-access-frrq0hd0.js} +4 -4
- package/dist/chunks/{image-0e37k7hs.js → file-access-fs40rkt5.js} +43 -43
- package/dist/chunks/{image-78ys8twf.js → file-access-fsx03azj.js} +7 -7
- package/dist/chunks/{image-xc3aj2tv.js → file-access-fz4sbwmc.js} +21 -21
- package/dist/chunks/{image-cavr175a.js → file-access-g190xswt.js} +4 -4
- package/dist/chunks/{image-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-dq0v80fr.js → file-access-gmjq4p6e.js} +5 -5
- package/dist/chunks/{image-3mtz8sw0.js → file-access-gnr28544.js} +43 -43
- package/dist/chunks/{image-685dn0bf.js → file-access-gsads2be.js} +16 -16
- package/dist/chunks/{image-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-r646k28t.js → file-access-h5kmmphm.js} +5 -5
- package/dist/chunks/{image-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-j6nsp1g7.js → file-access-h99jmrd9.js} +10 -10
- package/dist/chunks/{image-qnqyg1a6.js → file-access-hdp5644h.js} +20 -20
- package/dist/chunks/{image-dp942mfh.js → file-access-hf63qasg.js} +6 -6
- package/dist/chunks/{image-a3r4dcrj.js → file-access-hkagk5ex.js} +2 -2
- package/dist/chunks/{image-n5skym8n.js → file-access-hkdbkshs.js} +13 -13
- package/dist/chunks/{image-2zvss1h4.js → file-access-hntp1kvn.js} +1 -1
- package/dist/chunks/{image-57x4wt21.js → file-access-hqzg2801.js} +313 -313
- package/dist/chunks/{image-zndykydc.js → file-access-hzzc25wh.js} +11 -11
- package/dist/chunks/{image-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{image-aktb84ke.js → file-access-jcvejxbn.js} +4 -4
- package/dist/chunks/{image-kpx2s52a.js → file-access-jtr1pbd3.js} +37 -30
- package/dist/chunks/{image-rxf9y2mx.js → file-access-jvv9dx74.js} +4 -4
- package/dist/chunks/{image-gxyd6y7v.js → file-access-jx3n259w.js} +30 -30
- package/dist/chunks/{image-pk5pky18.js → file-access-k100k1x5.js} +9 -9
- package/dist/chunks/{image-4beex6cr.js → file-access-k16yeph6.js} +23 -23
- package/dist/chunks/{image-k3c624dm.js → file-access-k3c624dm.js} +3 -3
- package/dist/chunks/{image-k9kj6xed.js → file-access-k9kj6xed.js} +2 -2
- package/dist/chunks/{image-jbft8se4.js → file-access-kdjb3rjh.js} +16 -16
- package/dist/chunks/{image-3zzqeb10.js → file-access-kr1sqef6.js} +17 -17
- package/dist/chunks/{image-fxxz233w.js → file-access-ktvn187s.js} +25 -25
- package/dist/chunks/{image-esh8cnfr.js → file-access-kw7v9xqj.js} +18 -18
- package/dist/chunks/{image-eba62b5m.js → file-access-kzp8v912.js} +6 -6
- package/dist/chunks/{image-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-vke24a77.js → file-access-m9rhymkd.js} +44 -44
- package/dist/chunks/{image-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-vh6t508r.js → file-access-mgj6pkkf.js} +18 -18
- package/dist/chunks/{image-8vqgfadx.js → file-access-mgmtwba2.js} +5 -5
- package/dist/chunks/{image-te1zgf92.js → file-access-mgtp0e10.js} +25 -25
- package/dist/chunks/{image-nxvwfbqw.js → file-access-mhv6gyqj.js} +19 -18
- package/dist/chunks/{image-npdbymj2.js → file-access-mvgpk1ca.js} +22 -22
- package/dist/chunks/{image-9z4sf5tv.js → file-access-n7xygqpe.js} +11 -11
- package/dist/chunks/{image-g05h3mtq.js → file-access-n9ne1b93.js} +11 -11
- package/dist/chunks/{image-0dgp5q1e.js → file-access-nazk6ep5.js} +15 -15
- package/dist/chunks/{image-rj372e5a.js → file-access-nc0692wd.js} +4 -4
- package/dist/chunks/{image-jexxy024.js → file-access-ndmv45hp.js} +3 -3
- package/dist/chunks/{image-9a912s85.js → file-access-nq7qbqzc.js} +9 -9
- package/dist/chunks/{image-h6r3nrb9.js → file-access-nzyhnfxz.js} +4 -4
- package/dist/chunks/{image-7q7be7w2.js → file-access-p04pkz1c.js} +12 -12
- package/dist/chunks/{image-4p8kdyd3.js → file-access-p2ahdppn.js} +23 -23
- package/dist/chunks/{image-09e552k5.js → file-access-p2fa2w79.js} +11 -11
- package/dist/chunks/{image-rztbak21.js → file-access-p38vwk10.js} +26 -26
- package/dist/chunks/{image-bcqffep5.js → file-access-pber7c1w.js} +15 -15
- package/dist/chunks/{image-p44d8wdy.js → file-access-pecb0brz.js} +5 -5
- package/dist/chunks/{image-edekhrx7.js → file-access-pgrdd2ve.js} +11 -11
- package/dist/chunks/{image-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{image-kh9grtd6.js → file-access-pn68zg67.js} +14 -14
- package/dist/chunks/{image-z9ee0mf2.js → file-access-pszv7358.js} +29 -29
- package/dist/chunks/{image-711fd8qe.js → file-access-pwn9j9sb.js} +2 -2
- package/dist/chunks/{image-1gbzvb32.js → file-access-pz1h63jt.js} +15 -15
- package/dist/chunks/file-access-qapv375x.js +4 -0
- package/dist/chunks/{image-kawpmg25.js → file-access-qc7betj8.js} +11 -11
- package/dist/chunks/{image-20bz03sg.js → file-access-qfgq1c71.js} +1 -1
- package/dist/chunks/{image-2k8khapm.js → file-access-qgn6gcr1.js} +5 -5
- package/dist/chunks/{image-k53npxr2.js → file-access-qjxevsft.js} +1 -1
- package/dist/chunks/{image-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{image-xzz5rq5j.js → file-access-qx03bd0a.js} +9 -9
- package/dist/chunks/{image-bvw3rxww.js → file-access-r036svgx.js} +11 -11
- package/dist/chunks/{image-2z66ez54.js → file-access-r0pc2tt6.js} +25 -25
- package/dist/chunks/{image-rph3zd4r.js → file-access-r33ff4dw.js} +6 -6
- package/dist/chunks/{image-c2a7rk0z.js → file-access-raf9h2ts.js} +9 -9
- package/dist/chunks/{image-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-trt3e8v7.js → file-access-re1s176r.js} +13 -13
- package/dist/chunks/{image-aa092tpj.js → file-access-rf3sv4f6.js} +52 -52
- package/dist/chunks/{image-rhjbct0v.js → file-access-rhjbct0v.js} +1 -1
- package/dist/chunks/{image-k10ne33k.js → file-access-rjzssajw.js} +8 -8
- package/dist/chunks/{image-1cfb3ja4.js → file-access-rmk2c50f.js} +5 -5
- package/dist/chunks/{image-mw934p8z.js → file-access-rtathh62.js} +6 -6
- package/dist/chunks/{image-27ja88b0.js → file-access-rxvrk031.js} +27 -27
- package/dist/chunks/{image-bw7h3gmz.js → file-access-s2tvr5dg.js} +11 -11
- package/dist/chunks/{image-ea7y8w96.js → file-access-s4w7jzgz.js} +44 -44
- package/dist/chunks/{image-ha494qqn.js → file-access-satvg6hp.js} +10 -10
- package/dist/chunks/{image-r16rx7t1.js → file-access-saye24w9.js} +4 -4
- package/dist/chunks/{image-3646a87e.js → file-access-sdmcn07b.js} +83 -82
- package/dist/chunks/{image-pqkzp7xy.js → file-access-sg3e8ft2.js} +20 -20
- package/dist/chunks/{image-d10jp6w6.js → file-access-sng8r1vf.js} +24 -24
- package/dist/chunks/{image-krva6jg1.js → file-access-sqm52wn7.js} +13 -13
- package/dist/chunks/{image-y89pgm7x.js → file-access-t48g49hr.js} +11 -11
- package/dist/chunks/{image-e5e98ep7.js → file-access-t6r7h21p.js} +13 -13
- package/dist/chunks/{image-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{image-jba61rz3.js → file-access-tgcdz44n.js} +26 -26
- package/dist/chunks/{image-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{image-79j02bcx.js → file-access-tyh0qh3n.js} +18 -18
- package/dist/chunks/{image-ge4xn9w4.js → file-access-tzqjevm8.js} +9 -9
- package/dist/chunks/{image-kbt3g993.js → file-access-v6ndbskd.js} +13 -13
- package/dist/chunks/{image-v3vqqm9f.js → file-access-v6zy1qsv.js} +7 -7
- package/dist/chunks/{image-vdptz04f.js → file-access-v76by4bg.js} +6 -6
- package/dist/chunks/{image-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{image-g9fca82e.js → file-access-vrz7xrs5.js} +17 -17
- package/dist/chunks/{image-k9je938h.js → file-access-vs2tehdm.js} +3 -3
- package/dist/chunks/{image-var6jwka.js → file-access-vt0e9y1w.js} +14 -14
- package/dist/chunks/{image-4jv7e9dq.js → file-access-vyqn3nqs.js} +9 -9
- package/dist/chunks/{image-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-pxa5h1bq.js → file-access-wd18fn92.js} +24 -24
- package/dist/chunks/{image-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{image-ve3nm955.js → file-access-we52gc0f.js} +11 -11
- package/dist/chunks/{image-6zh7jmm8.js → file-access-wfxxyxds.js} +9 -9
- package/dist/chunks/{image-4m2d68p8.js → file-access-wn8y6sgg.js} +25 -25
- package/dist/chunks/{image-ybhbtxjg.js → file-access-wrmrmykr.js} +6 -6
- package/dist/chunks/{image-jq4avm79.js → file-access-wrtjp1mn.js} +24 -24
- package/dist/chunks/{image-nh3m5kwx.js → file-access-x0f4f0m1.js} +5 -5
- package/dist/chunks/{image-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-xfkkasph.js → file-access-xfkkasph.js} +1 -1
- package/dist/chunks/{image-8k5gf81b.js → file-access-xm5295m0.js} +4 -4
- package/dist/chunks/{image-afkq326b.js → file-access-xn76h8hp.js} +22 -22
- package/dist/chunks/{image-s6pmxk2t.js → file-access-xs2bmay3.js} +11 -11
- package/dist/chunks/{image-aj20rtze.js → file-access-xxseqtyh.js} +20 -20
- package/dist/chunks/{image-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-vr11qtph.js → file-access-y5phfrgc.js} +9 -9
- package/dist/chunks/{image-y71avatq.js → file-access-y71avatq.js} +1 -1
- package/dist/chunks/{image-c6psv4me.js → file-access-y97z94ck.js} +12 -12
- package/dist/chunks/{image-x619ew4b.js → file-access-ybh0q6je.js} +47 -47
- package/dist/chunks/{image-6qr3rp4k.js → file-access-ydgy0jv4.js} +6 -6
- package/dist/chunks/{image-t9kz1x1h.js → file-access-ymmys65e.js} +18 -18
- package/dist/chunks/{image-6r2bcfeg.js → file-access-ynp3axf3.js} +5 -5
- package/dist/chunks/{image-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-qz83qt6n.js → file-access-yrpnr2zj.js} +30 -30
- package/dist/chunks/{image-yrznvahk.js → file-access-yrznvahk.js} +2 -2
- package/dist/chunks/{image-8g5g8mdr.js → file-access-ywyg2maf.js} +42 -42
- package/dist/chunks/{image-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-e255wkp1.js → file-access-z2cgntw0.js} +5 -5
- package/dist/chunks/{image-tcpw7e5e.js → file-access-z3yhsc05.js} +27 -27
- package/dist/chunks/{image-z63w68vq.js → file-access-z63w68vq.js} +2 -2
- package/dist/chunks/{image-x2d9qy7d.js → file-access-zd30eb5w.js} +5 -5
- package/dist/chunks/{image-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-w5mxr70m.js → file-access-zfp10n8z.js} +14 -14
- package/dist/chunks/{image-qx10sz7d.js → file-access-zh7rgrks.js} +15 -15
- package/dist/chunks/{image-bbfngs8v.js → file-access-zkx33n4v.js} +11 -11
- package/dist/chunks/{image-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-6gfs34nh.js → file-access-zx4azftj.js} +10 -10
- package/dist/chunks/{image-b90q3vwg.js → file-access-zx7j3hav.js} +23 -23
- package/dist/chunks/{image-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +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 +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- 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 +95 -95
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- 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 +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +84 -84
- 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 +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- 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 +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 +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- 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 +12 -12
- package/dist/types/session/session.d.ts +3 -0
- package/dist/types/session.d.ts +4 -0
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/image-6kdq0pjd.js +0 -4
- package/dist/chunks/image-b89j7fds.js +0 -26
- package/dist/chunks/image-by5v678g.js +0 -18
- package/dist/chunks/image-v3603nqe.js +0 -252
- /package/dist/chunks/{image-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → file-access-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-gmjq4p6e.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service76,
|
|
16
|
+
node79
|
|
17
|
+
} from "./file-access-h99jmrd9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-access-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service46,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node49,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service46 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service76;
|
|
110
|
+
return Service46.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node49 = makeGlobalNode({
|
|
171
|
+
service: Service46,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node79]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service46, isError2, validateBranch2, node49, exports_repository_cache };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-gmjq4p6e.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-pwn9j9sb.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-access-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service40,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service40 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service40.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node43 = makeLocationNode({
|
|
144
|
+
service: Service40,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error2, Service40, node43, noopLayer2, exports_snapshot2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-dwzbgcev.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-access-nc0692wd.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-access-ndmv45hp.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-access-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-access-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer23,
|
|
49
49
|
list: () => list4,
|
|
50
50
|
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node62,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info20,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service59 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info20.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer23 = Layer.effect(Service59, make18());
|
|
231
|
+
var node62 = makeGlobalNode({ service: Service59, layer: layer23, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service59, make18, layer23, node62, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-pszv7358.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-z3yhsc05.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve3
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve3(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -494,4 +494,4 @@ var PROTOCOLS = {
|
|
|
494
494
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
495
495
|
};
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { resolve3, exports_variant };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-nc0692wd.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./file-access-xxseqtyh.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-pwn9j9sb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node81
|
|
20
|
+
} from "./file-access-e0833qeh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service69,
|
|
24
|
+
node72
|
|
25
|
+
} from "./file-access-9namg634.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-access-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node71
|
|
35
|
+
} from "./file-access-cka7hfyn.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-access-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service36,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
57
|
layer: () => layer15,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node39
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer15 = (options) => Layer.effect(
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service78;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service69;
|
|
109
|
+
const integration = yield* Service68;
|
|
110
|
+
const credentials = yield* Service75;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID9.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError4({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID10.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service78, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -391,7 +391,7 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service36.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
515
|
+
service: Service36,
|
|
516
516
|
layer: layer15(options),
|
|
517
|
-
deps: [node84,
|
|
517
|
+
deps: [node84, node81, node87, node72, node71, node78]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node39 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options4, layer15, configured4, node39, exports_mcp4 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|