@opencode-ai/core 0.0.0-dev-19150 → 0.0.0-dev-19152
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{file-zn31ggdh.js → git-01ns8z8m.js} +9 -9
- package/dist/chunks/{file-44mbs944.js → git-02nqpn9k.js} +16 -16
- package/dist/chunks/{file-x9aee12a.js → git-03trxjpd.js} +13 -13
- package/dist/chunks/{file-2cpc15r0.js → git-03v82kyy.js} +8 -8
- package/dist/chunks/{file-0e0xafbb.js → git-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-e1hrx4vk.js → git-0ez61b8c.js} +2 -2
- package/dist/chunks/{file-ttmyjys5.js → git-0fgbm3tz.js} +21 -21
- package/dist/chunks/{file-n8qe30xq.js → git-0k45et74.js} +9 -9
- package/dist/chunks/{file-0nwt5npc.js → git-0nwt5npc.js} +2 -2
- package/dist/chunks/{file-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-2epja08c.js → git-0qhj2dys.js} +4 -4
- package/dist/chunks/{file-0s9ayhjt.js → git-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-pyyqvd0z.js → git-0twy4jn9.js} +11 -11
- package/dist/chunks/{file-fhy6bqdy.js → git-0x2ny62j.js} +14 -14
- package/dist/chunks/{file-pzzt1nm5.js → git-0z2q6qd2.js} +31 -31
- package/dist/chunks/{file-53hzkef1.js → git-0zyzm3y4.js} +15 -15
- package/dist/chunks/{file-qkzfms5c.js → git-11tw25g0.js} +4 -4
- package/dist/chunks/{file-1hy241bm.js → git-14hmenm3.js} +3 -3
- package/dist/chunks/{file-mhkvc446.js → git-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-1ct4r87x.js → git-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-n8naaz60.js → git-1jk1zpn7.js} +15 -15
- package/dist/chunks/{file-9c3zep2z.js → git-1tda89k7.js} +13 -13
- package/dist/chunks/{file-vakn6wwq.js → git-1yrh2hz8.js} +18 -18
- package/dist/chunks/{file-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{file-354vgqe0.js → git-2239fvjv.js} +7 -7
- package/dist/chunks/{file-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{file-5k2506g0.js → git-256zxpde.js} +9 -9
- package/dist/chunks/{file-6e958v7x.js → git-28pcbh69.js} +4 -4
- package/dist/chunks/{file-29x78va6.js → git-29x78va6.js} +2 -2
- package/dist/chunks/{file-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-qzq296vy.js → git-2f60pf4m.js} +4 -4
- package/dist/chunks/{file-2ht70gj7.js → git-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-65dkj3za.js → git-2hyswaq2.js} +20 -20
- package/dist/chunks/{file-9z2n9fsv.js → git-2jmaghvr.js} +6 -6
- package/dist/chunks/{file-2jqmte8w.js → git-2jqmte8w.js} +2 -2
- package/dist/chunks/{file-n38qs1ar.js → git-2rcn8zjb.js} +9 -9
- package/dist/chunks/{file-n3rkh788.js → git-2tb9hyx2.js} +11 -11
- package/dist/chunks/{file-mk2da0tx.js → git-2tm39pz1.js} +6 -6
- package/dist/chunks/{file-7ppgh33j.js → git-357rxt8c.js} +24 -24
- package/dist/chunks/{file-gdvy8fx6.js → git-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-xh8y0k6f.js → git-3fh1yz3r.js} +46 -46
- package/dist/chunks/{file-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-v1zbgaxm.js → git-3jb0x30q.js} +7 -7
- package/dist/chunks/{file-6kawr24h.js → git-3mpn79e8.js} +77 -77
- package/dist/chunks/{file-3qzbfqsy.js → git-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-sx5e7ymn.js → git-3tqdhrak.js} +8 -8
- package/dist/chunks/{file-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-ph669gs4.js → git-3vsz3p7m.js} +9 -9
- package/dist/chunks/{file-3mrm2hwf.js → git-3wfq9j39.js} +12 -12
- package/dist/chunks/{file-711hfp6y.js → git-3x6030n9.js} +2 -2
- package/dist/chunks/{file-7cnzp9pw.js → git-42tkewwq.js} +7 -7
- package/dist/chunks/{file-454k5vzh.js → git-454k5vzh.js} +1 -1
- package/dist/chunks/{file-yjw1hky4.js → git-48ajhrad.js} +12 -12
- package/dist/chunks/{file-fbgy7r5d.js → git-48pwx2w2.js} +2 -2
- package/dist/chunks/{file-ftz7gb7p.js → git-49z5p9jd.js} +6 -6
- package/dist/chunks/{file-4r2nyarf.js → git-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-2cefwke5.js → git-4w29j2bz.js} +30 -30
- package/dist/chunks/{file-d24m0n3t.js → git-4w4v4hff.js} +10 -10
- package/dist/chunks/{file-rvb2zp0m.js → git-4z6b0fg6.js} +6 -6
- package/dist/chunks/{file-y995w6vw.js → git-576eqkb7.js} +6 -6
- package/dist/chunks/{file-1sqh6t30.js → git-5c6acc4z.js} +3 -3
- package/dist/chunks/{file-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{file-5fmxt4p5.js → git-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-5jvc5tg2.js → git-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-yj3e99fm.js → git-5k3f87xj.js} +1 -1
- package/dist/chunks/{file-kj9yw8wr.js → git-5s6em07e.js} +25 -25
- package/dist/chunks/{file-8y62cfgq.js → git-64mbz47k.js} +6 -6
- package/dist/chunks/{file-at276hj9.js → git-6b40c87x.js} +15 -15
- package/dist/chunks/{file-ttbkqz8v.js → git-6c91nz2w.js} +4 -4
- package/dist/chunks/{file-3bnr94xj.js → git-6ew8bvbb.js} +18 -18
- package/dist/chunks/{file-na3y75gh.js → git-6g5f7dmn.js} +5 -5
- package/dist/chunks/{file-rrh5j47r.js → git-6m2bw32x.js} +25 -25
- package/dist/chunks/{file-v0pnbedw.js → git-6pkw9ygr.js} +8 -8
- package/dist/chunks/{file-gwhj86fb.js → git-6qmj2164.js} +9 -9
- package/dist/chunks/{file-c9ahrne1.js → git-6xaf4e55.js} +22 -22
- package/dist/chunks/{file-pdgkag5b.js → git-6xppn8bd.js} +12 -12
- package/dist/chunks/{file-72nftnjy.js → git-72nftnjy.js} +2 -2
- package/dist/chunks/{file-ss1z5pd1.js → git-75ydt1pr.js} +36 -36
- package/dist/chunks/{file-5mm5wtvx.js → git-790wkyyc.js} +8 -8
- package/dist/chunks/{file-s5h19yqx.js → git-7ad5acx5.js} +7 -7
- package/dist/chunks/{file-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-dg42sq5p.js → git-7mgtj72g.js} +10 -10
- package/dist/chunks/{file-q6k87v8z.js → git-7sd9q442.js} +6 -6
- package/dist/chunks/{file-qs4avvkb.js → git-86s3977f.js} +1 -1
- package/dist/chunks/git-88z38vzy.js +22 -0
- package/dist/chunks/{file-b3pptd8j.js → git-89b0hn0k.js} +18 -18
- package/dist/chunks/{file-ywabkmpb.js → git-8gtnf6t2.js} +6 -6
- package/dist/chunks/{file-gt0hfmdb.js → git-8k3x1tmb.js} +5 -5
- package/dist/chunks/{file-hdw5v3sp.js → git-8t7rpfs0.js} +42 -42
- package/dist/chunks/{file-tppvcy65.js → git-8x14xe82.js} +7 -7
- package/dist/chunks/{file-t0r5ggak.js → git-8yyhgdt3.js} +9 -9
- package/dist/chunks/{file-0xjbaykp.js → git-91h1kd54.js} +27 -27
- package/dist/chunks/{file-5x78j129.js → git-94b080c3.js} +8 -8
- package/dist/chunks/{file-vvzp1af4.js → git-95t4wctn.js} +19 -19
- package/dist/chunks/{file-ywtkarac.js → git-989d4g0q.js} +12 -12
- package/dist/chunks/{file-kwd9jgre.js → git-99kegj5v.js} +7 -7
- package/dist/chunks/{file-0b89de78.js → git-99vgbsyy.js} +5 -5
- package/dist/chunks/{file-1n116cmy.js → git-9d4vrqc0.js} +9 -9
- package/dist/chunks/{file-ejddpzjn.js → git-9jtnr53s.js} +18 -18
- package/dist/chunks/{file-65fmcg1n.js → git-9p8m1ync.js} +15 -15
- package/dist/chunks/{file-g6mdv268.js → git-9xrx0nj0.js} +15 -15
- package/dist/chunks/{file-sdmzrqw0.js → git-a2wkfh4c.js} +11 -11
- package/dist/chunks/{file-9vfxb4kb.js → git-a615ws19.js} +4 -4
- package/dist/chunks/{file-qzds7pp6.js → git-a738ra00.js} +21 -21
- package/dist/chunks/{file-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{file-4th2vxgq.js → git-ajeh18pz.js} +24 -24
- package/dist/chunks/{file-0e8zkcgz.js → git-am4pcxvr.js} +20 -20
- package/dist/chunks/{file-q9vpza17.js → git-asmayx9p.js} +10 -10
- package/dist/chunks/{file-hejh15x3.js → git-av4m0z60.js} +32 -32
- package/dist/chunks/{file-b6c82h3f.js → git-ay4nvzy9.js} +10 -10
- package/dist/chunks/{file-emse1svw.js → git-azgzp121.js} +139 -139
- package/dist/chunks/{file-f7m31s7f.js → git-b185tj8s.js} +3 -3
- package/dist/chunks/{file-sb910js5.js → git-b5gjhjfs.js} +4 -4
- package/dist/chunks/{file-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-r8h0cx8x.js → git-b7bn4zzd.js} +26 -26
- package/dist/chunks/{file-b9wsbatv.js → git-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-4bzmj8m7.js → git-bbdkjdrd.js} +8 -8
- package/dist/chunks/{file-yf1j450z.js → git-bdzhwkq1.js} +8 -8
- package/dist/chunks/{file-1a6p2twq.js → git-bf0ztrs3.js} +4 -4
- package/dist/chunks/{file-4m3ct7yw.js → git-bp7pam25.js} +6 -6
- package/dist/chunks/{file-thfv75je.js → git-bphmvjfp.js} +5 -5
- package/dist/chunks/{file-2teepasw.js → git-bpvetzyt.js} +12 -12
- package/dist/chunks/{file-qk64c6n5.js → git-bsgbf39w.js} +14 -14
- package/dist/chunks/{file-cqeq6z68.js → git-cfmkmvf9.js} +3 -3
- package/dist/chunks/{file-xb66abhh.js → git-cnpjj00n.js} +11 -11
- package/dist/chunks/{file-gjgqh1yg.js → git-cpcypa0y.js} +9 -9
- package/dist/chunks/{file-0f1c069v.js → git-dcavesng.js} +9 -9
- package/dist/chunks/{file-3wdqrm6x.js → git-dchnan0w.js} +13 -13
- package/dist/chunks/{file-yz6aw3g1.js → git-dde5yshk.js} +42 -42
- package/dist/chunks/{file-rff1kz51.js → git-de7edjxw.js} +20 -20
- package/dist/chunks/{file-6t53vznt.js → git-dgp4s6zg.js} +3 -3
- package/dist/chunks/{file-f9tf4xby.js → git-dmj0gzeb.js} +33 -33
- package/dist/chunks/{file-5h36fhh1.js → git-dn1bcd64.js} +16 -16
- package/dist/chunks/git-e3ze3pba.js +4 -0
- package/dist/chunks/{file-768z0hjh.js → git-e5b0qn1c.js} +1 -1
- package/dist/chunks/{file-9fkqqknn.js → git-e993tk0q.js} +9 -9
- package/dist/chunks/{file-k0gwvm9f.js → git-efc5hrs6.js} +8 -8
- package/dist/chunks/{file-5edep437.js → git-eh2mpbhy.js} +24 -24
- package/dist/chunks/{file-ndn2xkss.js → git-eh802jd0.js} +60 -60
- package/dist/chunks/{file-rykxkv61.js → git-ejwtzsrd.js} +13 -13
- package/dist/chunks/{file-qr8ddv5p.js → git-em41q4xm.js} +34 -34
- package/dist/chunks/{file-rwffmz6f.js → git-enc6jm7h.js} +6 -6
- package/dist/chunks/{file-wq13ba9c.js → git-eqe7bhk4.js} +30 -30
- package/dist/chunks/{file-68t1dsv1.js → git-ewbbbgk7.js} +37 -37
- package/dist/chunks/{file-ezk10e5s.js → git-ewjppg9k.js} +22 -22
- package/dist/chunks/{file-m08qhmwa.js → git-ewvwwfm6.js} +23 -23
- package/dist/chunks/{file-gv0d5gvs.js → git-f69meha8.js} +11 -11
- package/dist/chunks/{file-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-fxypknc8.js → git-fxypknc8.js} +1 -1
- package/dist/chunks/{file-evdm5w0f.js → git-fz7f4s5e.js} +6 -6
- package/dist/chunks/{file-g2dy4bvs.js → git-g2dy4bvs.js} +3 -3
- package/dist/chunks/{file-g2gt0w0k.js → git-g2gt0w0k.js} +2 -2
- package/dist/chunks/{file-zayyh8v9.js → git-g3dk9xws.js} +286 -286
- package/dist/chunks/{file-d1a1bt21.js → git-g41n1fn3.js} +5 -5
- package/dist/chunks/{file-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-7c5v0j0c.js → git-gfs7stvq.js} +37 -37
- package/dist/chunks/{file-2vr6qw2t.js → git-ggk96kdt.js} +4 -4
- package/dist/chunks/{file-cphm8864.js → git-gh7ynw45.js} +26 -26
- package/dist/chunks/{file-zsqrvtys.js → git-h25e6w8y.js} +11 -11
- package/dist/chunks/{file-pjv4tydt.js → git-h2xm238p.js} +40 -40
- package/dist/chunks/{file-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-299sgebr.js → git-hawqa09c.js} +6 -6
- package/dist/chunks/{file-heyhwy2w.js → git-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-y2cqme3r.js → git-hhpzk61m.js} +5 -5
- package/dist/chunks/git-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-7brcmqak.js → git-j0bvmw6p.js} +26 -26
- package/dist/chunks/{file-jfa9xx2h.js → git-j20qt8ny.js} +11 -11
- package/dist/chunks/{file-n74wxmgj.js → git-j3x781zd.js} +24 -24
- package/dist/chunks/{file-8gqmesmq.js → git-jfzpv47d.js} +18 -18
- package/dist/chunks/{file-039at7ym.js → git-jgwcdxcs.js} +52 -52
- package/dist/chunks/{file-cxmh4q5b.js → git-jj3qxa52.js} +4 -4
- package/dist/chunks/{file-ybkqd1n3.js → git-jndv8ypt.js} +17 -17
- package/dist/chunks/{file-y46gx2s1.js → git-jy77g1jk.js} +34 -34
- package/dist/chunks/{file-at5d07az.js → git-jzvp32eb.js} +4 -4
- package/dist/chunks/{file-x5hde6ee.js → git-k01ak1rc.js} +4 -4
- package/dist/chunks/{file-s1zptveq.js → git-k28yxd6c.js} +16 -16
- package/dist/chunks/{file-k4bwy1x5.js → git-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-0stjwqe4.js → git-k9snrmvg.js} +21 -21
- package/dist/chunks/{file-9q0nykm9.js → git-kcv7778q.js} +8 -8
- package/dist/chunks/{file-4pm2v5we.js → git-kebpsn0t.js} +17 -17
- package/dist/chunks/{file-kg06axw8.js → git-kg06axw8.js} +1 -1
- package/dist/chunks/{file-yfbd16n1.js → git-kk3rr3qh.js} +5 -5
- package/dist/chunks/{file-846hz14q.js → git-kp3pprh7.js} +37 -37
- package/dist/chunks/{file-kvsjn1dr.js → git-kvsjn1dr.js} +2 -2
- package/dist/chunks/{file-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-h87ag7w5.js → git-mab9d0v5.js} +17 -17
- package/dist/chunks/{file-2w6bfmvf.js → git-mcxg6pmm.js} +1 -1
- package/dist/chunks/{file-a4qa8wqs.js → git-mkanh8av.js} +7 -7
- package/dist/chunks/{file-gvha7d93.js → git-mkyvm1mp.js} +4 -4
- package/dist/chunks/{file-pkb840qh.js → git-mmj3jx9j.js} +18 -18
- package/dist/chunks/{file-kvbwxexe.js → git-n8xc4bye.js} +22 -22
- package/dist/chunks/{file-83y4b8f3.js → git-nnv36dam.js} +26 -26
- package/dist/chunks/{file-cmwz8vwc.js → git-nzk95x83.js} +17 -17
- package/dist/chunks/{file-dnej8pr8.js → git-paap86ds.js} +39 -39
- package/dist/chunks/{file-wp44g4g0.js → git-pfhdk2d4.js} +33 -33
- package/dist/chunks/{file-wfpv7nq4.js → git-pfnxmpv6.js} +5 -5
- package/dist/chunks/{file-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{file-5k43vb7t.js → git-q93h2s66.js} +22 -22
- package/dist/chunks/{file-bbmnv4wm.js → git-q9t1pswy.js} +29 -29
- package/dist/chunks/{file-sasz0x9t.js → git-qcnqc9zy.js} +11 -11
- package/dist/chunks/{file-6wj0fw5p.js → git-qd1dw6kz.js} +9 -9
- package/dist/chunks/{file-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{file-hd1k875y.js → git-qta1pbte.js} +13 -13
- package/dist/chunks/{file-qvbcabdc.js → git-qvbcabdc.js} +2 -2
- package/dist/chunks/{file-zm9gec2w.js → git-qyhzj9g1.js} +1 -1
- package/dist/chunks/{file-z24np7d0.js → git-qzw8yrfq.js} +80 -80
- package/dist/chunks/{file-r8dhm0tv.js → git-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-w2svwm21.js → git-rc2f37hd.js} +4 -4
- package/dist/chunks/{file-yt9k9kep.js → git-rdsqqr2s.js} +17 -17
- package/dist/chunks/{file-9kedy7gd.js → git-rft8amsn.js} +8 -8
- package/dist/chunks/{file-aj7d9r5a.js → git-rmy3e5eg.js} +3 -3
- package/dist/chunks/{file-pae9v2p1.js → git-rpstmqvz.js} +8 -8
- package/dist/chunks/{file-rr09hbad.js → git-rq5pxryv.js} +14 -14
- package/dist/chunks/{file-505p5ry7.js → git-rzsjt7my.js} +18 -18
- package/dist/chunks/{file-n8b48r5j.js → git-s0vczy7e.js} +23 -23
- package/dist/chunks/{file-1mrma768.js → git-s141a68e.js} +5 -5
- package/dist/chunks/{file-pt7wq7x0.js → git-s3eqpch7.js} +1 -1
- package/dist/chunks/{file-6z5bwd8g.js → git-saak5ttd.js} +6 -6
- package/dist/chunks/{file-sba4qhjf.js → git-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-w7w8snw9.js → git-snakeby2.js} +16 -16
- package/dist/chunks/{file-z4g5hq89.js → git-snxw7857.js} +4 -4
- package/dist/chunks/{file-83ahk2p0.js → git-sskteryb.js} +7 -7
- package/dist/chunks/{file-mzj39jhy.js → git-swp4cd5a.js} +13 -13
- package/dist/chunks/{file-bf0m6253.js → git-sxyem01p.js} +18 -18
- package/dist/chunks/{file-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-wr7ps67x.js → git-tdpndm1c.js} +5 -5
- package/dist/chunks/{file-ys11an52.js → git-thre64ft.js} +32 -32
- package/dist/chunks/{file-tjykrgmx.js → git-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-n7x59t33.js → git-tzw81pya.js} +7 -7
- package/dist/chunks/{file-eg4pr325.js → git-v08zexc0.js} +3 -3
- package/dist/chunks/{file-a3x9xvd8.js → git-vep9yay1.js} +4 -4
- package/dist/chunks/{file-23k12ske.js → git-vy6f12p8.js} +24 -24
- package/dist/chunks/{file-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{file-1bwaarmf.js → git-wgxn7ww3.js} +4 -4
- package/dist/chunks/{file-m7swqrpa.js → git-wv35vjx4.js} +4 -4
- package/dist/chunks/{file-dmbj5zzd.js → git-wyydh2b2.js} +11 -11
- package/dist/chunks/{file-kdbt5zd5.js → git-x0w2mwfz.js} +21 -21
- package/dist/chunks/{file-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-vkvd3v5t.js → git-xky9ppev.js} +23 -23
- package/dist/chunks/{file-pcbfkwsm.js → git-xpqkh19y.js} +9 -9
- package/dist/chunks/{file-xx7w2pvd.js → git-xqfjvwcm.js} +12 -12
- package/dist/chunks/{file-jnmmvqjs.js → git-xqsy6kp0.js} +1 -1
- package/dist/chunks/{file-36dr8np1.js → git-xqych8xx.js} +19 -19
- package/dist/chunks/{file-wvjdj7gf.js → git-xtcz8ppp.js} +15 -15
- package/dist/chunks/{file-4kkev07m.js → git-y01np14z.js} +17 -17
- package/dist/chunks/{file-07zcvmjy.js → git-y10z6ja5.js} +19 -19
- package/dist/chunks/{file-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-bbe0cwvp.js → git-y2ccy3rm.js} +3 -3
- package/dist/chunks/{file-qtdtxcz9.js → git-y3pv78j9.js} +4 -4
- package/dist/chunks/{file-dn45ghjm.js → git-y5dvpqkh.js} +43 -43
- package/dist/chunks/{file-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{file-2xhecwrj.js → git-yaec1nge.js} +7 -7
- package/dist/chunks/{file-yg7sb877.js → git-yg7sb877.js} +2 -2
- package/dist/chunks/{file-jb94zsvm.js → git-ygd99mp3.js} +11 -11
- package/dist/chunks/{file-fy6n5twb.js → git-ykcesz1b.js} +4 -4
- package/dist/chunks/{file-awwf2q6q.js → git-yrmm4d0n.js} +25 -25
- package/dist/chunks/{file-gzx8e7f9.js → git-yt248q8q.js} +4 -4
- package/dist/chunks/{file-1z4eqvhn.js → git-ytqcjkjx.js} +6 -6
- package/dist/chunks/{file-5cv0gs8q.js → git-z109bg2r.js} +23 -23
- package/dist/chunks/{file-z1k01bn4.js → git-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-df22f43k.js → git-z56ty9r2.js} +15 -15
- package/dist/chunks/{file-rc7d13hc.js → git-z8f0y67p.js} +17 -17
- package/dist/chunks/{file-n5pq9vwt.js → git-zeapr5n1.js} +11 -11
- package/dist/chunks/{file-gc9s900x.js → git-zhyn27n2.js} +25 -25
- package/dist/chunks/{file-71dvh6yx.js → git-zjbrkj3w.js} +146 -146
- package/dist/chunks/{file-zajwd6at.js → git-zn2pq4p8.js} +5 -5
- package/dist/chunks/{file-6h024qyg.js → git-zpwsjmm7.js} +15 -15
- package/dist/chunks/{file-00hg641b.js → git-zwasfec5.js} +19 -19
- package/dist/chunks/{file-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-2tms25w5.js → git-zypqn6cf.js} +25 -25
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +110 -110
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +74 -74
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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-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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +3 -3
- 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 +7 -7
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- 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 +81 -81
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +6 -6
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- 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 +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +205 -205
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +116 -116
- 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.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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/file-f4j0pa50.js +0 -4
- package/dist/chunks/file-qtk180zb.js +0 -22
- package/dist/chunks/file-rap9a73h.js +0 -18
- /package/dist/chunks/{file-0fabt78z.js → git-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3t738kvx.js → git-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-41nvscxy.js → git-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-5xfzsdsy.js → git-5xfzsdsy.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-982e01ww.js → git-982e01ww.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a1tpkmh4.js → git-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mntxs535.js → git-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-p8qxwesx.js → git-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-se0s1eqw.js → git-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x1b8g1yb.js → git-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → git-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-zbjnn3ac.js → git-zbjnn3ac.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info23
|
|
6
|
+
} from "./git-b5gjhjfs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent4 = {};
|
|
13
13
|
__export(exports_agent4, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent4,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info22
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info23)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info22 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info22, exports_agent4 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-4z6b0fg6.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/amazon-bedrock.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -88,7 +88,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
88
88
|
evt.sdk = mod.createAmazonBedrock(options);
|
|
89
89
|
}));
|
|
90
90
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
91
|
-
if (evt.model.providerID !==
|
|
91
|
+
if (evt.model.providerID !== ID18.amazonBedrock)
|
|
92
92
|
return;
|
|
93
93
|
if (isAISDK2(evt.model.package) && packageName2(evt.model.package) === "@ai-sdk/amazon-bedrock/mantle") {
|
|
94
94
|
evt.language = selectMantleModel(evt.sdk, evt.model.modelID ?? evt.model.id);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID7
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-xtcz8ppp.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info22
|
|
9
|
+
} from "./git-rft8amsn.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-ykcesz1b.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./git-em41q4xm.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./git-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin39
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info22);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin39 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service71;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin39, exports_agent2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-4z6b0fg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID17,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info31,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-3wfq9j39.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID18.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID17.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID17.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info31.make({
|
|
92
|
+
...Info31.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID17.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info32
|
|
5
|
+
} from "./git-4z6b0fg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info31
|
|
8
|
+
} from "./git-3wfq9j39.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-0qhj2dys.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
17
|
ID9,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service58,
|
|
19
|
+
node62
|
|
20
|
+
} from "./git-6xaf4e55.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
|
+
Service: () => Service57,
|
|
31
|
+
node: () => node61
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode-ai/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event11 } from "@opencode-ai/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service57 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service58;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
71
71
|
let current = editor.providers.get(providerID);
|
|
72
72
|
if (!current) {
|
|
73
73
|
current = {
|
|
74
|
-
provider:
|
|
74
|
+
provider: Info32.empty(providerID),
|
|
75
75
|
models: new Map
|
|
76
76
|
};
|
|
77
77
|
editor.providers.set(providerID, current);
|
|
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
89
89
|
let record = editor.providers.get(providerID);
|
|
90
90
|
if (!record) {
|
|
91
91
|
record = {
|
|
92
|
-
provider:
|
|
92
|
+
provider: Info32.empty(providerID),
|
|
93
93
|
models: new Map
|
|
94
94
|
};
|
|
95
95
|
editor.providers.set(providerID, record);
|
|
96
96
|
}
|
|
97
|
-
const model = record.models.get(modelID) ??
|
|
97
|
+
const model = record.models.get(modelID) ?? Info31.default(providerID, modelID);
|
|
98
98
|
if (!record.models.has(modelID))
|
|
99
99
|
record.models.set(modelID, model);
|
|
100
100
|
fn(model);
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
183
183
|
})
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
-
return
|
|
186
|
+
return Service57.of(result);
|
|
187
187
|
}));
|
|
188
188
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
189
|
-
var
|
|
189
|
+
var node61 = makeLocationNode({ service: Service57, layer, deps: [node84, node62] });
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Service57, node61, exports_catalog2, Event11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info18 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info19 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info18, exports_provider2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
10
10
|
__export(exports_mcp, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.filterStatusOk(http).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-0qhj2dys.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-p8qxwesx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Ref3,
|
|
11
11
|
Service76,
|
|
12
12
|
node81
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-hawqa09c.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service13,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node17
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode-ai/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode-ai/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
29
29
|
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service13 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
44
|
const location = yield* Service76;
|
|
45
|
-
const ref =
|
|
45
|
+
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const callContext = {
|
|
47
47
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
48
48
|
};
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
81
81
|
const event = registered.event;
|
|
82
82
|
const data = yield* encode(event.schema, args[1]);
|
|
83
83
|
return yield* bus.publish(registered.definition, data, {
|
|
84
|
-
location:
|
|
84
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
85
85
|
}).pipe(Effect.asVoid);
|
|
86
86
|
})
|
|
87
87
|
}
|
|
@@ -120,14 +120,14 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return Service13.of({ register, call, client });
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
125
|
+
var node17 = makeLocationNode({ service: Service13, layer, deps: [node84, node81] });
|
|
126
126
|
var fields = {
|
|
127
127
|
id: Event.ID,
|
|
128
128
|
created: Schema.Finite,
|
|
129
129
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
130
|
-
location: optional2(
|
|
130
|
+
location: optional2(Ref3)
|
|
131
131
|
};
|
|
132
132
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
133
133
|
var jsonSchemas = new WeakMap;
|
|
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
203
203
|
...payload,
|
|
204
204
|
type: eventType(definition, name),
|
|
205
205
|
data,
|
|
206
|
-
location:
|
|
206
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { Service13, node17, exports_rpc, define2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-sxyem01p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,9 +8,9 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured6,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer19,
|
|
12
12
|
make: () => make18,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node56,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make18(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node56 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make18, useragent2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer19, configured6, node56, exports_app };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./git-9jtnr53s.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-28pcbh69.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-p8qxwesx.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service46
|
|
13
|
+
} from "./git-j3x781zd.js";
|
|
14
14
|
import {
|
|
15
15
|
Service76
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-hawqa09c.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin44
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin44 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service46;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service76;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service72;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin44, exports_instruction };
|