@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,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-vmb9fjk7.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
14
|
var exports_agent3 = {};
|
|
15
15
|
__export(exports_agent3, {
|
|
16
16
|
Agent: () => exports_agent3,
|
|
17
17
|
Color: () => Color2,
|
|
18
|
-
Event: () =>
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
18
|
+
Event: () => Event11,
|
|
19
|
+
ID: () => ID8,
|
|
20
|
+
Info: () => Info12,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service58,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
|
-
import { Event as
|
|
30
|
-
var
|
|
29
|
+
import { Event as Event11 } from "@opencode/schema/agent";
|
|
30
|
+
var ID8 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID8.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info12 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service58 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service85;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info12.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service58.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID8.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node89] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID8, Name3, defaultID2, Color2, Info12, Service58, node61, exports_agent3, Event11 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./vcs-k3cw2t6y.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-2dkjcnxp.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-7epxgbgt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./vcs-ttq9z2mv.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service38;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-p015t6z3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node77
|
|
8
|
+
} from "./vcs-bayttsv6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node59
|
|
12
|
+
} from "./vcs-gym2h9a5.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate2 = {};
|
|
22
|
+
__export(exports_generate2, {
|
|
23
|
+
Generate: () => exports_generate2,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service55,
|
|
29
|
+
UnavailableError: () => UnavailableError5,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer23,
|
|
32
|
+
node: () => node58
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError3 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service55 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer23 = Layer.effect(Service55, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service56;
|
|
89
|
+
const models = yield* Service74;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError5({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError5({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(LLM.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer9 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service55.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError3({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError3({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError3({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node58 = makeLocationNode({
|
|
219
|
+
service: Service55,
|
|
220
|
+
layer: layer23,
|
|
221
|
+
deps: [node59, node77, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service55, layer23, node58, exports_generate2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-vmb9fjk7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-6tznm3hm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./vcs-avnfhq9f.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError7
|
|
15
|
+
} from "./vcs-7epxgbgt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service53,
|
|
18
|
+
node56
|
|
19
|
+
} from "./vcs-7fqk2rn8.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service54,
|
|
25
|
+
node57
|
|
26
|
+
} from "./vcs-d1zgnyfs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service69,
|
|
29
|
+
node72
|
|
30
|
+
} from "./vcs-6cahmqzr.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,29 +39,29 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event10,
|
|
43
|
+
ID: () => ID6,
|
|
44
|
+
NotFoundError: () => NotFoundError6,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request2,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service52,
|
|
51
|
+
Source: () => Source4,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node55
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
58
58
|
import { Permission } from "@opencode/schema/permission";
|
|
59
59
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
60
|
-
import { Event as
|
|
60
|
+
import { Event as Event10 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
|
-
var
|
|
64
|
-
var
|
|
63
|
+
var ID6 = Permission.ID;
|
|
64
|
+
var Source4 = Permission.Source;
|
|
65
65
|
var Request2 = Permission.Request;
|
|
66
66
|
var Reply2 = Permission.Reply;
|
|
67
67
|
|
|
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
class
|
|
88
|
-
requestID:
|
|
87
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
|
+
requestID: ID6
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
91
91
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service52 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service85;
|
|
106
106
|
const location = yield* Service82;
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
107
|
+
const agents = yield* Service58;
|
|
108
|
+
const sessions = yield* Service53;
|
|
109
|
+
const saved = yield* Service54;
|
|
110
|
+
const hooks = yield* Service69;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
130
130
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
131
131
|
const session = yield* sessions.get(sessionID);
|
|
132
132
|
if (!session)
|
|
133
|
-
return yield* new
|
|
133
|
+
return yield* new NotFoundError7({ sessionID });
|
|
134
134
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
135
135
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
136
136
|
});
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
160
160
|
});
|
|
161
161
|
function request(input, message) {
|
|
162
162
|
return {
|
|
163
|
-
id: input.id ??
|
|
163
|
+
id: input.id ?? ID6.create(),
|
|
164
164
|
sessionID: input.sessionID,
|
|
165
165
|
action: input.action,
|
|
166
166
|
resources: input.resources,
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
185
185
|
}));
|
|
186
186
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
187
187
|
if (closed)
|
|
188
|
-
return { id: input.id ??
|
|
188
|
+
return { id: input.id ?? ID6.create(), effect: "deny" };
|
|
189
189
|
const result = yield* evaluateInput(input);
|
|
190
190
|
const value = request(input, result.message);
|
|
191
191
|
if (result.effect === "ask")
|
|
@@ -216,7 +216,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
216
216
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
217
217
|
const existing = pending.get(input.requestID);
|
|
218
218
|
if (!existing)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
220
220
|
yield* bus.publish(Permission.Event.Replied, {
|
|
221
221
|
sessionID: existing.request.sessionID,
|
|
222
222
|
requestID: existing.request.id,
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
271
271
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
272
272
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service52.of({ ask, assert, reply, get, forSession, list, close });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node55 = makeLocationNode({
|
|
277
|
+
service: Service52,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node89, node86,
|
|
279
|
+
deps: [node89, node86, node61, node56, node57, node72]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { PermissionEffect,
|
|
282
|
+
export { PermissionEffect, ID6, Source4, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service52, node55, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-vmb9fjk7.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-6tznm3hm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
rewrite2,
|
|
15
|
+
ID12,
|
|
15
16
|
modelSettings2,
|
|
16
17
|
mergeOverlay2,
|
|
17
18
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Event16
|
|
21
|
-
|
|
22
|
-
} from "./kv-fhn08a80.js";
|
|
19
|
+
Service75,
|
|
20
|
+
node78,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./vcs-zr0s6khg.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,17 +32,17 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node77,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
53
|
import { Event as Event15 } from "@opencode/schema/model";
|
|
54
|
-
var
|
|
54
|
+
var ID11 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,12 +69,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info21 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service74 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service75;
|
|
78
78
|
const bus = yield* Service85;
|
|
79
79
|
const location = yield* Service82;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service74.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node77 = makeLocationNode({ service: Service74, layer, deps: [node78, node89, node86] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info21, Service74, node77, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|