@opencode/core 2.0.3 → 2.0.4
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 +82 -82
- package/dist/aisdk-native.js +92 -4
- package/dist/aisdk.js +93 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{mime-348n1k1m.js → location-0cchtpr4.js} +10 -10
- package/dist/chunks/{mime-fce3k32g.js → location-0ekdksbx.js} +27 -27
- package/dist/chunks/{mime-95wcbadv.js → location-0g8qpgb7.js} +3 -3
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{mime-8fjx57rb.js → location-0n6bmg1f.js} +15 -15
- package/dist/chunks/{mime-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-z7q0mhzt.js → location-15k3fnp5.js} +310 -294
- package/dist/chunks/{mime-tnf45s15.js → location-16fm13tn.js} +5 -5
- package/dist/chunks/{mime-f2n192rq.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-j1tqpjge.js → location-1ajyz94d.js} +8 -8
- package/dist/chunks/{mime-ggch0ev5.js → location-1bc7s31c.js} +14 -14
- package/dist/chunks/{mime-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-27cjkq2h.js → location-1e34zb65.js} +20 -20
- package/dist/chunks/location-1gfezbxs.js +610 -0
- package/dist/chunks/location-1pjkgqc1.js +76 -0
- package/dist/chunks/{mime-ex0mzm10.js → location-2073epbj.js} +9 -9
- package/dist/chunks/{mime-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{mime-b2vqmjat.js → location-24dcb14g.js} +4 -11
- package/dist/chunks/{mime-yk45fjth.js → location-26vh48er.js} +9 -9
- package/dist/chunks/{mime-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-0x7565bv.js → location-2cg15w2x.js} +13 -13
- package/dist/chunks/{mime-n6wnmytb.js → location-2h5hbqz0.js} +8 -8
- package/dist/chunks/{mime-ar6rwxgq.js → location-2jfw170m.js} +14 -14
- package/dist/chunks/{mime-b315ag2q.js → location-2qbra9xj.js} +33 -27
- package/dist/chunks/{mime-vc2f4mv3.js → location-2y4tf7d9.js} +6 -6
- package/dist/chunks/{mime-c78bbtc9.js → location-37s12vcn.js} +5 -5
- package/dist/chunks/{mime-zch57v4g.js → location-3egkyh9x.js} +13 -10
- package/dist/chunks/{mime-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/location-41h561sc.js +39 -0
- package/dist/chunks/{mime-eraanh1f.js → location-44ke2mar.js} +5 -5
- package/dist/chunks/{mime-vbedh2fb.js → location-485fr60v.js} +8 -8
- package/dist/chunks/{mime-ex105f0g.js → location-4gbwy2e3.js} +7 -7
- package/dist/chunks/{mime-b8cmw211.js → location-4gw20jm7.js} +11 -11
- package/dist/chunks/{mime-vz9r8jjr.js → location-4kqwnkpq.js} +11 -11
- package/dist/chunks/{mime-h7v0c4h9.js → location-4ndgv5gc.js} +11 -11
- package/dist/chunks/{mime-31je9t57.js → location-4pdtgr8m.js} +22 -22
- package/dist/chunks/{mime-q6sszjbn.js → location-4q5m965g.js} +9 -9
- package/dist/chunks/{mime-07jv6yz6.js → location-4v7ac2af.js} +31 -28
- package/dist/chunks/{mime-yrgys5zv.js → location-4wv5y4sh.js} +111 -119
- package/dist/chunks/{mime-4ey0fprp.js → location-4y7mzcta.js} +27 -26
- package/dist/chunks/{mime-kghzffp5.js → location-4zwsjqnv.js} +33 -32
- package/dist/chunks/{mime-fap8rsc6.js → location-53nms1ph.js} +35 -32
- package/dist/chunks/{mime-rpqc7xtd.js → location-54nm7ze4.js} +17 -17
- package/dist/chunks/{mime-s957sxhe.js → location-55rvc5qv.js} +22 -22
- package/dist/chunks/{mime-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{mime-rk0rec3h.js → location-57ez7d0k.js} +9 -9
- package/dist/chunks/{mime-bccb6npm.js → location-5c0f1prt.js} +4 -4
- package/dist/chunks/{mime-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-crfhge7d.js → location-5f0yx823.js} +61 -40
- package/dist/chunks/{mime-j935v87r.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-53c48grp.js → location-5x09agpp.js} +88 -287
- package/dist/chunks/{mime-7dqw4kz8.js → location-607tc6va.js} +5 -5
- package/dist/chunks/{mime-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{mime-2402vzrj.js → location-6h73sxmp.js} +5 -5
- package/dist/chunks/{mime-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-k12bwzmm.js → location-6qx63egk.js} +97 -96
- package/dist/chunks/{mime-y6r7tp3a.js → location-6xbxg5de.js} +3 -3
- package/dist/chunks/{mime-3bca72pz.js → location-6yk9v5a8.js} +4 -4
- package/dist/chunks/{mime-js4jadbf.js → location-71yarwtx.js} +4 -4
- package/dist/chunks/{mime-5hf3fyzy.js → location-71zsbp9a.js} +20 -20
- package/dist/chunks/{mime-yz87v98p.js → location-72ewdht9.js} +25 -25
- package/dist/chunks/{mime-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-wgqr0wr2.js → location-7cgd0b8x.js} +18 -18
- package/dist/chunks/{mime-1khmrxma.js → location-7d92myjq.js} +35 -32
- package/dist/chunks/{mime-xxynqx5z.js → location-7w99qc9d.js} +2 -2
- package/dist/chunks/{mime-z3zadmjk.js → location-7x9k4znd.js} +59 -59
- package/dist/chunks/{mime-3zpd0x8a.js → location-7yhrjmqc.js} +25 -25
- package/dist/chunks/{mime-9zqg8qpq.js → location-80pk4fcb.js} +3 -3
- package/dist/chunks/{mime-qs001aqx.js → location-818pfwc9.js} +11 -11
- package/dist/chunks/{mime-7assmfkm.js → location-84fnhy9b.js} +17 -17
- package/dist/chunks/{mime-tcezcvh9.js → location-89znhe33.js} +4 -4
- package/dist/chunks/{mime-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-6b2vme4h.js → location-8n64cbn2.js} +2 -2
- package/dist/chunks/{mime-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{mime-2t5kqt1k.js → location-8qwcecfd.js} +1 -1
- package/dist/chunks/{mime-sc497s7j.js → location-9ar5c0cq.js} +7 -11
- package/dist/chunks/{mime-g7jyz10z.js → location-9djwnjxj.js} +48 -48
- package/dist/chunks/{mime-05gwmh6x.js → location-9e4sgp44.js} +19 -11
- package/dist/chunks/{mime-gqrsst1j.js → location-9ykb5v1y.js} +24 -27
- package/dist/chunks/{mime-yt0fqk68.js → location-a1a50ys5.js} +5 -5
- package/dist/chunks/{mime-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{mime-3zf9b344.js → location-a6ntkr4w.js} +4 -4
- package/dist/chunks/location-a8d2vvnh.js +500 -0
- package/dist/chunks/{mime-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-y1hy1c31.js → location-aqxshtk7.js} +18 -18
- package/dist/chunks/location-az2ykr48.js +26 -0
- package/dist/chunks/{mime-a0amxwx8.js → location-b1ppdmtk.js} +34 -21
- package/dist/chunks/{mime-caw866h7.js → location-b6f6n79x.js} +18 -15
- package/dist/chunks/{mime-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-56yeekyc.js → location-bccdc2z8.js} +17 -16
- package/dist/chunks/{mime-1ajjaskr.js → location-bd0ss37q.js} +26 -22
- package/dist/chunks/{mime-rph3zd4r.js → location-bjs2yq5f.js} +6 -6
- package/dist/chunks/{mime-3k5rp9zq.js → location-bkpqdbf1.js} +28 -28
- package/dist/chunks/{mime-jvw2nnm0.js → location-bwan06ag.js} +11 -11
- package/dist/chunks/location-by5v678g.js +18 -0
- package/dist/chunks/{mime-mr645x8e.js → location-c488s98d.js} +18 -15
- package/dist/chunks/{mime-0gr7cw0d.js → location-c5gn303e.js} +4 -4
- package/dist/chunks/{mime-2419kjk7.js → location-cdbvkm1j.js} +9 -9
- package/dist/chunks/{mime-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{mime-nxa5rjjz.js → location-cjdwydd7.js} +15 -15
- package/dist/chunks/{mime-hk1cyxmr.js → location-ckz6mm57.js} +33 -33
- package/dist/chunks/{mime-z159gw3g.js → location-cshhrmft.js} +18 -18
- package/dist/chunks/{mime-rme0s8je.js → location-cwwe0xn7.js} +101 -101
- package/dist/chunks/{mime-r27v71mw.js → location-cyt4mzy8.js} +67 -67
- package/dist/chunks/{mime-wwr0k6jb.js → location-czd7j84z.js} +8 -8
- package/dist/chunks/{mime-pd4btrn7.js → location-d2tce9ap.js} +4 -4
- package/dist/chunks/{mime-p7ks6zyz.js → location-d4091zmr.js} +12 -16
- package/dist/chunks/{mime-26m96hf0.js → location-d4h3m1fk.js} +23 -23
- package/dist/chunks/{mime-a5gt7g2r.js → location-d4he2qe1.js} +9 -9
- package/dist/chunks/{mime-1drzz6a4.js → location-d6b8948v.js} +7 -13
- package/dist/chunks/{mime-rvw86qrh.js → location-dc94v6gx.js} +27 -24
- package/dist/chunks/{mime-jg33m14x.js → location-e4z3td0h.js} +48 -49
- package/dist/chunks/{mime-s2azsgc2.js → location-e8xyxekr.js} +47 -47
- package/dist/chunks/{mime-0f9vejxt.js → location-ed36h9sa.js} +25 -25
- package/dist/chunks/{mime-2h1k6vak.js → location-eevr0wqz.js} +13 -13
- package/dist/chunks/location-ef5x83kb.js +15 -0
- package/dist/chunks/{mime-771dt0vh.js → location-ejrd0ctn.js} +5 -5
- package/dist/chunks/{mime-gst7axd9.js → location-embw8kgh.js} +4 -4
- package/dist/chunks/{mime-2ff821eq.js → location-eqa8eaaa.js} +11 -11
- package/dist/chunks/location-eshsynjd.js +237 -0
- package/dist/chunks/{mime-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-66v7x5gy.js → location-etryyd25.js} +35 -35
- package/dist/chunks/{mime-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{mime-4w46mhc5.js → location-fb7w7frq.js} +17 -17
- package/dist/chunks/{mime-hkgwg6cc.js → location-fe5yr6he.js} +20 -25
- package/dist/chunks/{mime-9k690w47.js → location-fkrjvdfc.js} +14 -14
- package/dist/chunks/{mime-6hh8tjw2.js → location-fqb2p7cx.js} +4 -4
- package/dist/chunks/{mime-3mp8pt0x.js → location-fvezrss0.js} +12 -12
- package/dist/chunks/{mime-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/location-fzkvtrkw.js +63 -0
- package/dist/chunks/{mime-xdk9p2qn.js → location-g190xswt.js} +21 -21
- package/dist/chunks/{mime-9pm6y0s1.js → location-g1sxm558.js} +9 -9
- package/dist/chunks/{mime-9xrpzr2m.js → location-g6kf84zp.js} +8 -8
- package/dist/chunks/{mime-t1xxg50c.js → location-gap281sm.js} +16 -16
- package/dist/chunks/{mime-s6khr2z3.js → location-gbxnzk38.js} +37 -23
- package/dist/chunks/{mime-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-teqxmgy8.js → location-ge2f9a94.js} +20 -20
- package/dist/chunks/{mime-xcggh081.js → location-genz7rm5.js} +3 -3
- package/dist/chunks/{mime-th5km1p3.js → location-gv6a8nnw.js} +5 -5
- package/dist/chunks/{mime-pcedqjxk.js → location-gvqzdcce.js} +31 -31
- package/dist/chunks/{mime-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{mime-rqcbxq1a.js → location-h6nxw0pd.js} +4 -4
- package/dist/chunks/{mime-q2fb3trg.js → location-h6qd4a95.js} +56 -66
- package/dist/chunks/location-h6r3nrb9.js +24 -0
- package/dist/chunks/{mime-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-qfzde7bh.js → location-h896pcm5.js} +6 -6
- package/dist/chunks/{mime-xmvnw2y2.js → location-ha607pgt.js} +6 -6
- package/dist/chunks/{mime-3amprz0f.js → location-hfdr1yjj.js} +4 -4
- package/dist/chunks/{mime-6ean1s1z.js → location-htqn1cqw.js} +13 -13
- package/dist/chunks/{mime-dg5bcj4q.js → location-j311gd59.js} +9 -9
- package/dist/chunks/{mime-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-79w795fr.js → location-jjkms2e6.js} +4 -11
- package/dist/chunks/{mime-hkjvptd8.js → location-jnj7tv4d.js} +16 -16
- package/dist/chunks/{mime-zxh2e4w2.js → location-jpkvw2np.js} +45 -45
- package/dist/chunks/{mime-e5nv3ght.js → location-jppvw2tx.js} +3 -3
- package/dist/chunks/{mime-n0ta87th.js → location-jrr2ndyj.js} +3 -3
- package/dist/chunks/{mime-2b4vkxet.js → location-k3rr10ns.js} +26 -26
- package/dist/chunks/location-k624arf9.js +38 -0
- package/dist/chunks/{mime-bb4ztexx.js → location-k74qzmgf.js} +11 -11
- package/dist/chunks/{mime-ga6hqhxm.js → location-k9avtbwf.js} +9 -9
- package/dist/chunks/{mime-0mtmygp7.js → location-k9matq9w.js} +15 -15
- package/dist/chunks/{mime-824vcv1n.js → location-kf09gset.js} +24 -24
- package/dist/chunks/{mime-esaayfhr.js → location-m3dp0h2h.js} +12 -12
- package/dist/chunks/{mime-xcz029a5.js → location-m8dm7px8.js} +17 -17
- package/dist/chunks/{mime-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-8ryk0bb9.js → location-ma15yhyh.js} +5 -5
- package/dist/chunks/{mime-9nydp2f6.js → location-me799xqk.js} +34 -38
- package/dist/chunks/{mime-jwttd70a.js → location-mf4knkt4.js} +20 -20
- package/dist/chunks/{mime-5psmcwnn.js → location-mg9k7fh1.js} +21 -21
- package/dist/chunks/location-mraxsbbc.js +36 -0
- package/dist/chunks/{mime-1bbkgx8g.js → location-mvfsc1pv.js} +3 -3
- package/dist/chunks/{mime-4e18mqjd.js → location-mz8r4wev.js} +9 -9
- package/dist/chunks/{mime-3ax7whkq.js → location-n2apd2zv.js} +13 -13
- package/dist/chunks/{mime-zg7qrvva.js → location-nb0t3kxz.js} +16 -16
- package/dist/chunks/{mime-3xz6hyac.js → location-ngacfpxr.js} +11 -11
- package/dist/chunks/{mime-depwzj9d.js → location-njhqdk9p.js} +9 -9
- package/dist/chunks/{mime-ky3seynh.js → location-nng2ktcm.js} +2 -2
- package/dist/chunks/{mime-cmwkp3r5.js → location-p37cw4rj.js} +8 -8
- package/dist/chunks/{mime-29seat8c.js → location-p3qxne8d.js} +24 -24
- package/dist/chunks/{mime-3es18rb9.js → location-p6k0w3ef.js} +9 -9
- package/dist/chunks/{mime-8mfdap3f.js → location-p84dsdfh.js} +8 -8
- package/dist/chunks/{mime-6q31zrbr.js → location-pb8g46v2.js} +71 -100
- package/dist/chunks/{mime-8kdf3zjj.js → location-pe4p6r2b.js} +38 -38
- package/dist/chunks/{mime-5ahh7ntp.js → location-pfcfnkqj.js} +5 -5
- package/dist/chunks/{mime-qhvmp4yv.js → location-pg4czqbe.js} +26 -26
- package/dist/chunks/{mime-8815nq26.js → location-pht46j1j.js} +24 -36
- package/dist/chunks/{mime-jzp1tdep.js → location-phz9ppdn.js} +6 -6
- package/dist/chunks/{mime-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{mime-jq13afhk.js → location-pnbc4b3j.js} +13 -13
- package/dist/chunks/{mime-pnv527nz.js → location-pnv527nz.js} +2 -2
- package/dist/chunks/{mime-w3mesfdc.js → location-ppnykba5.js} +11 -11
- package/dist/chunks/{mime-3ac6cy74.js → location-q3fve2xg.js} +23 -23
- package/dist/chunks/{mime-77hmfzz5.js → location-qb3a001x.js} +43 -43
- package/dist/chunks/{mime-bjbqe5j4.js → location-qc69v8fs.js} +8 -10
- package/dist/chunks/{mime-wqgnyshj.js → location-qg3g05ea.js} +4 -11
- package/dist/chunks/{mime-hnr5yq9h.js → location-qn4ba14w.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-g7nm1tr2.js → location-qx4vf964.js} +24 -24
- package/dist/chunks/{mime-0nhe5bzg.js → location-r54z1mhc.js} +65 -24
- package/dist/chunks/{mime-8z221vkh.js → location-r62y7mfn.js} +28 -28
- package/dist/chunks/{mime-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{mime-kg06axw8.js → location-rdw6cm16.js} +3 -1
- package/dist/chunks/{mime-v5bprabd.js → location-rp6d2jqx.js} +31 -31
- package/dist/chunks/{mime-pe4b2cf4.js → location-rvenhx9v.js} +213 -195
- package/dist/chunks/{mime-w49382pb.js → location-rzs3gq0x.js} +8 -8
- package/dist/chunks/{mime-xvssc1kt.js → location-s1tbsnwf.js} +22 -15
- package/dist/chunks/{mime-raczhzft.js → location-s8367sdj.js} +21 -21
- package/dist/chunks/{mime-02a7j1yb.js → location-s8d7rejh.js} +4 -4
- package/dist/chunks/{mime-spb3hsfg.js → location-s9p11epj.js} +19 -19
- package/dist/chunks/{mime-5gzmb6dp.js → location-shtmkj1w.js} +38 -34
- package/dist/chunks/{mime-q2yns0nb.js → location-snypfz89.js} +17 -17
- package/dist/chunks/{mime-9e5xqeqt.js → location-sqjb25rk.js} +11 -11
- package/dist/chunks/{mime-g6878fex.js → location-sr0mbv75.js} +18 -18
- package/dist/chunks/{mime-0e70zyzp.js → location-st4yk5kb.js} +30 -22
- package/dist/chunks/{mime-7rntk513.js → location-t08nxc7z.js} +24 -18
- package/dist/chunks/{mime-1h4ppwsj.js → location-t44e5ekz.js} +11 -11
- package/dist/chunks/{mime-4nncm24z.js → location-t56ztj25.js} +29 -35
- package/dist/chunks/{mime-wzfbm1pf.js → location-t5fxxz44.js} +29 -29
- package/dist/chunks/{mime-1s7fk0j0.js → location-t5j6jz0m.js} +25 -25
- package/dist/chunks/{mime-34f33jfe.js → location-t73kfpst.js} +14 -14
- package/dist/chunks/{mime-wq0697zs.js → location-t7gx2zvx.js} +24 -24
- package/dist/chunks/{mime-s74jw2kt.js → location-t9tr543n.js} +43 -40
- package/dist/chunks/{mime-r98e92ep.js → location-t9zs3egg.js} +4 -4
- package/dist/chunks/{mime-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/location-tcddack9.js +66 -0
- package/dist/chunks/{mime-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{mime-xnxgv7d0.js → location-tmq9efvy.js} +24 -24
- package/dist/chunks/{mime-3wjgak91.js → location-tsjh32me.js} +16 -16
- package/dist/chunks/{mime-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-j0xvhg4t.js → location-txrndw2w.js} +28 -28
- package/dist/chunks/{mime-3c5r44ez.js → location-typ6ybs4.js} +40 -40
- package/dist/chunks/{mime-z2gbnfa5.js → location-v63zasnn.js} +23 -23
- package/dist/chunks/{mime-0gc96ev3.js → location-v955qpq7.js} +22 -23
- package/dist/chunks/{mime-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-cvt7tjwh.js → location-vyy93js0.js} +63 -340
- package/dist/chunks/{mime-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-xc0y5txa.js → location-wc3fc9cn.js} +4 -9
- package/dist/chunks/{mime-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{mime-n9pgkqx1.js → location-weh21y9w.js} +11 -11
- package/dist/chunks/{mime-hxnftcv1.js → location-wpt2rh6k.js} +35 -33
- package/dist/chunks/{mime-ak7sjf8k.js → location-wv7pem94.js} +12 -12
- package/dist/chunks/{mime-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-qvkfnpew.js → location-x1fxwrpv.js} +64 -64
- package/dist/chunks/{mime-efp1nzpe.js → location-x1war47d.js} +20 -20
- package/dist/chunks/{mime-q4w5h7cm.js → location-x3589ane.js} +27 -27
- package/dist/chunks/{mime-nhy5jxhy.js → location-xfkkasph.js} +5 -5
- package/dist/chunks/{mime-hf6kd63r.js → location-xg60yd56.js} +19 -19
- package/dist/chunks/{mime-0xcwyxas.js → location-xgwrkgz7.js} +33 -33
- package/dist/chunks/location-xj85r64f.js +247 -0
- package/dist/chunks/{mime-2magtmd2.js → location-xr0yzbqe.js} +4 -4
- package/dist/chunks/{mime-nzwzy72p.js → location-y16p1w2y.js} +9 -9
- package/dist/chunks/{mime-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-6vz9gfbd.js → location-y2bp1sda.js} +18 -18
- package/dist/chunks/{mime-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{mime-z3af23pk.js → location-y7wqy8pr.js} +20 -20
- package/dist/chunks/location-ycjgd44k.js +68 -0
- package/dist/chunks/{mime-cx2dw8ng.js → location-ynp65gvm.js} +7 -7
- package/dist/chunks/{mime-bhp9fn5h.js → location-yq2q1mjm.js} +11 -11
- package/dist/chunks/{mime-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-hdrc7pzh.js → location-yvny6rkw.js} +27 -27
- package/dist/chunks/{mime-nxrdkmqf.js → location-z0ahgr69.js} +32 -32
- package/dist/chunks/{mime-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-bst9cd68.js → location-z0e3fq4k.js} +8 -11
- package/dist/chunks/{mime-gwk6svk5.js → location-z188jmp0.js} +13 -13
- package/dist/chunks/{mime-pck3w1ab.js → location-z2nspjwn.js} +10 -7
- package/dist/chunks/{mime-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-g04bxtcn.js → location-z6y26n19.js} +4 -4
- package/dist/chunks/{mime-2vr1hr03.js → location-z83nn3gv.js} +18 -18
- package/dist/chunks/{mime-gnq13918.js → location-z9037jhe.js} +11 -11
- package/dist/chunks/{mime-gmw5hd0s.js → location-ze4b80hv.js} +57 -50
- package/dist/chunks/{mime-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-gqrjg9m0.js → location-zhq6vg7a.js} +28 -3
- package/dist/chunks/{mime-2zdv8wt0.js → location-zn93437f.js} +30 -30
- package/dist/chunks/{mime-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-bawj3v5d.js → location-zyx4eyj3.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -19
- package/dist/config/plugin/agent.js +124 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -157
- package/dist/config/plugin/compatibility.js +145 -0
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -119
- package/dist/config/plugin/image.js +122 -117
- package/dist/config/plugin/instruction.js +89 -87
- package/dist/config/plugin/location-watcher.js +122 -117
- package/dist/config/plugin/mcp.js +131 -128
- package/dist/config/plugin/policy.js +122 -116
- package/dist/config/plugin/provider.js +122 -115
- package/dist/config/plugin/reference.js +124 -119
- package/dist/config/plugin/shell.js +122 -118
- package/dist/config/plugin/skill-file.js +101 -99
- package/dist/config/plugin/skill.js +143 -138
- package/dist/config/plugin/snapshot.js +122 -117
- package/dist/config/plugin/source.js +125 -119
- package/dist/config/plugin/tool-output.js +124 -119
- package/dist/config/plugin/websearch.js +121 -115
- package/dist/config/plugin/worktree.js +124 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -86
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -88
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +101 -99
- package/dist/file-mutation.js +91 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -104
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -86
- package/dist/generate.js +102 -92
- package/dist/git.js +10 -8
- 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 +95 -4
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +11 -19
- package/dist/integration.js +81 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +136 -135
- package/dist/location-mutation.js +101 -99
- package/dist/location-service-map.js +87 -85
- package/dist/location-services.js +352 -351
- package/dist/location.js +88 -86
- package/dist/mcp/client.js +205 -263
- package/dist/mcp/index.js +103 -119
- package/dist/mcp/instructions.js +126 -124
- package/dist/mcp/oauth.js +281 -38
- package/dist/mcp/stdio.js +89 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +95 -4
- package/dist/model-resolver.js +97 -87
- package/dist/model.js +104 -11
- package/dist/models-dev.js +106 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -101
- package/dist/plugin/command.js +100 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -215
- package/dist/plugin/identity.js +10 -0
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -2
- package/dist/plugin/provider/azure.js +121 -120
- package/dist/plugin/provider/cerebras.js +1 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -116
- package/dist/plugin/provider/digitalocean.js +92 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -81
- package/dist/plugin/provider/gitlab.js +90 -3
- package/dist/plugin/provider/google-vertex.js +89 -2
- package/dist/plugin/provider/kilo.js +1 -2
- package/dist/plugin/provider/llmgateway.js +76 -77
- package/dist/plugin/provider/lmstudio.js +121 -119
- package/dist/plugin/provider/modal.js +91 -80
- package/dist/plugin/provider/nvidia.js +1 -2
- package/dist/plugin/provider/ollama.js +121 -119
- package/dist/plugin/provider/openai.js +91 -79
- package/dist/plugin/provider/opencode.js +92 -80
- package/dist/plugin/provider/openrouter.js +90 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +94 -0
- package/dist/plugin/provider/sap-ai-core.js +90 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -2
- package/dist/plugin/provider/vllm.js +121 -119
- package/dist/plugin/provider/xai.js +90 -78
- package/dist/plugin/provider/zenmux.js +1 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -83
- package/dist/plugin/vcs/hg.js +85 -83
- package/dist/plugin/warming.js +120 -114
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -87
- package/dist/provider.js +99 -6
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -94
- package/dist/reference/instructions.js +88 -86
- package/dist/reference.js +90 -88
- package/dist/repository-cache.js +80 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -93
- package/dist/rpc.js +85 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -131
- package/dist/session/context.js +150 -149
- package/dist/session/diff.js +87 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +127 -126
- package/dist/session/generate.js +153 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -112
- package/dist/session/runner/step.js +122 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -133
- package/dist/session/skill.js +102 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -75
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -151
- package/dist/session/to-session-error.js +110 -109
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -135
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -102
- package/dist/skill.js +109 -107
- package/dist/snapshot.js +92 -90
- 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 +123 -121
- package/dist/tool/plugin/edit.js +119 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -122
- package/dist/tool/plugin/grep.js +119 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -119
- package/dist/tool/plugin/question.js +104 -102
- package/dist/tool/plugin/read.js +124 -123
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -110
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +111 -109
- package/dist/tool/plugin/websearch.js +111 -109
- package/dist/tool/plugin/write.js +117 -115
- package/dist/tool/read-filesystem.js +99 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/aisdk-native.d.ts +21 -13
- package/dist/types/config/plugin/compatibility.d.ts +5 -0
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config/plugin/worktree.d.ts +2 -2
- package/dist/types/config.d.ts +13 -6
- package/dist/types/github-copilot/models.d.ts +61 -0
- package/dist/types/instance.d.ts +4 -3
- package/dist/types/integration/connection.d.ts +8 -0
- package/dist/types/integration.d.ts +15 -4
- package/dist/types/mcp/client.d.ts +221 -125
- package/dist/types/mcp/index.d.ts +24 -87
- package/dist/types/mcp/oauth.d.ts +30 -51
- package/dist/types/mcp/stdio.d.ts +1 -1
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/modal/models.d.ts +30 -0
- package/dist/types/model-resolver.d.ts +4 -5
- package/dist/types/model.d.ts +37 -3
- package/dist/types/permission/saved.d.ts +4 -0
- package/dist/types/plugin/host.d.ts +5 -3
- package/dist/types/plugin/identity.d.ts +8 -0
- package/dist/types/plugin/internal.d.ts +5 -3
- package/dist/types/plugin/provider/azure.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +2 -1
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +2 -1
- package/dist/types/plugin/provider/configured.d.ts +1 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/modal.d.ts +2 -2
- package/dist/types/plugin/provider/prompt-cache-key.d.ts +1 -0
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +2 -1
- package/dist/types/project/schema.d.ts +0 -5
- package/dist/types/project.d.ts +0 -1
- package/dist/types/provider.d.ts +44 -2
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/history.d.ts +32 -32
- package/dist/types/session/inbox.d.ts +120 -40
- package/dist/types/session/model-transport.d.ts +6 -1
- package/dist/types/session/runner/model.d.ts +1 -1
- package/dist/types/session/session.d.ts +24 -11
- package/dist/types/session.d.ts +2 -2
- package/dist/types/skill.d.ts +3 -6
- package/dist/types/state.d.ts +4 -0
- package/dist/types/util/git-executable.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +10 -7
- package/dist/types/variant.d.ts +14 -0
- package/dist/types/worktree/git.d.ts +2 -4
- package/dist/types/worktree/strategies.d.ts +36 -0
- package/dist/types/worktree.d.ts +23 -40
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +9 -0
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +97 -0
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -0
- package/dist/worktree.js +95 -95
- package/package.json +19 -23
- package/dist/catalog.js +0 -89
- package/dist/chunks/mime-0kcg9p5c.js +0 -49
- package/dist/chunks/mime-71q4at8m.js +0 -15
- package/dist/chunks/mime-83qrv3hw.js +0 -113
- package/dist/chunks/mime-9jxymrt4.js +0 -247
- package/dist/chunks/mime-a13hqwzr.js +0 -118
- package/dist/chunks/mime-b1jrztkg.js +0 -26
- package/dist/chunks/mime-hrnqkpcd.js +0 -20
- package/dist/chunks/mime-kxmcqd0q.js +0 -193
- package/dist/chunks/mime-mkgf31e5.js +0 -36
- package/dist/chunks/mime-p2h6zvwc.js +0 -18
- package/dist/chunks/mime-szb4ct1t.js +0 -44
- package/dist/chunks/mime-ttkasvj9.js +0 -55
- package/dist/chunks/mime-xnqxh1k4.js +0 -169
- package/dist/chunks/mime-xrsqh21y.js +0 -4
- package/dist/chunks/mime-y6fqbdb6.js +0 -170
- package/dist/plugin/provider/alibaba.js +0 -7
- package/dist/plugin/provider/openai-compatible.js +0 -6
- package/dist/plugin/variant.js +0 -11
- package/dist/types/catalog.d.ts +0 -49
- package/dist/types/plugin/provider/alibaba.d.ts +0 -1
- package/dist/types/plugin/provider/openai-compatible.d.ts +0 -1
- package/dist/types/plugin/variant.d.ts +0 -10
- package/dist/types/worktree/refresh.d.ts +0 -2
- package/dist/worktree/refresh.js +0 -348
- /package/dist/chunks/{mime-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → location-z9919s4g.js} +0 -0
package/dist/catalog.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service75,
|
|
3
|
-
node80,
|
|
4
|
-
exports_catalog2,
|
|
5
|
-
Event17
|
|
6
|
-
} from "./chunks/mime-kxmcqd0q.js";
|
|
7
|
-
import"./chunks/mime-s6khr2z3.js";
|
|
8
|
-
import"./chunks/mime-y1hy1c31.js";
|
|
9
|
-
import"./chunks/mime-pknna89w.js";
|
|
10
|
-
import"./chunks/mime-0q0f95c6.js";
|
|
11
|
-
import"./chunks/mime-0kcg9p5c.js";
|
|
12
|
-
import"./chunks/mime-xnqxh1k4.js";
|
|
13
|
-
import"./chunks/mime-g7nm1tr2.js";
|
|
14
|
-
import"./chunks/mime-kg06axw8.js";
|
|
15
|
-
import"./chunks/mime-3wjgak91.js";
|
|
16
|
-
import"./chunks/mime-2710q6r3.js";
|
|
17
|
-
import"./chunks/mime-y71avatq.js";
|
|
18
|
-
import"./chunks/mime-qfa1cgps.js";
|
|
19
|
-
import"./chunks/mime-bhp9fn5h.js";
|
|
20
|
-
import"./chunks/mime-n0ta87th.js";
|
|
21
|
-
import"./chunks/mime-twg0f83k.js";
|
|
22
|
-
import"./chunks/mime-s2azsgc2.js";
|
|
23
|
-
import"./chunks/mime-fd410y7t.js";
|
|
24
|
-
import"./chunks/mime-d9jj8t3e.js";
|
|
25
|
-
import"./chunks/mime-qrg20bc0.js";
|
|
26
|
-
import"./chunks/mime-aqzs7mqg.js";
|
|
27
|
-
import"./chunks/mime-mp448xyj.js";
|
|
28
|
-
import"./chunks/mime-j2ntwpah.js";
|
|
29
|
-
import"./chunks/mime-jzg6c2d5.js";
|
|
30
|
-
import"./chunks/mime-hk9envan.js";
|
|
31
|
-
import"./chunks/mime-n05xt0ee.js";
|
|
32
|
-
import"./chunks/mime-ygaqb7jw.js";
|
|
33
|
-
import"./chunks/mime-7akdwqpd.js";
|
|
34
|
-
import"./chunks/mime-17cy0kzp.js";
|
|
35
|
-
import"./chunks/mime-a6k6eb26.js";
|
|
36
|
-
import"./chunks/mime-cvy3z8tj.js";
|
|
37
|
-
import"./chunks/mime-4knz6hnm.js";
|
|
38
|
-
import"./chunks/mime-8n3pysct.js";
|
|
39
|
-
import"./chunks/mime-jr7sbwjy.js";
|
|
40
|
-
import"./chunks/mime-7m9af43g.js";
|
|
41
|
-
import"./chunks/mime-53557ph1.js";
|
|
42
|
-
import"./chunks/mime-n3j8tn72.js";
|
|
43
|
-
import"./chunks/mime-sdp7kfr6.js";
|
|
44
|
-
import"./chunks/mime-ssg3fenm.js";
|
|
45
|
-
import"./chunks/mime-g86h250q.js";
|
|
46
|
-
import"./chunks/mime-rcb2kzg1.js";
|
|
47
|
-
import"./chunks/mime-jwfs4k6c.js";
|
|
48
|
-
import"./chunks/mime-z9919s4g.js";
|
|
49
|
-
import"./chunks/mime-qb87gjwd.js";
|
|
50
|
-
import"./chunks/mime-q74kybfr.js";
|
|
51
|
-
import"./chunks/mime-njntx4h6.js";
|
|
52
|
-
import"./chunks/mime-y8f7s663.js";
|
|
53
|
-
import"./chunks/mime-bmr6ed5q.js";
|
|
54
|
-
import"./chunks/mime-bkyjaxrp.js";
|
|
55
|
-
import"./chunks/mime-359p4xyc.js";
|
|
56
|
-
import"./chunks/mime-2c3vjs8z.js";
|
|
57
|
-
import"./chunks/mime-wer8tq1h.js";
|
|
58
|
-
import"./chunks/mime-e5kj55wp.js";
|
|
59
|
-
import"./chunks/mime-43n2bw4t.js";
|
|
60
|
-
import"./chunks/mime-msx8hqn2.js";
|
|
61
|
-
import"./chunks/mime-q3sfg36h.js";
|
|
62
|
-
import"./chunks/mime-atq7p7m5.js";
|
|
63
|
-
import"./chunks/mime-w803qqfp.js";
|
|
64
|
-
import"./chunks/mime-d9fn303g.js";
|
|
65
|
-
import"./chunks/mime-wtztk69x.js";
|
|
66
|
-
import"./chunks/mime-9a4afbnw.js";
|
|
67
|
-
import"./chunks/mime-1cnp2v09.js";
|
|
68
|
-
import"./chunks/mime-df08tz66.js";
|
|
69
|
-
import"./chunks/mime-f6n9ztr4.js";
|
|
70
|
-
import"./chunks/mime-0zkw76rk.js";
|
|
71
|
-
import"./chunks/mime-95wcbadv.js";
|
|
72
|
-
import"./chunks/mime-y6r7tp3a.js";
|
|
73
|
-
import"./chunks/mime-2t5kqt1k.js";
|
|
74
|
-
import"./chunks/mime-6b2vme4h.js";
|
|
75
|
-
import"./chunks/mime-ex105f0g.js";
|
|
76
|
-
import"./chunks/mime-f0mxakyp.js";
|
|
77
|
-
import"./chunks/mime-w3wsvvr9.js";
|
|
78
|
-
import"./chunks/mime-m9w0rfyh.js";
|
|
79
|
-
import"./chunks/mime-822emrt2.js";
|
|
80
|
-
import"./chunks/mime-cf4snx6d.js";
|
|
81
|
-
import"./chunks/mime-wd87259q.js";
|
|
82
|
-
import"./chunks/mime-7bmhse3q.js";
|
|
83
|
-
import"./chunks/mime-emrn6kk6.js";
|
|
84
|
-
export {
|
|
85
|
-
exports_catalog2 as Catalog,
|
|
86
|
-
Event17 as Event,
|
|
87
|
-
Service75 as Service,
|
|
88
|
-
node80 as node
|
|
89
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ID17
|
|
3
|
-
} from "./mime-xnqxh1k4.js";
|
|
4
|
-
import {
|
|
5
|
-
__export
|
|
6
|
-
} from "./mime-9rqn6x4v.js";
|
|
7
|
-
|
|
8
|
-
// src/model.ts
|
|
9
|
-
var exports_model2 = {};
|
|
10
|
-
__export(exports_model2, {
|
|
11
|
-
Capabilities: () => Capabilities2,
|
|
12
|
-
Compatibility: () => Compatibility2,
|
|
13
|
-
Cost: () => Cost2,
|
|
14
|
-
Family: () => Family2,
|
|
15
|
-
ID: () => ID16,
|
|
16
|
-
Info: () => Info31,
|
|
17
|
-
Model: () => exports_model2,
|
|
18
|
-
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () => Ref4,
|
|
20
|
-
VariantID: () => VariantID2,
|
|
21
|
-
compatibility: () => compatibility2,
|
|
22
|
-
parse: () => parse5
|
|
23
|
-
});
|
|
24
|
-
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var ID16 = Model.ID;
|
|
26
|
-
var VariantID2 = Model.VariantID;
|
|
27
|
-
var Family2 = Model.Family;
|
|
28
|
-
var ReasoningField2 = Model.ReasoningField;
|
|
29
|
-
var Compatibility2 = Model.Compatibility;
|
|
30
|
-
var Capabilities2 = Model.Capabilities;
|
|
31
|
-
var Cost2 = Model.Cost;
|
|
32
|
-
var Ref4 = Model.Ref;
|
|
33
|
-
var Info31 = Model.Info;
|
|
34
|
-
function compatibility2(input) {
|
|
35
|
-
if (typeof input === "string")
|
|
36
|
-
return { reasoningField: input };
|
|
37
|
-
if (typeof input !== "object" || input === null || Array.isArray(input) || !("field" in input))
|
|
38
|
-
return;
|
|
39
|
-
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
|
-
}
|
|
41
|
-
function parse5(input) {
|
|
42
|
-
const index = input.indexOf("/");
|
|
43
|
-
return {
|
|
44
|
-
providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
-
modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info31, compatibility2, parse5, exports_model2 };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createProviderPlugin2
|
|
3
|
-
} from "./mime-ym463w8f.js";
|
|
4
|
-
|
|
5
|
-
// src/plugin/provider/alibaba.ts
|
|
6
|
-
var AlibabaPlugin2 = createProviderPlugin2({
|
|
7
|
-
id: "opencode.provider.alibaba",
|
|
8
|
-
package: "@ai-sdk/alibaba",
|
|
9
|
-
load: async (options) => {
|
|
10
|
-
const { createAlibaba } = await import("@ai-sdk/alibaba");
|
|
11
|
-
return createAlibaba(options);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export { AlibabaPlugin2 };
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useragent2
|
|
3
|
-
} from "./mime-j1tqpjge.js";
|
|
4
|
-
import {
|
|
5
|
-
ID17,
|
|
6
|
-
isAISDK2
|
|
7
|
-
} from "./mime-xnqxh1k4.js";
|
|
8
|
-
import {
|
|
9
|
-
iife2
|
|
10
|
-
} from "./mime-1kg9ymc8.js";
|
|
11
|
-
import {
|
|
12
|
-
configuredSettings2
|
|
13
|
-
} from "./mime-bjbqe5j4.js";
|
|
14
|
-
|
|
15
|
-
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
|
-
import os from "os";
|
|
17
|
-
import { Effect } from "effect";
|
|
18
|
-
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
|
-
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID = ID17.make("cloudflare-workers-ai");
|
|
21
|
-
var CloudflareWorkersAIPlugin2 = define({
|
|
22
|
-
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
|
-
effect: Effect.fn(function* (ctx) {
|
|
24
|
-
const configured = yield* configuredSettings2(providerID);
|
|
25
|
-
const form = iife2(() => {
|
|
26
|
-
if (typeof configured?.baseURL === "string" || resolveAccountId(configured ?? {}))
|
|
27
|
-
return;
|
|
28
|
-
return Form.Fields.make([
|
|
29
|
-
{
|
|
30
|
-
type: "string",
|
|
31
|
-
key: "accountId",
|
|
32
|
-
title: "Enter your Cloudflare Account ID",
|
|
33
|
-
placeholder: "e.g. 1234567890abcdef1234567890abcdef",
|
|
34
|
-
required: true
|
|
35
|
-
}
|
|
36
|
-
]);
|
|
37
|
-
});
|
|
38
|
-
yield* ctx.integration.transform((editor) => {
|
|
39
|
-
editor.method.update({
|
|
40
|
-
integrationID: providerID,
|
|
41
|
-
method: {
|
|
42
|
-
type: "key",
|
|
43
|
-
label: "API key",
|
|
44
|
-
form
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
yield* ctx.catalog.transform((evt) => {
|
|
49
|
-
const item = evt.provider.get(providerID);
|
|
50
|
-
if (!item)
|
|
51
|
-
return;
|
|
52
|
-
evt.provider.update(item.provider.id, (provider) => {
|
|
53
|
-
if (!isAISDK2(provider.package))
|
|
54
|
-
return;
|
|
55
|
-
if (typeof provider.settings?.baseURL === "string")
|
|
56
|
-
return;
|
|
57
|
-
const accountId = resolveAccountId(provider.settings ?? {});
|
|
58
|
-
if (accountId)
|
|
59
|
-
provider.settings = { ...provider.settings, baseURL: workersEndpoint(accountId) };
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
63
|
-
if (evt.model.providerID !== providerID)
|
|
64
|
-
return;
|
|
65
|
-
if (evt.package !== "@ai-sdk/openai-compatible")
|
|
66
|
-
return;
|
|
67
|
-
const accountId = resolveAccountId(evt.options);
|
|
68
|
-
if (!hasWorkersEndpoint(evt.model) && !accountId)
|
|
69
|
-
return;
|
|
70
|
-
const mod = yield* Effect.promise(() => import("@ai-sdk/openai-compatible"));
|
|
71
|
-
evt.sdk = mod.createOpenAICompatible(sdkOptions({
|
|
72
|
-
...evt.options,
|
|
73
|
-
baseURL: evt.options.baseURL ?? (accountId ? workersEndpoint(accountId) : undefined)
|
|
74
|
-
}, ctx.app));
|
|
75
|
-
}));
|
|
76
|
-
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
77
|
-
if (evt.model.providerID !== providerID)
|
|
78
|
-
return;
|
|
79
|
-
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
80
|
-
}));
|
|
81
|
-
})
|
|
82
|
-
});
|
|
83
|
-
function resolveAccountId(options) {
|
|
84
|
-
return process.env.CLOUDFLARE_ACCOUNT_ID ?? stringOption(options, "accountId");
|
|
85
|
-
}
|
|
86
|
-
function workersEndpoint(accountId) {
|
|
87
|
-
return `https://api.cloudflare.com/client/v4/accounts/${accountId}/ai/v1`;
|
|
88
|
-
}
|
|
89
|
-
function hasWorkersEndpoint(model) {
|
|
90
|
-
return isAISDK2(model.package) && typeof model.settings?.baseURL === "string";
|
|
91
|
-
}
|
|
92
|
-
function sdkOptions(options, app) {
|
|
93
|
-
return {
|
|
94
|
-
...options,
|
|
95
|
-
baseURL: expandAccountId(options.baseURL),
|
|
96
|
-
apiKey: process.env.CLOUDFLARE_API_KEY ?? options.apiKey,
|
|
97
|
-
headers: {
|
|
98
|
-
"User-Agent": `${useragent2(app)} cloudflare-workers-ai (${os.platform()} ${os.release()}; ${os.arch()})`,
|
|
99
|
-
...options.headers
|
|
100
|
-
},
|
|
101
|
-
name: providerID
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
function expandAccountId(baseURL) {
|
|
105
|
-
if (typeof baseURL !== "string")
|
|
106
|
-
return baseURL;
|
|
107
|
-
return baseURL.replaceAll("${CLOUDFLARE_ACCOUNT_ID}", process.env.CLOUDFLARE_ACCOUNT_ID ?? "${CLOUDFLARE_ACCOUNT_ID}");
|
|
108
|
-
}
|
|
109
|
-
function stringOption(options, key) {
|
|
110
|
-
return typeof options[key] === "string" ? options[key] : undefined;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export { CloudflareWorkersAIPlugin2 };
|
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
node47
|
|
3
|
-
} from "./mime-hdrc7pzh.js";
|
|
4
|
-
import {
|
|
5
|
-
node79
|
|
6
|
-
} from "./mime-05gwmh6x.js";
|
|
7
|
-
import {
|
|
8
|
-
node83
|
|
9
|
-
} from "./mime-g7nm1tr2.js";
|
|
10
|
-
import {
|
|
11
|
-
node81
|
|
12
|
-
} from "./mime-s6khr2z3.js";
|
|
13
|
-
import {
|
|
14
|
-
node80
|
|
15
|
-
} from "./mime-kxmcqd0q.js";
|
|
16
|
-
import {
|
|
17
|
-
node37
|
|
18
|
-
} from "./mime-s957sxhe.js";
|
|
19
|
-
import {
|
|
20
|
-
node71,
|
|
21
|
-
boundNode2
|
|
22
|
-
} from "./mime-bawj3v5d.js";
|
|
23
|
-
import {
|
|
24
|
-
configured7,
|
|
25
|
-
node58
|
|
26
|
-
} from "./mime-6q31zrbr.js";
|
|
27
|
-
import {
|
|
28
|
-
node61
|
|
29
|
-
} from "./mime-3xz6hyac.js";
|
|
30
|
-
import {
|
|
31
|
-
node16
|
|
32
|
-
} from "./mime-jzp1tdep.js";
|
|
33
|
-
import {
|
|
34
|
-
node52
|
|
35
|
-
} from "./mime-6vz9gfbd.js";
|
|
36
|
-
import {
|
|
37
|
-
node50
|
|
38
|
-
} from "./mime-nxrdkmqf.js";
|
|
39
|
-
import {
|
|
40
|
-
node49
|
|
41
|
-
} from "./mime-q4w5h7cm.js";
|
|
42
|
-
import {
|
|
43
|
-
node78
|
|
44
|
-
} from "./mime-q2fb3trg.js";
|
|
45
|
-
import {
|
|
46
|
-
node77
|
|
47
|
-
} from "./mime-27cjkq2h.js";
|
|
48
|
-
import {
|
|
49
|
-
node73
|
|
50
|
-
} from "./mime-nzwzy72p.js";
|
|
51
|
-
import {
|
|
52
|
-
node30
|
|
53
|
-
} from "./mime-53c48grp.js";
|
|
54
|
-
import {
|
|
55
|
-
Service40,
|
|
56
|
-
node43
|
|
57
|
-
} from "./mime-qfzde7bh.js";
|
|
58
|
-
import {
|
|
59
|
-
node31
|
|
60
|
-
} from "./mime-z159gw3g.js";
|
|
61
|
-
import {
|
|
62
|
-
node74
|
|
63
|
-
} from "./mime-9pm6y0s1.js";
|
|
64
|
-
import {
|
|
65
|
-
node44
|
|
66
|
-
} from "./mime-z3zadmjk.js";
|
|
67
|
-
import {
|
|
68
|
-
node42
|
|
69
|
-
} from "./mime-34f33jfe.js";
|
|
70
|
-
import {
|
|
71
|
-
configured4,
|
|
72
|
-
node48
|
|
73
|
-
} from "./mime-0f9vejxt.js";
|
|
74
|
-
import {
|
|
75
|
-
node27
|
|
76
|
-
} from "./mime-hkjvptd8.js";
|
|
77
|
-
import {
|
|
78
|
-
node72
|
|
79
|
-
} from "./mime-yz87v98p.js";
|
|
80
|
-
import {
|
|
81
|
-
node29
|
|
82
|
-
} from "./mime-4nncm24z.js";
|
|
83
|
-
import {
|
|
84
|
-
node35
|
|
85
|
-
} from "./mime-pcedqjxk.js";
|
|
86
|
-
import {
|
|
87
|
-
node25
|
|
88
|
-
} from "./mime-2vr1hr03.js";
|
|
89
|
-
import {
|
|
90
|
-
node34
|
|
91
|
-
} from "./mime-wzfbm1pf.js";
|
|
92
|
-
import {
|
|
93
|
-
node26
|
|
94
|
-
} from "./mime-xcz029a5.js";
|
|
95
|
-
import {
|
|
96
|
-
node24
|
|
97
|
-
} from "./mime-k12bwzmm.js";
|
|
98
|
-
import {
|
|
99
|
-
node36
|
|
100
|
-
} from "./mime-hk1cyxmr.js";
|
|
101
|
-
import {
|
|
102
|
-
node65
|
|
103
|
-
} from "./mime-wgqr0wr2.js";
|
|
104
|
-
import {
|
|
105
|
-
node57
|
|
106
|
-
} from "./mime-3mp8pt0x.js";
|
|
107
|
-
import {
|
|
108
|
-
node55
|
|
109
|
-
} from "./mime-g7jyz10z.js";
|
|
110
|
-
import {
|
|
111
|
-
node19
|
|
112
|
-
} from "./mime-824vcv1n.js";
|
|
113
|
-
import {
|
|
114
|
-
node53
|
|
115
|
-
} from "./mime-rvw86qrh.js";
|
|
116
|
-
import {
|
|
117
|
-
node39
|
|
118
|
-
} from "./mime-j0xvhg4t.js";
|
|
119
|
-
import {
|
|
120
|
-
node70
|
|
121
|
-
} from "./mime-yrgys5zv.js";
|
|
122
|
-
import {
|
|
123
|
-
node18
|
|
124
|
-
} from "./mime-teqxmgy8.js";
|
|
125
|
-
import {
|
|
126
|
-
node2
|
|
127
|
-
} from "./mime-wq0697zs.js";
|
|
128
|
-
import {
|
|
129
|
-
node17
|
|
130
|
-
} from "./mime-ar6rwxgq.js";
|
|
131
|
-
import {
|
|
132
|
-
node7,
|
|
133
|
-
bound2
|
|
134
|
-
} from "./mime-cmwkp3r5.js";
|
|
135
|
-
import {
|
|
136
|
-
node15
|
|
137
|
-
} from "./mime-hxnftcv1.js";
|
|
138
|
-
import {
|
|
139
|
-
node13
|
|
140
|
-
} from "./mime-z3af23pk.js";
|
|
141
|
-
import {
|
|
142
|
-
node8
|
|
143
|
-
} from "./mime-ggch0ev5.js";
|
|
144
|
-
import {
|
|
145
|
-
node4
|
|
146
|
-
} from "./mime-8kdf3zjj.js";
|
|
147
|
-
import {
|
|
148
|
-
node3
|
|
149
|
-
} from "./mime-szb4ct1t.js";
|
|
150
|
-
import {
|
|
151
|
-
node64
|
|
152
|
-
} from "./mime-66v7x5gy.js";
|
|
153
|
-
import {
|
|
154
|
-
node14
|
|
155
|
-
} from "./mime-2zdv8wt0.js";
|
|
156
|
-
import {
|
|
157
|
-
node12
|
|
158
|
-
} from "./mime-r27v71mw.js";
|
|
159
|
-
import {
|
|
160
|
-
__export
|
|
161
|
-
} from "./mime-9rqn6x4v.js";
|
|
162
|
-
|
|
163
|
-
// src/instance.ts
|
|
164
|
-
var exports_instance = {};
|
|
165
|
-
__export(exports_instance, {
|
|
166
|
-
Instance: () => exports_instance,
|
|
167
|
-
Service: () => Service40,
|
|
168
|
-
graph: () => graph2,
|
|
169
|
-
layer: () => layer2,
|
|
170
|
-
node: () => node43
|
|
171
|
-
});
|
|
172
|
-
import { Effect, Layer } from "effect";
|
|
173
|
-
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
174
|
-
import { Node } from "@opencode/util/effect/app-node";
|
|
175
|
-
var nodes = [
|
|
176
|
-
node71,
|
|
177
|
-
node61,
|
|
178
|
-
node58,
|
|
179
|
-
node47,
|
|
180
|
-
node37,
|
|
181
|
-
node35,
|
|
182
|
-
node19,
|
|
183
|
-
node39,
|
|
184
|
-
node81,
|
|
185
|
-
node80,
|
|
186
|
-
node78,
|
|
187
|
-
node79,
|
|
188
|
-
node18,
|
|
189
|
-
node74,
|
|
190
|
-
node7,
|
|
191
|
-
node4,
|
|
192
|
-
node3,
|
|
193
|
-
node70,
|
|
194
|
-
node50,
|
|
195
|
-
node49,
|
|
196
|
-
node65,
|
|
197
|
-
node64,
|
|
198
|
-
node55,
|
|
199
|
-
node34,
|
|
200
|
-
node27,
|
|
201
|
-
node48,
|
|
202
|
-
node17,
|
|
203
|
-
node16,
|
|
204
|
-
node52,
|
|
205
|
-
node30,
|
|
206
|
-
node44,
|
|
207
|
-
node72,
|
|
208
|
-
node57,
|
|
209
|
-
node73,
|
|
210
|
-
node26,
|
|
211
|
-
node25,
|
|
212
|
-
node31,
|
|
213
|
-
node83,
|
|
214
|
-
node77,
|
|
215
|
-
node8,
|
|
216
|
-
node29,
|
|
217
|
-
node13,
|
|
218
|
-
node42,
|
|
219
|
-
node15,
|
|
220
|
-
node14,
|
|
221
|
-
node24,
|
|
222
|
-
node36,
|
|
223
|
-
node12,
|
|
224
|
-
node53,
|
|
225
|
-
node2
|
|
226
|
-
];
|
|
227
|
-
var graph2 = LayerNode.group(nodes);
|
|
228
|
-
var vanillaReplacements = [
|
|
229
|
-
node58.replace(configured7({ project: false, global: false })),
|
|
230
|
-
node48.replace(configured4({ project: false, global: false }))
|
|
231
|
-
];
|
|
232
|
-
function layer2(ref, options = {}) {
|
|
233
|
-
const startedAt = performance.now();
|
|
234
|
-
const replacements = [
|
|
235
|
-
...options.discovery === false ? vanillaReplacements : [],
|
|
236
|
-
...options.replacements ?? [],
|
|
237
|
-
node71.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
238
|
-
node7.replace(bound2(options.plugins ?? []))
|
|
239
|
-
];
|
|
240
|
-
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
241
|
-
directory: ref.directory,
|
|
242
|
-
workspaceID: ref.workspaceID,
|
|
243
|
-
durationMs: Math.round(performance.now() - startedAt)
|
|
244
|
-
})));
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
export { graph2, layer2, exports_instance };
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useragent2
|
|
3
|
-
} from "./mime-j1tqpjge.js";
|
|
4
|
-
import {
|
|
5
|
-
ID17
|
|
6
|
-
} from "./mime-xnqxh1k4.js";
|
|
7
|
-
import {
|
|
8
|
-
iife2
|
|
9
|
-
} from "./mime-1kg9ymc8.js";
|
|
10
|
-
import {
|
|
11
|
-
configuredSettings2
|
|
12
|
-
} from "./mime-bjbqe5j4.js";
|
|
13
|
-
|
|
14
|
-
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
|
-
import os from "os";
|
|
16
|
-
import { Effect, Option, Schema } from "effect";
|
|
17
|
-
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
|
-
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID = ID17.make("cloudflare-ai-gateway");
|
|
20
|
-
var CloudflareAIGatewayPlugin2 = define({
|
|
21
|
-
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
|
-
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const configured = yield* configuredSettings2(providerID);
|
|
24
|
-
const form = iife2(() => {
|
|
25
|
-
if (typeof configured?.baseURL === "string")
|
|
26
|
-
return;
|
|
27
|
-
const accountId = process.env.CLOUDFLARE_ACCOUNT_ID || stringOption(configured ?? {}, "accountId");
|
|
28
|
-
const gatewayId = process.env.CLOUDFLARE_GATEWAY_ID || stringOption(configured ?? {}, "gatewayId") || stringOption(configured ?? {}, "gateway");
|
|
29
|
-
if (accountId && gatewayId)
|
|
30
|
-
return;
|
|
31
|
-
const accountIdForm = Form.StringField.make({
|
|
32
|
-
type: "string",
|
|
33
|
-
key: "accountId",
|
|
34
|
-
title: "Enter your Cloudflare Account ID",
|
|
35
|
-
placeholder: "e.g. 1234567890abcdef1234567890abcdef",
|
|
36
|
-
required: true
|
|
37
|
-
});
|
|
38
|
-
const gatewayIdForm = Form.StringField.make({
|
|
39
|
-
type: "string",
|
|
40
|
-
key: "gatewayId",
|
|
41
|
-
title: "Enter your Cloudflare AI Gateway ID",
|
|
42
|
-
placeholder: "e.g. my-gateway",
|
|
43
|
-
required: true
|
|
44
|
-
});
|
|
45
|
-
if (accountId)
|
|
46
|
-
return Form.Fields.make([gatewayIdForm]);
|
|
47
|
-
if (gatewayId)
|
|
48
|
-
return Form.Fields.make([accountIdForm]);
|
|
49
|
-
return Form.Fields.make([accountIdForm, gatewayIdForm]);
|
|
50
|
-
});
|
|
51
|
-
yield* ctx.integration.transform((editor) => {
|
|
52
|
-
editor.method.update({
|
|
53
|
-
integrationID: providerID,
|
|
54
|
-
method: {
|
|
55
|
-
type: "key",
|
|
56
|
-
label: "Gateway API token",
|
|
57
|
-
form
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.package !== "ai-gateway-provider")
|
|
63
|
-
return;
|
|
64
|
-
if (evt.options.baseURL)
|
|
65
|
-
return;
|
|
66
|
-
const config = gatewayConfig(evt.options);
|
|
67
|
-
if (!config)
|
|
68
|
-
return;
|
|
69
|
-
const metadata = gatewayMetadata(evt.options);
|
|
70
|
-
const { createAiGateway } = yield* Effect.promise(() => import("ai-gateway-provider"));
|
|
71
|
-
const { createUnified } = yield* Effect.promise(() => import("ai-gateway-provider/providers/unified"));
|
|
72
|
-
const gateway = createAiGateway({
|
|
73
|
-
accountId: config.accountId,
|
|
74
|
-
gateway: config.gatewayId,
|
|
75
|
-
apiKey: config.apiKey,
|
|
76
|
-
options: gatewayOptions(evt.options, metadata, ctx.app)
|
|
77
|
-
});
|
|
78
|
-
const unified = createUnified({ apiKey: config.apiKey });
|
|
79
|
-
evt.sdk = {
|
|
80
|
-
languageModel(modelID) {
|
|
81
|
-
return gateway(unified(modelID));
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
}));
|
|
85
|
-
})
|
|
86
|
-
});
|
|
87
|
-
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
88
|
-
function gatewayConfig(options) {
|
|
89
|
-
const accountId = process.env.CLOUDFLARE_ACCOUNT_ID ?? stringOption(options, "accountId");
|
|
90
|
-
const gatewayId = process.env.CLOUDFLARE_GATEWAY_ID ?? stringOption(options, "gatewayId") ?? stringOption(options, "gateway");
|
|
91
|
-
const apiKey = process.env.CLOUDFLARE_API_TOKEN ?? process.env.CF_AIG_TOKEN ?? stringOption(options, "apiKey");
|
|
92
|
-
if (!accountId || !gatewayId || !apiKey)
|
|
93
|
-
return;
|
|
94
|
-
return { accountId, gatewayId, apiKey };
|
|
95
|
-
}
|
|
96
|
-
function gatewayMetadata(options) {
|
|
97
|
-
if (options.metadata !== undefined)
|
|
98
|
-
return options.metadata;
|
|
99
|
-
const raw = options.headers?.["cf-aig-metadata"];
|
|
100
|
-
return raw ? Option.getOrUndefined(decodeJson(raw)) : undefined;
|
|
101
|
-
}
|
|
102
|
-
function gatewayOptions(options, metadata, app) {
|
|
103
|
-
return {
|
|
104
|
-
metadata,
|
|
105
|
-
cacheTtl: options.cacheTtl,
|
|
106
|
-
cacheKey: options.cacheKey,
|
|
107
|
-
skipCache: options.skipCache,
|
|
108
|
-
collectLog: options.collectLog,
|
|
109
|
-
headers: {
|
|
110
|
-
"User-Agent": `${useragent2(app)} cloudflare-ai-gateway (${os.platform()} ${os.release()}; ${os.arch()})`
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
function stringOption(options, key) {
|
|
115
|
-
return typeof options[key] === "string" ? options[key] : undefined;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export { CloudflareAIGatewayPlugin2 };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Plugin8
|
|
3
|
-
} from "./mime-8mfdap3f.js";
|
|
4
|
-
import {
|
|
5
|
-
Plugin4
|
|
6
|
-
} from "./mime-q6sszjbn.js";
|
|
7
|
-
import {
|
|
8
|
-
Plugin6
|
|
9
|
-
} from "./mime-ex0mzm10.js";
|
|
10
|
-
import {
|
|
11
|
-
Plugin7
|
|
12
|
-
} from "./mime-n6wnmytb.js";
|
|
13
|
-
import {
|
|
14
|
-
Plugin5
|
|
15
|
-
} from "./mime-3es18rb9.js";
|
|
16
|
-
|
|
17
|
-
// src/plugin/websearch/index.ts
|
|
18
|
-
var WebSearchPlugins2 = [
|
|
19
|
-
Plugin8,
|
|
20
|
-
Plugin4,
|
|
21
|
-
Plugin6,
|
|
22
|
-
Plugin7,
|
|
23
|
-
Plugin5
|
|
24
|
-
];
|
|
25
|
-
|
|
26
|
-
export { WebSearchPlugins2 };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// src/plugin/provider/openai-compatible.ts
|
|
2
|
-
import { Effect } from "effect";
|
|
3
|
-
import { define } from "@opencode/plugin/effect/plugin";
|
|
4
|
-
var OpenAICompatiblePlugin2 = define({
|
|
5
|
-
id: "opencode.provider.openai.compatible",
|
|
6
|
-
effect: Effect.fn(function* (ctx) {
|
|
7
|
-
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
8
|
-
if (evt.sdk)
|
|
9
|
-
return;
|
|
10
|
-
if (!evt.package.includes("@ai-sdk/openai-compatible"))
|
|
11
|
-
return;
|
|
12
|
-
if (evt.options.includeUsage !== false)
|
|
13
|
-
evt.options.includeUsage = true;
|
|
14
|
-
const mod = yield* Effect.promise(() => import("@ai-sdk/openai-compatible"));
|
|
15
|
-
evt.sdk = mod.createOpenAICompatible(evt.options);
|
|
16
|
-
}));
|
|
17
|
-
})
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
export { OpenAICompatiblePlugin2 };
|