@opencode/core 0.0.0-dev-19369 → 0.0.0-dev-19370
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{tool-d38rwssd.js → credential-015cheya.js} +4 -4
- package/dist/chunks/{tool-zbe5vsva.js → credential-04cfyv7b.js} +32 -32
- package/dist/chunks/{tool-d8q39vv3.js → credential-05ffq7ws.js} +9 -9
- package/dist/chunks/{tool-yvy73jwh.js → credential-05jaqbfy.js} +17 -17
- package/dist/chunks/{tool-xnap109e.js → credential-089q26yp.js} +18 -18
- package/dist/chunks/{tool-h47mvjjj.js → credential-0hch6svz.js} +28 -28
- package/dist/chunks/{tool-622ah2gs.js → credential-0m29xn9k.js} +26 -26
- package/dist/chunks/{tool-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-2aqbs40b.js → credential-0wd4jbpn.js} +11 -11
- package/dist/chunks/{tool-y4xwrefb.js → credential-10w8kkbh.js} +31 -31
- package/dist/chunks/{tool-6f5kdbjb.js → credential-1319r755.js} +32 -32
- package/dist/chunks/{tool-phwjyq2h.js → credential-1398rwbr.js} +33 -33
- package/dist/chunks/{tool-3r7whzgv.js → credential-13p69r1g.js} +7 -7
- package/dist/chunks/{tool-kf91f419.js → credential-1b74es1f.js} +16 -16
- package/dist/chunks/{tool-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-0hpxrkyb.js → credential-1dfhrqqs.js} +5 -5
- package/dist/chunks/{tool-2mnagb0e.js → credential-1h4ktfcf.js} +5 -5
- package/dist/chunks/{tool-7ebn0nc0.js → credential-1nzs1dt7.js} +6 -6
- package/dist/chunks/{tool-56gdpj1q.js → credential-1ygqh575.js} +9 -9
- package/dist/chunks/{tool-p6rs3vpq.js → credential-21a5jk7k.js} +14 -14
- package/dist/chunks/{tool-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{tool-y0wsg1r3.js → credential-26pye05k.js} +7 -7
- package/dist/chunks/{tool-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-0z93v4jy.js → credential-2feh4c3v.js} +18 -18
- package/dist/chunks/{tool-px9gxtsw.js → credential-2nycvdb8.js} +33 -33
- package/dist/chunks/{tool-dex3nr62.js → credential-33kgjfz5.js} +85 -85
- package/dist/chunks/{tool-ra3gq1k7.js → credential-34jgwge8.js} +9 -9
- package/dist/chunks/{tool-7rzn7488.js → credential-3batxdes.js} +45 -45
- package/dist/chunks/{tool-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-gjsj0zqz.js → credential-3g58nq9n.js} +167 -167
- package/dist/chunks/{tool-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-81swgkk7.js → credential-3nxb9rvh.js} +9 -9
- package/dist/chunks/{tool-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-100kzw8g.js → credential-3sqtj86k.js} +41 -41
- package/dist/chunks/{tool-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-f9qak17s.js → credential-4e4ycstq.js} +10 -10
- package/dist/chunks/{tool-g0aj3r5p.js → credential-4eb3ngbp.js} +6 -6
- package/dist/chunks/{tool-e67ygrb5.js → credential-4f4r2056.js} +16 -16
- package/dist/chunks/{tool-r1q74f54.js → credential-4j4j6b7c.js} +24 -24
- package/dist/chunks/{tool-amegs12p.js → credential-4naz9raq.js} +9 -9
- package/dist/chunks/{tool-stbptvy9.js → credential-4p7g3wg8.js} +26 -26
- package/dist/chunks/{tool-xt6vqbst.js → credential-4sdp0m6c.js} +37 -37
- package/dist/chunks/credential-4vjscmnp.js +247 -0
- package/dist/chunks/{tool-dhhdcexn.js → credential-4xe4npvy.js} +16 -16
- package/dist/chunks/{tool-vmshp960.js → credential-58jet3bj.js} +24 -24
- package/dist/chunks/{tool-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-jpchzm8t.js → credential-5dsh741q.js} +16 -16
- package/dist/chunks/{tool-32xz9ffh.js → credential-5jjjy8t8.js} +11 -11
- package/dist/chunks/{tool-g5zf0djh.js → credential-5kzc33a4.js} +1 -1
- package/dist/chunks/{tool-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-ktazsj8x.js → credential-5z248baa.js} +8 -8
- package/dist/chunks/{tool-5bnvv0fb.js → credential-6640nxyp.js} +18 -18
- package/dist/chunks/{tool-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{tool-2402vzrj.js → credential-6h73sxmp.js} +5 -5
- package/dist/chunks/{tool-sq27dbnb.js → credential-6k8padng.js} +9 -9
- package/dist/chunks/{tool-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-08xgehk5.js → credential-6rm0dwms.js} +4 -4
- package/dist/chunks/{tool-71q4at8m.js → credential-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-knvy7wqf.js → credential-7b5mp5c8.js} +15 -15
- package/dist/chunks/{tool-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-4hnvk1d0.js → credential-7fy1mpjh.js} +20 -20
- package/dist/chunks/{tool-zxhfgthz.js → credential-7g3h93b8.js} +17 -17
- package/dist/chunks/{tool-jp8xd6mf.js → credential-7hdna1a1.js} +14 -14
- package/dist/chunks/{tool-gj7hk09m.js → credential-7rr0m4bs.js} +26 -26
- package/dist/chunks/{tool-0xf6t1bc.js → credential-7vqdbxhf.js} +13 -13
- package/dist/chunks/{tool-1c2q116c.js → credential-7vx5fws8.js} +17 -17
- package/dist/chunks/{tool-72cm32h1.js → credential-83jbspt8.js} +6 -6
- package/dist/chunks/{tool-cmwkp3r5.js → credential-844ef7ks.js} +4 -4
- package/dist/chunks/{tool-tcezcvh9.js → credential-89znhe33.js} +4 -4
- package/dist/chunks/{tool-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-00gnxv30.js → credential-8f79ekhe.js} +17 -17
- package/dist/chunks/{tool-1kh06mg4.js → credential-8gcdc49z.js} +5 -5
- package/dist/chunks/{tool-dj2t23y0.js → credential-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-f249p1w2.js → credential-8r1kcnkf.js} +11 -11
- package/dist/chunks/{tool-0msc39tg.js → credential-8tzm5kpv.js} +14 -14
- package/dist/chunks/{tool-dbnvakxz.js → credential-8w44pm91.js} +2 -2
- package/dist/chunks/{tool-nqz62vb6.js → credential-966c8cap.js} +23 -23
- package/dist/chunks/{tool-1jwdep4c.js → credential-9c1g789v.js} +9 -9
- package/dist/chunks/{tool-j7wq2tw5.js → credential-9m3dk78v.js} +3 -3
- package/dist/chunks/{tool-5c4hm403.js → credential-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-fw7ks5z6.js → credential-a5drzcdb.js} +16 -16
- package/dist/chunks/{tool-s8j6jbjj.js → credential-a8bn8zg0.js} +21 -21
- package/dist/chunks/{tool-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-ywhnyrnh.js → credential-af3pq8fz.js} +5 -5
- package/dist/chunks/{tool-s006vazc.js → credential-aqapmjqb.js} +10 -10
- package/dist/chunks/{tool-bnweey00.js → credential-aqsvh3mt.js} +4 -4
- package/dist/chunks/{tool-ysd4x4y5.js → credential-ay8ez75v.js} +32 -32
- package/dist/chunks/{tool-v0ekqx65.js → credential-ayzmjt8w.js} +37 -37
- package/dist/chunks/{tool-qyyanj0n.js → credential-b15px6y4.js} +19 -19
- package/dist/chunks/{tool-859kcgs2.js → credential-b191y2av.js} +3 -3
- package/dist/chunks/{tool-638f9gty.js → credential-b1xevyg4.js} +22 -22
- package/dist/chunks/{tool-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-dw8c19qb.js → credential-b8q0kteq.js} +4 -4
- package/dist/chunks/{tool-fab8hzt3.js → credential-bajakh74.js} +4 -4
- package/dist/chunks/{tool-rmm45jmv.js → credential-bgs9y14h.js} +5 -5
- package/dist/chunks/{tool-a1pcbmkx.js → credential-bpgg8zv2.js} +16 -16
- package/dist/chunks/{tool-jw7c8f1w.js → credential-bsmwhs5j.js} +13 -13
- package/dist/chunks/{tool-cfxak8gp.js → credential-bzrne2cf.js} +27 -27
- package/dist/chunks/{tool-fjvydvzm.js → credential-c576t1j6.js} +5 -5
- package/dist/chunks/{tool-qzkdxd86.js → credential-c9v3njsq.js} +6 -6
- package/dist/chunks/{tool-xdepe7a5.js → credential-cbtntvbe.js} +10 -10
- package/dist/chunks/{tool-m0jqrx5p.js → credential-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-wpm2rk0p.js → credential-ck0ahkdp.js} +6 -6
- package/dist/chunks/{tool-vz6rz0af.js → credential-crkg5x17.js} +20 -20
- package/dist/chunks/{tool-ptq11xx0.js → credential-cvs5r53p.js} +6 -6
- package/dist/chunks/{tool-bgmt3wra.js → credential-cw7k1zn0.js} +28 -28
- package/dist/chunks/{tool-q2027nw7.js → credential-cwmq7ztw.js} +1 -1
- package/dist/chunks/{tool-7gvwkz6m.js → credential-d2aac7k2.js} +5 -5
- package/dist/chunks/{tool-qaed280k.js → credential-dda3kyyb.js} +11 -11
- package/dist/chunks/{tool-ag9w8cw1.js → credential-dj9sq318.js} +5 -5
- package/dist/chunks/{tool-tb8rp2yt.js → credential-djgrr753.js} +27 -27
- package/dist/chunks/{tool-qek8dtx8.js → credential-dkgmj00c.js} +15 -15
- package/dist/chunks/{tool-2gm42vdj.js → credential-dnanfhkd.js} +15 -15
- package/dist/chunks/{tool-y71avatq.js → credential-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-zad871sr.js → credential-drxtvntd.js} +1 -1
- package/dist/chunks/{tool-13tvcsgk.js → credential-dsgca7mb.js} +11 -11
- package/dist/chunks/{tool-50wkfpjr.js → credential-dtrk9gzb.js} +24 -24
- package/dist/chunks/{tool-zncx7357.js → credential-dy52c8h1.js} +15 -15
- package/dist/chunks/{tool-d5pcg4sb.js → credential-e4f8tf4k.js} +65 -65
- package/dist/chunks/{tool-vmq7ehpy.js → credential-e6hmchc5.js} +5 -5
- package/dist/chunks/{tool-hjt4xg1x.js → credential-e82z9tr0.js} +7 -7
- package/dist/chunks/{tool-49hrpkdk.js → credential-e9cy62py.js} +4 -4
- package/dist/chunks/{tool-hvcjdrj2.js → credential-ed29z705.js} +4 -4
- package/dist/chunks/{tool-45zx1ce8.js → credential-eddgwn1r.js} +22 -22
- package/dist/chunks/{tool-kzx8z335.js → credential-ejv06xv9.js} +56 -56
- package/dist/chunks/{tool-ca9nbgzj.js → credential-ekab52cg.js} +9 -9
- package/dist/chunks/{tool-vycpdhb1.js → credential-enjtf4g5.js} +29 -29
- package/dist/chunks/{tool-cgfvzygb.js → credential-er05gb0t.js} +19 -19
- package/dist/chunks/{tool-2k8khapm.js → credential-esafk7q3.js} +5 -5
- package/dist/chunks/{tool-910hnegs.js → credential-essb66p0.js} +26 -26
- package/dist/chunks/{tool-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-3a9e8ct5.js → credential-ewhzqcma.js} +7 -7
- package/dist/chunks/{tool-0996nyz8.js → credential-f7ehr2sm.js} +5 -5
- package/dist/chunks/{tool-hdnk95c8.js → credential-f828m53h.js} +2 -2
- package/dist/chunks/{tool-pwk28ted.js → credential-ff6j3eyt.js} +13 -13
- package/dist/chunks/{tool-wbyq7e0t.js → credential-ffnezcy6.js} +46 -46
- package/dist/chunks/{tool-r86gmde5.js → credential-fvn9gckt.js} +24 -24
- package/dist/chunks/{tool-n6pkm576.js → credential-fwr271s3.js} +24 -24
- package/dist/chunks/{tool-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-m8gmjx38.js → credential-gb33nbqp.js} +41 -41
- package/dist/chunks/{tool-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-4faz70f1.js → credential-gsdcmbmr.js} +57 -57
- package/dist/chunks/{tool-pnv527nz.js → credential-gsx0ryk4.js} +8 -8
- package/dist/chunks/{tool-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-s73q3448.js → credential-h2j3v1fy.js} +295 -295
- package/dist/chunks/{tool-n17rpw7s.js → credential-h4e6gkjy.js} +11 -11
- package/dist/chunks/{tool-p6604nm9.js → credential-h4j6qtac.js} +12 -12
- package/dist/chunks/{tool-fsn1dw54.js → credential-h54g1dhn.js} +5 -5
- package/dist/chunks/{tool-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-2zk4ah9y.js → credential-hczynf47.js} +9 -9
- package/dist/chunks/{tool-vfpkabdf.js → credential-hq4namph.js} +13 -13
- package/dist/chunks/{tool-pjmc1jwj.js → credential-hrm8y51b.js} +29 -29
- package/dist/chunks/{tool-vyqwgby1.js → credential-hv14eds1.js} +9 -9
- package/dist/chunks/{tool-d9sn21bc.js → credential-hyd8y20x.js} +2 -2
- package/dist/chunks/{tool-ezs43bsy.js → credential-j4xyrz15.js} +17 -17
- package/dist/chunks/{tool-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-89h3bp38.js → credential-j5eg37j2.js} +23 -23
- package/dist/chunks/{tool-t0jgeayb.js → credential-jaevav1w.js} +13 -13
- package/dist/chunks/{tool-j9tvrbwe.js → credential-jd8xsdb7.js} +20 -20
- package/dist/chunks/{tool-xanzpgaf.js → credential-jkw62c4x.js} +21 -21
- package/dist/chunks/{tool-9aqmr64f.js → credential-jpreg3hv.js} +5 -5
- package/dist/chunks/{tool-yyxs5174.js → credential-k0ncd55s.js} +8 -8
- package/dist/chunks/{tool-3zb9t6gq.js → credential-k8mz02ds.js} +36 -36
- package/dist/chunks/{tool-kg06axw8.js → credential-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-4jad23kz.js → credential-kg7hpk6b.js} +20 -20
- package/dist/chunks/{tool-z9x25qgp.js → credential-kkxyzwpq.js} +18 -18
- package/dist/chunks/{tool-xz0aj5bv.js → credential-kxcd42x8.js} +36 -36
- package/dist/chunks/{tool-7f3sjtrh.js → credential-kyfddjrj.js} +1 -1
- package/dist/chunks/{tool-ce8ketvm.js → credential-m4455s3y.js} +26 -26
- package/dist/chunks/{tool-p514mdqe.js → credential-m4r2ec35.js} +25 -25
- package/dist/chunks/{tool-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-qfv804ab.js → credential-mb942295.js} +6 -6
- package/dist/chunks/{tool-1famk9p6.js → credential-mgpvk6q1.js} +17 -17
- package/dist/chunks/{tool-mvfsc1pv.js → credential-mhkvc446.js} +3 -3
- package/dist/chunks/{tool-nnxzqqg8.js → credential-mjanhrey.js} +15 -15
- package/dist/chunks/{tool-mkcjrzeh.js → credential-mkcjrzeh.js} +1 -1
- package/dist/chunks/{tool-22m95qs7.js → credential-msq0jde0.js} +4 -4
- package/dist/chunks/{tool-01797ny4.js → credential-mxcvjysz.js} +12 -12
- package/dist/chunks/{tool-vv3eqyfe.js → credential-n3yewg4x.js} +8 -8
- package/dist/chunks/{tool-h1dazz20.js → credential-n5650byf.js} +15 -15
- package/dist/chunks/{tool-99exew75.js → credential-nqnvy2d4.js} +47 -47
- package/dist/chunks/{tool-kk8fq19e.js → credential-p0p6txpm.js} +20 -20
- package/dist/chunks/{tool-8ypn74s0.js → credential-p33ejz0k.js} +1 -1
- package/dist/chunks/{tool-pe0c0z4r.js → credential-p9tm0mrs.js} +12 -12
- package/dist/chunks/{tool-j935v87r.js → credential-paphc93g.js} +2 -2
- package/dist/chunks/{tool-50kt3f8y.js → credential-pefy2fys.js} +4 -4
- package/dist/chunks/{tool-31v57ene.js → credential-pg4ttegr.js} +32 -32
- package/dist/chunks/{tool-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{tool-m2krvp2x.js → credential-pny7yx7d.js} +13 -13
- package/dist/chunks/{tool-z1pfg6df.js → credential-prhyc2hv.js} +1 -1
- package/dist/chunks/{tool-2a4f6v5q.js → credential-pw9v3g6d.js} +5 -5
- package/dist/chunks/{tool-rsv3dyxs.js → credential-q2ytqwwa.js} +14 -14
- package/dist/chunks/{tool-wdn3ce2t.js → credential-q312td4y.js} +18 -18
- package/dist/chunks/{tool-yc73ry1q.js → credential-q3mrh7hn.js} +6 -6
- package/dist/chunks/{tool-mfvn5m8d.js → credential-q567r7t6.js} +8 -8
- package/dist/chunks/{tool-6m8y77r5.js → credential-q928s5sj.js} +8 -8
- package/dist/chunks/{tool-9hv8phah.js → credential-qaf3yvw3.js} +16 -16
- package/dist/chunks/credential-qdyb70sk.js +18 -0
- package/dist/chunks/{tool-jfpzywp2.js → credential-qhbg58t9.js} +6 -6
- package/dist/chunks/{tool-1hgt76pw.js → credential-qjhwvxvx.js} +16 -16
- package/dist/chunks/{tool-egp6178n.js → credential-qnkzwnkk.js} +6 -6
- package/dist/chunks/{tool-f65fprkq.js → credential-qrxqsn15.js} +20 -20
- package/dist/chunks/{tool-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-tx1kta8e.js → credential-qtnnx2m7.js} +36 -36
- package/dist/chunks/{tool-ws5qfxv9.js → credential-r7cr63pb.js} +9 -9
- package/dist/chunks/{tool-c3er4f98.js → credential-r8d99g81.js} +18 -18
- package/dist/chunks/{tool-a46v4e4v.js → credential-ratrq7cm.js} +4 -4
- package/dist/chunks/{tool-6y4tgg16.js → credential-rce8n207.js} +28 -28
- package/dist/chunks/{tool-5aa4zf44.js → credential-rfhr4evy.js} +24 -24
- package/dist/chunks/{tool-937nxygj.js → credential-rfs6vkg6.js} +8 -8
- package/dist/chunks/{tool-w3k36hrr.js → credential-rnnysrbx.js} +3 -3
- package/dist/chunks/{tool-pc5wdgkb.js → credential-rxpr5tzb.js} +11 -11
- package/dist/chunks/{tool-8t1wrec1.js → credential-rzs3gq0x.js} +8 -8
- package/dist/chunks/{tool-8xv0fcmg.js → credential-s1y2e255.js} +40 -40
- package/dist/chunks/{tool-sj71rkrx.js → credential-s7zpjck1.js} +11 -11
- package/dist/chunks/{tool-hwe7x4em.js → credential-s90d8d6b.js} +6 -6
- package/dist/chunks/{tool-n6arc57m.js → credential-sc5zwnjf.js} +7 -7
- package/dist/chunks/{tool-d8nc1xcx.js → credential-shh6fz4q.js} +4 -4
- package/dist/chunks/{tool-myeama09.js → credential-snndsnj2.js} +46 -46
- package/dist/chunks/{tool-t7yz8ad7.js → credential-st6cv0zf.js} +41 -41
- package/dist/chunks/{tool-qjqdk9x8.js → credential-svntbjgt.js} +25 -25
- package/dist/chunks/{tool-gfqzzqy5.js → credential-t0x5rdq8.js} +9 -9
- package/dist/chunks/{tool-rhjbct0v.js → credential-t550f9t1.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{tool-gv6a8nnw.js → credential-th5km1p3.js} +5 -5
- package/dist/chunks/{tool-g83yhva0.js → credential-tksm74b3.js} +27 -27
- package/dist/chunks/{tool-yxz14c3m.js → credential-tq9yxfd0.js} +50 -50
- package/dist/chunks/{tool-41e240wd.js → credential-trt7jtkk.js} +11 -11
- package/dist/chunks/{tool-83n1dzne.js → credential-tscy7q8w.js} +28 -28
- package/dist/chunks/{tool-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/credential-tw6y6bmq.js +22 -0
- package/dist/chunks/{tool-y0qtjk0t.js → credential-txc11aqg.js} +11 -11
- package/dist/chunks/{tool-gc2r3arx.js → credential-tzar2m42.js} +89 -89
- package/dist/chunks/{tool-q8rarcde.js → credential-v1szd0f8.js} +26 -26
- package/dist/chunks/{tool-s0haq3v3.js → credential-v5tz0txx.js} +32 -32
- package/dist/chunks/{tool-3r6vp6xx.js → credential-v8tn9yq8.js} +10 -10
- package/dist/chunks/{tool-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-pqkb2z9p.js → credential-vmar8n8n.js} +15 -15
- package/dist/chunks/{tool-ve4pfa0n.js → credential-vncycja5.js} +4 -4
- package/dist/chunks/{tool-4rggjvr2.js → credential-vnn0ngfa.js} +9 -9
- package/dist/chunks/{tool-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-7k1k30bt.js → credential-w5837gkz.js} +1 -1
- package/dist/chunks/{tool-br0bxb5z.js → credential-wb9vn7gc.js} +3 -3
- package/dist/chunks/{tool-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{tool-sxnp3vqk.js → credential-wm06yq12.js} +25 -25
- package/dist/chunks/{tool-7j9rtswg.js → credential-wq4tenhy.js} +11 -11
- package/dist/chunks/{tool-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-x43y2vfs.js → credential-x43y2vfs.js} +2 -2
- package/dist/chunks/{tool-62gm3akr.js → credential-x92tzhpc.js} +14 -14
- package/dist/chunks/{tool-e8ge1rnk.js → credential-x9nmc2sn.js} +1 -1
- package/dist/chunks/{tool-6ppc03cv.js → credential-xmhy143a.js} +6 -6
- package/dist/chunks/{tool-zcrspsvn.js → credential-xw0r27ex.js} +4 -4
- package/dist/chunks/{tool-q5qadqqc.js → credential-xwrmknpr.js} +4 -4
- package/dist/chunks/{tool-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-2ft9rrby.js → credential-y2vjxt4h.js} +9 -9
- package/dist/chunks/{tool-jmm88pvs.js → credential-y7x142mt.js} +11 -11
- package/dist/chunks/{tool-39etbsth.js → credential-ybjz3e3p.js} +2 -2
- package/dist/chunks/{tool-j9eppgdd.js → credential-yc60x9p4.js} +15 -15
- package/dist/chunks/{tool-jwcaj6se.js → credential-yckq38a0.js} +22 -22
- package/dist/chunks/{tool-wk58jv74.js → credential-yjqv8qmq.js} +10 -10
- package/dist/chunks/{tool-s6vet9p8.js → credential-yn5yksm3.js} +6 -6
- package/dist/chunks/{tool-yp2x3t23.js → credential-yp2x3t23.js} +1 -1
- package/dist/chunks/{tool-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-s4enseaf.js → credential-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-632pkhjb.js → credential-ywa477g8.js} +34 -34
- package/dist/chunks/{tool-d6bb4cvp.js → credential-yx2kztkn.js} +16 -16
- package/dist/chunks/{tool-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-bv56xrks.js → credential-z1f4gy9p.js} +8 -8
- package/dist/chunks/{tool-h30n9bbs.js → credential-z2ymbzcw.js} +20 -20
- package/dist/chunks/{tool-z03197zf.js → credential-z56nne8r.js} +35 -35
- package/dist/chunks/{tool-29x78va6.js → credential-z63w68vq.js} +6 -6
- package/dist/chunks/{tool-c4ypf6wq.js → credential-zcrvs66x.js} +21 -21
- package/dist/chunks/{tool-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-6fyrr4w1.js → credential-zetb5yra.js} +4 -4
- package/dist/chunks/{tool-rda0t9vq.js → credential-zjmsgra3.js} +5 -5
- package/dist/chunks/{tool-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- 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 +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/tool-dr8w6t5k.js +0 -22
- package/dist/chunks/tool-ms6fawk6.js +0 -247
- package/dist/chunks/tool-n95b3jav.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6kdq0pjd.js → credential-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a1tpkmh4.js → credential-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → credential-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,114 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-b191y2av.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID7,
|
|
7
|
+
Service56,
|
|
8
|
+
node59
|
|
9
|
+
} from "./credential-4j4j6b7c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service60,
|
|
12
|
+
node64
|
|
13
|
+
} from "./credential-m4r2ec35.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-t550f9t1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
make14
|
|
19
|
+
} from "./credential-dkgmj00c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service58,
|
|
22
|
+
node61
|
|
23
|
+
} from "./credential-b1xevyg4.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node78
|
|
27
|
+
} from "./credential-7g3h93b8.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service22,
|
|
30
|
+
node26
|
|
31
|
+
} from "./credential-a5drzcdb.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./credential-ekab52cg.js";
|
|
35
35
|
import {
|
|
36
36
|
provenance2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./credential-msq0jde0.js";
|
|
38
38
|
import {
|
|
39
39
|
entriesForRunner2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./credential-txc11aqg.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
42
|
+
Service54,
|
|
43
|
+
node57
|
|
44
|
+
} from "./credential-bpgg8zv2.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service41,
|
|
47
|
+
node44
|
|
48
|
+
} from "./credential-svntbjgt.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service25,
|
|
51
|
+
node29
|
|
52
|
+
} from "./credential-hrm8y51b.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
54
|
+
Service24,
|
|
55
|
+
node28
|
|
56
|
+
} from "./credential-jd8xsdb7.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service23,
|
|
59
|
+
node27
|
|
60
|
+
} from "./credential-7b5mp5c8.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
62
|
+
Service21,
|
|
63
|
+
node25
|
|
64
|
+
} from "./credential-7vx5fws8.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
} from "./
|
|
66
|
+
Service17,
|
|
67
|
+
node22
|
|
68
|
+
} from "./credential-vmar8n8n.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service19,
|
|
71
|
+
node23
|
|
72
|
+
} from "./credential-04cfyv7b.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service30,
|
|
75
|
+
node33
|
|
76
|
+
} from "./credential-pny7yx7d.js";
|
|
77
77
|
import {
|
|
78
78
|
__export
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./credential-9rqn6x4v.js";
|
|
80
80
|
|
|
81
81
|
// src/session/context.ts
|
|
82
82
|
var exports_context = {};
|
|
83
83
|
__export(exports_context, {
|
|
84
|
-
Service: () =>
|
|
84
|
+
Service: () => Service15,
|
|
85
85
|
SessionContext: () => exports_context,
|
|
86
|
-
node: () =>
|
|
86
|
+
node: () => node19
|
|
87
87
|
});
|
|
88
88
|
import { Model } from "@opencode/schema/model";
|
|
89
89
|
import { Context, Effect, Layer } from "effect";
|
|
90
90
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
91
|
-
class
|
|
91
|
+
class Service15 extends Context.Service()("@opencode/SessionContext") {
|
|
92
92
|
}
|
|
93
|
-
var layer = Layer.effect(
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const builtins = yield*
|
|
96
|
-
const catalog = yield*
|
|
93
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
94
|
+
const agents = yield* Service56;
|
|
95
|
+
const builtins = yield* Service22;
|
|
96
|
+
const catalog = yield* Service60;
|
|
97
97
|
const db = (yield* Service80).db;
|
|
98
|
-
const discovery = yield*
|
|
99
|
-
const entries = yield*
|
|
100
|
-
const location = yield*
|
|
101
|
-
const mcpInstructions = yield*
|
|
102
|
-
const mcpTools = yield*
|
|
103
|
-
const models = yield*
|
|
104
|
-
const modelRequests = yield*
|
|
105
|
-
const referenceInstructions = yield*
|
|
106
|
-
const skillInstructions = yield*
|
|
107
|
-
const store = yield*
|
|
108
|
-
const registry = yield*
|
|
98
|
+
const discovery = yield* Service58;
|
|
99
|
+
const entries = yield* Service17;
|
|
100
|
+
const location = yield* Service73;
|
|
101
|
+
const mcpInstructions = yield* Service24;
|
|
102
|
+
const mcpTools = yield* Service25;
|
|
103
|
+
const models = yield* Service30;
|
|
104
|
+
const modelRequests = yield* Service19;
|
|
105
|
+
const referenceInstructions = yield* Service23;
|
|
106
|
+
const skillInstructions = yield* Service21;
|
|
107
|
+
const store = yield* Service54;
|
|
108
|
+
const registry = yield* Service41;
|
|
109
109
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
110
110
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
111
|
-
const agent = yield* agents.get(
|
|
111
|
+
const agent = yield* agents.get(ID7.make("title"));
|
|
112
112
|
if (!agent)
|
|
113
113
|
return;
|
|
114
114
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
161
161
|
agent: { ...agent, info: agent.info },
|
|
162
162
|
instructions: combine2([
|
|
163
163
|
loaded.builtins,
|
|
164
|
-
|
|
164
|
+
make14(loaded.tools.codeModeCatalog),
|
|
165
165
|
loaded.discovery,
|
|
166
166
|
loaded.skills,
|
|
167
167
|
loaded.references,
|
|
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
183
183
|
tools: selection.tools
|
|
184
184
|
};
|
|
185
185
|
});
|
|
186
|
-
return
|
|
186
|
+
return Service15.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
187
187
|
}));
|
|
188
188
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
189
|
-
var
|
|
190
|
-
service:
|
|
189
|
+
var node19 = makeLocationNode({
|
|
190
|
+
service: Service15,
|
|
191
191
|
layer,
|
|
192
192
|
deps: [
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
node59,
|
|
194
|
+
node64,
|
|
195
195
|
node85,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
196
|
+
node26,
|
|
197
|
+
node61,
|
|
198
|
+
node22,
|
|
199
|
+
node78,
|
|
200
|
+
node28,
|
|
201
|
+
node29,
|
|
202
|
+
node27,
|
|
203
|
+
node33,
|
|
204
|
+
node23,
|
|
205
|
+
node57,
|
|
206
|
+
node25,
|
|
207
|
+
node44
|
|
208
208
|
]
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { Service15, node19, exports_context };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-ed29z705.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./credential-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service51,
|
|
17
|
+
node54
|
|
18
|
+
} from "./credential-zcrvs66x.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service33,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node36
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event3 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service33 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service51;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service33.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node36 = makeLocationNode({
|
|
116
|
+
service: Service33,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node84,
|
|
118
|
+
deps: [Global.node, node84, node54]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service33, node36, exports_reference2, Event3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./credential-yjqv8qmq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service73,
|
|
13
|
+
node78
|
|
14
|
+
} from "./credential-7g3h93b8.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./credential-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-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: () => Error5,
|
|
26
|
+
ID: () => ID13,
|
|
27
|
+
Service: () => Service72,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node77,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID13 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 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 Service72 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service75;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service73;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service60, 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 Error5({ 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(Service60, 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 Error5({ 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(Service60, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID13.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service72.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node77 = makeLocationNode({
|
|
139
|
+
service: Service72,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service72, Service72.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service60, Service60.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error5({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID13, Error5, Service72, node77, noopLayer3, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-7hdna1a1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./credential-3batxdes.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-26pye05k.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service38;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID9.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make6();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make6, LMStudioPlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-b191y2av.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node22,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service17 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make19({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service17.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node22 = makeLocationNode({ service: Service17, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service17, node22, exports_instruction_entry };
|