@opencode/core 0.0.0-dev-21354 → 0.0.0-dev-21357
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +77 -77
- package/dist/chunks/{model-resolver-rsa08myv.js → config-0146ehcd.js} +39 -39
- package/dist/chunks/{model-resolver-awpkagge.js → config-01dnnh97.js} +12 -12
- package/dist/chunks/{model-resolver-g2qxcqrf.js → config-01w2j48t.js} +184 -184
- package/dist/chunks/{model-resolver-16t55p56.js → config-098mw7j8.js} +17 -17
- package/dist/chunks/{model-resolver-tt71e4t5.js → config-0am8fjdy.js} +22 -22
- package/dist/chunks/{model-resolver-t550f9t1.js → config-0gdmqesm.js} +4 -4
- package/dist/chunks/{model-resolver-mnvhm04t.js → config-0k354qyb.js} +34 -34
- package/dist/chunks/{model-resolver-fczeefh4.js → config-0q3gqcca.js} +3 -3
- package/dist/chunks/{model-resolver-nvqyc4x4.js → config-0ryw2dh8.js} +21 -21
- package/dist/chunks/{model-resolver-0vbcp93d.js → config-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-4v7ngy20.js → config-0xqyf95c.js} +4 -4
- package/dist/chunks/{model-resolver-0jq9fyba.js → config-11dqjexa.js} +9 -9
- package/dist/chunks/{model-resolver-5a4rr9ep.js → config-11pezjhg.js} +32 -32
- package/dist/chunks/{model-resolver-8m8th7g9.js → config-12tcmyxx.js} +29 -29
- package/dist/chunks/{model-resolver-zenctmbx.js → config-15rsdq6e.js} +34 -34
- package/dist/chunks/{model-resolver-gv2b8e0t.js → config-15wkt9r0.js} +28 -28
- package/dist/chunks/{model-resolver-5v9zgnrp.js → config-180t97jp.js} +32 -32
- package/dist/chunks/{model-resolver-bzeyqsqd.js → config-1ep4rre3.js} +4 -4
- package/dist/chunks/{model-resolver-bjx1sjef.js → config-1ffvrpkg.js} +6 -6
- package/dist/chunks/{model-resolver-vhbqgehn.js → config-1h3v5wkf.js} +56 -56
- package/dist/chunks/{model-resolver-7jav1qs0.js → config-1zbharsm.js} +10 -10
- package/dist/chunks/{model-resolver-sk5hrgtc.js → config-22sd1qqc.js} +8 -8
- package/dist/chunks/{model-resolver-gzdnfxqj.js → config-2c9v7a19.js} +28 -28
- package/dist/chunks/{model-resolver-vbrars45.js → config-2dryst3t.js} +8 -8
- package/dist/chunks/{model-resolver-nme8cjen.js → config-2n7mj27j.js} +8 -8
- package/dist/chunks/{model-resolver-zqbntp8m.js → config-2s6fx24g.js} +13 -13
- package/dist/chunks/{model-resolver-sr8at2s6.js → config-2tbjjbgs.js} +23 -23
- package/dist/chunks/{model-resolver-t5j7jw81.js → config-2vvbbmgf.js} +5 -5
- package/dist/chunks/{model-resolver-bt2m3cq7.js → config-2y5zvhyc.js} +33 -33
- package/dist/chunks/{model-resolver-w232x9j5.js → config-32pxjafj.js} +13 -13
- package/dist/chunks/{model-resolver-9s481m48.js → config-3fzp089a.js} +14 -14
- package/dist/chunks/{model-resolver-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-q6jqqp9b.js → config-3hpw86qk.js} +5 -5
- package/dist/chunks/{model-resolver-3hwn7j4h.js → config-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-hkz952tc.js → config-3m8ztwev.js} +43 -43
- package/dist/chunks/{model-resolver-ttrv0ee4.js → config-3nkcb2f7.js} +22 -22
- package/dist/chunks/{model-resolver-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-sctb5je3.js → config-3v7yvdjz.js} +20 -20
- package/dist/chunks/{model-resolver-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-eq20ba7x.js → config-4adxw2q2.js} +6 -6
- package/dist/chunks/{model-resolver-2a6rn6yr.js → config-4mwpykj0.js} +6 -6
- package/dist/chunks/{model-resolver-377tx7tw.js → config-4q9d5zmx.js} +30 -30
- package/dist/chunks/{model-resolver-hr20tfp9.js → config-4sgmmrrd.js} +24 -24
- package/dist/chunks/{model-resolver-gps0vx81.js → config-4ww92429.js} +94 -94
- package/dist/chunks/{model-resolver-bacj9t34.js → config-4xdpab2z.js} +9 -9
- package/dist/chunks/{model-resolver-e930j4e4.js → config-4ywq529d.js} +9 -9
- package/dist/chunks/{model-resolver-kntzm8s7.js → config-50dha6f4.js} +13 -13
- package/dist/chunks/{model-resolver-g90hexag.js → config-52jgfbpk.js} +51 -51
- package/dist/chunks/{model-resolver-88fjbbyn.js → config-52v926c4.js} +28 -28
- package/dist/chunks/{model-resolver-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-kjdm35cs.js → config-57myy5jh.js} +5 -5
- package/dist/chunks/{model-resolver-8n9x2wf6.js → config-5epte933.js} +3 -3
- package/dist/chunks/{model-resolver-kqv3x6rj.js → config-5fec3t3w.js} +4 -4
- package/dist/chunks/{model-resolver-5m9w47nd.js → config-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-q4v9s1ey.js → config-5n3frxbd.js} +8 -8
- package/dist/chunks/{model-resolver-7dtw93gw.js → config-5pt2mcnr.js} +35 -35
- package/dist/chunks/{model-resolver-qe9z13v3.js → config-5qfavyey.js} +22 -22
- package/dist/chunks/{model-resolver-prcvzp3b.js → config-5s9rh5zt.js} +27 -27
- package/dist/chunks/{model-resolver-qrv63xef.js → config-5ve7jj82.js} +5 -5
- package/dist/chunks/config-619r8v3y.js +18 -0
- package/dist/chunks/{model-resolver-w55jn1kt.js → config-63ak3stf.js} +8 -8
- package/dist/chunks/{model-resolver-6827pfxn.js → config-6827pfxn.js} +1 -1
- package/dist/chunks/{model-resolver-zyhj209a.js → config-6drhhcgp.js} +18 -18
- package/dist/chunks/{model-resolver-e0vbf2p2.js → config-6mg66w46.js} +13 -13
- package/dist/chunks/{model-resolver-7fkffz83.js → config-6pc27hjz.js} +8 -8
- package/dist/chunks/{model-resolver-16qtt0td.js → config-6rk0qtx5.js} +9 -9
- package/dist/chunks/{model-resolver-6xb47vfp.js → config-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-775gj3j1.js → config-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-6dt87k62.js → config-7byx5q39.js} +30 -30
- package/dist/chunks/config-7qbkbymg.js +257 -0
- package/dist/chunks/{model-resolver-5ycagacq.js → config-7rkcz7sg.js} +4 -4
- package/dist/chunks/{model-resolver-wgwbykmc.js → config-7rsqhaa1.js} +13 -13
- package/dist/chunks/{model-resolver-7v6vae4w.js → config-7v6vae4w.js} +3 -3
- package/dist/chunks/{model-resolver-84txncab.js → config-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-jqyzchqw.js → config-8a27v2a9.js} +6 -6
- package/dist/chunks/{model-resolver-he2rnee2.js → config-8jqzjjgp.js} +1 -1
- package/dist/chunks/{model-resolver-xjy4dz85.js → config-8m3cssw6.js} +18 -18
- package/dist/chunks/{model-resolver-8m6m0r52.js → config-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-8mywswrd.js → config-8mywswrd.js} +1 -1
- package/dist/chunks/{model-resolver-2kgvm4ga.js → config-8p4aw0bd.js} +25 -25
- package/dist/chunks/{model-resolver-jvfpmyx9.js → config-8qbxhjh4.js} +20 -20
- package/dist/chunks/{model-resolver-xztctcj7.js → config-8rgyadme.js} +8 -8
- package/dist/chunks/{model-resolver-h6ag9tfj.js → config-8ypvz7qz.js} +24 -24
- package/dist/chunks/{model-resolver-0y23mm2p.js → config-9b55rd9h.js} +11 -11
- package/dist/chunks/{model-resolver-t67qckpp.js → config-9c366hpc.js} +17 -17
- package/dist/chunks/{model-resolver-5yzzbxa7.js → config-9hn6k4tm.js} +8 -8
- package/dist/chunks/{model-resolver-6hen7d63.js → config-9ndxqh6g.js} +29 -29
- package/dist/chunks/{model-resolver-xq54jxm8.js → config-9ph9narp.js} +11 -11
- package/dist/chunks/{model-resolver-n62bhn6h.js → config-9q85pybg.js} +27 -27
- package/dist/chunks/{model-resolver-q4x9wazd.js → config-9qgvjr2e.js} +3 -3
- package/dist/chunks/{model-resolver-4134zm2w.js → config-9r3hany2.js} +27 -27
- package/dist/chunks/{model-resolver-rba33dr3.js → config-9r4817sq.js} +9 -9
- package/dist/chunks/{model-resolver-6zyxy6vr.js → config-9yy9ab6f.js} +48 -48
- package/dist/chunks/{model-resolver-76rvckpe.js → config-a01j9zgm.js} +5 -5
- package/dist/chunks/{model-resolver-b27vhd2z.js → config-a2ew8a62.js} +4 -4
- package/dist/chunks/{model-resolver-aq38rpj0.js → config-amaj7c21.js} +9 -9
- package/dist/chunks/{model-resolver-kmq3cj41.js → config-amv78yhn.js} +28 -28
- package/dist/chunks/{model-resolver-qswqrcwe.js → config-av20eqx4.js} +3 -3
- package/dist/chunks/{model-resolver-m0k3p8s9.js → config-b0sy7btn.js} +20 -20
- package/dist/chunks/config-b7an2wpv.js +517 -0
- package/dist/chunks/{model-resolver-cefkz2r6.js → config-b89refpb.js} +4 -4
- package/dist/chunks/{model-resolver-xkgtb7n5.js → config-ba4pvmzc.js} +47 -47
- package/dist/chunks/{model-resolver-syv183bv.js → config-bcmq4rdz.js} +7 -7
- package/dist/chunks/{model-resolver-8h28ekbz.js → config-bjje5kk1.js} +17 -17
- package/dist/chunks/{model-resolver-2sz974pf.js → config-bnaqkdcm.js} +28 -28
- package/dist/chunks/{model-resolver-q0nrsbdj.js → config-by382cv3.js} +10 -10
- package/dist/chunks/{model-resolver-pty45f7z.js → config-bzkayexk.js} +22 -22
- package/dist/chunks/{model-resolver-c1fqxshp.js → config-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-resolver-htk2qbym.js → config-c53xjpva.js} +6 -6
- package/dist/chunks/{model-resolver-r799sh1q.js → config-c6zmkhp3.js} +21 -21
- package/dist/chunks/{model-resolver-q63t359z.js → config-c72jc7ts.js} +6 -6
- package/dist/chunks/{model-resolver-bdehnvdw.js → config-cac2amd6.js} +37 -37
- package/dist/chunks/{model-resolver-qm7j4bgw.js → config-cgsh41s3.js} +45 -45
- package/dist/chunks/{model-resolver-1psxftkd.js → config-cj7b5bvp.js} +22 -22
- package/dist/chunks/{model-resolver-h3g77kky.js → config-cja2h5j5.js} +15 -15
- package/dist/chunks/{model-resolver-1g0trf6w.js → config-cpzrm4es.js} +18 -18
- package/dist/chunks/{model-resolver-3h19w961.js → config-czx6xwt7.js} +15 -15
- package/dist/chunks/{model-resolver-gcvbawqp.js → config-d7nwkqpz.js} +16 -16
- package/dist/chunks/{model-resolver-svmspn7k.js → config-d9xej2qg.js} +4 -4
- package/dist/chunks/{model-resolver-9gzkep83.js → config-dcm3phq5.js} +14 -14
- package/dist/chunks/{model-resolver-3y377wv9.js → config-dgpsrprm.js} +4 -4
- package/dist/chunks/{model-resolver-2k71kv7p.js → config-dj68pnee.js} +4 -4
- package/dist/chunks/{model-resolver-y71avatq.js → config-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-qqeeq2t9.js → config-drwq78ky.js} +7 -7
- package/dist/chunks/{model-resolver-3c9v7fz9.js → config-e1n9zcw9.js} +14 -14
- package/dist/chunks/{model-resolver-gyk6nsb6.js → config-e411ahfn.js} +8 -8
- package/dist/chunks/{model-resolver-91dnb5t9.js → config-e7pp2s8c.js} +11 -11
- package/dist/chunks/{model-resolver-3kpnj44v.js → config-e8gmhsy9.js} +68 -68
- package/dist/chunks/{model-resolver-crfkxg47.js → config-eb2d9dj2.js} +2 -2
- package/dist/chunks/{model-resolver-kpcbcdy7.js → config-edj4339e.js} +4 -4
- package/dist/chunks/{model-resolver-eej6y6fw.js → config-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-bnzbpt6f.js → config-esa7kqcn.js} +18 -18
- package/dist/chunks/{model-resolver-m9gxmxmt.js → config-eyh2h61y.js} +16 -16
- package/dist/chunks/{model-resolver-mcv1jzh9.js → config-f04b7fkv.js} +20 -20
- package/dist/chunks/{model-resolver-kcq0jhd1.js → config-f04qpyrt.js} +23 -23
- package/dist/chunks/{model-resolver-ajasdxgg.js → config-f4kwc7sz.js} +3 -3
- package/dist/chunks/{model-resolver-03f7gaj9.js → config-f6ssxvba.js} +32 -32
- package/dist/chunks/{model-resolver-tjkhcpzj.js → config-f8e526k5.js} +6 -6
- package/dist/chunks/{model-resolver-qgn6gcr1.js → config-fcrkznn8.js} +5 -5
- package/dist/chunks/{model-resolver-fcy631f0.js → config-fcy631f0.js} +1 -1
- package/dist/chunks/{model-resolver-g1thfskw.js → config-ffxepqpn.js} +30 -30
- package/dist/chunks/{model-resolver-hffg64zm.js → config-fvwy1vyc.js} +4 -4
- package/dist/chunks/{model-resolver-k7myrtme.js → config-fw181sc9.js} +9 -9
- package/dist/chunks/{model-resolver-ny8edt06.js → config-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-resolver-bp6qvqjj.js → config-g2yfkae0.js} +42 -42
- package/dist/chunks/{model-resolver-b6rs5hhk.js → config-g31rm23e.js} +18 -18
- package/dist/chunks/{model-resolver-q11cbr1m.js → config-g3fevjja.js} +22 -22
- package/dist/chunks/{model-resolver-e2yycdng.js → config-g5yn26t0.js} +11 -11
- package/dist/chunks/{model-resolver-1tknn31b.js → config-g80172w6.js} +19 -19
- package/dist/chunks/{model-resolver-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-73wr0wn5.js → config-gn31e51v.js} +11 -11
- package/dist/chunks/{model-resolver-e6jb2a33.js → config-gnnqajqc.js} +6 -6
- package/dist/chunks/{model-resolver-gc8nt84s.js → config-gxeds83z.js} +33 -33
- package/dist/chunks/{model-resolver-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-ya7hh75j.js → config-ha0sjevb.js} +3 -3
- package/dist/chunks/{model-resolver-d2c2r0dp.js → config-hbkz9y4g.js} +15 -15
- package/dist/chunks/{model-resolver-hgz4x7wa.js → config-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-6gejepc3.js → config-hqam50bx.js} +19 -19
- package/dist/chunks/{model-resolver-mq8c8wma.js → config-j3bw3kw0.js} +23 -23
- package/dist/chunks/{model-resolver-3nx0ym5x.js → config-jcbq9qyv.js} +19 -19
- package/dist/chunks/{model-resolver-984c2jwc.js → config-jge05sef.js} +6 -6
- package/dist/chunks/{model-resolver-m3bqnvcv.js → config-jgmf5dt5.js} +8 -8
- package/dist/chunks/{model-resolver-4vdcag56.js → config-jkcvv5zp.js} +14 -14
- package/dist/chunks/{model-resolver-8mqj9xbr.js → config-jscyxzwk.js} +4 -4
- package/dist/chunks/{model-resolver-94wae3rr.js → config-jzd62m09.js} +12 -12
- package/dist/chunks/{model-resolver-yentwms3.js → config-k850gnf2.js} +5 -5
- package/dist/chunks/{model-resolver-13n3hwre.js → config-kcz5hpxv.js} +14 -14
- package/dist/chunks/config-kdcahg00.js +26 -0
- package/dist/chunks/{model-resolver-mmsbh3wq.js → config-kstnevy1.js} +5 -5
- package/dist/chunks/{model-resolver-kwb1v3vj.js → config-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-resolver-cck04ss7.js → config-kxkke69v.js} +9 -9
- package/dist/chunks/{model-resolver-h9ta6350.js → config-kz72sk14.js} +27 -27
- package/dist/chunks/{model-resolver-evrqa78t.js → config-m5paqf2g.js} +32 -32
- package/dist/chunks/{model-resolver-2tj97pmg.js → config-m5s739gf.js} +40 -40
- package/dist/chunks/{model-resolver-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → config-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-zpz5hs3v.js → config-mpk95cj2.js} +11 -11
- package/dist/chunks/{model-resolver-hktqavzm.js → config-mrxs1jjw.js} +23 -23
- package/dist/chunks/{model-resolver-d9wzmzc3.js → config-mtrbqqrq.js} +5 -5
- package/dist/chunks/{model-resolver-xcypc51k.js → config-mwfpcask.js} +45 -45
- package/dist/chunks/{model-resolver-953qjn97.js → config-n0f1vr5p.js} +10 -10
- package/dist/chunks/{model-resolver-z1cx7jj0.js → config-n6jsk7we.js} +48 -48
- package/dist/chunks/{model-resolver-v9t9bmqx.js → config-nekmryzb.js} +31 -31
- package/dist/chunks/{model-resolver-nma959mg.js → config-nma959mg.js} +1 -1
- package/dist/chunks/{model-resolver-e0fw30bj.js → config-nn3p50dy.js} +19 -19
- package/dist/chunks/{model-resolver-nhpkjp8j.js → config-nvcb2me1.js} +11 -11
- package/dist/chunks/{model-resolver-7j2zvw39.js → config-nzxs01ks.js} +14 -14
- package/dist/chunks/{model-resolver-2r67f062.js → config-p4g5r354.js} +34 -34
- package/dist/chunks/{model-resolver-6fabj146.js → config-p6tf2z3c.js} +11 -11
- package/dist/chunks/{model-resolver-46p5gayd.js → config-p88vvsz3.js} +4 -4
- package/dist/chunks/{model-resolver-s30r45k4.js → config-pfgcdf6c.js} +5 -5
- package/dist/chunks/{model-resolver-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-smak4gza.js → config-qap5887j.js} +15 -15
- package/dist/chunks/{model-resolver-mcexwfpj.js → config-qc37ryp5.js} +14 -14
- package/dist/chunks/{model-resolver-py4ye5jk.js → config-qdm6e7vz.js} +50 -50
- package/dist/chunks/{model-resolver-c1f0ef0e.js → config-qefw6cfz.js} +14 -14
- package/dist/chunks/{model-resolver-qnc92qwc.js → config-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-47jkzegy.js → config-qne3fa44.js} +5 -5
- package/dist/chunks/{model-resolver-km4rycv7.js → config-qp9tjspb.js} +25 -25
- package/dist/chunks/{model-resolver-3yqxwn64.js → config-qpvqe435.js} +49 -49
- package/dist/chunks/{model-resolver-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-j75xb4yb.js → config-qvapsqgq.js} +1 -1
- package/dist/chunks/{model-resolver-8asjp7hq.js → config-r19d657x.js} +32 -32
- package/dist/chunks/{model-resolver-ft3hqk2c.js → config-r2m716tb.js} +9 -9
- package/dist/chunks/{model-resolver-h5kde8xe.js → config-r2mahbrd.js} +23 -23
- package/dist/chunks/{model-resolver-71jhssm2.js → config-r5d9wbyh.js} +7 -7
- package/dist/chunks/{model-resolver-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-rert0e01.js → config-rert0e01.js} +2 -2
- package/dist/chunks/{model-resolver-rj3eygr5.js → config-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-resolver-bw7h8fsx.js → config-rmg23tmx.js} +14 -14
- package/dist/chunks/{model-resolver-0d74j82x.js → config-s0dvnttc.js} +4 -4
- package/dist/chunks/{model-resolver-sa8ekw3f.js → config-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-resolver-d6acxb5p.js → config-skhmt099.js} +9 -9
- package/dist/chunks/{model-resolver-cqq90766.js → config-snbmbkyq.js} +12 -12
- package/dist/chunks/{model-resolver-syv4x271.js → config-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-kw1e5yb6.js → config-t364h0ga.js} +25 -25
- package/dist/chunks/{model-resolver-g1xbyxhn.js → config-t8x95368.js} +11 -11
- package/dist/chunks/{model-resolver-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-q4w1a1ev.js → config-tgnctp9w.js} +13 -13
- package/dist/chunks/{model-resolver-wpn34573.js → config-tj1mb8k7.js} +19 -19
- package/dist/chunks/{model-resolver-tm0kqsz3.js → config-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-tt8gc4fv.js → config-tt8gc4fv.js} +3 -3
- package/dist/chunks/{model-resolver-tyytaxap.js → config-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-nz56sr1f.js → config-v13b12ef.js} +5 -5
- package/dist/chunks/{model-resolver-v7p4zvkq.js → config-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-8y8pe54n.js → config-v9km43zh.js} +40 -40
- package/dist/chunks/{model-resolver-e7gxy7fd.js → config-vep9yay1.js} +4 -4
- package/dist/chunks/{model-resolver-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-nzr8rkf6.js → config-vn2b5ja7.js} +11 -11
- package/dist/chunks/{model-resolver-wmsgs64j.js → config-vpdhx3rn.js} +8 -8
- package/dist/chunks/{model-resolver-0z62s2d8.js → config-vs4d0xe8.js} +17 -17
- package/dist/chunks/{model-resolver-pbptwtxn.js → config-vt49cx54.js} +16 -16
- package/dist/chunks/{model-resolver-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-f1b05866.js → config-w3h4062d.js} +2 -2
- package/dist/chunks/{model-resolver-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-y5cvjd5e.js → config-w9enybe6.js} +7 -7
- package/dist/chunks/{model-resolver-m2b6v9cc.js → config-w9qd1epz.js} +10 -10
- package/dist/chunks/{model-resolver-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-qprs721h.js → config-wezx3yaj.js} +15 -15
- package/dist/chunks/{model-resolver-y4pqvk03.js → config-wty6bgg7.js} +5 -5
- package/dist/chunks/{model-resolver-nvq1gv7c.js → config-wymva24z.js} +11 -11
- package/dist/chunks/{model-resolver-d3v28z1t.js → config-x6pefea0.js} +5 -5
- package/dist/chunks/{model-resolver-t1ns4htq.js → config-x7c6yhp3.js} +13 -13
- package/dist/chunks/{model-resolver-rf6pxv7z.js → config-x9z4gqn5.js} +9 -9
- package/dist/chunks/{model-resolver-af3s9495.js → config-xd76gghg.js} +79 -79
- package/dist/chunks/{model-resolver-g56rc5zd.js → config-xkyhk0aw.js} +14 -14
- package/dist/chunks/{model-resolver-rscvxc63.js → config-xkzfnk1e.js} +18 -18
- package/dist/chunks/{model-resolver-25er9rbr.js → config-xsyaf836.js} +11 -11
- package/dist/chunks/{model-resolver-wmbhbf7k.js → config-y06s3qmd.js} +25 -25
- package/dist/chunks/{model-resolver-wv50gdba.js → config-y0ce904t.js} +26 -26
- package/dist/chunks/{model-resolver-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-6b89zbgc.js → config-y45vxbtn.js} +12 -12
- package/dist/chunks/{model-resolver-z733aene.js → config-y72zmemf.js} +8 -8
- package/dist/chunks/{model-resolver-hz2tqvgg.js → config-ybacsgwy.js} +33 -33
- package/dist/chunks/{model-resolver-7x4gmhf6.js → config-ykgnd92y.js} +12 -12
- package/dist/chunks/{model-resolver-967benbv.js → config-ynmknp8q.js} +8 -8
- package/dist/chunks/{model-resolver-mbq1c8qd.js → config-ys7bpb1s.js} +19 -19
- package/dist/chunks/{model-resolver-84ha93mn.js → config-yswgg9qv.js} +25 -25
- package/dist/chunks/{model-resolver-2jhpg0z0.js → config-yt2d26s8.js} +13 -13
- package/dist/chunks/{model-resolver-tx0gtb9m.js → config-ywwy23a8.js} +7 -7
- package/dist/chunks/{model-resolver-z2rrnsn5.js → config-yz37vbp4.js} +2 -2
- package/dist/chunks/{model-resolver-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z18fegx4.js → config-z18fegx4.js} +1 -1
- package/dist/chunks/{model-resolver-k9kzfgz6.js → config-z348g6gc.js} +23 -23
- package/dist/chunks/{model-resolver-65zyc1z3.js → config-z6z398pq.js} +6 -6
- package/dist/chunks/{model-resolver-x24jdsad.js → config-z88jw627.js} +6 -6
- package/dist/chunks/{model-resolver-g5fw83fw.js → config-z8swzr19.js} +8 -8
- package/dist/chunks/{model-resolver-zvt5dnpc.js → config-zcrspsvn.js} +4 -4
- package/dist/chunks/{model-resolver-qt2d63t9.js → config-zevtz36z.js} +7 -7
- package/dist/chunks/{model-resolver-hzw94499.js → config-zg7zaxa7.js} +27 -27
- package/dist/chunks/{model-resolver-pqrhrnaw.js → config-zj1j3pwt.js} +11 -11
- package/dist/chunks/{model-resolver-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-t5205bkj.js → config-zs3nsmqd.js} +9 -9
- package/dist/chunks/{model-resolver-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +124 -124
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1ajxh176.js +0 -26
- package/dist/chunks/model-resolver-43a422m2.js +0 -257
- package/dist/chunks/model-resolver-6tdfsx48.js +0 -517
- package/dist/chunks/model-resolver-pf31ssb9.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → config-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → config-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → config-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → config-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e3qxr5gk.js → config-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → config-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → config-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → config-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → config-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → config-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → config-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → config-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → config-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-w9qd1epz.js";
|
|
4
4
|
import {
|
|
5
|
-
Service85
|
|
6
|
-
} from "./model-resolver-4vdcag56.js";
|
|
7
|
-
import {
|
|
8
|
-
ID18,
|
|
9
|
-
Event21,
|
|
10
5
|
Service84
|
|
11
|
-
} from "./
|
|
6
|
+
} from "./config-jkcvv5zp.js";
|
|
7
|
+
import {
|
|
8
|
+
ID16,
|
|
9
|
+
Event20,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./config-nekmryzb.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-dgpsrprm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID15,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-kz72sk14.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service74
|
|
25
|
+
} from "./config-9ndxqh6g.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./config-f6ssxvba.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-c72jc7ts.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 make3(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
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service84;
|
|
76
|
+
const credentials = yield* Service82;
|
|
77
|
+
const providers = yield* Service74;
|
|
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 make6(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 make6(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 make6(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(ID16.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 make6(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 make6(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 make6(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 make6(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 make6(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
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make6(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID12.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID12.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make6(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID12.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make6(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID12.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID12.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make6(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID12.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make3();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID11.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make3, AzurePlugin2 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service78
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9r4817sq.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-3nkcb2f7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin22,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin22 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service78;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin22, exports_hg };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-w9qd1epz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./config-jkcvv5zp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./config-nekmryzb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID15,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-kz72sk14.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./config-9ndxqh6g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-f6ssxvba.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID15.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service84;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node87
|
|
4
|
+
} from "./config-jkcvv5zp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node76
|
|
8
|
+
} from "./config-n0f1vr5p.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service22,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node25
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service22 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service84;
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service22.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node25 = makeLocationNode({
|
|
188
|
+
service: Service22,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node76]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service22, node25, exports_websearch3, Event5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service56,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer23,
|
|
15
|
+
node: () => node58,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service56 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer23 = Layer.effect(Service56, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service56.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node58 = makeGlobalNode({ service: Service56, layer: layer23, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service56, layer23, node58, statements2, decision2, exports_managed_policy };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-w9qd1epz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./config-jkcvv5zp.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./config-nekmryzb.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-dgpsrprm.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-kz72sk14.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./config-9ndxqh6g.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID11,
|
|
25
|
+
Info19
|
|
26
|
+
} from "./config-f6ssxvba.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID12.gitlab;
|
|
39
|
+
var integrationID = ID15.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service74;
|
|
61
|
+
const bus = yield* Service84;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info19.default(providerID, ID11.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID12.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|