@opencode/core 0.0.0-dev-241 → 0.0.0-dev-248
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 +92 -92
- package/dist/aisdk-native.js +100 -100
- package/dist/aisdk.js +106 -106
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -78
- package/dist/chunks/{form-034tev2y.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{form-bd58n5m3.js → image-04dwygev.js} +31 -31
- package/dist/chunks/{form-1fy8p9jc.js → image-0hq318p0.js} +21 -21
- package/dist/chunks/{form-7r72dc1g.js → image-0tdbgf6t.js} +12 -12
- package/dist/chunks/{form-7e0vrbjb.js → image-0v1smhm7.js} +57 -57
- package/dist/chunks/{form-cnac7q8x.js → image-10gwmmpt.js} +14 -14
- package/dist/chunks/{form-8jztxfpf.js → image-11hfp36g.js} +4 -4
- package/dist/chunks/{form-47xk0geh.js → image-1bf8edtk.js} +16 -16
- package/dist/chunks/{form-1ep2p91f.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-g85b9q37.js → image-1sd3wnkk.js} +12 -12
- package/dist/chunks/{form-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{form-1yq9hg58.js → image-1yq9hg58.js} +1 -1
- package/dist/chunks/{form-ng3j8dj2.js → image-1z3wvqve.js} +9 -9
- package/dist/chunks/{form-204s3925.js → image-204s3925.js} +1 -1
- package/dist/chunks/{form-dtg3e95z.js → image-20pjvqtm.js} +12 -12
- package/dist/chunks/{form-hjhf5s4p.js → image-25f6p34y.js} +24 -24
- package/dist/chunks/{form-25h84942.js → image-25h84942.js} +1 -1
- package/dist/chunks/{form-26x8chrq.js → image-26x8chrq.js} +3 -3
- package/dist/chunks/{form-ebc2yafe.js → image-28yqhrns.js} +5 -5
- package/dist/chunks/{form-d877pmrn.js → image-2ap97v08.js} +15 -15
- package/dist/chunks/image-2dkjcnxp.js +18 -0
- package/dist/chunks/{form-mp850hqc.js → image-2haa1nrw.js} +4 -4
- package/dist/chunks/{form-a97jh5ay.js → image-2m7vd2mn.js} +28 -28
- package/dist/chunks/{form-d4z67fwt.js → image-2skrxz14.js} +16 -16
- package/dist/chunks/{form-5gse0r5n.js → image-2xwjc3g5.js} +8 -8
- package/dist/chunks/{form-fn32zha6.js → image-32epp8e4.js} +9 -9
- package/dist/chunks/{form-a2yfqhnm.js → image-39m5thjs.js} +34 -34
- package/dist/chunks/{form-h9mc95dv.js → image-3ajqprdg.js} +32 -32
- package/dist/chunks/{form-k67dv3fj.js → image-3bks771a.js} +27 -27
- package/dist/chunks/{form-eeejwcqn.js → image-3gst0kgm.js} +12 -12
- package/dist/chunks/{form-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-dpb98s6z.js → image-3jrww01t.js} +50 -54
- package/dist/chunks/{form-6xqtcmxs.js → image-3kdbrncp.js} +5 -5
- package/dist/chunks/{form-8cbkaxar.js → image-3qcna5dk.js} +3 -3
- package/dist/chunks/{form-caxfsg60.js → image-3rt29ewr.js} +17 -17
- package/dist/chunks/{form-c9cgbm0j.js → image-3t9dgkdy.js} +11 -11
- package/dist/chunks/{form-hcawp3ym.js → image-3w0ntz8g.js} +9 -9
- package/dist/chunks/{form-sxjfgefz.js → image-3y081v33.js} +54 -54
- package/dist/chunks/{form-4e78z1nw.js → image-47tv8dfp.js} +15 -15
- package/dist/chunks/{form-s3bc4aa5.js → image-4c3xmdam.js} +35 -35
- package/dist/chunks/{form-bxsgj37y.js → image-4eqwcsj2.js} +15 -15
- package/dist/chunks/{form-kjt9j6hq.js → image-4hhk1wq5.js} +30 -30
- package/dist/chunks/{form-e9fqtmvn.js → image-4mkdw68v.js} +6 -6
- package/dist/chunks/{form-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
- package/dist/chunks/{form-pq2gn7y4.js → image-4tkxmvmj.js} +8 -8
- package/dist/chunks/{form-rva7ahw2.js → image-4tpjns74.js} +8 -8
- package/dist/chunks/{form-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{form-dbn5ca56.js → image-4vb4pv6c.js} +4 -4
- package/dist/chunks/{form-qekva0d7.js → image-4x8zw6t1.js} +6 -6
- package/dist/chunks/{form-kpgx0vyx.js → image-51y3dyvd.js} +7 -7
- package/dist/chunks/{form-cj0rt5w2.js → image-58d281yc.js} +18 -18
- package/dist/chunks/{form-k5h0kew3.js → image-59few21w.js} +36 -36
- package/dist/chunks/{form-kqxn4pnr.js → image-5cdcvw12.js} +5 -5
- package/dist/chunks/{form-5enarcya.js → image-5enarcya.js} +2 -2
- package/dist/chunks/{form-jhc11j6v.js → image-5f9y2yjb.js} +5 -5
- package/dist/chunks/{form-syd5ygf3.js → image-5gmpzygr.js} +13 -13
- package/dist/chunks/{form-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-e865fpdn.js → image-5sb780hn.js} +12 -12
- package/dist/chunks/{form-9mesydma.js → image-5v2ww1a5.js} +15 -15
- package/dist/chunks/{form-j3ahjss5.js → image-5v3yzjvk.js} +35 -35
- package/dist/chunks/{form-wewy9wfm.js → image-5y4p2mbw.js} +10 -10
- package/dist/chunks/{form-3ve3e0bk.js → image-67eerw5j.js} +10 -10
- package/dist/chunks/{form-x1wbs47z.js → image-67xt1syw.js} +21 -21
- package/dist/chunks/{form-sxramexz.js → image-6b5m6t85.js} +13 -13
- package/dist/chunks/{form-6esdw8yj.js → image-6esdw8yj.js} +1 -1
- package/dist/chunks/{form-saap6htg.js → image-6khf956j.js} +17 -17
- package/dist/chunks/{form-344ymb5t.js → image-6m42rt11.js} +28 -28
- package/dist/chunks/{form-bn194m36.js → image-6r8yaq0c.js} +11 -11
- package/dist/chunks/{form-rwpnrpr8.js → image-6v2f7dvw.js} +4 -4
- package/dist/chunks/{form-76cb1hcw.js → image-76cb1hcw.js} +1 -1
- package/dist/chunks/{form-t925je5x.js → image-7bcfrs2x.js} +6 -6
- package/dist/chunks/{form-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-wg881gmg.js → image-7f054j3n.js} +7 -7
- package/dist/chunks/{form-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{form-zf08ma9p.js → image-7x8d5pk9.js} +33 -33
- package/dist/chunks/{form-164bbpt7.js → image-7zwtd1t5.js} +30 -30
- package/dist/chunks/{form-9f6y0syf.js → image-816kk8rv.js} +10 -5
- package/dist/chunks/{form-c7b37yvv.js → image-86fy72ae.js} +14 -14
- package/dist/chunks/{form-maemcbqj.js → image-86g1pe6q.js} +22 -22
- package/dist/chunks/{form-a44gt5xs.js → image-89embc53.js} +6 -6
- package/dist/chunks/{form-cegg4nag.js → image-89ycw09x.js} +24 -24
- package/dist/chunks/{form-56xpzs9c.js → image-8b714bza.js} +8 -8
- package/dist/chunks/{form-n97mvkbq.js → image-8g8ajnhh.js} +6 -6
- package/dist/chunks/{form-r5gq5fkx.js → image-8gxv70g9.js} +88 -88
- package/dist/chunks/{form-2bgp64vn.js → image-8jf3czjf.js} +23 -23
- package/dist/chunks/{form-4wc1e944.js → image-8nkb1bb0.js} +24 -24
- package/dist/chunks/{form-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{form-ypzz06n9.js → image-8ykqf5wm.js} +11 -11
- package/dist/chunks/{form-a5qbrk1x.js → image-8zgx0mk8.js} +12 -12
- package/dist/chunks/{form-90zstvax.js → image-90zstvax.js} +1 -1
- package/dist/chunks/{form-yp23a5z4.js → image-92zdzejd.js} +19 -19
- package/dist/chunks/{form-0dfv01xh.js → image-9b00c1fb.js} +5 -5
- package/dist/chunks/{form-e8jekyry.js → image-9f3sjfep.js} +9 -9
- package/dist/chunks/{form-bpmnncyw.js → image-9grvd76r.js} +8 -8
- package/dist/chunks/{form-5gahmjy1.js → image-9sqzj7jg.js} +9 -9
- package/dist/chunks/{form-m34q2a8m.js → image-9vmwptcj.js} +30 -30
- package/dist/chunks/{form-1hc4tfsd.js → image-9ztt5qj6.js} +3 -3
- package/dist/chunks/{form-ka01146j.js → image-a4ww6fpm.js} +6 -6
- package/dist/chunks/{form-ymtvagr8.js → image-a862c78z.js} +21 -21
- package/dist/chunks/{form-g8a7cptb.js → image-ack5fry6.js} +21 -21
- package/dist/chunks/{form-16twya52.js → image-ag44vf4f.js} +8 -8
- package/dist/chunks/{form-ckrm4vaz.js → image-ahzw090p.js} +22 -22
- package/dist/chunks/{form-y02zb68m.js → image-avce3vrt.js} +10 -10
- package/dist/chunks/{form-5qjz8kxn.js → image-awtxj99r.js} +11 -11
- package/dist/chunks/{form-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{form-r2z4j37j.js → image-azte55v6.js} +2 -2
- package/dist/chunks/{form-nzbx2r18.js → image-b0nx2azr.js} +6 -6
- package/dist/chunks/{form-5nnwax6m.js → image-b6vsg801.js} +5 -5
- package/dist/chunks/{form-rw00jzn7.js → image-bdsr3j33.js} +17 -17
- package/dist/chunks/{form-eq53d4e8.js → image-bhdy8mdp.js} +24 -24
- package/dist/chunks/{form-qnf47mt5.js → image-bn6dytgp.js} +6 -6
- package/dist/chunks/{form-cecnk0g5.js → image-bqdeah0e.js} +23 -23
- package/dist/chunks/{form-bstexjd6.js → image-bstexjd6.js} +1 -1
- package/dist/chunks/{form-yn3pvg3g.js → image-c2az2pbz.js} +26 -26
- package/dist/chunks/{form-80d2zcb4.js → image-c4104nvq.js} +86 -86
- package/dist/chunks/{form-06b0dpwc.js → image-c44160y8.js} +4 -4
- package/dist/chunks/{form-c6x7d2ts.js → image-c6x7d2ts.js} +1 -1
- package/dist/chunks/{form-b1pn0vxn.js → image-c9t2ty9q.js} +4 -4
- package/dist/chunks/{form-n5jdsvnn.js → image-cje1pfpn.js} +29 -29
- package/dist/chunks/{form-cwrgdav8.js → image-cwrgdav8.js} +2 -2
- package/dist/chunks/{form-d4v9tmah.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{form-34czpf76.js → image-d8pnfqg9.js} +30 -30
- package/dist/chunks/{form-fq8z76yw.js → image-de8e9e1p.js} +6 -6
- package/dist/chunks/{form-2hz06pja.js → image-dgy090gd.js} +5 -5
- package/dist/chunks/{form-dt77769w.js → image-dt77769w.js} +1 -1
- package/dist/chunks/{form-3e3pzb31.js → image-dxw797sb.js} +11 -11
- package/dist/chunks/{form-ex68cs9x.js → image-e16ncx1j.js} +35 -35
- package/dist/chunks/{form-agqd6nxz.js → image-e2ne77ac.js} +4 -4
- package/dist/chunks/{form-8xqhc33s.js → image-e4v2mgyj.js} +10 -10
- package/dist/chunks/{form-ertcz5s1.js → image-e6v5qvkg.js} +11 -11
- package/dist/chunks/{form-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{form-gd8sx287.js → image-eahpwh8e.js} +4 -4
- package/dist/chunks/{form-bzgcjp3p.js → image-em6jm62j.js} +1 -1
- package/dist/chunks/{form-f01y088k.js → image-f01y088k.js} +2 -2
- package/dist/chunks/{form-wawq6c5s.js → image-f1qxk96b.js} +11 -11
- package/dist/chunks/{form-bnrmard3.js → image-f3d4492r.js} +13 -13
- package/dist/chunks/{form-qg4wfayj.js → image-f9vfey2v.js} +14 -14
- package/dist/chunks/{form-epbdechd.js → image-fe7b6z6g.js} +12 -12
- package/dist/chunks/{form-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{form-fg9p65nk.js → image-fg9p65nk.js} +2 -2
- package/dist/chunks/{form-hh288azd.js → image-frevgasg.js} +23 -23
- package/dist/chunks/{form-wdeh72fh.js → image-fskffsfd.js} +16 -16
- package/dist/chunks/{form-hef4msp3.js → image-fy9mjtsj.js} +17 -17
- package/dist/chunks/{form-fypmhnps.js → image-fypmhnps.js} +2 -2
- package/dist/chunks/{form-1rp9wec1.js → image-fysk4shs.js} +6 -6
- package/dist/chunks/{form-w687dnns.js → image-fznmdakp.js} +4 -4
- package/dist/chunks/{form-0zracm40.js → image-g6car740.js} +41 -41
- package/dist/chunks/{form-m37sd98t.js → image-g7esga4v.js} +7 -7
- package/dist/chunks/{form-qhwx0fdf.js → image-g8mt74n4.js} +20 -20
- package/dist/chunks/{form-g450zyfk.js → image-gacpt71r.js} +30 -30
- package/dist/chunks/{form-yzfcgkx8.js → image-gbjdk4c3.js} +23 -23
- package/dist/chunks/{form-t4y2eqtb.js → image-h3pnxjmh.js} +9 -9
- package/dist/chunks/{form-yckvrk0f.js → image-h4p3pyf8.js} +6 -6
- package/dist/chunks/{form-yewpp7ak.js → image-ha1g65f2.js} +11 -11
- package/dist/chunks/{form-xwhcj832.js → image-hcc6p5a3.js} +5 -5
- package/dist/chunks/{form-vjcm0c6v.js → image-heqea18d.js} +21 -21
- package/dist/chunks/{form-bmp8ftgp.js → image-hex7e87k.js} +11 -11
- package/dist/chunks/{form-hh7kjqtw.js → image-hh7kjqtw.js} +1 -1
- package/dist/chunks/{form-nfkjwrxk.js → image-hmthv8g3.js} +16 -16
- package/dist/chunks/{form-69vbzxa1.js → image-hp23tba8.js} +40 -40
- package/dist/chunks/{form-hpg1pkwy.js → image-hpg1pkwy.js} +1 -1
- package/dist/chunks/{form-hqxkkta1.js → image-hqxkkta1.js} +1 -1
- package/dist/chunks/{form-885474ts.js → image-hxh3sdms.js} +11 -11
- package/dist/chunks/{form-qd0p20n5.js → image-j0y2j2y9.js} +12 -12
- package/dist/chunks/{form-8q7qvvvm.js → image-j1k7c27p.js} +16 -16
- package/dist/chunks/{form-p32m2zja.js → image-j36nge33.js} +29 -29
- package/dist/chunks/{form-vr3x69az.js → image-j8ypmtmr.js} +12 -12
- package/dist/chunks/{form-vrcsa8qx.js → image-jcqm84fr.js} +9 -9
- package/dist/chunks/{form-jfaecv01.js → image-jfaecv01.js} +1 -1
- package/dist/chunks/{form-yc4xwjk4.js → image-jn88007r.js} +9 -9
- package/dist/chunks/{form-qkc3z5ds.js → image-jns4gqy7.js} +4 -4
- package/dist/chunks/{form-vzvvagw1.js → image-jqcfy5ts.js} +32 -32
- package/dist/chunks/{form-1kyyf73t.js → image-js1q3m86.js} +9 -9
- package/dist/chunks/{form-jtnps1zs.js → image-jtnps1zs.js} +2 -2
- package/dist/chunks/{form-mkcsvzvr.js → image-jy8nsvvz.js} +5 -5
- package/dist/chunks/{form-12ce349e.js → image-k0cyqgb5.js} +11 -11
- package/dist/chunks/{form-g1hcq0g8.js → image-k0e45ge6.js} +11 -11
- package/dist/chunks/{form-5w6nd1s8.js → image-k5jndtya.js} +1 -1
- package/dist/chunks/{form-k814nvkf.js → image-k814nvkf.js} +1 -1
- package/dist/chunks/{form-k9zkdd2y.js → image-k9zkdd2y.js} +1 -1
- package/dist/chunks/{form-225yscb7.js → image-kag6nkv4.js} +11 -11
- package/dist/chunks/{form-emk1tmq0.js → image-kee8ykx2.js} +8 -8
- package/dist/chunks/{form-c2t3ry2c.js → image-kprvh3r4.js} +18 -18
- package/dist/chunks/{form-1vseb64s.js → image-kqjfhnyk.js} +7 -7
- package/dist/chunks/{form-0z8aj9nb.js → image-kssbtbt0.js} +75 -75
- package/dist/chunks/{form-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
- package/dist/chunks/{form-pez63j8g.js → image-m11k789k.js} +15 -15
- package/dist/chunks/{form-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{form-p2d6jc5h.js → image-m409210a.js} +5 -5
- package/dist/chunks/{form-yjhf0rgk.js → image-m4rznpxk.js} +31 -31
- package/dist/chunks/{form-m528r48h.js → image-m528r48h.js} +1 -1
- package/dist/chunks/{form-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-mb7mbhnz.js → image-mb7mbhnz.js} +3 -3
- package/dist/chunks/{form-8pyh3h24.js → image-mg0htjxc.js} +30 -30
- package/dist/chunks/{form-mg356nz4.js → image-mg356nz4.js} +3 -3
- package/dist/chunks/{form-c8w8hrxy.js → image-mj7659ab.js} +22 -22
- package/dist/chunks/{form-5a6cq72k.js → image-n0ekdz40.js} +32 -32
- package/dist/chunks/{form-2zxqqy9n.js → image-n1c40vny.js} +3 -3
- package/dist/chunks/{form-08h3dm3g.js → image-n4r6va5a.js} +155 -155
- package/dist/chunks/{form-jheynnxb.js → image-n8x58739.js} +11 -11
- package/dist/chunks/{form-nah043kf.js → image-nah043kf.js} +1 -1
- package/dist/chunks/{form-gx6q6d4a.js → image-nhjb6w3d.js} +8 -8
- package/dist/chunks/{form-yp7f7fzt.js → image-njw1ekhc.js} +8 -8
- package/dist/chunks/{form-n37g9rz2.js → image-ntqnj75s.js} +4 -4
- package/dist/chunks/{form-yykjbrqt.js → image-nwarprta.js} +21 -21
- package/dist/chunks/{form-mdmwbg8j.js → image-nz92z2sf.js} +17 -17
- package/dist/chunks/{form-p015t6z3.js → image-p015t6z3.js} +2 -2
- package/dist/chunks/{form-apsqrt3t.js → image-p087ke4f.js} +38 -38
- package/dist/chunks/{form-f0q877ce.js → image-pd4ndcwr.js} +16 -16
- package/dist/chunks/{form-0geg3vaz.js → image-pebb1b2g.js} +9 -9
- package/dist/chunks/{form-nxbfjhca.js → image-penn2v67.js} +9 -9
- package/dist/chunks/{form-j0ft87f1.js → image-pf7dnjhv.js} +23 -23
- package/dist/chunks/{form-yd39j0pc.js → image-pfz9gkfy.js} +11 -11
- package/dist/chunks/{form-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{form-k950nrad.js → image-pkx7b8zb.js} +16 -16
- package/dist/chunks/{form-ymvwqgy0.js → image-q0f5tnzd.js} +30 -30
- package/dist/chunks/{form-w2jxje39.js → image-q2akw4rt.js} +28 -28
- package/dist/chunks/{form-5m24a4sd.js → image-q4jmz9te.js} +22 -22
- package/dist/chunks/{form-y984veh1.js → image-q4rvt96e.js} +9 -9
- package/dist/chunks/{form-wwgpyqzb.js → image-q4zyxfy7.js} +5 -5
- package/dist/chunks/{form-r1r2wh37.js → image-q5gscbn2.js} +5 -5
- package/dist/chunks/{form-7fy0h8rf.js → image-qcsh9g2y.js} +11 -11
- package/dist/chunks/{form-0a7n7kwt.js → image-qeqspr7f.js} +3 -3
- package/dist/chunks/{form-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
- package/dist/chunks/{form-17nembyj.js → image-qp7zbdnj.js} +40 -40
- package/dist/chunks/{form-dpd69dnd.js → image-qqsnbxa9.js} +4 -4
- package/dist/chunks/{form-qqvy8y24.js → image-qqvy8y24.js} +1 -1
- package/dist/chunks/{form-ynk496q3.js → image-qqyrafx2.js} +7 -7
- package/dist/chunks/{form-jnndjjbg.js → image-qsv00416.js} +32 -32
- package/dist/chunks/{form-xq6beh0s.js → image-qy3khhnd.js} +24 -24
- package/dist/chunks/{form-cq4y0zvs.js → image-qz9nzpv7.js} +25 -25
- package/dist/chunks/{form-r542h3bh.js → image-r542h3bh.js} +1 -1
- package/dist/chunks/{form-30ae49hf.js → image-ra36q08n.js} +15 -15
- package/dist/chunks/{form-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{form-nxpp7t5x.js → image-rj53dkn5.js} +45 -45
- package/dist/chunks/{form-d0nww1bx.js → image-rnm2nekc.js} +5 -5
- package/dist/chunks/{form-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{form-w35wzz9x.js → image-s7kyse9r.js} +4 -4
- package/dist/chunks/{form-9x2ynd3b.js → image-s9r9y5yp.js} +15 -15
- package/dist/chunks/{form-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{form-2t5drfwv.js → image-seap89fc.js} +11 -11
- package/dist/chunks/{form-hnb1qy4e.js → image-sm9ekc7r.js} +9 -9
- package/dist/chunks/{form-sqjzf8x2.js → image-sqjzf8x2.js} +1 -1
- package/dist/chunks/{form-wy3fx33q.js → image-stv8d0fa.js} +30 -30
- package/dist/chunks/{form-svcy3p9a.js → image-svcy3p9a.js} +1 -1
- package/dist/chunks/{form-0kfnnbj0.js → image-t2rnpzgv.js} +14 -14
- package/dist/chunks/{form-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{form-8azpkpgk.js → image-tkm3ck5b.js} +320 -320
- package/dist/chunks/{form-3nnrz6f6.js → image-tmc7xdjs.js} +4 -4
- package/dist/chunks/{form-ywk1qbwj.js → image-tn1wjjkb.js} +4 -4
- package/dist/chunks/{form-za8zk8x5.js → image-trpj6qs6.js} +15 -15
- package/dist/chunks/{form-twssxy5n.js → image-twssxy5n.js} +2 -2
- package/dist/chunks/{form-q1dg5ken.js → image-v1zexmjw.js} +21 -21
- package/dist/chunks/{form-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{form-s8ecjhm6.js → image-v4ntjfa2.js} +25 -25
- package/dist/chunks/{form-9aqddysx.js → image-vk8647fk.js} +4 -4
- package/dist/chunks/{form-1ehhk9f8.js → image-vpfyxq3b.js} +25 -25
- package/dist/chunks/{form-vpm8vpz0.js → image-vx3jgdek.js} +2 -2
- package/dist/chunks/{form-rs8acqz3.js → image-w0sctsdt.js} +2 -2
- package/dist/chunks/{form-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{form-yk6ggz05.js → image-wec13qf8.js} +9 -9
- package/dist/chunks/{form-wnhgecwx.js → image-wnhgecwx.js} +1 -1
- package/dist/chunks/{form-hsdtatpb.js → image-wpv0pemx.js} +2 -2
- package/dist/chunks/{form-ra4wx1p6.js → image-wwv5we4j.js} +2 -2
- package/dist/chunks/{form-44bj7geh.js → image-wxae8jq7.js} +14 -14
- package/dist/chunks/{form-1q3qkd77.js → image-x219xq9r.js} +10 -10
- package/dist/chunks/{form-gbh3tqmh.js → image-x5jjnb31.js} +5 -5
- package/dist/chunks/{form-mdz0js77.js → image-xcx6w6h2.js} +3 -3
- package/dist/chunks/{form-3yz3az2p.js → image-xg3m3sfb.js} +161 -161
- package/dist/chunks/{form-xk2zn0cv.js → image-xk2zn0cv.js} +1 -1
- package/dist/chunks/{form-hh8z0h5r.js → image-xpryaxy7.js} +17 -17
- package/dist/chunks/{form-0m9q59s6.js → image-xsvq7cjt.js} +4 -4
- package/dist/chunks/{form-1kn6jdkn.js → image-xt0z8zst.js} +4 -4
- package/dist/chunks/{form-zrzd6936.js → image-xxbr9jsf.js} +26 -26
- package/dist/chunks/{form-qz087kyw.js → image-y6jzwgk6.js} +8 -8
- package/dist/chunks/{form-yara3q77.js → image-yara3q77.js} +2 -2
- package/dist/chunks/{form-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{form-21aep2yn.js → image-yc8ck43p.js} +3 -3
- package/dist/chunks/{form-ydsespw1.js → image-ydsespw1.js} +1 -1
- package/dist/chunks/{form-6wmf2q20.js → image-ydx4vg6d.js} +15 -15
- package/dist/chunks/{form-7bcs6f94.js → image-yhrdpjcs.js} +13 -13
- package/dist/chunks/{form-ymz7p2c9.js → image-ymz7p2c9.js} +3 -3
- package/dist/chunks/{form-z38nccrw.js → image-z38nccrw.js} +1 -1
- package/dist/chunks/{form-w5xp5sgq.js → image-z4vm3w9s.js} +18 -18
- package/dist/chunks/{form-dmb95mhx.js → image-zeytg9j8.js} +14 -14
- package/dist/chunks/{form-wxknf58s.js → image-zge8sn7n.js} +2 -2
- package/dist/chunks/{form-jvks6kr5.js → image-zm4870m6.js} +18 -18
- package/dist/chunks/{form-gdn6yz18.js → image-znxs0qdf.js} +25 -25
- package/dist/chunks/{form-zwt99n69.js → image-zp19ebaj.js} +18 -18
- package/dist/chunks/{form-eydhdpnx.js → image-zr9mjdac.js} +33 -33
- package/dist/chunks/image-zx247qgx.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +93 -93
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -110
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +165 -165
- package/dist/config/plugin/compatibility.js +145 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -125
- package/dist/config/plugin/image.js +124 -124
- package/dist/config/plugin/instruction.js +124 -124
- package/dist/config/plugin/location-watcher.js +126 -126
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +125 -125
- package/dist/config/plugin/reference.js +126 -126
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +141 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +124 -124
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +126 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +75 -75
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration.gen.js +58 -58
- package/dist/database/migration.js +60 -60
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +388 -388
- 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 +104 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +79 -79
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +105 -105
- package/dist/file-retention.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/file-watch.js +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -237
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +113 -113
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +98 -98
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +102 -102
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +379 -379
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +87 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -80
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +376 -376
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +102 -102
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +142 -142
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -84
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/goal.js +1 -1
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +349 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -108
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -102
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/configured.js +120 -120
- package/dist/plugin/provider/credential-settings.js +83 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -106
- package/dist/plugin/provider/gitlab.js +105 -105
- package/dist/plugin/provider/google-vertex.js +121 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -87
- package/dist/plugin/provider/lmstudio.js +133 -133
- package/dist/plugin/provider/local.js +130 -130
- package/dist/plugin/provider/modal.js +103 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -133
- package/dist/plugin/provider/openai-context-caps.js +101 -101
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +102 -102
- package/dist/plugin/provider/poe.js +88 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -123
- package/dist/plugin/provider/vllm.js +133 -133
- package/dist/plugin/provider/xai.js +102 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +365 -365
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +122 -122
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +235 -235
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -106
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +224 -224
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -123
- package/dist/session/command.js +83 -83
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +191 -191
- package/dist/session/diff.js +99 -99
- 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 +233 -233
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +193 -193
- package/dist/session/history.js +130 -130
- package/dist/session/inbox.js +143 -143
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +131 -131
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +158 -158
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +159 -159
- package/dist/session/projector.js +137 -137
- package/dist/session/prompt.js +143 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -133
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +144 -144
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +155 -155
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +173 -173
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +144 -144
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +136 -136
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +218 -218
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +193 -193
- package/dist/session/to-session-error.js +143 -143
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +224 -224
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +146 -146
- package/dist/skill.js +151 -151
- package/dist/snapshot.js +102 -102
- 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 +168 -168
- package/dist/tool/plugin/edit.js +159 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +163 -163
- package/dist/tool/plugin/grep.js +163 -163
- package/dist/tool/plugin/image-generate.js +232 -232
- package/dist/tool/plugin/mcp-resource.js +157 -157
- package/dist/tool/plugin/opencode.js +156 -156
- package/dist/tool/plugin/patch.js +155 -155
- package/dist/tool/plugin/question.js +141 -141
- package/dist/tool/plugin/read.js +164 -164
- package/dist/tool/plugin/schedule.js +222 -222
- package/dist/tool/plugin/shell.js +223 -223
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +227 -227
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +150 -150
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +159 -159
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +1 -1
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +103 -103
- 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/variant.js +102 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +97 -97
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -100
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/form-1kh93h0h.js +0 -26
- package/dist/chunks/form-6zjm2phc.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kah00gy.js → image-1kah00gy.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5w3e23ze.js → image-5w3e23ze.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-7stb81gk.js → image-7stb81gk.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a058387c.js → image-a058387c.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-beh6qq61.js → image-beh6qq61.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-ncqqe42p.js → image-ncqqe42p.js} +0 -0
- /package/dist/chunks/{form-nh4v3znn.js → image-nh4v3znn.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-p71gwv9c.js → image-p71gwv9c.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qgfkghh1.js → image-qgfkghh1.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ty7weeps.js → image-ty7weeps.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-tn1wjjkb.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-xk2zn0cv.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
Service83,
|
|
15
15
|
node87,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-4x8zw6t1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node82
|
|
21
|
+
} from "./image-1bf8edtk.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_provider3, {
|
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
34
|
Event: () => Event16,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID13,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node76,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -333,7 +333,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
|
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
335
|
import { Event as Event16 } from "@opencode/schema/provider";
|
|
336
|
-
var
|
|
336
|
+
var ID13 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info22 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service74, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service86;
|
|
597
597
|
const integrations = yield* Service83;
|
|
598
|
-
const location = yield*
|
|
598
|
+
const location = yield* Service79;
|
|
599
599
|
const state = create3({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -714,7 +714,7 @@ var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
716
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
-
return
|
|
717
|
+
return Service74.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service79, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node76 = makeLocationNode({ service: Service74, layer, deps: [node90, node87, node82] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info22, Service74, node76, exports_provider3, Event16 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load6
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-ncqqe42p.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service71,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer24,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
22
|
node: () => node73,
|
|
23
23
|
testLayer: () => testLayer3
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service71 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service71.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service71.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service71).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service71, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -155,10 +155,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
155
155
|
}
|
|
156
156
|
}));
|
|
157
157
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
158
|
-
function
|
|
159
|
-
return makeGlobalNode({ service:
|
|
158
|
+
function configured9(options) {
|
|
159
|
+
return makeGlobalNode({ service: Service71, layer: layer24(options), deps: [nativeNode] });
|
|
160
160
|
}
|
|
161
|
-
var node73 =
|
|
161
|
+
var node73 = configured9();
|
|
162
162
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
163
163
|
if (!native || !backend) {
|
|
164
164
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
178
178
|
}).pipe(Effect.as(undefined))));
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export { hasNativeBinding2, Native3,
|
|
181
|
+
export { hasNativeBinding2, Native3, Service71, Test3, layer24, testLayer3, nativeLayer2, configured9, node73, exports_watcher };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./image-ahzw090p.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./image-2m7vd2mn.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./image-zr9mjdac.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-vx3jgdek.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service45
|
|
17
|
+
} from "./image-ydx4vg6d.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service65
|
|
21
|
+
} from "./image-7x8d5pk9.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service21
|
|
24
|
+
} from "./image-c4104nvq.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./image-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
29
|
Service12
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-kag6nkv4.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin43,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
42
|
description: () => description2,
|
|
43
|
-
name: () =>
|
|
43
|
+
name: () => name6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name6 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input3 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,15 +86,15 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin43 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service21;
|
|
93
|
+
const jobs = yield* Service45;
|
|
94
|
+
const agents = yield* Service68;
|
|
95
|
+
const config = yield* Service70;
|
|
96
|
+
const permission = yield* Service65;
|
|
97
|
+
const models = yield* Service73;
|
|
98
98
|
const subagents = yield* Service12;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -117,11 +117,11 @@ var Plugin39 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name6,
|
|
121
121
|
options: { codemode: false },
|
|
122
122
|
description: description2,
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
123
|
+
input: Input6,
|
|
124
|
+
output: Output5,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin39 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name6,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name6 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name6];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name6, Input6, Output5, description2, Plugin43, exports_subagent };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-pfz9gkfy.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-tn1wjjkb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19,
|
|
10
10
|
Service84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-hcc6p5a3.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-4x8zw6t1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-nwarprta.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./image-2m7vd2mn.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./image-tmc7xdjs.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./image-bn6dytgp.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,7 +43,7 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
47
|
var integrationID = ID17.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
@@ -226,7 +226,7 @@ var ChatGPTPlugin2 = define({
|
|
|
226
226
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
227
227
|
return;
|
|
228
228
|
}));
|
|
229
|
-
evt.headers["session-id"] = session ?
|
|
229
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
230
230
|
evt.headers["thread-id"] = evt.sessionID;
|
|
231
231
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
232
232
|
}), { providerID });
|
|
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
|
|
|
327
327
|
const found = byID.get(model.modelID);
|
|
328
328
|
return found ? [deriveModel(found, model)] : [];
|
|
329
329
|
}),
|
|
330
|
-
...remote.filter((model) => !known.has(
|
|
330
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
331
331
|
];
|
|
332
332
|
}
|
|
333
333
|
function deriveModel(remote, previous) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-n1c40vny.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service75,
|
|
17
17
|
node: () => node77
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service75 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service87).db;
|
|
26
|
-
return
|
|
26
|
+
return Service75.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var node77 = makeGlobalNode({ service:
|
|
54
|
+
var node77 = makeGlobalNode({ service: Service75, layer, deps: [node91] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service75, node77, exports_kv };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./image-nz92z2sf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./image-zr9mjdac.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-ymz7p2c9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
@@ -32,8 +32,8 @@ import path from "path";
|
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
34
|
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
35
|
+
const config = yield* Service70;
|
|
36
|
+
const watcher = yield* Service71;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|