@opencode/core 0.0.0-dev-126 → 0.0.0-dev-127
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{kv-5kk15k00.js → vcs-01vd1a4d.js} +9 -9
- package/dist/chunks/{kv-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{kv-r0g6ap0x.js → vcs-0g7k9xcb.js} +5 -5
- package/dist/chunks/{kv-fh84vrc6.js → vcs-0gybmwtw.js} +28 -28
- package/dist/chunks/{kv-1cng5f3b.js → vcs-0py4zw7v.js} +7 -7
- package/dist/chunks/{kv-t1qkrhj3.js → vcs-0rxw2bhj.js} +5 -5
- package/dist/chunks/{kv-tbnr3qzn.js → vcs-0xkwsahe.js} +15 -15
- package/dist/chunks/{kv-8jztxfpf.js → vcs-11hfp36g.js} +4 -4
- package/dist/chunks/{kv-x50xqm0y.js → vcs-18m8fffx.js} +26 -26
- package/dist/chunks/{kv-ww3hkwgk.js → vcs-1c18fjk2.js} +11 -11
- package/dist/chunks/{kv-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{kv-1kn6jdkn.js → vcs-1kn6jdkn.js} +1 -1
- package/dist/chunks/{kv-ex0pka66.js → vcs-1q5awywt.js} +5 -5
- package/dist/chunks/{kv-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{kv-5zrxpy3q.js → vcs-1yq9hg58.js} +5 -5
- package/dist/chunks/{kv-5jrsbfjd.js → vcs-1z2ee6fc.js} +21 -21
- package/dist/chunks/{kv-204s3925.js → vcs-204s3925.js} +1 -1
- package/dist/chunks/{kv-3rdnw7tp.js → vcs-2338945t.js} +1 -1
- package/dist/chunks/{kv-x6pnkns2.js → vcs-2cgj4t74.js} +3 -3
- package/dist/chunks/vcs-2dkjcnxp.js +18 -0
- package/dist/chunks/{kv-1sh5kzz0.js → vcs-2jzrs42d.js} +19 -19
- package/dist/chunks/{kv-11z2hjhz.js → vcs-2kf70v8x.js} +33 -33
- package/dist/chunks/{kv-5rsan3mw.js → vcs-2qjpg97e.js} +81 -81
- package/dist/chunks/{kv-83xcdb4y.js → vcs-30fw0aaf.js} +8 -8
- package/dist/chunks/{kv-7j5zmrgn.js → vcs-31zrf5rt.js} +4 -4
- package/dist/chunks/{kv-42bec753.js → vcs-3643rqcq.js} +20 -20
- package/dist/chunks/{kv-s61hs6sc.js → vcs-36nwmxg8.js} +12 -12
- package/dist/chunks/{kv-6wv82vhb.js → vcs-39g43sx8.js} +5 -5
- package/dist/chunks/{kv-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-6xqtcmxs.js → vcs-3kdbrncp.js} +5 -5
- package/dist/chunks/{kv-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
- package/dist/chunks/{kv-c77hr98g.js → vcs-3wfcjg2y.js} +150 -150
- package/dist/chunks/{kv-f2k9m1r5.js → vcs-3x3z7tjb.js} +11 -11
- package/dist/chunks/{kv-ddt4fr4j.js → vcs-40wjcqjb.js} +10 -10
- package/dist/chunks/{kv-r49z6jqe.js → vcs-445zs8vc.js} +9 -9
- package/dist/chunks/{kv-v3xc7t3q.js → vcs-48g74nrn.js} +8 -8
- package/dist/chunks/{kv-1qws1cxk.js → vcs-49n1pyc7.js} +25 -25
- package/dist/chunks/{kv-r5tcggmq.js → vcs-4dc0m2yj.js} +21 -21
- package/dist/chunks/{kv-qfa3cv49.js → vcs-4fp9at6s.js} +6 -6
- package/dist/chunks/{kv-rvc61n5b.js → vcs-4g637f85.js} +13 -13
- package/dist/chunks/{kv-kw1ywfqs.js → vcs-4g7evqcq.js} +6 -6
- package/dist/chunks/{kv-t6mph8g7.js → vcs-4h5f6qna.js} +57 -57
- package/dist/chunks/{kv-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
- package/dist/chunks/{kv-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{kv-rse61z3e.js → vcs-4ygfw4eq.js} +81 -81
- package/dist/chunks/{kv-kjz2x0t6.js → vcs-55pzwtf4.js} +4 -4
- package/dist/chunks/{kv-mz6map7w.js → vcs-5671gcv1.js} +21 -21
- package/dist/chunks/{kv-z06a16gz.js → vcs-5d4ztx9q.js} +30 -30
- package/dist/chunks/{kv-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-jyv46rdb.js → vcs-5mam38w3.js} +17 -17
- package/dist/chunks/{kv-va23x1ev.js → vcs-5r0vv638.js} +23 -23
- package/dist/chunks/{kv-5x26af84.js → vcs-5x26af84.js} +4 -4
- package/dist/chunks/{kv-45t4pvv9.js → vcs-6cahmqzr.js} +8 -8
- package/dist/chunks/{kv-jccwdt87.js → vcs-6e8fzyj6.js} +11 -11
- package/dist/chunks/{kv-jnznqa0v.js → vcs-6eerc732.js} +26 -26
- package/dist/chunks/{kv-6esdw8yj.js → vcs-6esdw8yj.js} +1 -1
- package/dist/chunks/{kv-6kd4nej0.js → vcs-6tznm3hm.js} +2 -2
- package/dist/chunks/{kv-bs9erd7a.js → vcs-6xwsggmf.js} +15 -15
- package/dist/chunks/{kv-m72tv8hd.js → vcs-6xxsd0pz.js} +3 -3
- package/dist/chunks/{kv-xya1t4hx.js → vcs-6zmsqwr6.js} +16 -16
- package/dist/chunks/{kv-76cb1hcw.js → vcs-76cb1hcw.js} +1 -1
- package/dist/chunks/{kv-s6yf7284.js → vcs-7874zhk8.js} +40 -40
- package/dist/chunks/{kv-v1w3n95q.js → vcs-78tx5zvz.js} +9 -9
- package/dist/chunks/{kv-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-d3x5xz6w.js → vcs-7epxgbgt.js} +6 -6
- package/dist/chunks/{kv-a9heag1q.js → vcs-7eybfgds.js} +20 -20
- package/dist/chunks/{kv-7r08xby2.js → vcs-7fg5f906.js} +12 -12
- package/dist/chunks/{kv-srqjx27b.js → vcs-7fqk2rn8.js} +12 -12
- package/dist/chunks/{kv-drvbhkez.js → vcs-7sdtxe0n.js} +4 -4
- package/dist/chunks/{kv-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{kv-d0h96hzn.js → vcs-7yect7x1.js} +2 -2
- package/dist/chunks/{kv-6ybw2n0b.js → vcs-8052wv3e.js} +16 -16
- package/dist/chunks/{kv-7e2neh3h.js → vcs-8n62zpbp.js} +13 -13
- package/dist/chunks/{kv-bja6bvye.js → vcs-8n846smm.js} +2 -2
- package/dist/chunks/{kv-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{kv-2pb3yjvs.js → vcs-8y5149m8.js} +30 -30
- package/dist/chunks/{kv-90zstvax.js → vcs-90zstvax.js} +1 -1
- package/dist/chunks/{kv-wcz009vq.js → vcs-95knjzp6.js} +9 -9
- package/dist/chunks/{kv-160yv0cs.js → vcs-9kg5w032.js} +8 -8
- package/dist/chunks/{kv-rka2t92q.js → vcs-9nckg20m.js} +27 -27
- package/dist/chunks/{kv-bkzw6hsp.js → vcs-9px9s5en.js} +7 -7
- package/dist/chunks/{kv-n81rxgvg.js → vcs-9t2khtsw.js} +5 -5
- package/dist/chunks/{kv-pxhg702b.js → vcs-a9czvbcv.js} +1 -1
- package/dist/chunks/{kv-fsrz95nf.js → vcs-afpnaekc.js} +25 -25
- package/dist/chunks/{kv-rw0xsr40.js → vcs-an9k1q61.js} +4 -4
- package/dist/chunks/{kv-ae17cx8n.js → vcs-avnfhq9f.js} +19 -19
- package/dist/chunks/{kv-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{kv-p7j90a4h.js → vcs-b0sg3wpe.js} +9 -9
- package/dist/chunks/{kv-b6vsg801.js → vcs-b6vsg801.js} +2 -2
- package/dist/chunks/{kv-w4p9wx71.js → vcs-b7pj09ek.js} +36 -36
- package/dist/chunks/{kv-zczdm7ss.js → vcs-b8r1m2ts.js} +44 -44
- package/dist/chunks/{kv-cyw3w6mc.js → vcs-bayttsv6.js} +27 -27
- package/dist/chunks/{kv-4vfjz4rt.js → vcs-bdbkn0ax.js} +8 -8
- package/dist/chunks/{kv-wjsq0ywf.js → vcs-bekv3p3z.js} +22 -22
- package/dist/chunks/{kv-drj7ak6f.js → vcs-bhy91ayb.js} +31 -31
- package/dist/chunks/{kv-61ennm6n.js → vcs-bjhzkqyk.js} +4 -4
- package/dist/chunks/{kv-3xack7ze.js → vcs-bmx1m787.js} +13 -13
- package/dist/chunks/{kv-404pyvje.js → vcs-bpnannhc.js} +44 -44
- package/dist/chunks/{kv-zt0ned3b.js → vcs-bq2x6ppg.js} +24 -24
- package/dist/chunks/{kv-bstexjd6.js → vcs-bstexjd6.js} +1 -1
- package/dist/chunks/{kv-kaezavbt.js → vcs-bxp5xmbx.js} +7 -7
- package/dist/chunks/{kv-2azy8kv6.js → vcs-c6x7d2ts.js} +4 -4
- package/dist/chunks/{kv-g9cxkdwa.js → vcs-c7zhh4za.js} +6 -6
- package/dist/chunks/{kv-5dr4hgg7.js → vcs-c8qdcmh0.js} +18 -18
- package/dist/chunks/{kv-w3nmgmjr.js → vcs-cadx8dpa.js} +22 -22
- package/dist/chunks/{kv-vp2s2yka.js → vcs-cbc4taa6.js} +9 -9
- package/dist/chunks/{kv-dmfyzmpg.js → vcs-ccky80qd.js} +19 -19
- package/dist/chunks/{kv-je4969v5.js → vcs-cgcy5cf3.js} +5 -5
- package/dist/chunks/{kv-j9nzbxbp.js → vcs-cjbgqqwx.js} +31 -31
- package/dist/chunks/{kv-xgdb09b7.js → vcs-ckhqsxvy.js} +16 -16
- package/dist/chunks/{kv-5sx2762c.js → vcs-ckwa8jkx.js} +35 -35
- package/dist/chunks/{kv-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
- package/dist/chunks/{kv-qzbnxppj.js → vcs-cy4s1jp1.js} +18 -18
- package/dist/chunks/{kv-jx4dw3ag.js → vcs-d1zgnyfs.js} +21 -21
- package/dist/chunks/{kv-9qgjgkb9.js → vcs-d206m7xv.js} +5 -5
- package/dist/chunks/vcs-d4p81mds.js +26 -0
- package/dist/chunks/{kv-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{kv-dk38r1a2.js → vcs-d85wcx0m.js} +12 -12
- package/dist/chunks/{kv-3ztkfjf6.js → vcs-d93zgrjq.js} +27 -27
- package/dist/chunks/{kv-9tvpxs1q.js → vcs-dds9zz6p.js} +4 -4
- package/dist/chunks/{kv-9jj3c98z.js → vcs-df75hh45.js} +11 -11
- package/dist/chunks/{kv-02xem3g7.js → vcs-dpq8g4fp.js} +13 -13
- package/dist/chunks/{kv-47xa9006.js → vcs-dr0gyvs8.js} +10 -10
- package/dist/chunks/{kv-3j1m3tq4.js → vcs-ds7r37yp.js} +5 -5
- package/dist/chunks/{kv-dt77769w.js → vcs-dt77769w.js} +1 -1
- package/dist/chunks/{kv-vv3nc6b1.js → vcs-dz8d6p0s.js} +5 -5
- package/dist/chunks/{kv-h3pvpee7.js → vcs-e5nq3gw7.js} +32 -32
- package/dist/chunks/{kv-n8khhpxx.js → vcs-e7a6aess.js} +9 -9
- package/dist/chunks/{kv-115ne1bg.js → vcs-e7ncz2ep.js} +2 -2
- package/dist/chunks/{kv-e834z07m.js → vcs-e834z07m.js} +1 -1
- package/dist/chunks/{kv-4a3eytr1.js → vcs-e8c50cbj.js} +18 -18
- package/dist/chunks/{kv-89jhvfsn.js → vcs-ete78w2g.js} +15 -15
- package/dist/chunks/{kv-as23t5a0.js → vcs-etk98kh7.js} +21 -21
- package/dist/chunks/{kv-5rgfwmcq.js → vcs-f0kndmgd.js} +21 -21
- package/dist/chunks/{kv-xp28p2w2.js → vcs-f27me0yd.js} +9 -9
- package/dist/chunks/{kv-2s2qahr1.js → vcs-f62xyz39.js} +38 -38
- package/dist/chunks/{kv-wct2263p.js → vcs-fbjqxkhq.js} +8 -8
- package/dist/chunks/{kv-hjpcddse.js → vcs-fcs1vx3s.js} +23 -23
- package/dist/chunks/{kv-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
- package/dist/chunks/{kv-fg9p65nk.js → vcs-fg9p65nk.js} +2 -2
- package/dist/chunks/{kv-hhd5n8kg.js → vcs-fkdj66dg.js} +9 -9
- package/dist/chunks/{kv-2rmkd67q.js → vcs-fm7mve24.js} +29 -29
- package/dist/chunks/{kv-7r392kn2.js → vcs-fzqd52s1.js} +46 -46
- package/dist/chunks/{kv-tadqmw12.js → vcs-fzvj6npn.js} +8 -8
- package/dist/chunks/{kv-yjb6ndj5.js → vcs-g1sr3cxe.js} +6 -6
- package/dist/chunks/{kv-hyq982s1.js → vcs-g4p48r8x.js} +184 -184
- package/dist/chunks/{kv-pw71cva5.js → vcs-g5dwm102.js} +11 -11
- package/dist/chunks/{kv-ka5qgwzt.js → vcs-gd9bhszy.js} +23 -23
- package/dist/chunks/{kv-gg8p9cgs.js → vcs-gg8p9cgs.js} +3 -3
- package/dist/chunks/{kv-56c2krc0.js → vcs-gkt07kmn.js} +320 -320
- package/dist/chunks/{kv-5k77g5zr.js → vcs-gqw7tsj2.js} +12 -12
- package/dist/chunks/{kv-me84cmg9.js → vcs-gym2h9a5.js} +45 -45
- package/dist/chunks/{kv-4evqz61e.js → vcs-h4fbvc3r.js} +9 -9
- package/dist/chunks/{kv-2n5dwavd.js → vcs-h5qv78he.js} +15 -15
- package/dist/chunks/{kv-f4r96g21.js → vcs-hcw7brhb.js} +37 -37
- package/dist/chunks/{kv-hdfrs5mg.js → vcs-hdfrs5mg.js} +2 -2
- package/dist/chunks/{kv-q2kjegb7.js → vcs-hembwb5d.js} +29 -29
- package/dist/chunks/{kv-vgbe0hx2.js → vcs-hpfdwx7h.js} +6 -6
- package/dist/chunks/{kv-hpg1pkwy.js → vcs-hpg1pkwy.js} +1 -1
- package/dist/chunks/{kv-0fgrxrs4.js → vcs-hq2efw4x.js} +16 -16
- package/dist/chunks/{kv-vbhxch91.js → vcs-hstvx0fp.js} +11 -11
- package/dist/chunks/{kv-q9np0saj.js → vcs-hyj4a2ag.js} +11 -11
- package/dist/chunks/{kv-4t06a3yy.js → vcs-hzkgd62h.js} +10 -10
- package/dist/chunks/{kv-jqz6w6rx.js → vcs-j183yw35.js} +22 -22
- package/dist/chunks/{kv-vp0e260z.js → vcs-j989h8xf.js} +19 -19
- package/dist/chunks/{kv-qbwb6asr.js → vcs-jf5qn0eb.js} +14 -14
- package/dist/chunks/{kv-jfaecv01.js → vcs-jfaecv01.js} +1 -1
- package/dist/chunks/{kv-c3rxspmj.js → vcs-jh7yqtmb.js} +18 -18
- package/dist/chunks/{kv-7qh08jpw.js → vcs-jmg6ybda.js} +3 -3
- package/dist/chunks/{kv-7y9vgyqs.js → vcs-jnpgd2qz.js} +13 -13
- package/dist/chunks/{kv-0wg3svz2.js → vcs-jppd208a.js} +11 -11
- package/dist/chunks/{kv-jtnps1zs.js → vcs-jtnps1zs.js} +2 -2
- package/dist/chunks/{kv-q85rya1m.js → vcs-k3cw2t6y.js} +6 -6
- package/dist/chunks/{kv-gbxkedf1.js → vcs-k4a4wn9h.js} +9 -9
- package/dist/chunks/{kv-k814nvkf.js → vcs-k814nvkf.js} +1 -1
- package/dist/chunks/{kv-e07q2w5p.js → vcs-k9zkdd2y.js} +4 -4
- package/dist/chunks/{kv-x7p5d4ez.js → vcs-kfg4vbkh.js} +11 -11
- package/dist/chunks/{kv-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
- package/dist/chunks/{kv-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{kv-55dqfegw.js → vcs-m2dzna08.js} +11 -11
- package/dist/chunks/{kv-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-qkmqhy1p.js → vcs-mayam77x.js} +12 -12
- package/dist/chunks/{kv-zx29snpc.js → vcs-mfpkpefx.js} +2 -2
- package/dist/chunks/{kv-c5m2a8vb.js → vcs-mpe6qr53.js} +8 -8
- package/dist/chunks/{kv-rtjw24t9.js → vcs-mtph0mrj.js} +17 -17
- package/dist/chunks/{kv-66na6bfc.js → vcs-n0bgtmah.js} +4 -4
- package/dist/chunks/{kv-nah043kf.js → vcs-nah043kf.js} +1 -1
- package/dist/chunks/{kv-pchrqqdm.js → vcs-nd2tnrer.js} +14 -14
- package/dist/chunks/{kv-qydyzxp6.js → vcs-nh3dh1yv.js} +11 -11
- package/dist/chunks/{kv-hde841fm.js → vcs-nhfnx0yz.js} +4 -4
- package/dist/chunks/{kv-qqycp87v.js → vcs-nq68ds7k.js} +11 -11
- package/dist/chunks/{kv-91zgm02f.js → vcs-nqr97zc9.js} +21 -21
- package/dist/chunks/{kv-nhbhgapw.js → vcs-nyvrwfsp.js} +7 -7
- package/dist/chunks/{kv-p015t6z3.js → vcs-p015t6z3.js} +2 -2
- package/dist/chunks/{kv-r8kayhxa.js → vcs-phvm2phv.js} +26 -26
- package/dist/chunks/{kv-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{kv-935mmq8c.js → vcs-pm2h99rs.js} +5 -5
- package/dist/chunks/{kv-1wxjvrk5.js → vcs-pp35y9ja.js} +12 -12
- package/dist/chunks/{kv-m2d0yhwr.js → vcs-ppb36cfr.js} +11 -11
- package/dist/chunks/{kv-m7xh3h0x.js → vcs-prd8gnhb.js} +4 -4
- package/dist/chunks/{kv-ftxywx64.js → vcs-psx2s2js.js} +8 -8
- package/dist/chunks/{kv-0fvn3p7v.js → vcs-q6x07d23.js} +4 -4
- package/dist/chunks/{kv-twbd5t10.js → vcs-qbbn7fzb.js} +3 -3
- package/dist/chunks/{kv-75595w94.js → vcs-qega9mgr.js} +30 -30
- package/dist/chunks/{kv-zek7wtxf.js → vcs-qnx4qqef.js} +26 -26
- package/dist/chunks/{kv-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
- package/dist/chunks/{kv-shf9kqdk.js → vcs-qvp421yx.js} +12 -12
- package/dist/chunks/{kv-86dmydwe.js → vcs-qxt327x0.js} +9 -9
- package/dist/chunks/{kv-071gpszy.js → vcs-qzvrv7jr.js} +17 -17
- package/dist/chunks/{kv-r0yr0wbs.js → vcs-r0yr0wbs.js} +1 -1
- package/dist/chunks/{kv-kwndref6.js → vcs-r2tmvqhf.js} +6 -6
- package/dist/chunks/{kv-r542h3bh.js → vcs-r542h3bh.js} +1 -1
- package/dist/chunks/{kv-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{kv-eg90dvv9.js → vcs-rba8nkkd.js} +35 -35
- package/dist/chunks/{kv-cw10c582.js → vcs-rfy1qsv0.js} +5 -5
- package/dist/chunks/{kv-ceka3dkk.js → vcs-rkmk5vwv.js} +20 -20
- package/dist/chunks/{kv-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
- package/dist/chunks/{kv-p4nh6pwc.js → vcs-rxr97xxp.js} +5 -5
- package/dist/chunks/{kv-d3r57h85.js → vcs-s3d0e3hj.js} +19 -19
- package/dist/chunks/{kv-sa3fpqfw.js → vcs-sa3fpqfw.js} +2 -2
- package/dist/chunks/{kv-2b2r99nk.js → vcs-sh7z0vsf.js} +16 -16
- package/dist/chunks/{kv-7dg3r1w7.js → vcs-sme6xn3k.js} +11 -11
- package/dist/chunks/{kv-8x9y3wj0.js → vcs-smfcvx02.js} +9 -9
- package/dist/chunks/{kv-a04bxpfg.js → vcs-snefxbbk.js} +15 -15
- package/dist/chunks/{kv-sqjzf8x2.js → vcs-sqjzf8x2.js} +1 -1
- package/dist/chunks/{kv-3p052jv5.js → vcs-srn70nxn.js} +11 -11
- package/dist/chunks/{kv-ssfehs1z.js → vcs-ssfehs1z.js} +1 -1
- package/dist/chunks/{kv-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
- package/dist/chunks/{kv-c5jgm94y.js → vcs-t0jmwydf.js} +6 -6
- package/dist/chunks/{kv-jd4age7a.js → vcs-t0kxd7r7.js} +4 -4
- package/dist/chunks/{kv-760wp627.js → vcs-tamjj6bd.js} +20 -20
- package/dist/chunks/{kv-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{kv-jvdf543n.js → vcs-texq708e.js} +3 -3
- package/dist/chunks/{kv-j74bswn5.js → vcs-tkpvnbjr.js} +11 -11
- package/dist/chunks/{kv-8qnscykg.js → vcs-tnh07hxx.js} +10 -10
- package/dist/chunks/{kv-s8arvpx8.js → vcs-ttq9z2mv.js} +23 -23
- package/dist/chunks/{kv-twssxy5n.js → vcs-twssxy5n.js} +2 -2
- package/dist/chunks/{kv-xtqtqx9z.js → vcs-v0ry4a9f.js} +54 -54
- package/dist/chunks/{kv-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{kv-vb80j1wh.js → vcs-vb80j1wh.js} +1 -1
- package/dist/chunks/{kv-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-cb8bjp2w.js → vcs-vmb9fjk7.js} +4 -4
- package/dist/chunks/{kv-n7d88tpn.js → vcs-vpm8vpz0.js} +2 -2
- package/dist/chunks/{kv-fdx879ms.js → vcs-vqyvghz1.js} +18 -18
- package/dist/chunks/{kv-qnqasnye.js → vcs-vsqvcqta.js} +3 -3
- package/dist/chunks/{kv-jd9njenw.js → vcs-vx6ny987.js} +4 -4
- package/dist/chunks/{kv-w2eysc6j.js → vcs-w2eysc6j.js} +2 -2
- package/dist/chunks/{kv-9q8g9sv8.js → vcs-w35wzz9x.js} +4 -4
- package/dist/chunks/{kv-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-kvyjzh70.js → vcs-w40n4gsv.js} +43 -43
- package/dist/chunks/{kv-nx76pwqd.js → vcs-w68dkr85.js} +18 -18
- package/dist/chunks/{kv-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{kv-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{kv-myytq8fm.js → vcs-whphkcrj.js} +29 -29
- package/dist/chunks/{kv-wnhgecwx.js → vcs-wnhgecwx.js} +1 -1
- package/dist/chunks/{kv-wr3re1en.js → vcs-wr3re1en.js} +1 -1
- package/dist/chunks/{kv-vx10x2dk.js → vcs-xa3f19ed.js} +5 -5
- package/dist/chunks/{kv-dm6ksgvz.js → vcs-xaz3vqte.js} +4 -4
- package/dist/chunks/{kv-kwn3ssfm.js → vcs-xddcb79t.js} +3 -3
- package/dist/chunks/{kv-5tkm4nky.js → vcs-xj4wy132.js} +15 -15
- package/dist/chunks/{kv-4pwbrt4g.js → vcs-xk9q3ejh.js} +4 -4
- package/dist/chunks/{kv-hfgk9wzg.js → vcs-xnh55p1t.js} +7 -7
- package/dist/chunks/{kv-5ejxf25r.js → vcs-xp4gxavp.js} +12 -12
- package/dist/chunks/{kv-h2y60qcv.js → vcs-xxtgb6sa.js} +19 -19
- package/dist/chunks/{kv-b3vkvrqf.js → vcs-y0nndy60.js} +16 -16
- package/dist/chunks/{kv-evhj5yhc.js → vcs-y1d2ygm2.js} +14 -14
- package/dist/chunks/{kv-yara3q77.js → vcs-yara3q77.js} +2 -2
- package/dist/chunks/{kv-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{kv-stf0fspw.js → vcs-yefmbngg.js} +17 -17
- package/dist/chunks/{kv-2b2tn81v.js → vcs-ym045bap.js} +42 -42
- package/dist/chunks/{kv-1r7af8ee.js → vcs-ymz7p2c9.js} +3 -3
- package/dist/chunks/{kv-4a0szxqv.js → vcs-yps7hgha.js} +16 -16
- package/dist/chunks/{kv-ktcb05j9.js → vcs-yqdscqzd.js} +49 -49
- package/dist/chunks/{kv-kh14z306.js → vcs-ysprf8xe.js} +8 -8
- package/dist/chunks/{kv-a3qf1gkz.js → vcs-yya0ytvb.js} +27 -27
- package/dist/chunks/{kv-fvssm496.js → vcs-yynrf4vj.js} +3 -3
- package/dist/chunks/{kv-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-z38nccrw.js → vcs-z38nccrw.js} +1 -1
- package/dist/chunks/{kv-rmg9yy75.js → vcs-z6shv5en.js} +44 -44
- package/dist/chunks/{kv-s13sq3kz.js → vcs-z7qjx3kd.js} +34 -34
- package/dist/chunks/{kv-j8nev28t.js → vcs-zeckgh37.js} +7 -7
- package/dist/chunks/{kv-zgd8t41s.js → vcs-zgd8t41s.js} +2 -2
- package/dist/chunks/{kv-zgkm4kzm.js → vcs-zgkm4kzm.js} +3 -3
- package/dist/chunks/{kv-0e61bcwm.js → vcs-zpmqt7v6.js} +16 -16
- package/dist/chunks/{kv-fhn08a80.js → vcs-zr0s6khg.js} +23 -23
- package/dist/chunks/{kv-abt0sas0.js → vcs-zrhp7mek.js} +26 -26
- package/dist/chunks/{kv-040cxj5w.js → vcs-zvcf8251.js} +13 -13
- package/dist/chunks/{kv-z5kj034w.js → vcs-zzt9btdd.js} +28 -28
- 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 +87 -87
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +83 -83
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- package/dist/git.js +7 -7
- 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 +99 -99
- 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/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 +372 -372
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +140 -140
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +92 -92
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +156 -156
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- 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 +95 -95
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/kv-e2m0e281.js +0 -26
- package/dist/chunks/kv-z7bdqmx5.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1jakw16s.js → vcs-1jakw16s.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4m86bj6y.js → vcs-4m86bj6y.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a058387c.js → vcs-a058387c.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-beh6qq61.js → vcs-beh6qq61.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
- /package/dist/chunks/{kv-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-ncqqe42p.js → vcs-ncqqe42p.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-zr0s6khg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./vcs-bayttsv6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin50,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin50 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service74;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin50, exports_verbosity };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-vmb9fjk7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./vcs-tnh07hxx.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service30,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-2dkjcnxp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
make12,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-g4p48r8x.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
29
29
|
__export(exports_plugin2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event4,
|
|
31
31
|
GuiBundle: () => GuiBundle2,
|
|
32
|
-
ID: () =>
|
|
33
|
-
Info: () =>
|
|
32
|
+
ID: () => ID3,
|
|
33
|
+
Info: () => Info5,
|
|
34
34
|
Plugin: () => exports_plugin2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service30,
|
|
36
36
|
Source: () => Source2,
|
|
37
37
|
State: () => State2,
|
|
38
38
|
awaitActivation: () => awaitActivation2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node19
|
|
40
40
|
});
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event4, GuiBundle as GuiBundle2, ID as ID3, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
42
|
import { readFile } from "node:fs/promises";
|
|
43
43
|
import { fileURLToPath } from "node:url";
|
|
44
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
45
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
48
48
|
const bus = yield* Service85;
|
|
49
|
-
const kv = yield*
|
|
49
|
+
const kv = yield* Service73;
|
|
50
50
|
const scope = yield* Scope.make();
|
|
51
51
|
const active = new Map;
|
|
52
52
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
79
79
|
const code = yield* Effect.promise(() => readFile(fileURLToPath(gui.file), "utf8"));
|
|
80
80
|
return { code, revision: gui.revision, options: gui.options };
|
|
81
81
|
});
|
|
82
|
-
const host = yield*
|
|
82
|
+
const host = yield* make12({ list });
|
|
83
83
|
const load = Effect.fnUntraced(function* (plugin) {
|
|
84
84
|
const activation = { plugin, scope: yield* Scope.fork(scope) };
|
|
85
85
|
const inherit = yield* inherit2();
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
214
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
215
215
|
}));
|
|
216
216
|
yield* Effect.addFinalizer(close);
|
|
217
|
-
return
|
|
217
|
+
return Service30.of({
|
|
218
218
|
activate,
|
|
219
219
|
close,
|
|
220
220
|
awaitActivation: ready.await,
|
|
@@ -232,10 +232,10 @@ function slotInfo(slot) {
|
|
|
232
232
|
features: slot.plugin.features ?? { server: true }
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
236
|
-
service:
|
|
235
|
+
var node19 = Node.makeLocationNode({
|
|
236
|
+
service: Service30,
|
|
237
237
|
layer,
|
|
238
238
|
deps: [requirements3]
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
export {
|
|
241
|
+
export { node19, exports_plugin2, Event4, GuiBundle2, ID3, Info5, Source2, State2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-hzkgd62h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-vmb9fjk7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-3643rqcq.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-bq2x6ppg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID12
|
|
22
|
+
} from "./vcs-zr0s6khg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service70
|
|
25
|
+
} from "./vcs-f62xyz39.js";
|
|
26
26
|
import {
|
|
27
27
|
Remote2,
|
|
28
28
|
Document2,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
make11
|
|
30
|
+
} from "./vcs-k9zkdd2y.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-7fg5f906.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID4,
|
|
41
|
+
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-49n1pyc7.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID13.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service85;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service70;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,13 +195,13 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID13.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID13.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
203
|
-
integrationID:
|
|
204
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
202
|
+
yield* integrate(next.remote && next.connection && make11({
|
|
203
|
+
integrationID: ID13.make("opencode"),
|
|
204
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID15.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
207
207
|
}));
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
222
222
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
223
223
|
const server = yield* normalizeServer(server2(credential));
|
|
224
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
224
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
225
225
|
query: input.query,
|
|
226
226
|
providerID
|
|
227
227
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID12.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID12.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID4.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID12.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
331
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info24 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-6tznm3hm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./vcs-f62xyz39.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./vcs-nd2tnrer.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-hpg1pkwy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin12
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin12 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service70;
|
|
34
34
|
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service19;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin21 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin12, exports_worktree };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-hzkgd62h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-vmb9fjk7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./vcs-3643rqcq.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-bjhzkqyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-bq2x6ppg.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service75
|
|
25
|
+
} from "./vcs-zr0s6khg.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./vcs-bayttsv6.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-r2tmvqhf.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service78;
|
|
77
|
+
const providers = yield* Service75;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make8(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID12.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make8(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make8(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make8(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make8(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make8(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make8(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make8(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make8(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID12.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID12.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
283
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make8(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID12.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make8(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID12.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID12.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make8(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID12.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make7();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID11.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make7, AzurePlugin2 };
|