@opencode/core 0.0.0-dev-425 → 0.0.0-dev-433
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +236 -236
- package/dist/bus.js +80 -80
- package/dist/chunks/{provider-y021prdf.js → console-access-00av7mmf.js} +5 -5
- package/dist/chunks/{provider-bg6z9m5n.js → console-access-00p7q2hf.js} +15 -15
- package/dist/chunks/{provider-njjbze85.js → console-access-02fwh478.js} +4 -4
- package/dist/chunks/{provider-b2r3mvad.js → console-access-02t4sq1s.js} +12 -12
- package/dist/chunks/{provider-034tev2y.js → console-access-034tev2y.js} +2 -2
- package/dist/chunks/{provider-qeregzmt.js → console-access-05t2sh6f.js} +28 -28
- package/dist/chunks/{provider-yceh4n4n.js → console-access-0ew0hkvc.js} +18 -18
- package/dist/chunks/{provider-2mq8mdn8.js → console-access-0ha3e93w.js} +25 -25
- package/dist/chunks/{provider-kpfcexn1.js → console-access-0hqesebc.js} +21 -19
- package/dist/chunks/{provider-0j7gp832.js → console-access-0j7gp832.js} +1 -1
- package/dist/chunks/{provider-pre1sqds.js → console-access-0m9q59s6.js} +4 -4
- package/dist/chunks/{provider-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
- package/dist/chunks/{provider-y6r1yzhv.js → console-access-0tsexbhg.js} +15 -13
- package/dist/chunks/{provider-stbxy1ts.js → console-access-0w7k0494.js} +14 -14
- package/dist/chunks/{provider-n1v16chy.js → console-access-1419jydy.js} +28 -28
- package/dist/chunks/console-access-197h7524.js +261 -0
- package/dist/chunks/{provider-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
- package/dist/chunks/{provider-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
- package/dist/chunks/{provider-7m9sc66j.js → console-access-1q7276rs.js} +16 -16
- package/dist/chunks/{provider-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
- package/dist/chunks/{provider-dkh2xj1z.js → console-access-203mhtba.js} +14 -14
- package/dist/chunks/{provider-9xz8rx1e.js → console-access-20tp8xjj.js} +28 -28
- package/dist/chunks/{provider-vx8b1jz6.js → console-access-26pqs6nj.js} +20 -20
- package/dist/chunks/console-access-2b1ea8az.js +26 -0
- package/dist/chunks/{provider-6edbc7zm.js → console-access-2bswbpgz.js} +5 -5
- package/dist/chunks/{provider-rnzbxsx7.js → console-access-2jw11307.js} +59 -59
- package/dist/chunks/{provider-qhy5xrym.js → console-access-2k1rgnn7.js} +25 -25
- package/dist/chunks/{provider-s10yds1m.js → console-access-2km8vjms.js} +10 -8
- package/dist/chunks/{provider-rcbjwvze.js → console-access-2mbjfaxd.js} +4 -4
- package/dist/chunks/{provider-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
- package/dist/chunks/{provider-jv6qbwa1.js → console-access-2qztzx85.js} +8 -8
- package/dist/chunks/{provider-55dnbtkz.js → console-access-32brnyq3.js} +21 -14
- package/dist/chunks/{provider-q1jc1abz.js → console-access-32zczr2d.js} +12 -12
- package/dist/chunks/{provider-aj9978bz.js → console-access-35kh23ch.js} +6 -6
- package/dist/chunks/{provider-vda4j8hg.js → console-access-3c7btp5b.js} +40 -40
- package/dist/chunks/{provider-8apdhker.js → console-access-3ebwg681.js} +19 -19
- package/dist/chunks/{provider-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-hqvhb0wh.js → console-access-3j5t2d9f.js} +11 -11
- package/dist/chunks/{provider-dnckx5rt.js → console-access-3nnav6hm.js} +45 -45
- package/dist/chunks/{provider-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
- package/dist/chunks/{provider-tbwn0emh.js → console-access-3r17c5hc.js} +5 -5
- package/dist/chunks/{provider-54mjf881.js → console-access-3tx67vzs.js} +11 -11
- package/dist/chunks/{provider-kets680g.js → console-access-3vdmjzpb.js} +2 -2
- package/dist/chunks/{provider-52pksey1.js → console-access-3x2cfskp.js} +28 -28
- package/dist/chunks/{provider-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
- package/dist/chunks/{provider-7fh49tq1.js → console-access-44490wat.js} +3 -3
- package/dist/chunks/{provider-ayxakjnc.js → console-access-44h3ma3a.js} +21 -21
- package/dist/chunks/{provider-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
- package/dist/chunks/{provider-jr9m0ztp.js → console-access-49t63ssp.js} +41 -41
- package/dist/chunks/{provider-4d2dtj2f.js → console-access-4d2dtj2f.js} +1 -1
- package/dist/chunks/{provider-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
- package/dist/chunks/{provider-cee6vc86.js → console-access-4ennmbap.js} +17 -17
- package/dist/chunks/{provider-4f25tdd0.js → console-access-4f25tdd0.js} +1 -1
- package/dist/chunks/{provider-174fpaxw.js → console-access-4mjf9r3x.js} +9 -9
- package/dist/chunks/{provider-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
- package/dist/chunks/{provider-4v008n1t.js → console-access-4v008n1t.js} +1 -1
- package/dist/chunks/{provider-zwpxamqy.js → console-access-4xd968k4.js} +16 -16
- package/dist/chunks/{provider-ek9mpve2.js → console-access-563btd7h.js} +5 -5
- package/dist/chunks/{provider-78k8rqvg.js → console-access-571740d0.js} +7 -7
- package/dist/chunks/{provider-kem3h3gp.js → console-access-5b8k0r9c.js} +22 -22
- package/dist/chunks/{provider-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-58622k4e.js → console-access-5wrq2rbh.js} +21 -21
- package/dist/chunks/{provider-tckbvbtm.js → console-access-61ggehfe.js} +21 -21
- package/dist/chunks/{provider-n50v2y52.js → console-access-624zahf0.js} +15 -15
- package/dist/chunks/{provider-5cem1vp4.js → console-access-65bz48rw.js} +12 -12
- package/dist/chunks/{provider-93e35kep.js → console-access-65ev8zx0.js} +18 -18
- package/dist/chunks/{provider-zvnbbcek.js → console-access-660m4eb8.js} +5 -5
- package/dist/chunks/{provider-qkrdbb78.js → console-access-6bmp6cfx.js} +18 -18
- package/dist/chunks/{provider-4yqm5m6p.js → console-access-6dgg9zbw.js} +8 -8
- package/dist/chunks/{provider-mytjvv38.js → console-access-6hbwdsfx.js} +18 -18
- package/dist/chunks/{provider-0gwyvsgx.js → console-access-6hk9n0ea.js} +9 -9
- package/dist/chunks/{provider-3n8k58ev.js → console-access-6kqfrh7j.js} +16 -16
- package/dist/chunks/{provider-mhbkds0y.js → console-access-6nk58est.js} +9 -9
- package/dist/chunks/{provider-80mg3ag8.js → console-access-775hqbnd.js} +3 -3
- package/dist/chunks/{provider-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-7kr66rt3.js → console-access-7kr66rt3.js} +1 -1
- package/dist/chunks/{provider-tek14qfj.js → console-access-7rvrq7f4.js} +10 -10
- package/dist/chunks/{provider-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
- package/dist/chunks/{provider-7weczvnd.js → console-access-7weczvnd.js} +1 -1
- package/dist/chunks/{provider-zgydsjmk.js → console-access-80w7pvyj.js} +33 -33
- package/dist/chunks/{provider-9m6vv5qq.js → console-access-87n1kqyy.js} +6 -6
- package/dist/chunks/{provider-hjstnads.js → console-access-88vr49vm.js} +2 -2
- package/dist/chunks/{provider-89287pr7.js → console-access-89287pr7.js} +1 -1
- package/dist/chunks/{provider-8b3vzgkx.js → console-access-8b3vzgkx.js} +1 -1
- package/dist/chunks/{provider-p9rhhmba.js → console-access-8qrsqr4h.js} +31 -31
- package/dist/chunks/{provider-5t9swdnx.js → console-access-8t99kr38.js} +4 -4
- package/dist/chunks/{provider-dckpms46.js → console-access-8v9p3ssr.js} +25 -25
- package/dist/chunks/{provider-8wjgamp7.js → console-access-8wjgamp7.js} +3 -3
- package/dist/chunks/{provider-2rmbv6aj.js → console-access-8wp918wm.js} +16 -16
- package/dist/chunks/{provider-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
- package/dist/chunks/{provider-xksw6ev0.js → console-access-8xz27cp9.js} +4 -4
- package/dist/chunks/{provider-90zstvax.js → console-access-90zstvax.js} +1 -1
- package/dist/chunks/{provider-94s5f2xb.js → console-access-94s5f2xb.js} +1 -1
- package/dist/chunks/{provider-95sp4hdf.js → console-access-95sp4hdf.js} +1 -1
- package/dist/chunks/{provider-0mtp185z.js → console-access-963hk181.js} +9 -9
- package/dist/chunks/{provider-1cymf1wv.js → console-access-9e4rpczb.js} +3 -3
- package/dist/chunks/{provider-g148ep0a.js → console-access-9nafbtnp.js} +3 -3
- package/dist/chunks/{provider-kz17759e.js → console-access-9qw355mz.js} +21 -21
- package/dist/chunks/{provider-q1dm7ww2.js → console-access-9tctw3ba.js} +24 -24
- package/dist/chunks/{provider-0q6rq0wx.js → console-access-9w206snf.js} +25 -22
- package/dist/chunks/{provider-546y6032.js → console-access-ae3jze8m.js} +37 -37
- package/dist/chunks/{provider-avz75qha.js → console-access-aj1mvpr4.js} +5 -5
- package/dist/chunks/{provider-4sprtgdv.js → console-access-amavfpzd.js} +12 -12
- package/dist/chunks/{provider-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
- package/dist/chunks/{provider-ymmand0v.js → console-access-aysgnqn4.js} +11 -11
- package/dist/chunks/{provider-5nnwax6m.js → console-access-b6vsg801.js} +5 -5
- package/dist/chunks/{provider-x1b9htc3.js → console-access-bax3s44t.js} +10 -10
- package/dist/chunks/{provider-pac3ht26.js → console-access-bdz60pnr.js} +11 -11
- package/dist/chunks/{provider-cwmxe7a1.js → console-access-bht54dp0.js} +16 -16
- package/dist/chunks/{provider-rtfvcbjv.js → console-access-bja887sn.js} +13 -13
- package/dist/chunks/{provider-j58p6fk7.js → console-access-bm74mb0m.js} +5 -5
- package/dist/chunks/{provider-3zy30qv4.js → console-access-bmmx49x9.js} +13 -13
- package/dist/chunks/{provider-x7x8wt0t.js → console-access-bntk4jd2.js} +11 -11
- package/dist/chunks/{provider-c7a2sp6j.js → console-access-brn5acms.js} +4 -4
- package/dist/chunks/{provider-bstexjd6.js → console-access-bstexjd6.js} +1 -1
- package/dist/chunks/{provider-624434jz.js → console-access-bzp3zv0g.js} +4 -4
- package/dist/chunks/{provider-c32zfq3f.js → console-access-c32zfq3f.js} +1 -1
- package/dist/chunks/{provider-safn44c7.js → console-access-c51p6570.js} +2 -2
- package/dist/chunks/{provider-c7ka5j4r.js → console-access-c7ftmb2r.js} +11 -11
- package/dist/chunks/{provider-rp7y7c6h.js → console-access-ca12re6t.js} +32 -32
- package/dist/chunks/{provider-qpxk8k0n.js → console-access-cagrh3hw.js} +30 -30
- package/dist/chunks/{provider-x1fz8cgm.js → console-access-cf7ccg46.js} +5 -5
- package/dist/chunks/{provider-spck9dep.js → console-access-cf9kkq94.js} +75 -75
- package/dist/chunks/{provider-v75dtzt0.js → console-access-ck75m63q.js} +7 -7
- package/dist/chunks/{provider-ksh0y4ds.js → console-access-cm52n9z7.js} +17 -17
- package/dist/chunks/{provider-k98yejja.js → console-access-cpvd08na.js} +7 -7
- package/dist/chunks/{provider-9f3jsh1d.js → console-access-ctmpqb7w.js} +9 -9
- package/dist/chunks/{provider-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
- package/dist/chunks/{provider-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
- package/dist/chunks/{provider-r31zvyjt.js → console-access-d5n505qg.js} +29 -29
- package/dist/chunks/{provider-tznkg22c.js → console-access-d6anhaet.js} +6 -6
- package/dist/chunks/console-access-d77dj7jw.js +18 -0
- package/dist/chunks/{provider-ay6wrfq3.js → console-access-d7cgytp7.js} +9 -9
- package/dist/chunks/{provider-3rkhzrx8.js → console-access-d8wyahrb.js} +26 -26
- package/dist/chunks/{provider-7n31wws5.js → console-access-dchadnsn.js} +4 -4
- package/dist/chunks/{provider-ram30ap6.js → console-access-dhp1pzdk.js} +77 -77
- package/dist/chunks/{provider-mxske2t2.js → console-access-dn2vjhsa.js} +11 -11
- package/dist/chunks/{provider-81vnvh8a.js → console-access-dp702t2q.js} +30 -30
- package/dist/chunks/{provider-wn77a8c9.js → console-access-dr2entw9.js} +4 -4
- package/dist/chunks/{provider-dt77769w.js → console-access-dt77769w.js} +1 -1
- package/dist/chunks/{provider-0wh0wreq.js → console-access-dwz0axpt.js} +8 -8
- package/dist/chunks/{provider-cjqd6aye.js → console-access-dyam4349.js} +46 -46
- package/dist/chunks/{provider-92pecssn.js → console-access-e4534mb3.js} +9 -9
- package/dist/chunks/{provider-0cv8g5av.js → console-access-e56qxkt4.js} +27 -27
- package/dist/chunks/{provider-2hqxj3e8.js → console-access-e64j4m66.js} +12 -12
- package/dist/chunks/{provider-e834z07m.js → console-access-e834z07m.js} +1 -1
- package/dist/chunks/{provider-208nbn7x.js → console-access-e9r9mnye.js} +4 -4
- package/dist/chunks/{provider-zkkdtva6.js → console-access-ed3pzxm2.js} +11 -11
- package/dist/chunks/{provider-pfssdf0n.js → console-access-eetyt14z.js} +9 -9
- package/dist/chunks/{provider-eggfh18w.js → console-access-ekpns71v.js} +13 -13
- package/dist/chunks/{provider-h25b548x.js → console-access-eq9a65a0.js} +8 -8
- package/dist/chunks/{provider-n0ytpvtj.js → console-access-eqfkf0xx.js} +21 -21
- package/dist/chunks/{provider-yhgtqtqc.js → console-access-eqrgg9w4.js} +7 -7
- package/dist/chunks/{provider-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
- package/dist/chunks/{provider-7def1eh5.js → console-access-f097nb4k.js} +5 -5
- package/dist/chunks/{provider-bzf8sw1v.js → console-access-f2p2tf0y.js} +9 -9
- package/dist/chunks/{provider-kdxnvd2v.js → console-access-f341sazs.js} +3 -3
- package/dist/chunks/{provider-41gppdmm.js → console-access-f5j6v7nx.js} +18 -18
- package/dist/chunks/{provider-qwv9yzsq.js → console-access-f91rbz3w.js} +10 -10
- package/dist/chunks/{provider-fffv3p7h.js → console-access-fffv3p7h.js} +1 -1
- package/dist/chunks/{provider-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
- package/dist/chunks/{provider-2ar72s4v.js → console-access-fmq8jk01.js} +11 -11
- package/dist/chunks/{provider-p72h74xg.js → console-access-fqdzsgb0.js} +6 -6
- package/dist/chunks/{provider-fa7rq57z.js → console-access-g1qykwzp.js} +7 -7
- package/dist/chunks/{provider-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
- package/dist/chunks/{provider-rmt6m6se.js → console-access-gcjdgkn2.js} +9 -9
- package/dist/chunks/{provider-4kjss04h.js → console-access-gfm785mt.js} +4 -4
- package/dist/chunks/{provider-7dks1d1n.js → console-access-gggg4n29.js} +6 -6
- package/dist/chunks/{provider-dcpaety6.js → console-access-gkk73xtb.js} +8 -8
- package/dist/chunks/{provider-e1y225ng.js → console-access-gqcb6hht.js} +8 -8
- package/dist/chunks/{provider-ypjhy90d.js → console-access-h0d7pj0g.js} +9 -9
- package/dist/chunks/{provider-8aq0b3q8.js → console-access-h41qf60r.js} +27 -27
- package/dist/chunks/{provider-jad8sfx7.js → console-access-h94p8a1g.js} +4 -4
- package/dist/chunks/console-access-hdva3y54.js +555 -0
- package/dist/chunks/{provider-nt4skj9g.js → console-access-hfzwmhse.js} +27 -27
- package/dist/chunks/{provider-8x29dp53.js → console-access-hkt98v1s.js} +18 -18
- package/dist/chunks/{provider-h1ywddef.js → console-access-hmdw8s6j.js} +35 -35
- package/dist/chunks/{provider-hpg1pkwy.js → console-access-hpg1pkwy.js} +1 -1
- package/dist/chunks/{provider-wsyb79d4.js → console-access-hqzgcn0m.js} +16 -16
- package/dist/chunks/{provider-v8thj8wx.js → console-access-j4b6t5e8.js} +14 -14
- package/dist/chunks/{provider-q46cgv3h.js → console-access-j8vetwd8.js} +14 -14
- package/dist/chunks/{provider-ze75qvmd.js → console-access-j9nxzz3g.js} +3 -3
- package/dist/chunks/{provider-zp5ndmj8.js → console-access-jbd4zzkw.js} +8 -8
- package/dist/chunks/{provider-jkdcm5hg.js → console-access-jkdcm5hg.js} +1 -1
- package/dist/chunks/{provider-gybwvmz6.js → console-access-jn0pxsew.js} +6 -6
- package/dist/chunks/{provider-vt3w9sen.js → console-access-jsq335zf.js} +47 -47
- package/dist/chunks/{provider-jtnps1zs.js → console-access-jtnps1zs.js} +2 -2
- package/dist/chunks/{provider-phkds94a.js → console-access-jyg7yfag.js} +8 -8
- package/dist/chunks/{provider-qfz6bxfd.js → console-access-k46dd5bg.js} +4 -4
- package/dist/chunks/{provider-ymysc5j4.js → console-access-k4850m39.js} +13 -13
- package/dist/chunks/{provider-payghzyh.js → console-access-k5a151g4.js} +15 -15
- package/dist/chunks/{provider-wg1n8gdk.js → console-access-kb88sqat.js} +4 -4
- package/dist/chunks/{provider-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
- package/dist/chunks/{provider-2kcp91wn.js → console-access-kwbmt926.js} +7 -7
- package/dist/chunks/{provider-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
- package/dist/chunks/{provider-8d4xkafh.js → console-access-m0hf8jcj.js} +26 -26
- package/dist/chunks/{provider-m1714858.js → console-access-m1714858.js} +1 -1
- package/dist/chunks/{provider-m2cw6p4v.js → console-access-m4nd2gbn.js} +24 -24
- package/dist/chunks/{provider-yeb3rtca.js → console-access-m7azzab1.js} +37 -37
- package/dist/chunks/{provider-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-0kp7995d.js → console-access-mb483vwh.js} +53 -53
- package/dist/chunks/{provider-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
- package/dist/chunks/{provider-h7xyg9h9.js → console-access-mbm9ywtd.js} +52 -52
- package/dist/chunks/{provider-g050tpn7.js → console-access-mhnjywtp.js} +7 -7
- package/dist/chunks/{provider-8bykyf12.js → console-access-mk685369.js} +5 -5
- package/dist/chunks/{provider-mmx1mfjr.js → console-access-mmx1mfjr.js} +1 -1
- package/dist/chunks/{provider-msd2a3qm.js → console-access-msd2a3qm.js} +4 -4
- package/dist/chunks/{provider-wvheyyf0.js → console-access-my7rd139.js} +32 -32
- package/dist/chunks/{provider-zeb8ypb2.js → console-access-mz61v94s.js} +3 -3
- package/dist/chunks/{provider-t4pmh5wj.js → console-access-n3ftmwcj.js} +9 -9
- package/dist/chunks/{provider-86g45369.js → console-access-n7jeh3hd.js} +4 -4
- package/dist/chunks/{provider-c3zb5mpn.js → console-access-n98nm5mz.js} +15 -15
- package/dist/chunks/{provider-n7kjthd5.js → console-access-naghedjd.js} +15 -15
- package/dist/chunks/{provider-6pwzz7pj.js → console-access-ne9zgeam.js} +3 -3
- package/dist/chunks/{provider-p9j2z5m0.js → console-access-nemnqzpn.js} +4 -4
- package/dist/chunks/{provider-80338099.js → console-access-nrfea6y3.js} +9 -9
- package/dist/chunks/{provider-21ebwj7d.js → console-access-nthzbqcj.js} +27 -27
- package/dist/chunks/{provider-hqtkd67t.js → console-access-nymz80y4.js} +11 -11
- package/dist/chunks/{provider-nyxvvj5y.js → console-access-nyxvvj5y.js} +1 -1
- package/dist/chunks/{provider-pqrezmp9.js → console-access-p2qpf694.js} +3 -3
- package/dist/chunks/{provider-7e1ydx3z.js → console-access-p2zan2kg.js} +13 -13
- package/dist/chunks/{provider-5m6a7xby.js → console-access-p3g3b7x5.js} +6 -6
- package/dist/chunks/{provider-5va8f550.js → console-access-p40bz6hx.js} +6 -6
- package/dist/chunks/{provider-55x429hg.js → console-access-p78171e1.js} +4 -4
- package/dist/chunks/{provider-5zrxpy3q.js → console-access-p7vhpwh8.js} +5 -5
- package/dist/chunks/{provider-backbg8m.js → console-access-p8ps3hb8.js} +32 -32
- package/dist/chunks/{provider-dm6t6wvg.js → console-access-p9xbtx66.js} +36 -36
- package/dist/chunks/{provider-j40jtnfz.js → console-access-pcwncv2z.js} +27 -27
- package/dist/chunks/{provider-b21v141d.js → console-access-pcz7d684.js} +19 -19
- package/dist/chunks/{provider-pknna89w.js → console-access-pknna89w.js} +1 -1
- package/dist/chunks/{provider-d46dhjdk.js → console-access-pmajhwk5.js} +18 -18
- package/dist/chunks/{provider-gtm2a6wz.js → console-access-pr5jbasx.js} +39 -39
- package/dist/chunks/{provider-vnf6v5dn.js → console-access-qc1ntex2.js} +13 -13
- package/dist/chunks/{provider-mrpnjyvf.js → console-access-qj27ec1j.js} +6 -6
- package/dist/chunks/{provider-hw3dt85w.js → console-access-qnsy8n07.js} +41 -41
- package/dist/chunks/{provider-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
- package/dist/chunks/{provider-qqvy8y24.js → console-access-qqvy8y24.js} +1 -1
- package/dist/chunks/{provider-k3cx6fhe.js → console-access-qtyhj1r4.js} +4 -4
- package/dist/chunks/{provider-azz1ye8b.js → console-access-qy3c2dy2.js} +18 -18
- package/dist/chunks/{provider-mrg5btk6.js → console-access-qzgz55fp.js} +36 -36
- package/dist/chunks/{provider-jn344vfw.js → console-access-r2yk7pyr.js} +3 -3
- package/dist/chunks/{provider-5jby4dm2.js → console-access-r30bgqk9.js} +23 -23
- package/dist/chunks/{provider-w2eysc6j.js → console-access-r41sfy63.js} +6 -6
- package/dist/chunks/{provider-jjh1yrzz.js → console-access-r83a0y0t.js} +33 -33
- package/dist/chunks/{provider-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
- package/dist/chunks/{provider-2j5gpsjp.js → console-access-rc7cmy01.js} +11 -11
- package/dist/chunks/{provider-wkx0wxf8.js → console-access-rktk457n.js} +43 -35
- package/dist/chunks/{provider-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
- package/dist/chunks/{provider-dx7zpeqp.js → console-access-s0mm9f8n.js} +15 -15
- package/dist/chunks/{provider-nf1wqckr.js → console-access-s6vb3pn5.js} +81 -81
- package/dist/chunks/{provider-sa3fpqfw.js → console-access-sa3fpqfw.js} +2 -2
- package/dist/chunks/{provider-sbya78hr.js → console-access-sbya78hr.js} +1 -1
- package/dist/chunks/{provider-sbz71ybr.js → console-access-sbz71ybr.js} +1 -1
- package/dist/chunks/{provider-s1qnk4n1.js → console-access-sg3757jj.js} +9 -9
- package/dist/chunks/{provider-ab4q7tsw.js → console-access-sg3y9fdz.js} +21 -21
- package/dist/chunks/{provider-nscq7kby.js → console-access-shtwd5y1.js} +32 -32
- package/dist/chunks/{provider-f20mvry3.js → console-access-sjdh2dpj.js} +21 -21
- package/dist/chunks/{provider-cf4q40qb.js → console-access-snaf2v67.js} +32 -32
- package/dist/chunks/{provider-pz8h5s64.js → console-access-stew84z7.js} +9 -9
- package/dist/chunks/{provider-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
- package/dist/chunks/{provider-szwm4crx.js → console-access-szwm4crx.js} +4 -4
- package/dist/chunks/{provider-fppzhakr.js → console-access-t6bg1q5k.js} +2 -2
- package/dist/chunks/{provider-p3bh0xsg.js → console-access-t6q6zta1.js} +8 -8
- package/dist/chunks/{provider-gmemj5zs.js → console-access-tb2mrvc9.js} +4 -4
- package/dist/chunks/{provider-mbp2g4gy.js → console-access-tcr3xm27.js} +16 -16
- package/dist/chunks/{provider-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
- package/dist/chunks/{provider-tg7s7b5t.js → console-access-tg7s7b5t.js} +1 -1
- package/dist/chunks/{provider-nyxfy9wj.js → console-access-th2hp9ev.js} +12 -12
- package/dist/chunks/{provider-v5m218qy.js → console-access-tk0ms0d2.js} +21 -19
- package/dist/chunks/{provider-tr8x705m.js → console-access-tr8x705m.js} +1 -1
- package/dist/chunks/{provider-q3x79h5v.js → console-access-tvdfthjb.js} +5 -5
- package/dist/chunks/{provider-nzgss3b9.js → console-access-twecacrr.js} +7 -7
- package/dist/chunks/{provider-twssxy5n.js → console-access-twssxy5n.js} +2 -2
- package/dist/chunks/{provider-sczhbnde.js → console-access-txr9fdxt.js} +11 -11
- package/dist/chunks/{provider-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
- package/dist/chunks/{provider-aedwt843.js → console-access-v5hpj9dd.js} +4 -4
- package/dist/chunks/{provider-weapmq0e.js → console-access-v67kxy0c.js} +1 -1
- package/dist/chunks/{provider-v8xpr2tt.js → console-access-v8xpr2tt.js} +3 -3
- package/dist/chunks/{provider-wvg71hsd.js → console-access-vck3djmw.js} +11 -11
- package/dist/chunks/{provider-mzshr8vq.js → console-access-ve1xdzxf.js} +29 -29
- package/dist/chunks/{provider-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
- package/dist/chunks/{provider-c5zvymhv.js → console-access-vt2d6wap.js} +4 -4
- package/dist/chunks/{provider-htqfs7hb.js → console-access-vvcrky5h.js} +20 -20
- package/dist/chunks/{provider-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-snyypby0.js → console-access-w4912arp.js} +9 -9
- package/dist/chunks/{provider-w687dnns.js → console-access-w687dnns.js} +1 -1
- package/dist/chunks/{provider-h8tz8d21.js → console-access-w8m5eqbn.js} +9 -9
- package/dist/chunks/{provider-76cb1hcw.js → console-access-w8qtt4th.js} +4 -4
- package/dist/chunks/{provider-nfap6d10.js → console-access-w9bn5hmw.js} +8 -8
- package/dist/chunks/{provider-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
- package/dist/chunks/{provider-wd87259q.js → console-access-wd87259q.js} +1 -1
- package/dist/chunks/{provider-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
- package/dist/chunks/{provider-d8y9a7eq.js → console-access-wh2kfbg9.js} +35 -35
- package/dist/chunks/{provider-6p17b4q9.js → console-access-wkzek7yd.js} +41 -41
- package/dist/chunks/{provider-wnhgecwx.js → console-access-wnhgecwx.js} +1 -1
- package/dist/chunks/{provider-58gn9me1.js → console-access-wv0g8kj6.js} +29 -29
- package/dist/chunks/{provider-3n03fw67.js → console-access-wvm0jmw7.js} +18 -18
- package/dist/chunks/{provider-zscq35gf.js → console-access-wxzgy38h.js} +20 -20
- package/dist/chunks/{provider-4rramvaq.js → console-access-wyywacbw.js} +24 -24
- package/dist/chunks/{provider-1xzb85s3.js → console-access-x0e1k7q0.js} +42 -34
- package/dist/chunks/{provider-gt4s71hs.js → console-access-x3s7tck7.js} +21 -21
- package/dist/chunks/{provider-7hbfr3gt.js → console-access-x3t8qkxb.js} +5 -5
- package/dist/chunks/{provider-70y17xeh.js → console-access-xh49vxj8.js} +5 -5
- package/dist/chunks/{provider-3wffx9mc.js → console-access-xkwa9bch.js} +80 -48
- package/dist/chunks/{provider-z8jj1f5x.js → console-access-xmfvk442.js} +1 -1
- package/dist/chunks/{provider-y6699624.js → console-access-xmpds20m.js} +8 -8
- package/dist/chunks/{provider-wkj89kcq.js → console-access-xpy6zrrm.js} +18 -18
- package/dist/chunks/{provider-y4exmj8g.js → console-access-xyg4pv5p.js} +15 -15
- package/dist/chunks/{provider-pb37mcnd.js → console-access-y0bzh6gv.js} +22 -22
- package/dist/chunks/{provider-hyh06f6h.js → console-access-y4rj72h1.js} +26 -26
- package/dist/chunks/{provider-env1txb6.js → console-access-y8dnxcz5.js} +29 -29
- package/dist/chunks/{provider-tdnw9kda.js → console-access-yaw5mgj3.js} +23 -23
- package/dist/chunks/{provider-ft3x1tqf.js → console-access-yazd0vcr.js} +6 -6
- package/dist/chunks/{provider-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
- package/dist/chunks/{provider-55fyebza.js → console-access-yeznf84t.js} +13 -13
- package/dist/chunks/{provider-cb37h3g9.js → console-access-yp6xf2cv.js} +47 -47
- package/dist/chunks/{provider-y9xk9k2e.js → console-access-yqxc2111.js} +8 -8
- package/dist/chunks/{provider-yr705xyq.js → console-access-yr705xyq.js} +1 -1
- package/dist/chunks/{provider-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
- package/dist/chunks/{provider-ap5bkdw3.js → console-access-yxrvy3v0.js} +23 -23
- package/dist/chunks/{provider-90ct6wq4.js → console-access-z080rjh6.js} +4 -4
- package/dist/chunks/{provider-wfgaw5r7.js → console-access-z4kzdpr4.js} +21 -21
- package/dist/chunks/{provider-h274fqx9.js → console-access-z4q7sbr8.js} +9 -9
- package/dist/chunks/{provider-5v8qem1n.js → console-access-z50gqtt7.js} +15 -15
- package/dist/chunks/{provider-41cdwvpp.js → console-access-za5s83ga.js} +9 -9
- package/dist/chunks/{provider-t55cvahq.js → console-access-zf7524d8.js} +8 -8
- package/dist/chunks/{provider-1e5ztcp9.js → console-access-zj094p6x.js} +167 -167
- package/dist/chunks/{provider-zm27gg57.js → console-access-zm27gg57.js} +2 -2
- package/dist/chunks/{provider-nqjvae97.js → console-access-zpzp6d8n.js} +8 -8
- package/dist/chunks/{provider-3y5sd8jb.js → console-access-zx36r2f9.js} +15 -15
- package/dist/chunks/{provider-ma7ygzsk.js → console-access-zze2878w.js} +13 -13
- package/dist/chunks/{provider-9397xyzj.js → console-access-zzq8e1qd.js} +19 -19
- package/dist/chunks/{provider-g2ksfzwc.js → console-access-zzrv6hmv.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +90 -90
- package/dist/job/sql.js +2 -2
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +181 -175
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +111 -111
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- 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 +236 -236
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +235 -235
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -233
- package/dist/shared-cache.js +1 -1
- 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 +9 -9
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +149 -149
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/location-lifecycle.d.ts +6 -1
- package/dist/types/mcp/index.d.ts +5 -0
- package/dist/types/plugin/provider/credential-settings.d.ts +2 -2
- package/dist/types/tool/mcp.d.ts +4 -1
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/provider-6zjm2phc.js +0 -18
- package/dist/chunks/provider-a02qxqvd.js +0 -555
- package/dist/chunks/provider-pdr5pber.js +0 -261
- package/dist/chunks/provider-qb74t3th.js +0 -26
- /package/dist/chunks/{provider-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kah00gy.js → console-access-1kah00gy.js} +0 -0
- /package/dist/chunks/{provider-1pevy3nx.js → console-access-1pevy3nx.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → console-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → console-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → console-access-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → console-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → console-access-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → console-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → console-access-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → console-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
- /package/dist/chunks/{provider-6agm2x70.js → console-access-6agm2x70.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → console-access-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → console-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-7stb81gk.js → console-access-7stb81gk.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → console-access-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → console-access-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → console-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → console-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → console-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → console-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-beh6qq61.js → console-access-beh6qq61.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → console-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → console-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → console-access-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → console-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → console-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → console-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → console-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → console-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → console-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → console-access-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → console-access-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → console-access-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → console-access-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → console-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → console-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → console-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → console-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-syrav9an.js → console-access-syrav9an.js} +0 -0
- /package/dist/chunks/{provider-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
- /package/dist/chunks/{provider-ty7weeps.js → console-access-ty7weeps.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-vtarvj67.js → console-access-vtarvj67.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → console-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → console-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → console-access-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → console-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → console-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → console-access-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-02fwh478.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./console-access-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-95sp4hdf.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
Service81,
|
|
15
15
|
node84,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event17
|
|
17
|
+
} from "./console-access-k4850m39.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service86,
|
|
20
|
+
node89
|
|
21
|
+
} from "./console-access-1q7276rs.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./console-access-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider4 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider4, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event14,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider4,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider4, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node74,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -332,8 +332,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
332
332
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
|
-
import { Event as
|
|
336
|
-
var
|
|
335
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
336
|
+
var ID14 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info21 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service72 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service72, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service89;
|
|
597
597
|
const integrations = yield* Service81;
|
|
598
|
-
const location = yield*
|
|
598
|
+
const location = yield* Service86;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service72.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service80, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node74 = makeLocationNode({ service: Service72, layer, deps: [node92, node84, node89] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info21, Service72, node74, exports_provider4, Event14 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-eq9a65a0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-02fwh478.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./console-access-1419jydy.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./console-access-k4850m39.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./console-access-0ha3e93w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID13,
|
|
22
22
|
VariantID2,
|
|
23
23
|
Info20
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./console-access-wyywacbw.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./console-access-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./console-access-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./console-access-jn0pxsew.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
38
|
-
import { Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
38
|
+
import { Deferred, Effect, Equal, Option, Schema, Semaphore, Stream } from "effect";
|
|
39
39
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
40
40
|
var registrationClientID = "dynamic_agent_client";
|
|
41
41
|
var agentName = "OpenCode";
|
|
@@ -43,7 +43,7 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
46
|
+
var providerID = ID14.openai;
|
|
47
47
|
var integrationID = ID17.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
|
|
|
182
182
|
id: "opencode.provider.chatgpt",
|
|
183
183
|
effect: Effect.fn(function* (ctx) {
|
|
184
184
|
const bus = yield* Service89;
|
|
185
|
-
const credentials = yield*
|
|
185
|
+
const credentials = yield* Service82;
|
|
186
186
|
const loading = Semaphore.makeUnsafe(1);
|
|
187
187
|
let chatgpt;
|
|
188
188
|
let source;
|
|
@@ -192,7 +192,9 @@ var ChatGPTPlugin2 = define({
|
|
|
192
192
|
return;
|
|
193
193
|
})) : undefined;
|
|
194
194
|
chatgpt = credential?.type === "oauth" && credential.methodID === methodID ? credential : undefined;
|
|
195
|
+
const previous = source;
|
|
195
196
|
source = chatgpt ? connection : undefined;
|
|
197
|
+
return !Equal.equals(previous, source);
|
|
196
198
|
});
|
|
197
199
|
yield* ctx.integration.transform((editor) => {
|
|
198
200
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
@@ -269,8 +271,8 @@ var ChatGPTPlugin2 = define({
|
|
|
269
271
|
});
|
|
270
272
|
}
|
|
271
273
|
});
|
|
272
|
-
const reload = () => loading.withPermit(load().pipe(Effect.
|
|
273
|
-
yield* bus.subscribe(
|
|
274
|
+
const reload = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
|
|
275
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
274
276
|
})
|
|
275
277
|
});
|
|
276
278
|
function headers(app) {
|
|
@@ -327,7 +329,7 @@ function deriveModels2(remote, existing) {
|
|
|
327
329
|
const found = byID.get(model.modelID);
|
|
328
330
|
return found ? [deriveModel(found, model)] : [];
|
|
329
331
|
}),
|
|
330
|
-
...remote.filter((model) => !known.has(
|
|
332
|
+
...remote.filter((model) => !known.has(ID13.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID14.openai, ID13.make(model.slug))))
|
|
331
333
|
];
|
|
332
334
|
}
|
|
333
335
|
function deriveModel(remote, previous) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin32
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin32 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin41 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin32, exports_mcp_codemode_defaults };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-eq9a65a0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-02fwh478.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./console-access-1419jydy.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
MethodID2,
|
|
15
15
|
Service81
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./console-access-k4850m39.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./console-access-yb20nhc3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID14
|
|
23
|
+
} from "./console-access-0ha3e93w.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./console-access-jn0pxsew.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
33
|
+
var providerID = ID14.make("snowflake-cortex");
|
|
34
34
|
var integrationID = ID17.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
@@ -53,7 +53,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
56
|
+
const credentials = yield* Service82;
|
|
57
57
|
const integrations = yield* Service81;
|
|
58
58
|
const bus = yield* Service89;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
@@ -159,7 +159,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
159
159
|
});
|
|
160
160
|
const load = Effect.gen(function* () {
|
|
161
161
|
const value = (yield* saved)?.value;
|
|
162
|
+
const previous = account.value;
|
|
162
163
|
account.value = normalizeAccount(process.env.SNOWFLAKE_ACCOUNT ?? value?.metadata?.account ?? configured?.account);
|
|
164
|
+
return account.value !== previous;
|
|
163
165
|
});
|
|
164
166
|
yield* load;
|
|
165
167
|
yield* ctx.provider.transform((providers) => {
|
|
@@ -186,7 +188,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
188
|
});
|
|
187
189
|
}
|
|
188
190
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
191
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void))), Effect.forkScoped({ startImmediately: true }));
|
|
190
192
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
193
|
const token = envToken();
|
|
192
194
|
if (token)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./console-access-mbm9ywtd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service85
|
|
7
|
+
} from "./console-access-bja887sn.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./console-access-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./console-access-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin52
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin52 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service68;
|
|
27
|
+
const shell = yield* Service85;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin10 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin52, exports_shell2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-zzrv6hmv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service89,
|
|
7
7
|
node92
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./console-access-02fwh478.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./console-access-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./console-access-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID18,
|
|
26
|
+
Info: () => Info27,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service82,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node85
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID18 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event18 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID18,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service82 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service90).db;
|
|
59
59
|
const bus = yield* Service89;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info27({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service82.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info27({
|
|
95
|
+
id: input.id ?? ID18.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node85 = makeGlobalNode({ service: Service82, layer, deps: [node93, node92, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID18, OAuth3, Key4, External2, Value2, Event18, Info27, Service82, node85, exports_credential };
|