@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,36 +1,36 @@
|
|
|
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
15
|
Service83
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-4x8zw6t1.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-yb20nhc3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./image-nwarprta.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-bn6dytgp.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
34
|
var integrationID = ID17.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node85
|
|
5
|
+
} from "./image-pfz9gkfy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node71
|
|
9
|
+
} from "./image-y6jzwgk6.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-7x8d5pk9.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-sm9ekc7r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error3
|
|
18
|
+
} from "./image-25f6p34y.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get4
|
|
21
|
+
} from "./image-tmc7xdjs.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service27,
|
|
24
|
+
node30
|
|
25
|
+
} from "./image-n8x58739.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make14
|
|
28
|
+
} from "./image-g7esga4v.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-azte55v6.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./image-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service26,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer11,
|
|
44
|
+
node: () => node29,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -78,7 +78,7 @@ var baseTranscript2 = (input) => {
|
|
|
78
78
|
return {
|
|
79
79
|
providerMetadataKey,
|
|
80
80
|
system: [
|
|
81
|
-
input.agent.system ? input.agent.system :
|
|
81
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
82
82
|
input.initial
|
|
83
83
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
84
84
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -159,11 +159,11 @@ var boundImages2 = (messages) => {
|
|
|
159
159
|
});
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
163
163
|
}
|
|
164
|
-
var
|
|
165
|
-
const hooks = yield*
|
|
166
|
-
const transport = yield*
|
|
164
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
165
|
+
const hooks = yield* Service69;
|
|
166
|
+
const transport = yield* Service27;
|
|
167
167
|
const app = yield* Metadata2;
|
|
168
168
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
169
169
|
const session = input.session;
|
|
@@ -171,7 +171,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
171
171
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
172
172
|
const tools = input.tools ?? {
|
|
173
173
|
definitions: [],
|
|
174
|
-
execute: () => new
|
|
174
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
175
175
|
};
|
|
176
176
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
177
177
|
const shaped = yield* shape({
|
|
@@ -189,7 +189,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
189
189
|
const entries = Object.entries(shaped.options);
|
|
190
190
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
191
191
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
192
|
-
const affinity =
|
|
192
|
+
const affinity = get4(session);
|
|
193
193
|
const base = LLM.request({
|
|
194
194
|
model: model.model,
|
|
195
195
|
http: {
|
|
@@ -262,17 +262,17 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
262
262
|
};
|
|
263
263
|
});
|
|
264
264
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
265
|
-
return
|
|
265
|
+
return Service26.of({
|
|
266
266
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
267
267
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
268
268
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
269
269
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
274
|
-
layer:
|
|
275
|
-
deps: [
|
|
272
|
+
var node29 = makeLocationNode({
|
|
273
|
+
service: Service26,
|
|
274
|
+
layer: layer11,
|
|
275
|
+
deps: [node71, node30, node85]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
278
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service26, layer11, node29, exports_model_request };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-tn1wjjkb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
node86
|
|
8
|
-
} from "./form-dtg3e95z.js";
|
|
9
|
-
import {
|
|
10
|
-
Service80,
|
|
6
|
+
Service81,
|
|
11
7
|
node84
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./image-20pjvqtm.js";
|
|
9
|
+
import {
|
|
10
|
+
Service79,
|
|
11
|
+
node82
|
|
12
|
+
} from "./image-1bf8edtk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service71,
|
|
15
15
|
node73
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-nz92z2sf.js";
|
|
17
17
|
import {
|
|
18
18
|
awaitActivation2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-2dkjcnxp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./image-z4vm3w9s.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node12
|
|
26
|
+
} from "./image-9f3sjfep.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service9,
|
|
36
|
+
node: () => node11
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service71;
|
|
48
48
|
const bus = yield* Service86;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service9.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node11 = makeLocationNode({
|
|
106
|
+
service: Service9,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [node73, FSUtil.node,
|
|
108
|
+
deps: [node73, FSUtil.node, node82, node84, node90, node23, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service9, node11, exports_location_watcher2 };
|
|
@@ -2,34 +2,34 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./image-1bf8edtk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./image-89ycw09x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./image-5v2ww1a5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-f3d4492r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./image-7x8d5pk9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service18,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-vpfyxq3b.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./image-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
@@ -38,9 +38,9 @@ __export(exports_patch, {
|
|
|
38
38
|
Input: () => Input13,
|
|
39
39
|
Output: () => Output9,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin52,
|
|
42
42
|
name: () => name13,
|
|
43
|
-
toModelContent: () =>
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -100,20 +100,20 @@ var Output9 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin52 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service77;
|
|
112
|
+
const access = yield* Service18;
|
|
113
|
+
const fileMutation = yield* Service14;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name13,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
@@ -285,7 +285,7 @@ var Plugin51 = {
|
|
|
285
285
|
return { applied, files };
|
|
286
286
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
287
287
|
output,
|
|
288
|
-
content:
|
|
288
|
+
content: toModelContent6(output),
|
|
289
289
|
metadata: { files: output.files }
|
|
290
290
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
291
291
|
}
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export { name13, Input13, Applied2, Output9,
|
|
348
|
+
export { name13, Input13, Applied2, Output9, toModelContent6, Plugin52, exports_patch };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./image-nz92z2sf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./image-zr9mjdac.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-fysk4shs.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin12 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service70;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service71;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin12, exports_compatibility };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref3,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./image-2m7vd2mn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./image-zr9mjdac.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./image-89ycw09x.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-gftt206x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./image-7x8d5pk9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service18
|
|
22
|
+
} from "./image-vpfyxq3b.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service35
|
|
25
|
+
} from "./image-mg0htjxc.js";
|
|
26
26
|
import {
|
|
27
27
|
text3
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-25h84942.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service45
|
|
31
|
+
} from "./image-ydx4vg6d.js";
|
|
32
32
|
import {
|
|
33
33
|
detect2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./image-4pyp9zr9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service21
|
|
37
|
+
} from "./image-c4104nvq.js";
|
|
38
38
|
import {
|
|
39
39
|
collectBoundedResponseBody2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./image-3v8g72cx.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./image-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/tool/plugin/image-generate.ts
|
|
46
46
|
var exports_image_generate = {};
|
|
47
47
|
__export(exports_image_generate, {
|
|
48
48
|
ImageGenerateTool: () => exports_image_generate,
|
|
49
|
-
Input: () =>
|
|
49
|
+
Input: () => Input12,
|
|
50
50
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
51
|
-
Output: () =>
|
|
52
|
-
Plugin: () =>
|
|
51
|
+
Output: () => Output8,
|
|
52
|
+
Plugin: () => Plugin51,
|
|
53
53
|
defaultModel: () => defaultModel2,
|
|
54
|
-
description: () =>
|
|
55
|
-
name: () =>
|
|
54
|
+
description: () => description6,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import path from "path";
|
|
58
58
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -60,7 +60,7 @@ import { Identifier } from "@opencode/schema/identifier";
|
|
|
60
60
|
import { Global } from "@opencode/util/global";
|
|
61
61
|
import { Duration, Effect, Schema, Scope, Stream } from "effect";
|
|
62
62
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
63
|
-
var
|
|
63
|
+
var name12 = "experimental_image_generate";
|
|
64
64
|
var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
|
|
65
65
|
var DOWNLOAD_TIMEOUT = Duration.seconds(30);
|
|
66
66
|
var GENERATE_TIMEOUT = Duration.minutes(30);
|
|
@@ -71,16 +71,16 @@ var EXTENSIONS = {
|
|
|
71
71
|
"image/webp": ".webp",
|
|
72
72
|
"image/gif": ".gif"
|
|
73
73
|
};
|
|
74
|
-
var
|
|
74
|
+
var description6 = [
|
|
75
75
|
"Generates a new image, or edits existing ones.",
|
|
76
|
-
"Only call this when the user asks you to create or edit an image.",
|
|
76
|
+
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
77
77
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
78
78
|
"Each call makes one image. For several images, call it once per image.",
|
|
79
79
|
"It runs in the background: the call starts a job and returns right away, and you are notified automatically when the image is saved, with its path. Never poll, sleep, or check for the file while you wait.",
|
|
80
80
|
"Don't repeat a request unless the user asks."
|
|
81
81
|
].join(`
|
|
82
82
|
`);
|
|
83
|
-
var
|
|
83
|
+
var Input12 = Schema.Struct({
|
|
84
84
|
prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
85
85
|
description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
|
|
86
86
|
}),
|
|
@@ -94,25 +94,25 @@ var Input8 = Schema.Struct({
|
|
|
94
94
|
description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
|
|
95
95
|
})
|
|
96
96
|
});
|
|
97
|
-
var
|
|
97
|
+
var Output8 = Schema.Struct({
|
|
98
98
|
id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
|
|
99
99
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
100
100
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var Plugin51 = {
|
|
103
103
|
id: "opencode.tool.image-generate",
|
|
104
104
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
105
|
-
const access = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const generate = yield*
|
|
105
|
+
const access = yield* Service18;
|
|
106
|
+
const environment = yield* Service77;
|
|
107
|
+
const generate = yield* Service35;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const http = yield* HttpClient.HttpClient;
|
|
110
|
-
const config = yield*
|
|
111
|
-
const jobs = yield*
|
|
110
|
+
const config = yield* Service70;
|
|
111
|
+
const jobs = yield* Service45;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
|
-
const sessions = yield*
|
|
114
|
-
const models = yield*
|
|
115
|
-
const permission = yield*
|
|
113
|
+
const sessions = yield* Service21;
|
|
114
|
+
const models = yield* Service73;
|
|
115
|
+
const permission = yield* Service65;
|
|
116
116
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
117
117
|
const available = yield* models.available(["image"]);
|
|
118
118
|
if (!input) {
|
|
@@ -193,7 +193,7 @@ var Plugin44 = {
|
|
|
193
193
|
state: info.status,
|
|
194
194
|
body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
|
|
195
195
|
}),
|
|
196
|
-
metadata: { source:
|
|
196
|
+
metadata: { source: name12, jobID: input.id, state: info.status, path: input.file }
|
|
197
197
|
});
|
|
198
198
|
yield* jobs.completeBackground(input.notificationID);
|
|
199
199
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
@@ -209,14 +209,14 @@ var Plugin44 = {
|
|
|
209
209
|
yield* ctx.event.subscribe({ types: ["model.updated"] }).pipe(Stream.runForEach(() => refresh), Effect.forkScoped({ startImmediately: true }));
|
|
210
210
|
enabled = yield* wanted;
|
|
211
211
|
yield* ctx.tool.transform((editor) => {
|
|
212
|
-
if (!enabled ||
|
|
212
|
+
if (!enabled || imageGenerate(loaded.entries) === false)
|
|
213
213
|
return;
|
|
214
214
|
editor.add({
|
|
215
|
-
name:
|
|
215
|
+
name: name12,
|
|
216
216
|
options: { codemode: false },
|
|
217
|
-
description:
|
|
218
|
-
input:
|
|
219
|
-
output:
|
|
217
|
+
description: description6,
|
|
218
|
+
input: Input12,
|
|
219
|
+
output: Output8,
|
|
220
220
|
execute: (input, context) => Effect.gen(function* () {
|
|
221
221
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
222
222
|
const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
|
|
@@ -226,7 +226,7 @@ var Plugin44 = {
|
|
|
226
226
|
const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
|
|
227
227
|
const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
|
|
228
228
|
yield* permission.assert({
|
|
229
|
-
action:
|
|
229
|
+
action: name12,
|
|
230
230
|
resources: [ref],
|
|
231
231
|
save: ["*"],
|
|
232
232
|
metadata: { ...input, model: ref },
|
|
@@ -294,7 +294,7 @@ Use the read tool on this path to view the image.`;
|
|
|
294
294
|
yield* jobs.start({
|
|
295
295
|
id,
|
|
296
296
|
notificationID,
|
|
297
|
-
type:
|
|
297
|
+
type: name12,
|
|
298
298
|
title: input.prompt,
|
|
299
299
|
metadata: { sessionID: context.sessionID, path: stem, model: ref },
|
|
300
300
|
recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
|
|
@@ -325,10 +325,6 @@ function defaultModel2(available, input) {
|
|
|
325
325
|
function imageGenerate(entries) {
|
|
326
326
|
return entries.findLast((entry) => entry.type === "document" && entry.info.experimental?.image_generate !== undefined)?.info.experimental?.image_generate;
|
|
327
327
|
}
|
|
328
|
-
function optedIn(entries) {
|
|
329
|
-
const value = imageGenerate(entries);
|
|
330
|
-
return value !== undefined && value !== false;
|
|
331
|
-
}
|
|
332
328
|
function configuredModel(entries) {
|
|
333
329
|
const value = imageGenerate(entries);
|
|
334
330
|
return typeof value === "object" ? value.model : undefined;
|
|
@@ -337,4 +333,4 @@ function acceptsImages(model) {
|
|
|
337
333
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
338
334
|
}
|
|
339
335
|
|
|
340
|
-
export {
|
|
336
|
+
export { name12, MAX_INPUT_BYTES2, description6, Input12, Output8, Plugin51, defaultModel2, exports_image_generate };
|