@opencode/core 0.0.0-dev-233 → 0.0.0-dev-235
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/{bus-6yence91.js → model-resolver-02dx1ydf.js} +29 -29
- package/dist/chunks/{bus-76k1r7sv.js → model-resolver-063c2dw3.js} +20 -20
- package/dist/chunks/{bus-rg52mm6z.js → model-resolver-07ws46e7.js} +25 -25
- package/dist/chunks/{bus-mtpeagzc.js → model-resolver-08rawchj.js} +3 -3
- package/dist/chunks/{bus-162nfr0g.js → model-resolver-0gbb59p9.js} +9 -9
- package/dist/chunks/{bus-j5txmjyq.js → model-resolver-0m6n6j4y.js} +11 -11
- package/dist/chunks/{bus-0znsw351.js → model-resolver-0v7r2g4g.js} +17 -17
- package/dist/chunks/{bus-2s6jkv91.js → model-resolver-0vfcpktn.js} +8 -8
- package/dist/chunks/{bus-dy9zc4pe.js → model-resolver-0xgy9r8e.js} +11 -11
- package/dist/chunks/{bus-06t14ddp.js → model-resolver-0ydkeekf.js} +5 -5
- package/dist/chunks/{bus-jfvq35wr.js → model-resolver-11dc3axx.js} +21 -21
- package/dist/chunks/{bus-07m51zyr.js → model-resolver-11emykvz.js} +12 -12
- package/dist/chunks/{bus-hh14ynr9.js → model-resolver-1becz5h9.js} +33 -33
- package/dist/chunks/{bus-f8smm1h8.js → model-resolver-1ffmcay5.js} +36 -36
- package/dist/chunks/{bus-d80gpe23.js → model-resolver-1fmezaeg.js} +21 -21
- package/dist/chunks/{bus-r082yccm.js → model-resolver-1k5rjxjy.js} +21 -21
- package/dist/chunks/{bus-xt0z8zst.js → model-resolver-1kn6jdkn.js} +4 -4
- package/dist/chunks/{bus-yydbrnd5.js → model-resolver-1trhz39y.js} +43 -43
- package/dist/chunks/{bus-ceqqxneb.js → model-resolver-1vhabajd.js} +11 -11
- package/dist/chunks/{bus-by25n89t.js → model-resolver-1vk60n2f.js} +45 -45
- package/dist/chunks/{bus-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-p7vhpwh8.js → model-resolver-1yq9hg58.js} +5 -5
- package/dist/chunks/{bus-204s3925.js → model-resolver-204s3925.js} +1 -1
- package/dist/chunks/{bus-25h84942.js → model-resolver-25h84942.js} +1 -1
- package/dist/chunks/{bus-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
- package/dist/chunks/{bus-y2ngtz71.js → model-resolver-2eaj99b9.js} +12 -12
- package/dist/chunks/{bus-h1ygv866.js → model-resolver-2g0sbjxs.js} +3 -3
- package/dist/chunks/{bus-w4650645.js → model-resolver-2ggryvv9.js} +7 -7
- package/dist/chunks/{bus-m0cjf5xp.js → model-resolver-2q3gj68p.js} +16 -16
- package/dist/chunks/{bus-r9fybn2k.js → model-resolver-2vxh8fhb.js} +43 -43
- package/dist/chunks/{bus-vb80j1wh.js → model-resolver-2zp5a6yg.js} +3 -3
- package/dist/chunks/{bus-ydm7wqfm.js → model-resolver-313g21r6.js} +19 -19
- package/dist/chunks/{bus-c1a686j5.js → model-resolver-31wms35x.js} +8 -8
- package/dist/chunks/{bus-va1w8a24.js → model-resolver-32ss13k6.js} +17 -17
- package/dist/chunks/{bus-my7b4af9.js → model-resolver-35xw48cm.js} +42 -42
- package/dist/chunks/{bus-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
- package/dist/chunks/{bus-zq5c9s7v.js → model-resolver-3g5sjqyx.js} +24 -24
- package/dist/chunks/{bus-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-jxr5ks98.js → model-resolver-3smabe4s.js} +6 -6
- package/dist/chunks/{bus-7r82pzna.js → model-resolver-3smfssvs.js} +34 -34
- package/dist/chunks/{bus-8pkhhaa7.js → model-resolver-3vb79mvp.js} +43 -43
- package/dist/chunks/{bus-a38ksn3m.js → model-resolver-4695y15q.js} +32 -32
- package/dist/chunks/{bus-n9rn6xa3.js → model-resolver-4cb8ky4x.js} +8 -8
- package/dist/chunks/{bus-9nx9hf51.js → model-resolver-4p7w50sn.js} +6 -6
- package/dist/chunks/{bus-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-v75c35rk.js → model-resolver-4s29f17y.js} +13 -13
- package/dist/chunks/{bus-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-6eetqezh.js → model-resolver-4yq7vp74.js} +16 -16
- package/dist/chunks/{bus-rdajxzmj.js → model-resolver-515dar09.js} +11 -11
- package/dist/chunks/{bus-w2eysc6j.js → model-resolver-5enarcya.js} +6 -6
- package/dist/chunks/{bus-ndsna3c1.js → model-resolver-5m5zgeb0.js} +34 -34
- package/dist/chunks/{bus-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-v7hm3t8n.js → model-resolver-5mvx2mvy.js} +7 -7
- package/dist/chunks/{bus-k89jh6dj.js → model-resolver-5n0y2fx9.js} +16 -16
- package/dist/chunks/{bus-twj077f6.js → model-resolver-5pmynce3.js} +1 -1
- package/dist/chunks/{bus-vzvgxy56.js → model-resolver-5qp8d7cx.js} +32 -32
- package/dist/chunks/{bus-hbrjs09v.js → model-resolver-5tmges1f.js} +5 -5
- package/dist/chunks/{bus-yyhgbx7d.js → model-resolver-5vtcv6tm.js} +4 -4
- package/dist/chunks/{bus-amzzn6zg.js → model-resolver-64qhrwmr.js} +11 -11
- package/dist/chunks/{bus-ktr6pf1t.js → model-resolver-657gm9p4.js} +38 -38
- package/dist/chunks/{bus-9agry0mm.js → model-resolver-68qqfsms.js} +2 -2
- package/dist/chunks/{bus-p9k333b6.js → model-resolver-69zkvrr3.js} +11 -11
- package/dist/chunks/{bus-fpgy7th3.js → model-resolver-6c3vfjz9.js} +23 -23
- package/dist/chunks/{bus-pfsn56gn.js → model-resolver-6ckjvz5e.js} +17 -17
- package/dist/chunks/{bus-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-4dkdeg3x.js → model-resolver-6et83057.js} +32 -32
- package/dist/chunks/{bus-mmp59vtg.js → model-resolver-6kq6serr.js} +52 -52
- package/dist/chunks/{bus-j8w82mf5.js → model-resolver-6p643g3y.js} +15 -15
- package/dist/chunks/{bus-3rbyhj39.js → model-resolver-75k6z3we.js} +88 -88
- package/dist/chunks/{bus-2qe92jhz.js → model-resolver-77zj4qhz.js} +8 -8
- package/dist/chunks/{bus-1y1sdcvs.js → model-resolver-78c837sc.js} +17 -17
- package/dist/chunks/{bus-5kkktyrc.js → model-resolver-7atzhzg1.js} +8 -8
- package/dist/chunks/{bus-961m4qdm.js → model-resolver-7azjgpqp.js} +9 -9
- package/dist/chunks/{bus-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-pkdrh1qv.js → model-resolver-7j1pv54n.js} +4 -4
- package/dist/chunks/{bus-36qx82yz.js → model-resolver-7sdtxe0n.js} +4 -4
- package/dist/chunks/{bus-1jakw16s.js → model-resolver-7stb81gk.js} +2 -1
- package/dist/chunks/{bus-818eymrz.js → model-resolver-7vyv40s2.js} +6 -6
- package/dist/chunks/{bus-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-jaan4nhy.js → model-resolver-7x1geb87.js} +45 -45
- package/dist/chunks/{bus-w5v2k2bw.js → model-resolver-7xgdsbra.js} +12 -12
- package/dist/chunks/{bus-yca54qy5.js → model-resolver-7ykpe2ae.js} +32 -32
- package/dist/chunks/{bus-zsjwhcwr.js → model-resolver-8anejt09.js} +25 -25
- package/dist/chunks/{bus-cpe35zww.js → model-resolver-8dfptpqb.js} +4 -4
- package/dist/chunks/{bus-ptc9r7kc.js → model-resolver-8fbg0anr.js} +35 -35
- package/dist/chunks/{bus-k7xg2xms.js → model-resolver-8jwdfq57.js} +9 -9
- package/dist/chunks/{bus-8jztxfpf.js → model-resolver-8jztxfpf.js} +1 -1
- package/dist/chunks/{bus-vzv0sjvt.js → model-resolver-8rsr0xkw.js} +22 -22
- package/dist/chunks/{bus-byj473rn.js → model-resolver-8tcsqa0t.js} +8 -8
- package/dist/chunks/{bus-zyydwx25.js → model-resolver-8wcv8eb0.js} +18 -18
- package/dist/chunks/{bus-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-mb7mbhnz.js → model-resolver-8z6m94af.js} +3 -3
- package/dist/chunks/{bus-90zstvax.js → model-resolver-90zstvax.js} +1 -1
- package/dist/chunks/{bus-7kprcbad.js → model-resolver-92c52cwg.js} +5 -5
- package/dist/chunks/{bus-xk2zn0cv.js → model-resolver-95sp4hdf.js} +4 -4
- package/dist/chunks/{bus-pfb4yznh.js → model-resolver-9fttyw1y.js} +11 -11
- package/dist/chunks/{bus-mttwgft7.js → model-resolver-9k0vd1xz.js} +20 -20
- package/dist/chunks/{bus-dhg7g0zf.js → model-resolver-9kxateg7.js} +27 -27
- package/dist/chunks/{bus-ca947eq7.js → model-resolver-9pk8dvwz.js} +3 -3
- package/dist/chunks/{bus-v0t96s7a.js → model-resolver-9q8g9sv8.js} +4 -4
- package/dist/chunks/{bus-ja63h2sr.js → model-resolver-9s06frge.js} +5 -5
- package/dist/chunks/{bus-4pnq7323.js → model-resolver-a7hpf3a9.js} +8 -8
- package/dist/chunks/{bus-qn5zf4nr.js → model-resolver-a8ts2hq9.js} +29 -29
- package/dist/chunks/{bus-ztz0q9zh.js → model-resolver-a8x35daw.js} +5 -5
- package/dist/chunks/{bus-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
- package/dist/chunks/{bus-eahpwh8e.js → model-resolver-b1b4s2tq.js} +4 -4
- package/dist/chunks/{bus-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-y02x7m19.js → model-resolver-b7x6vb0f.js} +15 -15
- package/dist/chunks/{bus-fnrcf1wj.js → model-resolver-b9npwed2.js} +26 -26
- package/dist/chunks/{bus-prhcv6dr.js → model-resolver-bb1pme7h.js} +20 -20
- package/dist/chunks/{bus-8vm3c4cx.js → model-resolver-bkccqnab.js} +24 -24
- package/dist/chunks/{bus-3ryz99p0.js → model-resolver-br0kkpnn.js} +7 -7
- package/dist/chunks/{bus-11gkgbrz.js → model-resolver-brzye0d0.js} +2 -2
- package/dist/chunks/{bus-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-32z24wxs.js → model-resolver-bx2chj7s.js} +24 -24
- package/dist/chunks/{bus-srxxcest.js → model-resolver-bzneqfrw.js} +30 -30
- package/dist/chunks/{bus-e63fs6m1.js → model-resolver-c2wdctvm.js} +56 -56
- package/dist/chunks/{bus-bqzcd44k.js → model-resolver-c5m2a8vb.js} +8 -8
- package/dist/chunks/{bus-s9m7w1wa.js → model-resolver-caqz8vzx.js} +17 -17
- package/dist/chunks/{bus-0cqzd7yx.js → model-resolver-cfcqqf1a.js} +4 -4
- package/dist/chunks/{bus-k1p2a49w.js → model-resolver-chyqkg4j.js} +11 -11
- package/dist/chunks/{bus-m4sdr4hs.js → model-resolver-cqjy0jsh.js} +34 -34
- package/dist/chunks/{bus-t0mx6v2s.js → model-resolver-cw59ztwq.js} +18 -18
- package/dist/chunks/{bus-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-hx97nj8x.js → model-resolver-cxstdmn9.js} +30 -30
- package/dist/chunks/{bus-rgdq8gvk.js → model-resolver-d6t4gzf8.js} +15 -15
- package/dist/chunks/{bus-d96p21aj.js → model-resolver-dgwg4nab.js} +18 -18
- package/dist/chunks/{bus-x48bv8h6.js → model-resolver-dgy090gd.js} +5 -5
- package/dist/chunks/{bus-sbg8j0vj.js → model-resolver-dq8p8g98.js} +11 -11
- package/dist/chunks/{bus-zhaxkft9.js → model-resolver-ds2f0rmb.js} +3 -3
- package/dist/chunks/{bus-dt77769w.js → model-resolver-dt77769w.js} +1 -1
- package/dist/chunks/{bus-gbhvr811.js → model-resolver-e19czkbx.js} +34 -34
- package/dist/chunks/{bus-gckdc5ay.js → model-resolver-e3p762jb.js} +17 -17
- package/dist/chunks/{bus-mz1qqpv3.js → model-resolver-e42rb5nh.js} +9 -9
- package/dist/chunks/{bus-phaw4w7g.js → model-resolver-e5vm4r2z.js} +5 -5
- package/dist/chunks/{bus-e834z07m.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{bus-n5eh1rap.js → model-resolver-ebw1bbd1.js} +90 -90
- package/dist/chunks/{bus-bgyx9ygv.js → model-resolver-em9d63hf.js} +27 -27
- package/dist/chunks/{bus-v3kn2g9y.js → model-resolver-eyejk55r.js} +5 -5
- package/dist/chunks/{bus-fyyp424t.js → model-resolver-fb0ffggm.js} +31 -31
- package/dist/chunks/{bus-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-cwkz8rb4.js → model-resolver-fvz2a291.js} +15 -15
- package/dist/chunks/{bus-b1gj8ygw.js → model-resolver-g0287tj7.js} +4 -4
- package/dist/chunks/{bus-g4wezt3f.js → model-resolver-g60d9pja.js} +8 -8
- package/dist/chunks/{bus-z2twcj9c.js → model-resolver-g7e31nf0.js} +40 -40
- package/dist/chunks/{bus-zkkkregz.js → model-resolver-gf94v7ds.js} +12 -12
- package/dist/chunks/{bus-8edw0cf2.js → model-resolver-ghsy9na1.js} +28 -28
- package/dist/chunks/{bus-n9d26gdb.js → model-resolver-gj0tv93d.js} +10 -10
- package/dist/chunks/{bus-d4v9tmah.js → model-resolver-gn8tkhbf.js} +2 -2
- package/dist/chunks/{bus-0azq8fy9.js → model-resolver-gxn61zhy.js} +2 -2
- package/dist/chunks/{bus-svwybv69.js → model-resolver-h4ydfc35.js} +12 -12
- package/dist/chunks/{bus-6rqscc3n.js → model-resolver-haawhqgr.js} +25 -25
- package/dist/chunks/{bus-xrtynsxf.js → model-resolver-hckvh4sv.js} +35 -35
- package/dist/chunks/{bus-r0yr0wbs.js → model-resolver-hh7kjqtw.js} +2 -1
- package/dist/chunks/{bus-67sqxw17.js → model-resolver-hjbr58an.js} +18 -18
- package/dist/chunks/{bus-hpg1pkwy.js → model-resolver-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-7x554r32.js → model-resolver-hskmxh3h.js} +9 -9
- package/dist/chunks/{bus-per0mbyz.js → model-resolver-hwtwmcxj.js} +13 -13
- package/dist/chunks/{bus-v5hpj9dd.js → model-resolver-hy8c1z76.js} +8 -8
- package/dist/chunks/{bus-m0dqqhg5.js → model-resolver-j8bdajc7.js} +8 -8
- package/dist/chunks/{bus-0es81n8q.js → model-resolver-j97kzcev.js} +10 -10
- package/dist/chunks/{bus-f9nwn4tf.js → model-resolver-jb1qvvx4.js} +3 -3
- package/dist/chunks/{bus-9n8z28yy.js → model-resolver-jcf07173.js} +22 -22
- package/dist/chunks/{bus-jfaecv01.js → model-resolver-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-jtnps1zs.js → model-resolver-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-wwgpyqzb.js → model-resolver-jv2xnyk0.js} +9 -9
- package/dist/chunks/{bus-xqxcdqkj.js → model-resolver-jvpt39xs.js} +18 -18
- package/dist/chunks/{bus-7p8y1xew.js → model-resolver-k07k3amx.js} +19 -19
- package/dist/chunks/{bus-a0qb2paf.js → model-resolver-k17w2jj8.js} +15 -15
- package/dist/chunks/{bus-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-w307e9wj.js → model-resolver-k9zkdd2y.js} +4 -4
- package/dist/chunks/{bus-ebkm765p.js → model-resolver-khm9g9rn.js} +33 -33
- package/dist/chunks/{bus-3wk2baz8.js → model-resolver-kk4m6xpk.js} +9 -9
- package/dist/chunks/{bus-cwa3fr09.js → model-resolver-kkq9589k.js} +57 -57
- package/dist/chunks/{bus-xzr1gvfw.js → model-resolver-kmjd8e1b.js} +12 -12
- package/dist/chunks/{bus-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-2jr2kyhh.js → model-resolver-m0qw3cnp.js} +5 -5
- package/dist/chunks/{bus-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-3carsgcx.js → model-resolver-mehbn690.js} +3 -3
- package/dist/chunks/{bus-sbr89z4j.js → model-resolver-mekmjhn9.js} +32 -32
- package/dist/chunks/{bus-s7gmm2q3.js → model-resolver-mg356nz4.js} +3 -3
- package/dist/chunks/{bus-69fgec3f.js → model-resolver-mkg7mbq5.js} +29 -29
- package/dist/chunks/{bus-ec14ztk4.js → model-resolver-mkw2jwqb.js} +3 -3
- package/dist/chunks/{bus-y7ehhw0v.js → model-resolver-mqtbfpst.js} +25 -25
- package/dist/chunks/{bus-6mq5ryr8.js → model-resolver-mwz57098.js} +4 -4
- package/dist/chunks/{bus-qpgx3sd4.js → model-resolver-mxynyzfm.js} +12 -12
- package/dist/chunks/{bus-ykvdctq4.js → model-resolver-n3ms51k8.js} +6 -6
- package/dist/chunks/{bus-rf3ew56q.js → model-resolver-n516hxxc.js} +33 -33
- package/dist/chunks/{bus-nah043kf.js → model-resolver-nah043kf.js} +1 -1
- package/dist/chunks/{bus-2cgds78d.js → model-resolver-ngbjhm7w.js} +25 -25
- package/dist/chunks/{bus-92vky5wk.js → model-resolver-nma643tt.js} +11 -11
- package/dist/chunks/{bus-fypmhnps.js → model-resolver-np3f7rt0.js} +2 -2
- package/dist/chunks/{bus-rr54y859.js → model-resolver-np47h428.js} +4 -4
- package/dist/chunks/{bus-erjptbv1.js → model-resolver-nttn14j9.js} +4 -4
- package/dist/chunks/{bus-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-wrjnae0d.js → model-resolver-p1mde3sk.js} +198 -198
- package/dist/chunks/{bus-agvxwjff.js → model-resolver-p2hg2bey.js} +12 -12
- package/dist/chunks/{bus-hn4sj8vd.js → model-resolver-p580ev26.js} +6 -6
- package/dist/chunks/{bus-2ty01zvd.js → model-resolver-pjtyxbjq.js} +17 -17
- package/dist/chunks/{bus-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{bus-7cgnmsnz.js → model-resolver-pp05edzg.js} +11 -11
- package/dist/chunks/{bus-y2whjd1m.js → model-resolver-pp0pn87f.js} +11 -11
- package/dist/chunks/{bus-v0sdba08.js → model-resolver-pvp6fg14.js} +14 -14
- package/dist/chunks/{bus-yara3q77.js → model-resolver-pxtfkpje.js} +2 -2
- package/dist/chunks/{bus-rkrna9hn.js → model-resolver-pyw9tktf.js} +17 -17
- package/dist/chunks/{bus-12yrf7jb.js → model-resolver-pz4bxmc0.js} +5 -5
- package/dist/chunks/{bus-0vx0x5fb.js → model-resolver-qc0dffe1.js} +16 -16
- package/dist/chunks/{bus-pzbysshh.js → model-resolver-qf7wdzx4.js} +80 -80
- package/dist/chunks/{bus-c6k5p5tb.js → model-resolver-qjd35q55.js} +14 -14
- package/dist/chunks/{bus-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-faz7t49j.js → model-resolver-qqg00k1m.js} +10 -10
- package/dist/chunks/{bus-qqvy8y24.js → model-resolver-qqvy8y24.js} +1 -1
- package/dist/chunks/{bus-hkjbyznq.js → model-resolver-qr5k2are.js} +10 -10
- package/dist/chunks/model-resolver-qs8a0pvz.js +535 -0
- package/dist/chunks/{bus-de3kd59v.js → model-resolver-r3jnkjvn.js} +46 -46
- package/dist/chunks/{bus-158gwrne.js → model-resolver-r3n6xbzs.js} +18 -18
- package/dist/chunks/{bus-c3fg13fa.js → model-resolver-r44vdp06.js} +3 -3
- package/dist/chunks/{bus-znxhc1zm.js → model-resolver-r4h5gr85.js} +27 -27
- package/dist/chunks/{bus-gcjdgkn2.js → model-resolver-r4pwrx75.js} +2 -2
- package/dist/chunks/{bus-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-sag1960s.js → model-resolver-rae286de.js} +4 -4
- package/dist/chunks/model-resolver-rb7the7a.js +257 -0
- package/dist/chunks/{bus-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-3es65w47.js → model-resolver-rnndk4m8.js} +48 -48
- package/dist/chunks/{bus-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-21m1qx2d.js → model-resolver-rx6q88jc.js} +24 -24
- package/dist/chunks/{bus-yfa3dy01.js → model-resolver-rzex016b.js} +6 -6
- package/dist/chunks/{bus-cf4c2abg.js → model-resolver-s3gmcb39.js} +9 -9
- package/dist/chunks/model-resolver-s9kkzxe3.js +26 -0
- package/dist/chunks/{bus-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-5hvj3cgw.js → model-resolver-sew631bv.js} +25 -25
- package/dist/chunks/{bus-w2gtp0cp.js → model-resolver-sfh5xs5y.js} +16 -16
- package/dist/chunks/{bus-3zjzp6xn.js → model-resolver-spbwh0fp.js} +21 -21
- package/dist/chunks/{bus-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-zsh677ft.js → model-resolver-srpyah9m.js} +49 -49
- package/dist/chunks/{bus-ssfehs1z.js → model-resolver-ssfehs1z.js} +1 -1
- package/dist/chunks/{bus-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-bj6adykh.js → model-resolver-sy8vd0m2.js} +8 -8
- package/dist/chunks/{bus-rb1rz6cd.js → model-resolver-t3tgzswk.js} +28 -28
- package/dist/chunks/{bus-74e79trj.js → model-resolver-tc5b1bny.js} +26 -26
- package/dist/chunks/{bus-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-t1dw8cfv.js → model-resolver-terez3x2.js} +11 -11
- package/dist/chunks/{bus-wzq1kmgq.js → model-resolver-tjbktcma.js} +26 -26
- package/dist/chunks/{bus-sz9w62cr.js → model-resolver-tjvxx29a.js} +22 -22
- package/dist/chunks/{bus-rwdwt89q.js → model-resolver-tkbmyhb4.js} +10 -10
- package/dist/chunks/{bus-3nnrz6f6.js → model-resolver-tmc7xdjs.js} +4 -4
- package/dist/chunks/{bus-jvqz6y9c.js → model-resolver-tv7z3yt9.js} +11 -11
- package/dist/chunks/{bus-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-y78kkv0p.js → model-resolver-v1tvskx9.js} +17 -17
- package/dist/chunks/{bus-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-ds7r37yp.js → model-resolver-v54nvb2h.js} +5 -5
- package/dist/chunks/{bus-ye07msm6.js → model-resolver-v7h6andt.js} +21 -21
- package/dist/chunks/{bus-c8ph4e1p.js → model-resolver-ve4251vb.js} +20 -20
- package/dist/chunks/{bus-6drdq4m3.js → model-resolver-vf9vzdpy.js} +41 -41
- package/dist/chunks/{bus-jzv5rqjm.js → model-resolver-vja3zs8n.js} +11 -11
- package/dist/chunks/{bus-txa2na18.js → model-resolver-w2y2s0n1.js} +21 -21
- package/dist/chunks/{bus-qyny2w4y.js → model-resolver-w3d76d98.js} +18 -18
- package/dist/chunks/{bus-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-wr3re1en.js → model-resolver-w687dnns.js} +4 -4
- package/dist/chunks/{bus-pyjsgtqa.js → model-resolver-w6v5sxdw.js} +9 -9
- package/dist/chunks/{bus-esn455wh.js → model-resolver-w7d7mz6q.js} +13 -13
- package/dist/chunks/{bus-76cb1hcw.js → model-resolver-w8qtt4th.js} +4 -4
- package/dist/chunks/{bus-yqveydy6.js → model-resolver-w9w8mt4n.js} +4 -4
- package/dist/chunks/{bus-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-5qpycfhf.js → model-resolver-wd1xcya7.js} +15 -15
- package/dist/chunks/{bus-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{bus-ha5nk7p4.js → model-resolver-whz0tbn3.js} +21 -21
- package/dist/chunks/{bus-dwemer89.js → model-resolver-wnb85yzk.js} +21 -21
- package/dist/chunks/{bus-wnhgecwx.js → model-resolver-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-x73g3dsh.js → model-resolver-x09jv9p1.js} +5 -5
- package/dist/chunks/{bus-cdtqhjvm.js → model-resolver-x32t5qxa.js} +10 -10
- package/dist/chunks/{bus-z7930y0h.js → model-resolver-x5qgebf8.js} +28 -28
- package/dist/chunks/{bus-sfkj0ta1.js → model-resolver-x6pyv2yz.js} +5 -5
- package/dist/chunks/{bus-k5xdymkf.js → model-resolver-xeg3jkwn.js} +15 -15
- package/dist/chunks/{bus-wxpy059d.js → model-resolver-xgew9n4h.js} +8 -8
- package/dist/chunks/{bus-kkfw1ty8.js → model-resolver-xn46eh9z.js} +13 -13
- package/dist/chunks/{bus-vmfhgzt5.js → model-resolver-xnh55p1t.js} +7 -7
- package/dist/chunks/{bus-x9e94t11.js → model-resolver-xzj8w313.js} +23 -23
- package/dist/chunks/{bus-h9vwxdya.js → model-resolver-y6scp2pe.js} +46 -46
- package/dist/chunks/{bus-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-dhp97qke.js → model-resolver-yeyfr6zk.js} +11 -11
- package/dist/chunks/{bus-0f8tg23y.js → model-resolver-ymz7p2c9.js} +3 -3
- package/dist/chunks/{bus-04pp57dr.js → model-resolver-yrgtjhcx.js} +8 -8
- package/dist/chunks/{bus-tvhr4amm.js → model-resolver-ywp21z45.js} +4 -4
- package/dist/chunks/{bus-hwrm0jef.js → model-resolver-z00f7qmg.js} +28 -28
- package/dist/chunks/{bus-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-vxdc9hjx.js → model-resolver-z4qcr8nf.js} +23 -23
- package/dist/chunks/model-resolver-z7bdqmx5.js +18 -0
- package/dist/chunks/{bus-xdfy1vac.js → model-resolver-zbs0ay32.js} +19 -19
- package/dist/chunks/{bus-vsqvcqta.js → model-resolver-zg0jbn27.js} +6 -6
- package/dist/chunks/{bus-0anyt1n6.js → model-resolver-zh7bbm8x.js} +9 -9
- package/dist/chunks/{bus-72a16mc2.js → model-resolver-zpxk6q5d.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +126 -126
- 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 +122 -122
- package/dist/config/plugin/source.js +127 -127
- 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 +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +75 -75
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +2 -1
- package/dist/database/v1-migration.bun.js +103 -103
- 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 +1 -1
- 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 +106 -106
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -237
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +98 -98
- package/dist/generate.js +110 -110
- 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 +110 -110
- 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 +91 -91
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job.js +87 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- 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 +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +171 -171
- package/dist/mcp/oauth.js +87 -87
- 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 +110 -110
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -146
- 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 +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +230 -230
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- 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 +126 -126
- 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 +124 -124
- 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 +144 -144
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +228 -228
- 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 +232 -232
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +191 -191
- 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 +135 -135
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- 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 +5 -5
- package/dist/session/runner/step.js +157 -157
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +175 -175
- 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 +222 -222
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +195 -195
- 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 +226 -226
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +144 -144
- package/dist/skill.js +149 -149
- package/dist/snapshot.js +100 -100
- 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 +159 -159
- 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 +225 -225
- package/dist/tool/plugin/skill.js +152 -152
- package/dist/tool/plugin/subagent.js +229 -229
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +152 -152
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +96 -96
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +103 -103
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +102 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -98
- package/dist/voice.js +97 -97
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- 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 +111 -111
- package/package.json +11 -11
- package/dist/chunks/bus-00ve6mdn.js +0 -18
- package/dist/chunks/bus-aykdwqbv.js +0 -257
- package/dist/chunks/bus-dasb3jjm.js +0 -26
- package/dist/chunks/bus-hpyv6m3b.js +0 -535
- /package/dist/chunks/{bus-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → model-resolver-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qgfkghh1.js → model-resolver-qgfkghh1.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./model-resolver-pyw9tktf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./model-resolver-srpyah9m.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-bx2chj7s.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin12
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin12 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service57;
|
|
35
|
+
const location = yield* Service83;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin12, exports_reference };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make15(tools) {
|
|
32
|
+
return render2(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render2(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, render2, exports_system_prompt };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9fttyw1y.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-5vtcv6tm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./model-resolver-t3tgzswk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-ghsy9na1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-cxstdmn9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID13,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info23
|
|
24
|
+
} from "./model-resolver-5qp8d7cx.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./model-resolver-tmc7xdjs.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-n3ms51k8.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ 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 =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID14.openai;
|
|
47
|
+
var integrationID = ID15.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
|
|
|
182
182
|
id: "opencode.provider.chatgpt",
|
|
183
183
|
effect: Effect.fn(function* (ctx) {
|
|
184
184
|
const bus = yield* Service86;
|
|
185
|
-
const credentials = yield*
|
|
185
|
+
const credentials = yield* Service82;
|
|
186
186
|
const loading = Semaphore.makeUnsafe(1);
|
|
187
187
|
let chatgpt;
|
|
188
188
|
let source;
|
|
@@ -197,7 +197,7 @@ var ChatGPTPlugin2 = define({
|
|
|
197
197
|
yield* ctx.integration.transform((editor) => {
|
|
198
198
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
199
199
|
});
|
|
200
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
200
|
+
yield* Effect.forEach(yield* credentials.list(ID15.make("openai")), (entry) => {
|
|
201
201
|
const value = entry.value;
|
|
202
202
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
203
203
|
return Effect.void;
|
|
@@ -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 });
|
|
@@ -270,7 +270,7 @@ var ChatGPTPlugin2 = define({
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
273
|
-
yield* bus.subscribe(
|
|
273
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
274
274
|
})
|
|
275
275
|
});
|
|
276
276
|
function headers(app) {
|
|
@@ -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(ID13.make(model.slug))).map((model) => deriveModel(model, Info23.default(ID14.openai, ID13.make(model.slug))))
|
|
331
331
|
];
|
|
332
332
|
}
|
|
333
333
|
function deriveModel(remote, previous) {
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref3,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service78
|
|
4
|
+
} from "./model-resolver-5qp8d7cx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./model-resolver-srpyah9m.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service66
|
|
13
|
+
} from "./model-resolver-bkccqnab.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-gftt206x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./model-resolver-1trhz39y.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service13
|
|
22
|
+
} from "./model-resolver-sew631bv.js";
|
|
23
23
|
import {
|
|
24
24
|
Service68
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-sfh5xs5y.js";
|
|
26
26
|
import {
|
|
27
27
|
text3
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-25h84942.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service53
|
|
31
|
+
} from "./model-resolver-2q3gj68p.js";
|
|
32
32
|
import {
|
|
33
33
|
detect2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-4pyp9zr9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service26
|
|
37
|
+
} from "./model-resolver-ebw1bbd1.js";
|
|
38
38
|
import {
|
|
39
39
|
collectBoundedResponseBody2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./model-resolver-3v8g72cx.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-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: () => Plugin49,
|
|
53
53
|
defaultModel: () => defaultModel2,
|
|
54
|
-
description: () =>
|
|
55
|
-
name: () =>
|
|
54
|
+
description: () => description5,
|
|
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 = "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,7 +71,7 @@ var EXTENSIONS = {
|
|
|
71
71
|
"image/webp": ".webp",
|
|
72
72
|
"image/gif": ".gif"
|
|
73
73
|
};
|
|
74
|
-
var
|
|
74
|
+
var description5 = [
|
|
75
75
|
"Generates a new image, or edits existing ones.",
|
|
76
76
|
"Only call this when the user asks you to create or edit an image.",
|
|
77
77
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -80,7 +80,7 @@ var description6 = [
|
|
|
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 Input14 = 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 Plugin49 = {
|
|
103
103
|
id: "opencode.tool.image-generate",
|
|
104
104
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
105
|
-
const access = yield*
|
|
106
|
-
const environment = yield*
|
|
105
|
+
const access = yield* Service13;
|
|
106
|
+
const environment = yield* Service66;
|
|
107
107
|
const generate = yield* Service68;
|
|
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* Service57;
|
|
111
|
+
const jobs = yield* Service53;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
|
-
const sessions = yield*
|
|
114
|
-
const models = yield*
|
|
115
|
-
const permission = yield*
|
|
113
|
+
const sessions = yield* Service26;
|
|
114
|
+
const models = yield* Service78;
|
|
115
|
+
const permission = yield* Service54;
|
|
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 Plugin34 = {
|
|
|
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 }));
|
|
@@ -212,11 +212,11 @@ var Plugin34 = {
|
|
|
212
212
|
if (!enabled || !optedIn(loaded.entries))
|
|
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: description5,
|
|
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 Plugin34 = {
|
|
|
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 },
|
|
@@ -337,4 +337,4 @@ function acceptsImages(model) {
|
|
|
337
337
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
export {
|
|
340
|
+
export { name12, MAX_INPUT_BYTES2, description5, Input12, Output8, Plugin49, defaultModel2, exports_image_generate };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service43,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node46
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service43 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service43.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node46 = makeLocationNode({
|
|
143
|
+
service: Service43,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service43, node46, exports_tool_output2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Document2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-k9zkdd2y.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z38nccrw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/managed-policy.ts
|
|
12
12
|
var exports_managed_policy = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9fttyw1y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin21 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin43 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin43 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin21, exports_tavily };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qjd35q55.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make6 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make6();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make6, OllamaPlugin2 };
|