@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-ed29z705.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-7vqdbxhf.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured10,
|
|
25
|
+
layer: () => layer24,
|
|
26
|
+
node: () => node72
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service67 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service67.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer24 = makeLayer();
|
|
259
|
+
var configured10 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service67,
|
|
261
|
+
layer: options === undefined ? layer24 : makeLayer(options),
|
|
262
262
|
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node72 = configured10();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError8, Service67, layer24, configured10, node72, exports_persistent_pty, Handoff2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
10
|
Info: () => Info17
|
|
11
11
|
});
|
|
@@ -18,4 +18,4 @@ var Entry3 = Schema.Struct({
|
|
|
18
18
|
});
|
|
19
19
|
var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3, Info17,
|
|
21
|
+
export { Entry3, Info17, exports_formatter2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-eddgwn1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID3.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-ed29z705.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service44,
|
|
6
|
+
Event7
|
|
7
|
+
} from "./credential-4f4r2056.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin44,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service44;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin31 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin44, exports_plugin };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node70,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node70 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node70, exports_driver };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-ed29z705.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./credential-v5tz0txx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./credential-svntbjgt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service40
|
|
12
|
+
} from "./credential-mxcvjysz.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-ekab52cg.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./credential-xwrmknpr.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./credential-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./credential-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./credential-xmhy143a.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./credential-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service72;
|
|
58
|
+
const toolOutput = yield* Service40;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make8 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./credential-0m29xn9k.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-qhbg58t9.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service76;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID16.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./credential-gsdcmbmr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./credential-eddgwn1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input7,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin37,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name7 = "skill";
|
|
30
|
+
var Input7 = Schema.Struct({
|
|
31
|
+
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin37 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service34;
|
|
51
|
+
const permission = yield* Service53;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input7,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name7,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin12 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name7, Input7, Output5, description4, toModelOutput2, Plugin37, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./credential-yjqv8qmq.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical3
|
|
7
|
+
} from "./credential-th5km1p3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make18
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make18 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service75;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make12 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical3(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make12 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make18, exports_git2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info11
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info11 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info11, exports_attachment };
|