@opencode/core 0.0.0-dev-20010 → 0.0.0-dev-20012
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-p2fa2w79.js → image-09e552k5.js} +11 -11
- package/dist/chunks/{file-access-nazk6ep5.js → image-0dgp5q1e.js} +15 -15
- package/dist/chunks/{file-access-fs40rkt5.js → image-0e37k7hs.js} +43 -43
- package/dist/chunks/{file-access-7v5p2n78.js → image-0gy1wr0y.js} +13 -13
- package/dist/chunks/{file-access-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-6enf0aw0.js → image-0rt1aerz.js} +3 -3
- package/dist/chunks/{file-access-78c73d7g.js → image-10kf31pw.js} +34 -34
- package/dist/chunks/{file-access-rmk2c50f.js → image-1cfb3ja4.js} +5 -5
- package/dist/chunks/{file-access-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-6vnhfzx9.js → image-1f0kfkq1.js} +6 -6
- package/dist/chunks/{file-access-4f0fby6w.js → image-1g4xhxjj.js} +2 -2
- package/dist/chunks/{file-access-pz1h63jt.js → image-1gbzvb32.js} +15 -15
- package/dist/chunks/{file-access-9namg634.js → image-1mp28asa.js} +25 -25
- package/dist/chunks/{file-access-0ehystez.js → image-1r56tgej.js} +3 -3
- package/dist/chunks/{file-access-qfgq1c71.js → image-20bz03sg.js} +1 -1
- package/dist/chunks/{file-access-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → image-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-3dap0f8b.js → image-258eh3rs.js} +26 -26
- package/dist/chunks/{file-access-rxvrk031.js → image-27ja88b0.js} +27 -27
- package/dist/chunks/{file-access-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-2ktg6p98.js → image-2k2bn567.js} +16 -16
- package/dist/chunks/{file-access-qgn6gcr1.js → image-2k8khapm.js} +5 -5
- package/dist/chunks/{file-access-r0pc2tt6.js → image-2z66ez54.js} +25 -25
- package/dist/chunks/{file-access-hntp1kvn.js → image-2zvss1h4.js} +1 -1
- package/dist/chunks/{file-access-34ptww8y.js → image-3646a87e.js} +82 -82
- package/dist/chunks/{file-access-5q8gz8g4.js → image-3b7qpc67.js} +22 -22
- package/dist/chunks/{file-access-2f0bjgcj.js → image-3cfzdc8e.js} +5 -5
- package/dist/chunks/{file-access-09nm2wmq.js → image-3czpn3qn.js} +10 -10
- package/dist/chunks/{file-access-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-gnr28544.js → image-3mtz8sw0.js} +43 -43
- package/dist/chunks/{file-access-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-773wjt79.js → image-3tkhky9t.js} +7 -7
- package/dist/chunks/{file-access-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-kr1sqef6.js → image-3zzqeb10.js} +17 -17
- package/dist/chunks/{file-access-k16yeph6.js → image-4beex6cr.js} +23 -23
- package/dist/chunks/{file-access-7hcsbk7e.js → image-4hxys4rp.js} +46 -46
- package/dist/chunks/{file-access-vyqn3nqs.js → image-4jv7e9dq.js} +9 -9
- package/dist/chunks/{file-access-wn8y6sgg.js → image-4m2d68p8.js} +25 -25
- package/dist/chunks/{file-access-wvmhvm0m.js → image-4p8kdyd3.js} +23 -23
- package/dist/chunks/{file-access-56gdpj1q.js → image-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-access-57ez7d0k.js → image-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-access-y8qxa0m2.js → image-57x4wt21.js} +313 -313
- package/dist/chunks/{file-access-dzbt8m9q.js → image-59fd7wwn.js} +31 -31
- package/dist/chunks/{file-access-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-5ekn9679.js → image-5ekn9679.js} +1 -1
- package/dist/chunks/{file-access-93syhrr0.js → image-5qfssqaz.js} +10 -10
- package/dist/chunks/{file-access-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{file-access-gsads2be.js → image-685dn0bf.js} +16 -16
- package/dist/chunks/{file-access-zx4azftj.js → image-6gfs34nh.js} +10 -10
- package/dist/chunks/image-6kdq0pjd.js +4 -0
- package/dist/chunks/{file-access-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-ydgy0jv4.js → image-6qr3rp4k.js} +6 -6
- package/dist/chunks/{file-access-ynp3axf3.js → image-6r2bcfeg.js} +5 -5
- package/dist/chunks/{file-access-11vq80p7.js → image-6xh0g4kx.js} +25 -25
- package/dist/chunks/{file-access-wfxxyxds.js → image-6zh7jmm8.js} +9 -9
- package/dist/chunks/{file-access-pwn9j9sb.js → image-711fd8qe.js} +2 -2
- package/dist/chunks/{file-access-ehatyybc.js → image-77fp0bkd.js} +8 -8
- package/dist/chunks/{file-access-fsx03azj.js → image-78ys8twf.js} +7 -7
- package/dist/chunks/{file-access-a8mbncqe.js → image-79j02bcx.js} +18 -18
- package/dist/chunks/{file-access-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-65jejx4v.js → image-7keqm5b0.js} +13 -13
- package/dist/chunks/{file-access-p04pkz1c.js → image-7q7be7w2.js} +12 -12
- package/dist/chunks/{file-access-73tb2d7t.js → image-7yh4e7ss.js} +3 -3
- package/dist/chunks/{file-access-7gy38z07.js → image-7ykc5hxq.js} +24 -24
- package/dist/chunks/{file-access-768gsh1v.js → image-8d0p2m37.js} +3 -3
- package/dist/chunks/{file-access-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-ywyg2maf.js → image-8g5g8mdr.js} +42 -42
- package/dist/chunks/{file-access-xm5295m0.js → image-8k5gf81b.js} +4 -4
- package/dist/chunks/{file-access-658p8faw.js → image-8krfq0r3.js} +4 -4
- package/dist/chunks/{file-access-8p4f9s12.js → image-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-mgmtwba2.js → image-8vqgfadx.js} +5 -5
- package/dist/chunks/{file-access-48qh5hqp.js → image-924007vm.js} +8 -8
- package/dist/chunks/{file-access-nq7qbqzc.js → image-9a912s85.js} +9 -9
- package/dist/chunks/{file-access-etqc4x7c.js → image-9dpmj859.js} +5 -5
- package/dist/chunks/{file-access-n7xygqpe.js → image-9z4sf5tv.js} +11 -11
- package/dist/chunks/{file-access-a1bz86dw.js → image-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-d216944b.js → image-a2ew8a62.js} +7 -7
- package/dist/chunks/{file-access-hkagk5ex.js → image-a3r4dcrj.js} +2 -2
- package/dist/chunks/{file-access-58mcmt77.js → image-a4rx6ejt.js} +25 -25
- package/dist/chunks/{file-access-rf3sv4f6.js → image-aa092tpj.js} +52 -52
- package/dist/chunks/{file-access-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-cka7hfyn.js → image-ad4z1jrs.js} +25 -25
- package/dist/chunks/{file-access-xn76h8hp.js → image-afkq326b.js} +22 -22
- package/dist/chunks/{file-access-xxseqtyh.js → image-aj20rtze.js} +20 -20
- package/dist/chunks/{file-access-jcvejxbn.js → image-aktb84ke.js} +4 -4
- package/dist/chunks/{file-access-8na3c29k.js → image-anb8rm3e.js} +11 -11
- package/dist/chunks/{file-access-5rnnm2b5.js → image-anf0zms1.js} +9 -9
- package/dist/chunks/{file-access-9pk0fx53.js → image-b340zwh0.js} +3 -3
- package/dist/chunks/{file-access-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-859wm560.js → image-b7vxzd00.js} +22 -22
- package/dist/chunks/image-b89j7fds.js +26 -0
- package/dist/chunks/{file-access-zx7j3hav.js → image-b90q3vwg.js} +23 -23
- package/dist/chunks/{file-access-zkx33n4v.js → image-bbfngs8v.js} +11 -11
- package/dist/chunks/{file-access-pber7c1w.js → image-bcqffep5.js} +15 -15
- package/dist/chunks/{file-access-1jtbg6c9.js → image-be95997k.js} +14 -14
- package/dist/chunks/{file-access-15nepkqg.js → image-bh0zzf2s.js} +8 -8
- package/dist/chunks/{file-access-fk0e1y1r.js → image-bhk8ct5v.js} +9 -9
- package/dist/chunks/{file-access-r036svgx.js → image-bvw3rxww.js} +11 -11
- package/dist/chunks/{file-access-s2tvr5dg.js → image-bw7h3gmz.js} +11 -11
- package/dist/chunks/image-by5v678g.js +18 -0
- package/dist/chunks/{file-access-raf9h2ts.js → image-c2a7rk0z.js} +9 -9
- package/dist/chunks/{file-access-4s1tnqdt.js → image-c4spbmd0.js} +9 -9
- package/dist/chunks/{file-access-y97z94ck.js → image-c6psv4me.js} +12 -12
- package/dist/chunks/{file-access-d4he2qe1.js → image-c765mh8b.js} +9 -9
- package/dist/chunks/{file-access-g190xswt.js → image-cavr175a.js} +4 -4
- package/dist/chunks/{file-access-cfpkc3c9.js → image-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-cmwkp3r5.js → image-cmwkp3r5.js} +1 -1
- package/dist/chunks/{file-access-cq37gk0t.js → image-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-access-6tw2ysqh.js → image-d04y4xb3.js} +8 -8
- package/dist/chunks/{file-access-sng8r1vf.js → image-d10jp6w6.js} +24 -24
- package/dist/chunks/{file-access-7v8yt572.js → image-d18skez3.js} +15 -15
- package/dist/chunks/{file-access-7x3ymcnd.js → image-ddk8b4gr.js} +12 -12
- package/dist/chunks/{file-access-ag580yac.js → image-dg2cj1yd.js} +4 -4
- package/dist/chunks/{file-access-2h0wcn0e.js → image-dks483fm.js} +11 -11
- package/dist/chunks/{file-access-hf63qasg.js → image-dp942mfh.js} +6 -6
- package/dist/chunks/{file-access-gmjq4p6e.js → image-dq0v80fr.js} +5 -5
- package/dist/chunks/{file-access-3hdyanjz.js → image-dz8x4rxg.js} +4 -4
- package/dist/chunks/{file-access-z2cgntw0.js → image-e255wkp1.js} +5 -5
- package/dist/chunks/{file-access-t6r7h21p.js → image-e5e98ep7.js} +13 -13
- package/dist/chunks/{file-access-91zmhnyh.js → image-ea7y8w96.js} +44 -44
- package/dist/chunks/{file-access-kzp8v912.js → image-eba62b5m.js} +6 -6
- package/dist/chunks/{file-access-pgrdd2ve.js → image-edekhrx7.js} +11 -11
- package/dist/chunks/{file-access-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-4dzg40rw.js → image-en4eedd3.js} +9 -9
- package/dist/chunks/{file-access-erw5rpbs.js → image-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-access-kw7v9xqj.js → image-esh8cnfr.js} +18 -18
- package/dist/chunks/{file-access-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-cgq8fjpr.js → image-ewnwpw42.js} +9 -9
- package/dist/chunks/{file-access-9a0fsf8a.js → image-ezt9kfxv.js} +5 -5
- package/dist/chunks/{file-access-3emr59yt.js → image-f5gy8qwh.js} +7 -7
- package/dist/chunks/{file-access-f828m53h.js → image-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-dp0d7rq6.js → image-fng32zf3.js} +68 -68
- package/dist/chunks/{file-access-ktvn187s.js → image-fxxz233w.js} +25 -25
- package/dist/chunks/{file-access-n9ne1b93.js → image-g05h3mtq.js} +11 -11
- package/dist/chunks/{file-access-bqm04z8x.js → image-g1cnsceh.js} +6 -6
- package/dist/chunks/{file-access-16cax9zb.js → image-g8jasmdt.js} +8 -8
- package/dist/chunks/{file-access-vrz7xrs5.js → image-g9fca82e.js} +17 -17
- package/dist/chunks/{file-access-e0bnrhje.js → image-ga8qx7mf.js} +166 -166
- package/dist/chunks/{file-access-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-tzqjevm8.js → image-ge4xn9w4.js} +9 -9
- package/dist/chunks/{file-access-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-jx3n259w.js → image-gxyd6y7v.js} +30 -30
- package/dist/chunks/{file-access-nzyhnfxz.js → image-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-access-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-b0dgvpy7.js → image-h71w788e.js} +9 -9
- package/dist/chunks/{file-access-satvg6hp.js → image-ha494qqn.js} +10 -10
- package/dist/chunks/{file-access-0a692sth.js → image-hbf5bmg6.js} +37 -37
- package/dist/chunks/{file-access-eqncpqrf.js → image-hbw0vr81.js} +15 -15
- package/dist/chunks/{file-access-2xszf6tt.js → image-hv8bfrwv.js} +31 -31
- package/dist/chunks/{file-access-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-h99jmrd9.js → image-j6nsp1g7.js} +10 -10
- package/dist/chunks/{file-access-tgcdz44n.js → image-jba61rz3.js} +26 -26
- package/dist/chunks/{file-access-kdjb3rjh.js → image-jbft8se4.js} +16 -16
- package/dist/chunks/{file-access-ndmv45hp.js → image-jexxy024.js} +3 -3
- package/dist/chunks/{file-access-20pzmj15.js → image-jgphgq4c.js} +17 -17
- package/dist/chunks/{file-access-cjh1af7b.js → image-jmvq68x6.js} +37 -37
- package/dist/chunks/{file-access-wrtjp1mn.js → image-jq4avm79.js} +24 -24
- package/dist/chunks/{file-access-5ww8yrxx.js → image-js7vnd8z.js} +25 -25
- package/dist/chunks/{file-access-rjzssajw.js → image-k10ne33k.js} +8 -8
- package/dist/chunks/{file-access-8ank75fn.js → image-k1gkpfdk.js} +8 -8
- package/dist/chunks/{file-access-k3c624dm.js → image-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-qjxevsft.js → image-k53npxr2.js} +1 -1
- package/dist/chunks/{file-access-vs2tehdm.js → image-k9je938h.js} +3 -3
- package/dist/chunks/{file-access-k9kj6xed.js → image-k9kj6xed.js} +2 -2
- package/dist/chunks/{file-access-qc7betj8.js → image-kawpmg25.js} +11 -11
- package/dist/chunks/{file-access-v6ndbskd.js → image-kbt3g993.js} +13 -13
- package/dist/chunks/{file-access-7pbtkrdy.js → image-kes097j4.js} +3 -3
- package/dist/chunks/{file-access-pn68zg67.js → image-kh9grtd6.js} +14 -14
- package/dist/chunks/{file-access-4bm5ja14.js → image-kkp8zx71.js} +4 -4
- package/dist/chunks/{file-access-ycrtq78m.js → image-kpx2s52a.js} +30 -30
- package/dist/chunks/{file-access-sqm52wn7.js → image-krva6jg1.js} +13 -13
- package/dist/chunks/{file-access-317cfnqd.js → image-ky514c0v.js} +11 -11
- package/dist/chunks/{file-access-0fp6vpq7.js → image-m2yd4h25.js} +38 -38
- package/dist/chunks/{file-access-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-mpgs1ntc.js → image-m4emphp1.js} +49 -49
- package/dist/chunks/{file-access-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-919h9xp7.js → image-mp3sjqb3.js} +26 -26
- package/dist/chunks/{file-access-rtathh62.js → image-mw934p8z.js} +6 -6
- package/dist/chunks/{file-access-e37h8kwf.js → image-mzvzs703.js} +12 -12
- package/dist/chunks/{file-access-afdssyjb.js → image-n4r3xatb.js} +4 -4
- package/dist/chunks/{file-access-hkdbkshs.js → image-n5skym8n.js} +13 -13
- package/dist/chunks/{file-access-e0833qeh.js → image-n8yas6hm.js} +21 -21
- package/dist/chunks/{file-access-bxs86mwm.js → image-nab6jkb6.js} +12 -12
- package/dist/chunks/{file-access-aah9qcnd.js → image-namhjc4y.js} +7 -7
- package/dist/chunks/{file-access-288g8677.js → image-nfd0y60j.js} +4 -4
- package/dist/chunks/{file-access-x0f4f0m1.js → image-nh3m5kwx.js} +5 -5
- package/dist/chunks/{file-access-752w5jz5.js → image-nh4xrcr0.js} +26 -26
- package/dist/chunks/{file-access-mvgpk1ca.js → image-npdbymj2.js} +22 -22
- package/dist/chunks/{file-access-37svwymz.js → image-npq2n3tp.js} +10 -10
- package/dist/chunks/{file-access-jqe22faw.js → image-nxvwfbqw.js} +18 -18
- package/dist/chunks/{file-access-tbz0fdvh.js → image-p28j5sbe.js} +5 -5
- package/dist/chunks/{file-access-c6e7fcwh.js → image-p2safxe9.js} +15 -15
- package/dist/chunks/{file-access-pecb0brz.js → image-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-access-bjwsxpgk.js → image-p84br5ek.js} +20 -20
- package/dist/chunks/{file-access-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-k100k1x5.js → image-pk5pky18.js} +9 -9
- package/dist/chunks/{file-access-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-sg3e8ft2.js → image-pqkzp7xy.js} +20 -20
- package/dist/chunks/{file-access-qtqgfzev.js → image-pxa5h1bq.js} +24 -24
- package/dist/chunks/{file-access-1cj8gcbx.js → image-qbdtkhea.js} +16 -16
- package/dist/chunks/{file-access-46a1trkr.js → image-qd1nr1jp.js} +12 -12
- package/dist/chunks/{file-access-hdp5644h.js → image-qnqyg1a6.js} +20 -20
- package/dist/chunks/{file-access-afknyawd.js → image-qrtzkn9f.js} +12 -12
- package/dist/chunks/{file-access-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-e6hmchc5.js → image-qte5z7bc.js} +5 -5
- package/dist/chunks/{file-access-zh7rgrks.js → image-qx10sz7d.js} +15 -15
- package/dist/chunks/{file-access-yrpnr2zj.js → image-qz83qt6n.js} +30 -30
- package/dist/chunks/{file-access-saye24w9.js → image-r16rx7t1.js} +4 -4
- package/dist/chunks/{file-access-h5kmmphm.js → image-r646k28t.js} +5 -5
- package/dist/chunks/{file-access-08atjc0y.js → image-rbxccrva.js} +21 -21
- package/dist/chunks/{file-access-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-rhjbct0v.js → image-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-access-1acjjqhc.js → image-rhraev7y.js} +4 -4
- package/dist/chunks/{file-access-nc0692wd.js → image-rj372e5a.js} +4 -4
- package/dist/chunks/{file-access-r33ff4dw.js → image-rph3zd4r.js} +6 -6
- package/dist/chunks/{file-access-34e0h94d.js → image-rstenykm.js} +3 -3
- package/dist/chunks/{file-access-jvv9dx74.js → image-rxf9y2mx.js} +4 -4
- package/dist/chunks/{file-access-p38vwk10.js → image-rztbak21.js} +26 -26
- package/dist/chunks/{file-access-bk7qdt7s.js → image-s4hm96va.js} +11 -11
- package/dist/chunks/{file-access-xs2bmay3.js → image-s6pmxk2t.js} +11 -11
- package/dist/chunks/{file-access-0t1q9tjc.js → image-sqmc1ypj.js} +76 -76
- package/dist/chunks/{file-access-frrq0hd0.js → image-svndcwjb.js} +4 -4
- package/dist/chunks/{file-access-ymmys65e.js → image-t9kz1x1h.js} +18 -18
- package/dist/chunks/{file-access-0v53mg2y.js → image-t9zs3egg.js} +4 -4
- package/dist/chunks/{file-access-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → image-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-z3yhsc05.js → image-tcpw7e5e.js} +27 -27
- package/dist/chunks/{file-access-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-mgtp0e10.js → image-te1zgf92.js} +25 -25
- package/dist/chunks/{file-access-b4qmmyek.js → image-tjpj2e3q.js} +11 -11
- package/dist/chunks/{file-access-8jq0bfkk.js → image-tk2v6jy0.js} +8 -8
- package/dist/chunks/{file-access-km8beb5j.js → image-trt3e8v7.js} +13 -13
- package/dist/chunks/{file-access-24ct3y2e.js → image-tsr6kwcz.js} +3 -3
- package/dist/chunks/{file-access-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/image-v3603nqe.js +252 -0
- package/dist/chunks/{file-access-v6zy1qsv.js → image-v3vqqm9f.js} +7 -7
- package/dist/chunks/{file-access-6gxdng4p.js → image-v5w4drkp.js} +27 -27
- package/dist/chunks/{file-access-dwzbgcev.js → image-v61m3kz8.js} +3 -3
- package/dist/chunks/{file-access-227994hr.js → image-v8aah0kr.js} +32 -32
- package/dist/chunks/{file-access-vt0e9y1w.js → image-var6jwka.js} +14 -14
- package/dist/chunks/{file-access-cjwredg8.js → image-vca968f4.js} +15 -15
- package/dist/chunks/{file-access-v76by4bg.js → image-vdptz04f.js} +6 -6
- package/dist/chunks/{file-access-4sy0vzp4.js → image-ve3nm955.js} +11 -11
- package/dist/chunks/{file-access-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-mgj6pkkf.js → image-vh6t508r.js} +18 -18
- package/dist/chunks/{file-access-05dyq9yx.js → image-vk0va4ns.js} +7 -7
- package/dist/chunks/{file-access-m9rhymkd.js → image-vke24a77.js} +44 -44
- package/dist/chunks/{file-access-y5phfrgc.js → image-vr11qtph.js} +9 -9
- package/dist/chunks/{file-access-8ra6m1eq.js → image-vtt0yr3x.js} +7 -7
- package/dist/chunks/{file-access-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-zfp10n8z.js → image-w5mxr70m.js} +14 -14
- package/dist/chunks/{file-access-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-90t26j8x.js → image-weagdthn.js} +13 -13
- package/dist/chunks/{file-access-0rn0af91.js → image-wz8tevja.js} +12 -12
- package/dist/chunks/{file-access-8g6xxsrk.js → image-wzhg77bf.js} +10 -10
- package/dist/chunks/{file-access-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-zd30eb5w.js → image-x2d9qy7d.js} +5 -5
- package/dist/chunks/{file-access-ybh0q6je.js → image-x619ew4b.js} +47 -47
- package/dist/chunks/{file-access-fz4sbwmc.js → image-xc3aj2tv.js} +21 -21
- package/dist/chunks/{file-access-xfkkasph.js → image-xfkkasph.js} +1 -1
- package/dist/chunks/{file-access-qx03bd0a.js → image-xzz5rq5j.js} +9 -9
- package/dist/chunks/{file-access-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-2hcvc8f1.js → image-y5cwy1mn.js} +20 -20
- package/dist/chunks/{file-access-bjn91642.js → image-y67gsgy6.js} +4 -4
- package/dist/chunks/{file-access-y71avatq.js → image-y71avatq.js} +1 -1
- package/dist/chunks/{file-access-t48g49hr.js → image-y89pgm7x.js} +11 -11
- package/dist/chunks/{file-access-wrmrmykr.js → image-ybhbtxjg.js} +6 -6
- package/dist/chunks/{file-access-93ygb5af.js → image-ycjb11n5.js} +6 -6
- package/dist/chunks/{file-access-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-yrznvahk.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-19m0af1m.js → image-yw90mp9f.js} +8 -8
- package/dist/chunks/{file-access-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-1bnjjx40.js → image-z0tsxkyk.js} +23 -23
- package/dist/chunks/{file-access-z63w68vq.js → image-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-pszv7358.js → image-z9ee0mf2.js} +29 -29
- package/dist/chunks/{file-access-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-hzzc25wh.js → image-zndykydc.js} +11 -11
- package/dist/chunks/{file-access-bvsk2pep.js → image-znepfjcf.js} +17 -17
- package/dist/chunks/{file-access-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-zxq2ej10.js → image-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/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/file-access-4cm67rrf.js +0 -26
- package/dist/chunks/file-access-619r8v3y.js +0 -18
- package/dist/chunks/file-access-qapv375x.js +0 -4
- package/dist/chunks/file-access-qr6m8t0g.js +0 -252
- /package/dist/chunks/{file-access-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-v61m3kz8.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-rj372e5a.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-ybhbtxjg.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-a1bz86dw.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-cq37gk0t.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-dg2cj1yd.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-d04y4xb3.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service64,
|
|
33
|
+
node68
|
|
34
|
+
} from "./image-c6psv4me.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service20,
|
|
37
|
+
node23
|
|
38
|
+
} from "./image-7ykc5hxq.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./image-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service36,
|
|
44
|
+
node39
|
|
45
|
+
} from "./image-xzz5rq5j.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./image-jba61rz3.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make7
|
|
51
|
+
} from "./image-dp942mfh.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service10,
|
|
54
|
+
node12
|
|
55
|
+
} from "./image-3b7qpc67.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service28,
|
|
58
|
+
node32
|
|
59
|
+
} from "./image-sqmc1ypj.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./image-esh8cnfr.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
66
|
+
Service2,
|
|
67
67
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node3
|
|
69
|
+
} from "./image-jq4avm79.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service59
|
|
73
|
+
} from "./image-n4r3xatb.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node47
|
|
76
|
+
} from "./image-fxxz233w.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
node53
|
|
79
|
+
} from "./image-mzvzs703.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
82
|
make3
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./image-hbw0vr81.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service34
|
|
86
|
+
} from "./image-by5v678g.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node18
|
|
89
|
+
} from "./image-79j02bcx.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./image-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./image-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
99
99
|
__export(exports_llm, {
|
|
100
100
|
SessionRunnerLLM: () => exports_llm,
|
|
101
|
-
node: () =>
|
|
101
|
+
node: () => node2
|
|
102
102
|
});
|
|
103
103
|
import { Message } from "@opencode/ai";
|
|
104
104
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
108
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
109
109
|
const bus = yield* Service83;
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
110
|
+
const lifecycle = yield* Service20;
|
|
111
|
+
const store = yield* Service64;
|
|
112
|
+
const context = yield* Service28;
|
|
113
|
+
const modelTransport = yield* Service36;
|
|
114
114
|
const db = (yield* Service84).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
115
|
+
const compaction = yield* Service10;
|
|
116
|
+
const plugins = yield* Service34;
|
|
117
|
+
const title = yield* Service2;
|
|
118
118
|
const steps = yield* make3;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
120
120
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make7(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service59.of({ drain });
|
|
365
365
|
}));
|
|
366
|
-
var
|
|
367
|
-
service:
|
|
366
|
+
var node2 = makeLocationNode({
|
|
367
|
+
service: Service59,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
370
|
node87,
|
|
371
|
-
|
|
371
|
+
node23,
|
|
372
372
|
llmClient2,
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
373
|
+
node32,
|
|
374
|
+
node39,
|
|
375
|
+
node68,
|
|
376
|
+
node12,
|
|
377
|
+
node18,
|
|
378
|
+
node3,
|
|
379
|
+
node47,
|
|
380
|
+
node53,
|
|
381
381
|
node88
|
|
382
382
|
]
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
export {
|
|
385
|
+
export { node2, exports_llm };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-dq0v80fr.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-711fd8qe.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-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: () => Error4,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
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 ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 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 Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, 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(Service40, 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 Error4({ 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(Service40, 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 Error4({ 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(Service40, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.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(Service40, 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 Error4({ 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 Error4({ 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 Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node47 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.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(Service40, Service40.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
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 { ID6, Error4, Service44, node47, noopLayer2, exports_snapshot2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-711fd8qe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./image-m2yd4h25.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-p2safxe9.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin9
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin9 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin9, exports_reference };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service74
|
|
4
|
+
} from "./image-z9ee0mf2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./image-m2yd4h25.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service74;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service51);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info13
|
|
6
|
+
} from "./image-cavr175a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-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: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info13)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -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 Info12 = 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 { Info12, exports_agent3 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./image-aa092tpj.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input3,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin22,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name3 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -38,7 +38,7 @@ var description2 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input3 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input3.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin22 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service63;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name3,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description2,
|
|
104
|
-
input:
|
|
104
|
+
input: Input3,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin5 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name3,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin22, extractTextFromHTML2, exports_webfetch };
|