@opencode/core 0.0.0-dev-572 → 0.0.0-dev-575
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 +84 -84
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +106 -106
- package/dist/app.js +7 -7
- package/dist/artifact.js +248 -248
- package/dist/bus.js +86 -86
- package/dist/chunks/{reference-qdess7qm.js → project-019n5914.js} +27 -27
- package/dist/chunks/{reference-034tev2y.js → project-034tev2y.js} +2 -2
- package/dist/chunks/{reference-2hjsqf89.js → project-04xdb978.js} +23 -23
- package/dist/chunks/{reference-gn2zye69.js → project-07a6zqrb.js} +14 -14
- package/dist/chunks/{reference-t67p36zk.js → project-0j1zqr2k.js} +10 -10
- package/dist/chunks/{reference-5r9mks47.js → project-0jbw3gkr.js} +10 -10
- package/dist/chunks/{reference-atyx0n5q.js → project-0jf3g4p5.js} +30 -30
- package/dist/chunks/{reference-0ma9gw4f.js → project-0ma9gw4f.js} +2 -2
- package/dist/chunks/{reference-2hnx7p23.js → project-0nxdczg9.js} +31 -31
- package/dist/chunks/{reference-9dp51m1t.js → project-0svgr7xd.js} +20 -20
- package/dist/chunks/project-0t4nwps0.js +16 -0
- package/dist/chunks/{reference-s3r0jkg8.js → project-0twfw88w.js} +7 -7
- package/dist/chunks/{reference-2ta3xcqa.js → project-0wpz3h74.js} +20 -20
- package/dist/chunks/{reference-6wmf7jyj.js → project-0yw17pkx.js} +13 -13
- package/dist/chunks/{reference-4ke1sdaf.js → project-135jvntg.js} +31 -31
- package/dist/chunks/{reference-ck5jdqth.js → project-16a46khb.js} +24 -24
- package/dist/chunks/{reference-jdk019fs.js → project-16jxsy3y.js} +5 -5
- package/dist/chunks/{reference-1aqsckx4.js → project-1aqsckx4.js} +1 -1
- package/dist/chunks/{reference-1ep2p91f.js → project-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-qsdghx1p.js → project-1fjzrn8a.js} +4 -4
- package/dist/chunks/{reference-bdv8sqrq.js → project-1gdzt2xj.js} +1 -1
- package/dist/chunks/{reference-xn61qhd8.js → project-1kmqmr0e.js} +38 -38
- package/dist/chunks/{reference-wgy2m6zh.js → project-1mpqg9fr.js} +17 -17
- package/dist/chunks/{reference-py8xjxyt.js → project-1tgvq00n.js} +32 -32
- package/dist/chunks/{reference-1x2knyw4.js → project-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-42yqcdz9.js → project-1xdkex0j.js} +44 -44
- package/dist/chunks/{reference-39r7m9zj.js → project-1ym5fh8n.js} +31 -31
- package/dist/chunks/{reference-8b3vzgkx.js → project-25h84942.js} +4 -4
- package/dist/chunks/{reference-tsvtqc2e.js → project-290cbanv.js} +10 -10
- package/dist/chunks/{reference-95x2gesx.js → project-29gg63gz.js} +3 -3
- package/dist/chunks/{reference-y8xep5t8.js → project-29x9sgby.js} +10 -10
- package/dist/chunks/{reference-1scgcwfj.js → project-2cdjxzfg.js} +3 -3
- package/dist/chunks/{reference-krtsfw0k.js → project-2e2qfbf4.js} +26 -26
- package/dist/chunks/{reference-ry5s2gm0.js → project-2kpqbs2m.js} +34 -34
- package/dist/chunks/{reference-t7x8kn27.js → project-2pyr13f1.js} +32 -32
- package/dist/chunks/{reference-ykd1k0bk.js → project-343zgq8q.js} +78 -59
- package/dist/chunks/{reference-c2d6jz65.js → project-3696pwfc.js} +29 -29
- package/dist/chunks/{reference-2swc61r8.js → project-36t74d6c.js} +11 -11
- package/dist/chunks/{reference-tbc5nv78.js → project-37jqyv1h.js} +4 -4
- package/dist/chunks/{reference-tm5605ws.js → project-39hyj06c.js} +36 -36
- package/dist/chunks/{reference-xjbsd7zy.js → project-3adw4bt5.js} +9 -9
- package/dist/chunks/{reference-2smp010m.js → project-3d92dp21.js} +11 -11
- package/dist/chunks/{reference-emaveete.js → project-3dkr1mc7.js} +12 -12
- package/dist/chunks/{reference-sv2nzebw.js → project-3gr38rez.js} +6 -6
- package/dist/chunks/{reference-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3nnrz6f6.js → project-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-t62dywgn.js → project-3spf441s.js} +6 -6
- package/dist/chunks/{reference-1mp4f3yt.js → project-3v25rph8.js} +8 -7
- package/dist/chunks/{reference-40y6dtc2.js → project-40y6dtc2.js} +1 -1
- package/dist/chunks/{reference-40za9wsf.js → project-40za9wsf.js} +2 -2
- package/dist/chunks/{reference-6r3j5rq4.js → project-43mz42wn.js} +10 -10
- package/dist/chunks/{reference-bbw35q2q.js → project-46mmnvnq.js} +36 -36
- package/dist/chunks/{reference-f356pky6.js → project-4a9adyq1.js} +31 -31
- package/dist/chunks/{reference-4dx1dgte.js → project-4dx1dgte.js} +1 -1
- package/dist/chunks/{reference-4f25tdd0.js → project-4f25tdd0.js} +1 -1
- package/dist/chunks/{reference-a884m5kj.js → project-4pngysgc.js} +35 -35
- package/dist/chunks/{reference-4pyp9zr9.js → project-4pyp9zr9.js} +1 -1
- package/dist/chunks/{reference-4v008n1t.js → project-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-dsy6v1fe.js → project-52f5a6rd.js} +11 -11
- package/dist/chunks/{reference-jqfrpy0b.js → project-539dw32x.js} +4 -4
- package/dist/chunks/{reference-kt3bjfbg.js → project-53nv8vz9.js} +12 -2
- package/dist/chunks/{reference-vhhswwyd.js → project-5eagrnsn.js} +58 -58
- package/dist/chunks/{reference-hretfjjx.js → project-5jandp8q.js} +2 -2
- package/dist/chunks/{reference-5m9w47nd.js → project-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-v8wxce3j.js → project-5nbmkez3.js} +18 -18
- package/dist/chunks/{reference-ytex9bjn.js → project-5pcajhdb.js} +18 -18
- package/dist/chunks/{reference-z4cw7ht6.js → project-5x6zgx5a.js} +180 -180
- package/dist/chunks/{reference-9k76nara.js → project-64rjgvdt.js} +11 -11
- package/dist/chunks/{reference-nta6dm7p.js → project-69xp77xe.js} +9 -9
- package/dist/chunks/{reference-qefxaq5v.js → project-70c7swy8.js} +12 -14
- package/dist/chunks/{reference-s4kyhetj.js → project-716k91av.js} +6 -6
- package/dist/chunks/{reference-knpjw1zf.js → project-71ky0fxt.js} +4 -4
- package/dist/chunks/{reference-fvjma0rg.js → project-726km6eh.js} +59 -59
- package/dist/chunks/{reference-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-m0efzj7r.js → project-7hxvez1g.js} +18 -18
- package/dist/chunks/{reference-xz07m27x.js → project-7nqkf5r1.js} +2 -2
- package/dist/chunks/{reference-q8a85cdf.js → project-7prjwx2s.js} +5 -5
- package/dist/chunks/{reference-0ynhw1wj.js → project-7r0camkz.js} +11 -11
- package/dist/chunks/{reference-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-7weczvnd.js → project-7weczvnd.js} +1 -1
- package/dist/chunks/{reference-8grrarsh.js → project-7yyxz3fg.js} +30 -30
- package/dist/chunks/{reference-80mg3ag8.js → project-80mg3ag8.js} +3 -3
- package/dist/chunks/{reference-9g1m21dx.js → project-821n8anj.js} +21 -21
- package/dist/chunks/{reference-f32m8sjz.js → project-82phgae0.js} +5 -5
- package/dist/chunks/{reference-wa9t2f6b.js → project-85a5jd0r.js} +49 -49
- package/dist/chunks/{reference-89287pr7.js → project-89287pr7.js} +1 -1
- package/dist/chunks/{reference-8cg7mtm3.js → project-8cg7mtm3.js} +1 -1
- package/dist/chunks/{reference-pdm4ywp3.js → project-8dqkg4s0.js} +7 -7
- package/dist/chunks/{reference-rgr196vp.js → project-8sb7jtsn.js} +9 -9
- package/dist/chunks/{reference-8sxe6kv8.js → project-8sxe6kv8.js} +2 -2
- package/dist/chunks/{reference-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-90zstvax.js → project-90zstvax.js} +1 -1
- package/dist/chunks/{reference-kn4zqwcq.js → project-94e33dpz.js} +3 -3
- package/dist/chunks/{reference-2eb83ex8.js → project-96cftbda.js} +38 -38
- package/dist/chunks/{reference-szwm4crx.js → project-96djdqw5.js} +4 -4
- package/dist/chunks/{reference-mhx1h2m0.js → project-98b85hpm.js} +11 -11
- package/dist/chunks/{reference-ax0z0xv7.js → project-9a0r90ad.js} +5 -5
- package/dist/chunks/{reference-teav1bzy.js → project-9f3jsh1d.js} +9 -9
- package/dist/chunks/{reference-kprr32nt.js → project-9gvz502r.js} +14 -14
- package/dist/chunks/{reference-782ftqzm.js → project-9jx6pde7.js} +16 -16
- package/dist/chunks/{reference-p9x26950.js → project-9jxpbjsa.js} +8 -8
- package/dist/chunks/{reference-hm3v9m15.js → project-9m02z06j.js} +36 -36
- package/dist/chunks/{reference-00g1yw63.js → project-9w0mq0qd.js} +28 -28
- package/dist/chunks/{reference-963hk181.js → project-a0fq0pbv.js} +9 -9
- package/dist/chunks/{reference-s2pfznc4.js → project-a0kwzn5j.js} +6 -6
- package/dist/chunks/{reference-kkb7zeg6.js → project-a1td16et.js} +8 -8
- package/dist/chunks/{reference-0ac1knw3.js → project-a260d95k.js} +8 -8
- package/dist/chunks/{reference-6xg5mvc6.js → project-a90k0e99.js} +9 -9
- package/dist/chunks/{reference-90ct6wq4.js → project-anvcme1c.js} +4 -4
- package/dist/chunks/{reference-5ms49gm2.js → project-av5hzh88.js} +5 -5
- package/dist/chunks/{reference-f3qwesrw.js → project-axhyxf2f.js} +8 -8
- package/dist/chunks/{reference-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-whw1pa3p.js → project-aynzz71e.js} +6 -6
- package/dist/chunks/{reference-hgxg4bd5.js → project-b1x8zrb5.js} +12 -12
- package/dist/chunks/{reference-yzg0z8vt.js → project-b5p2pymq.js} +9 -9
- package/dist/chunks/{reference-b6vsg801.js → project-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-03xjjwe3.js → project-b7ke1cet.js} +1 -1
- package/dist/chunks/{reference-9pevz77s.js → project-bb3r9wxm.js} +5 -5
- package/dist/chunks/{reference-ftjmg9qs.js → project-bbmsnk0w.js} +13 -13
- package/dist/chunks/{reference-rdmk0mq4.js → project-bbvh3bsr.js} +12 -12
- package/dist/chunks/{reference-1yq9hg58.js → project-bdhd9h6e.js} +5 -5
- package/dist/chunks/{reference-nvrbz68q.js → project-besf4p6f.js} +15 -15
- package/dist/chunks/{reference-647a467t.js → project-bmj3n0tq.js} +15 -15
- package/dist/chunks/{reference-5ay8k29b.js → project-bn2zw3xc.js} +5 -5
- package/dist/chunks/{reference-fd03a0jw.js → project-bpzq4rbg.js} +9 -9
- package/dist/chunks/{reference-bstexjd6.js → project-bstexjd6.js} +1 -1
- package/dist/chunks/{reference-j9s9xvf1.js → project-byxbe7hm.js} +20 -20
- package/dist/chunks/{reference-kz1jwzt0.js → project-c15gyfbj.js} +5 -5
- package/dist/chunks/{reference-rj7j5fvs.js → project-c5zvymhv.js} +4 -4
- package/dist/chunks/{reference-7ct4w35d.js → project-cbpf86ap.js} +27 -27
- package/dist/chunks/{reference-hmpgak6v.js → project-cdhapxv9.js} +3 -3
- package/dist/chunks/{reference-jjv6dbs2.js → project-ce6vjyqc.js} +18 -18
- package/dist/chunks/{reference-40b0605t.js → project-cka6ngk0.js} +12 -12
- package/dist/chunks/{reference-dys0v8r2.js → project-ckcb1bmd.js} +30 -30
- package/dist/chunks/{reference-93xmyh8q.js → project-ckk44cdz.js} +5 -5
- package/dist/chunks/{reference-khtjmheq.js → project-cmmsak4z.js} +17 -17
- package/dist/chunks/{reference-fwz1byk4.js → project-cnh7rm97.js} +5 -5
- package/dist/chunks/{reference-cpvd08na.js → project-cpvd08na.js} +1 -1
- package/dist/chunks/{reference-d841hfc3.js → project-cqff7g0c.js} +19 -19
- package/dist/chunks/{reference-djpnqkt2.js → project-csx4k8k5.js} +9 -9
- package/dist/chunks/{reference-cwrgdav8.js → project-cwrgdav8.js} +2 -2
- package/dist/chunks/{reference-d4v9tmah.js → project-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-mghkq3nv.js → project-dgq98zw6.js} +8 -8
- package/dist/chunks/{reference-w0gyare9.js → project-dmwh07z0.js} +5 -5
- package/dist/chunks/{reference-dt77769w.js → project-dt77769w.js} +1 -1
- package/dist/chunks/{reference-w75sbm79.js → project-dv9xw74s.js} +11 -11
- package/dist/chunks/{reference-88595d5t.js → project-e04vrpbp.js} +19 -19
- package/dist/chunks/{reference-fr3xfwew.js → project-e18cc8yy.js} +12 -12
- package/dist/chunks/{reference-jdxhd634.js → project-e4dxw20e.js} +20 -20
- package/dist/chunks/{reference-yxcjxpza.js → project-e6q22qz5.js} +54 -54
- package/dist/chunks/{reference-qe2tdkb2.js → project-e81060zc.js} +41 -41
- package/dist/chunks/{reference-e834z07m.js → project-e834z07m.js} +1 -1
- package/dist/chunks/{reference-w7s430yt.js → project-ek60h7nh.js} +4 -4
- package/dist/chunks/{reference-kse531ts.js → project-ek7r9692.js} +6 -6
- package/dist/chunks/{reference-eqw4pqj1.js → project-eqw4pqj1.js} +2 -2
- package/dist/chunks/{reference-381w5cv2.js → project-er5qm13q.js} +65 -61
- package/dist/chunks/{reference-31avdb49.js → project-etrnj9s7.js} +8 -8
- package/dist/chunks/{reference-ngwykzwa.js → project-exgqh01h.js} +26 -26
- package/dist/chunks/{reference-nv2c5e9q.js → project-ez4sqtdc.js} +3 -3
- package/dist/chunks/project-f521vhbp.js +26 -0
- package/dist/chunks/{reference-w5vfw1k0.js → project-f53z0w0m.js} +75 -75
- package/dist/chunks/{reference-78hx0q36.js → project-fe3t4ebc.js} +17 -17
- package/dist/chunks/{reference-fffv3p7h.js → project-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-fg9p65nk.js → project-fg9p65nk.js} +2 -2
- package/dist/chunks/{reference-nf348xcb.js → project-fm535swd.js} +4 -4
- package/dist/chunks/{reference-hmrw4ntv.js → project-fn5qj37w.js} +51 -51
- package/dist/chunks/{reference-k3p33cht.js → project-fqhgsedn.js} +19 -19
- package/dist/chunks/{reference-e45fk36t.js → project-fstdtr31.js} +4 -4
- package/dist/chunks/{reference-8339jj3p.js → project-ftepgs6m.js} +14 -14
- package/dist/chunks/{reference-ctyc4gz6.js → project-fvg0bsm6.js} +24 -24
- package/dist/chunks/{reference-vtbhdzrb.js → project-g8kza3j3.js} +13 -13
- package/dist/chunks/{reference-gbjdnr5j.js → project-gbjdnr5j.js} +2 -2
- package/dist/chunks/{reference-8mcxc71g.js → project-gc7a2s80.js} +39 -39
- package/dist/chunks/{reference-bnfdbx95.js → project-gcrq2pb2.js} +4 -4
- package/dist/chunks/{reference-14qfxjyt.js → project-ge5jw5a3.js} +36 -36
- package/dist/chunks/{reference-ghrv1g9c.js → project-ghrv1g9c.js} +1 -1
- package/dist/chunks/{reference-4w0wjrsb.js → project-gjj1a6n2.js} +28 -28
- package/dist/chunks/{reference-crpj5dzf.js → project-gnv8580k.js} +3 -3
- package/dist/chunks/{reference-gxs71cxp.js → project-gxs71cxp.js} +1 -1
- package/dist/chunks/{reference-8ggtc5cf.js → project-h792trvy.js} +14 -14
- package/dist/chunks/{reference-ndgw3s2s.js → project-h7vd8y7b.js} +12 -12
- package/dist/chunks/{reference-q94fsdzs.js → project-h9fh7y94.js} +11 -11
- package/dist/chunks/{reference-61msdqca.js → project-h9q35say.js} +30 -30
- package/dist/chunks/{reference-bnrgpspr.js → project-hcz18hcw.js} +22 -22
- package/dist/chunks/{reference-t16fqg33.js → project-hfcxeq1b.js} +5 -5
- package/dist/chunks/{reference-6e4p0b5k.js → project-hknx3ga7.js} +38 -38
- package/dist/chunks/{reference-ywm210e4.js → project-hmeh6bv9.js} +35 -35
- package/dist/chunks/{reference-17b8a7h3.js → project-hrfsj0r4.js} +11 -11
- package/dist/chunks/{reference-hr05g0yp.js → project-hyppwetb.js} +4 -4
- package/dist/chunks/{reference-ceh9hyhz.js → project-hzaj9ats.js} +9 -9
- package/dist/chunks/{reference-ehb04tzd.js → project-j13j23vt.js} +14 -14
- package/dist/chunks/{reference-tr8x705m.js → project-j376ae4e.js} +5 -5
- package/dist/chunks/{reference-6aw533fg.js → project-j7wjfnya.js} +12 -12
- package/dist/chunks/{reference-v095fdbr.js → project-jjcdyn1v.js} +2 -2
- package/dist/chunks/{reference-vhvty3qh.js → project-jjwnx7m3.js} +13 -13
- package/dist/chunks/{reference-c3e0rej3.js → project-jkrqcqs0.js} +11 -11
- package/dist/chunks/{reference-2y8q1569.js → project-jnhgr88h.js} +6 -6
- package/dist/chunks/{reference-x8rzqjkp.js → project-jqdm0egr.js} +23 -23
- package/dist/chunks/{reference-44pmzq9c.js → project-jxd6f16v.js} +2 -2
- package/dist/chunks/{reference-ynd6x6p8.js → project-kb2fafn8.js} +83 -83
- package/dist/chunks/{reference-kh8gdsej.js → project-kh8gdsej.js} +1 -1
- package/dist/chunks/{reference-fdwgpv3x.js → project-km2jt1n7.js} +43 -43
- package/dist/chunks/{reference-hrw51qw6.js → project-kmgqb0hj.js} +6 -6
- package/dist/chunks/{reference-wtpwnj4b.js → project-kp6q3yge.js} +11 -11
- package/dist/chunks/{reference-hn0qvtyz.js → project-kpmjj9dj.js} +21 -21
- package/dist/chunks/{reference-gznjef8r.js → project-kpr8r4gf.js} +9 -9
- package/dist/chunks/{reference-snghghw3.js → project-kwp8h6ge.js} +11 -11
- package/dist/chunks/{reference-kzczzf4v.js → project-kzczzf4v.js} +1 -1
- package/dist/chunks/{reference-txqeed8d.js → project-m0wanvqp.js} +39 -39
- package/dist/chunks/{reference-t8b37839.js → project-m15jf2d8.js} +17 -17
- package/dist/chunks/{reference-m1714858.js → project-m1714858.js} +1 -1
- package/dist/chunks/{reference-c5c32ebd.js → project-m7df3mfn.js} +22 -22
- package/dist/chunks/{reference-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-mb7mbhnz.js → project-mb7mbhnz.js} +3 -3
- package/dist/chunks/project-me0dhgxs.js +18 -0
- package/dist/chunks/{reference-gp5w1wtp.js → project-me2yvmr0.js} +58 -54
- package/dist/chunks/{reference-y062q5ej.js → project-mha933gq.js} +24 -24
- package/dist/chunks/{reference-tvtps2q9.js → project-mm06edep.js} +7 -6
- package/dist/chunks/{reference-d2p78d1f.js → project-mxmv149a.js} +15 -15
- package/dist/chunks/{reference-3d1097x7.js → project-mybwhcb5.js} +33 -33
- package/dist/chunks/{reference-y5fqa56h.js → project-mz7yysnf.js} +20 -20
- package/dist/chunks/{reference-dsz7b6ct.js → project-mzsvv2v9.js} +20 -20
- package/dist/chunks/{reference-2z3htntm.js → project-n0jv45dk.js} +3 -3
- package/dist/chunks/{reference-sf4zgaj4.js → project-n59qcj3f.js} +14 -14
- package/dist/chunks/{reference-f5rkjw9s.js → project-n6cgafjz.js} +16 -16
- package/dist/chunks/{reference-06t4fpg4.js → project-n78mes17.js} +12 -12
- package/dist/chunks/{reference-71jzrrng.js → project-naxg1y3z.js} +4 -4
- package/dist/chunks/{reference-8h4byctv.js → project-nfgvz23f.js} +2 -2
- package/dist/chunks/{reference-gf3dp8br.js → project-nhrefdj7.js} +12 -12
- package/dist/chunks/{reference-9rqhy0gk.js → project-nj82evve.js} +7 -7
- package/dist/chunks/{reference-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{reference-ryy905h1.js → project-pnhr1vvr.js} +5 -5
- package/dist/chunks/{reference-4bjxqc3y.js → project-pvs7bvhv.js} +360 -352
- package/dist/chunks/{reference-d57rvnhv.js → project-pwdej7e7.js} +32 -32
- package/dist/chunks/{reference-bqq6ewbb.js → project-pwep5jdf.js} +8 -8
- package/dist/chunks/{reference-sd74kdpv.js → project-pwz30w5f.js} +19 -19
- package/dist/chunks/{reference-1thmwbjb.js → project-q11t1skj.js} +17 -17
- package/dist/chunks/{reference-jhwp234h.js → project-q65mdntm.js} +4 -4
- package/dist/chunks/{reference-0cvmjxzj.js → project-qaazn6f8.js} +8 -8
- package/dist/chunks/{reference-pa19eq4n.js → project-qava8dj6.js} +11 -11
- package/dist/chunks/{reference-tgaynfn5.js → project-qbh5071r.js} +18 -18
- package/dist/chunks/{reference-kzs9t8x7.js → project-qbqv0dqm.js} +34 -34
- package/dist/chunks/{reference-mh67hebd.js → project-qbrwtzwr.js} +23 -23
- package/dist/chunks/{reference-edjeqbg4.js → project-qe9ewq4x.js} +12 -12
- package/dist/chunks/{reference-s11vyctz.js → project-qfhrpw0k.js} +15 -15
- package/dist/chunks/{reference-qp7r0hxv.js → project-qp7r0hxv.js} +1 -1
- package/dist/chunks/{reference-qw2t3dzn.js → project-qw2t3dzn.js} +3 -3
- package/dist/chunks/{reference-egmfbr6n.js → project-qx91edma.js} +9 -9
- package/dist/chunks/{reference-3qgwywyc.js → project-r17fbvme.js} +4 -4
- package/dist/chunks/{reference-7mybvnhq.js → project-r259dfpz.js} +26 -26
- package/dist/chunks/{reference-zhtx80hn.js → project-r55m6wx9.js} +3 -3
- package/dist/chunks/{reference-cdk4fzb8.js → project-r6grmmj8.js} +21 -21
- package/dist/chunks/{reference-4nejw68x.js → project-r7e9vx2n.js} +30 -30
- package/dist/chunks/{reference-hk7q23wz.js → project-r8zaw36y.js} +34 -34
- package/dist/chunks/{reference-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-rgc9cx3e.js → project-rgc9cx3e.js} +2 -2
- package/dist/chunks/{reference-5ez0nn78.js → project-rgw9km2s.js} +12 -12
- package/dist/chunks/{reference-rt5dr6hb.js → project-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-xnx0h343.js → project-rvztm0f0.js} +21 -21
- package/dist/chunks/{reference-2p60zmnr.js → project-s1ba0vj0.js} +2 -2
- package/dist/chunks/project-s1ntesz6.js +265 -0
- package/dist/chunks/{reference-1w1c54a8.js → project-s3q7a4yt.js} +9 -9
- package/dist/chunks/{reference-sa3fpqfw.js → project-sa3fpqfw.js} +2 -2
- package/dist/chunks/{reference-sbya78hr.js → project-sbya78hr.js} +1 -1
- package/dist/chunks/{reference-0j7gp832.js → project-sqjzf8x2.js} +4 -4
- package/dist/chunks/{reference-svcy3p9a.js → project-svcy3p9a.js} +1 -1
- package/dist/chunks/{reference-hvnk3yew.js → project-swv67jcs.js} +3 -3
- package/dist/chunks/{reference-vbrb3wb4.js → project-t103h60z.js} +25 -25
- package/dist/chunks/{reference-ztsca96a.js → project-t3yg9b49.js} +63 -63
- package/dist/chunks/{reference-xjr6c8m4.js → project-t54kw4zq.js} +7 -7
- package/dist/chunks/{reference-0xaj1zzf.js → project-t5nywe1c.js} +38 -38
- package/dist/chunks/{reference-xrtq227w.js → project-t848fhp4.js} +6 -6
- package/dist/chunks/{reference-9zwexsxs.js → project-t8erkws8.js} +5 -5
- package/dist/chunks/{reference-14gz4c3q.js → project-t9ttf0gw.js} +12 -12
- package/dist/chunks/{reference-tczq8hjw.js → project-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-tg1vr1qt.js → project-tg1vr1qt.js} +1 -1
- package/dist/chunks/{reference-spx8r9sv.js → project-tk5z3f6w.js} +15 -15
- package/dist/chunks/{reference-3jw4bp35.js → project-tk7vtk68.js} +14 -12
- package/dist/chunks/{reference-6gvfabyz.js → project-tnyzx988.js} +18 -18
- package/dist/chunks/{reference-z1khe0aq.js → project-tnzw11y9.js} +5 -5
- package/dist/chunks/{reference-h134rhff.js → project-tpg7h1py.js} +8 -8
- package/dist/chunks/{reference-79ef09mr.js → project-tpqghdpg.js} +21 -21
- package/dist/chunks/{reference-4kmrrt4a.js → project-tpv0drx9.js} +6 -6
- package/dist/chunks/{reference-9ysx6p1b.js → project-tpycw7ak.js} +24 -24
- package/dist/chunks/{reference-dq3e4dc7.js → project-tq53n54w.js} +5 -5
- package/dist/chunks/{reference-twssxy5n.js → project-twssxy5n.js} +2 -2
- package/dist/chunks/{reference-h3b857xk.js → project-tx91wa5k.js} +4 -4
- package/dist/chunks/{reference-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-tb2mrvc9.js → project-v4bj6baw.js} +4 -4
- package/dist/chunks/{reference-0nk8vgec.js → project-v7jw4qpb.js} +32 -31
- package/dist/chunks/{reference-5z7nwpm6.js → project-vcfmb0aa.js} +11 -11
- package/dist/chunks/{reference-w6dzzgd0.js → project-vfkrvvzg.js} +3 -3
- package/dist/chunks/{reference-jqthpbgk.js → project-vgajs0a2.js} +8 -8
- package/dist/chunks/{reference-6mzz38vb.js → project-vgf0s298.js} +7 -7
- package/dist/chunks/{reference-cndqxqvv.js → project-vhc965fw.js} +6 -6
- package/dist/chunks/{reference-vjf35v1f.js → project-vjf35v1f.js} +1 -1
- package/dist/chunks/{reference-bhfd478d.js → project-vmxsyvj6.js} +4 -4
- package/dist/chunks/{reference-144cfcmr.js → project-vn14q1vs.js} +15 -15
- package/dist/chunks/{reference-be4v52w8.js → project-w19854z7.js} +11 -11
- package/dist/chunks/{reference-j3adhq3q.js → project-w3aygza5.js} +18 -18
- package/dist/chunks/{reference-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-wr3re1en.js → project-w687dnns.js} +4 -4
- package/dist/chunks/{reference-v0t96s7a.js → project-w79nt68w.js} +4 -4
- package/dist/chunks/{reference-m891dem5.js → project-w7f2dp2w.js} +16 -16
- package/dist/chunks/{reference-wakvkjy4.js → project-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{reference-wegkxhrn.js → project-wegkxhrn.js} +2 -2
- package/dist/chunks/{reference-wnhgecwx.js → project-wnhgecwx.js} +1 -1
- package/dist/chunks/{reference-bzznm7ry.js → project-wsx9wyaa.js} +13 -13
- package/dist/chunks/{reference-6y2b864j.js → project-wvr8xscb.js} +4 -4
- package/dist/chunks/{reference-3trf7cca.js → project-ww2x1zr9.js} +6 -6
- package/dist/chunks/{reference-kj9n5bvh.js → project-wzfa06mn.js} +4 -4
- package/dist/chunks/{reference-pksc74pe.js → project-x1c7xtkj.js} +27 -27
- package/dist/chunks/{reference-bgvr7nj9.js → project-xdbtyszx.js} +15 -15
- package/dist/chunks/{reference-xksw6ev0.js → project-xksw6ev0.js} +1 -1
- package/dist/chunks/{reference-frkpq432.js → project-xtjdmje4.js} +43 -43
- package/dist/chunks/{reference-075knt2m.js → project-xxq7an4k.js} +20 -20
- package/dist/chunks/{reference-0t8nby67.js → project-xz8fwc3w.js} +11 -11
- package/dist/chunks/{reference-9g36e1vm.js → project-xzq4ysw5.js} +7 -7
- package/dist/chunks/{reference-rqqdyhrh.js → project-y1drznxv.js} +43 -43
- package/dist/chunks/{reference-3nde6fhg.js → project-y31awznh.js} +15 -15
- package/dist/chunks/{reference-yb20nhc3.js → project-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-1v2g13eq.js → project-ybws1qgk.js} +4 -4
- package/dist/chunks/{reference-k9dzae1r.js → project-yms3hkvm.js} +31 -31
- package/dist/chunks/{reference-yr705xyq.js → project-yr705xyq.js} +1 -1
- package/dist/chunks/{reference-yvtc2x31.js → project-yvtc2x31.js} +1 -1
- package/dist/chunks/{reference-amhmzkbr.js → project-yxpmhp3m.js} +14 -14
- package/dist/chunks/{reference-9sdka5yd.js → project-yzdn5123.js} +27 -27
- package/dist/chunks/{reference-kb90r49x.js → project-yzjzbeq7.js} +28 -28
- package/dist/chunks/{reference-wpz76m6n.js → project-z7gt2z0p.js} +5 -5
- package/dist/chunks/{reference-c25pd9t8.js → project-z7p9cwh7.js} +8 -8
- package/dist/chunks/{reference-fdd5z8e8.js → project-z864cskq.js} +17 -17
- package/dist/chunks/{reference-ze75qvmd.js → project-ze75qvmd.js} +3 -3
- package/dist/chunks/{reference-sdp94t6k.js → project-zg6rj2t1.js} +27 -27
- package/dist/chunks/{reference-yayn8afj.js → project-zmmeasjg.js} +36 -36
- package/dist/chunks/{reference-mc07p528.js → project-znqcmc13.js} +9 -9
- package/dist/chunks/{reference-zpdbqgja.js → project-zpdbqgja.js} +1 -1
- package/dist/chunks/{reference-tbt2628x.js → project-zx32m1gd.js} +9 -9
- package/dist/chunks/{reference-kapdsjwd.js → project-zxnv3p5n.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- 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 +92 -92
- package/dist/config/discovery.js +95 -95
- 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 +131 -131
- package/dist/config/plugin/command.js +234 -234
- 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 +132 -132
- package/dist/config/plugin/mcp.js +139 -139
- 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 +134 -134
- 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 +7 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +83 -83
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- 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 +103 -103
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +249 -249
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- 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 +3 -3
- 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 +428 -428
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +180 -180
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +155 -155
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +115 -107
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +154 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- 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 +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- 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 +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +404 -404
- 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 +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- 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 +3 -3
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +112 -112
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +145 -145
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +412 -412
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- 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 +105 -105
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- 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 +131 -131
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +196 -196
- 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 +248 -248
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- 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 +141 -141
- package/dist/session/message-updater.js +2 -2
- 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 +163 -163
- package/dist/session/projector.js +141 -141
- 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 +254 -254
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- 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 +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- 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 +140 -140
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +244 -244
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- 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 +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +106 -106
- 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 +232 -232
- package/dist/tool/plugin/edit.js +165 -165
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +243 -243
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +239 -239
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +164 -164
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/config/integration.d.ts +4 -4
- package/dist/types/config/plugin/entry-observer.d.ts +5 -1
- package/dist/types/config.d.ts +5 -0
- package/dist/types/console-access.d.ts +12 -0
- package/dist/types/managed-policy.d.ts +1 -1
- package/dist/types/mcp/connection.d.ts +2 -0
- package/dist/types/plugin/internal.d.ts +3 -1
- package/dist/usage-limits.js +100 -100
- 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 +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/reference-3k4vyfzg.js +0 -26
- package/dist/chunks/reference-3qhreq2y.js +0 -16
- package/dist/chunks/reference-dtkhn1ga.js +0 -265
- package/dist/chunks/reference-qmh7vbk2.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-108x4f4w.js → project-108x4f4w.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kah00gy.js → project-1kah00gy.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → project-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3af0jn4w.js → project-3af0jn4w.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4qk9sjk2.js → project-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5w3e23ze.js → project-5w3e23ze.js} +0 -0
- /package/dist/chunks/{reference-6agm2x70.js → project-6agm2x70.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → project-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-beh6qq61.js → project-beh6qq61.js} +0 -0
- /package/dist/chunks/{reference-bhmrqjy3.js → project-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cqv5kn06.js → project-cqv5kn06.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-ean2d8b5.js → project-ean2d8b5.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fkpq3x5p.js → project-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → project-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jwr30sdr.js → project-jwr30sdr.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → project-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-nh4v3znn.js → project-nh4v3znn.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p71gwv9c.js → project-p71gwv9c.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-syrav9an.js → project-syrav9an.js} +0 -0
- /package/dist/chunks/{reference-t03h4f5z.js → project-t03h4f5z.js} +0 -0
- /package/dist/chunks/{reference-ty7weeps.js → project-ty7weeps.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → project-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-vtarvj67.js → project-vtarvj67.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-z0h12gs8.js → project-z0h12gs8.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → project-z9919s4g.js} +0 -0
- /package/dist/chunks/{reference-zxpyjp51.js → project-zxpyjp51.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID19,
|
|
3
|
+
Info28,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-ez4sqtdc.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service91,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node95
|
|
12
|
+
} from "./project-290cbanv.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service90,
|
|
16
|
+
node94
|
|
17
|
+
} from "./project-9jx6pde7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service83,
|
|
20
|
+
node87
|
|
21
|
+
} from "./project-e6q22qz5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service66,
|
|
24
|
+
node70
|
|
25
|
+
} from "./project-a0kwzn5j.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./project-mb7mbhnz.js";
|
|
32
32
|
import {
|
|
33
33
|
enabledFor2,
|
|
34
34
|
ForkMedia2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./project-69xp77xe.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
37
|
+
NotFoundError12,
|
|
38
38
|
InvalidListCursorError2,
|
|
39
39
|
MessageNotFoundError2,
|
|
40
40
|
ForkEmptyError2,
|
|
@@ -46,80 +46,80 @@ import {
|
|
|
46
46
|
BusyError2,
|
|
47
47
|
InboxConflictError2,
|
|
48
48
|
SkillNotFoundError2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./project-716k91av.js";
|
|
50
50
|
import {
|
|
51
51
|
current2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./project-jnhgr88h.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
54
|
+
node69,
|
|
55
55
|
listWithRefs2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./project-0jf3g4p5.js";
|
|
57
57
|
import {
|
|
58
58
|
snapshot2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./project-j13j23vt.js";
|
|
60
60
|
import {
|
|
61
61
|
Slug2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./project-gebd4c9n.js";
|
|
63
63
|
import {
|
|
64
64
|
SessionAlreadyProjected2,
|
|
65
65
|
node36
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./project-r6grmmj8.js";
|
|
67
67
|
import {
|
|
68
68
|
Metadata2,
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
69
|
+
node56
|
|
70
|
+
} from "./project-0j1zqr2k.js";
|
|
71
71
|
import {
|
|
72
72
|
ListInput3,
|
|
73
|
-
|
|
73
|
+
Service73,
|
|
74
74
|
node77
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./project-b1x8zrb5.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service85,
|
|
78
|
+
node89
|
|
79
|
+
} from "./project-tnyzx988.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
81
|
+
Service63,
|
|
82
|
+
node68
|
|
83
|
+
} from "./project-xtjdmje4.js";
|
|
84
84
|
import {
|
|
85
85
|
llmClient2
|
|
86
|
-
} from "./
|
|
86
|
+
} from "./project-0ma9gw4f.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
88
|
+
Service37,
|
|
89
|
+
node41
|
|
90
|
+
} from "./project-qava8dj6.js";
|
|
91
91
|
import {
|
|
92
92
|
generate2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./project-29x9sgby.js";
|
|
94
94
|
import {
|
|
95
95
|
execute2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./project-pwep5jdf.js";
|
|
97
97
|
import {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
Service67,
|
|
99
|
+
node71,
|
|
100
100
|
canonical3
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./project-7r0camkz.js";
|
|
102
102
|
import {
|
|
103
103
|
DestinationNotFoundError2,
|
|
104
104
|
DestinationNotDirectoryError2,
|
|
105
105
|
DestinationUnavailableError2,
|
|
106
106
|
Service32,
|
|
107
107
|
node35
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./project-85a5jd0r.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
} from "./
|
|
110
|
+
Service53,
|
|
111
|
+
node58
|
|
112
|
+
} from "./project-a1td16et.js";
|
|
113
113
|
import {
|
|
114
114
|
make23
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./project-yms3hkvm.js";
|
|
116
116
|
import {
|
|
117
117
|
TurnRangeError2,
|
|
118
118
|
turn2
|
|
119
|
-
} from "./
|
|
119
|
+
} from "./project-xz8fwc3w.js";
|
|
120
120
|
import {
|
|
121
121
|
__export
|
|
122
|
-
} from "./
|
|
122
|
+
} from "./project-9rqn6x4v.js";
|
|
123
123
|
|
|
124
124
|
// src/session.ts
|
|
125
125
|
var exports_session3 = {};
|
|
@@ -131,18 +131,18 @@ __export(exports_session3, {
|
|
|
131
131
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
132
132
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
133
133
|
ForkEmptyError: () => ForkEmptyError2,
|
|
134
|
-
ID: () =>
|
|
134
|
+
ID: () => ID19,
|
|
135
135
|
InboxConflictError: () => InboxConflictError2,
|
|
136
|
-
Info: () =>
|
|
136
|
+
Info: () => Info28,
|
|
137
137
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
138
138
|
ListAnchor: () => ListAnchor2,
|
|
139
139
|
ListCursor: () => ListCursor2,
|
|
140
140
|
ListInput: () => ListInput2,
|
|
141
141
|
MessageDecodeError: () => MessageDecodeError2,
|
|
142
142
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
143
|
-
NotFoundError: () =>
|
|
143
|
+
NotFoundError: () => NotFoundError12,
|
|
144
144
|
PromptConflictError: () => PromptConflictError2,
|
|
145
|
-
Service: () =>
|
|
145
|
+
Service: () => Service30,
|
|
146
146
|
Session: () => exports_session3,
|
|
147
147
|
SessionSchema: () => SessionSchema2,
|
|
148
148
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -159,27 +159,27 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
159
159
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
160
160
|
var ListInput2 = ListInput3;
|
|
161
161
|
var DefaultListLimit = 50;
|
|
162
|
-
class
|
|
162
|
+
class Service30 extends Context.Service()("@opencode/Session") {
|
|
163
163
|
}
|
|
164
|
-
var layer = Layer.effect(
|
|
164
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
165
165
|
const app = yield* Metadata2;
|
|
166
166
|
const database = yield* Service91;
|
|
167
167
|
const db = database.db;
|
|
168
|
-
const bus = yield*
|
|
169
|
-
const projects = yield*
|
|
170
|
-
const execution = yield*
|
|
168
|
+
const bus = yield* Service90;
|
|
169
|
+
const projects = yield* Service83;
|
|
170
|
+
const execution = yield* Service63;
|
|
171
171
|
const llm = yield* LLMClient.Service;
|
|
172
|
-
const transport = yield*
|
|
173
|
-
const store = yield*
|
|
174
|
-
const instances = yield*
|
|
172
|
+
const transport = yield* Service37;
|
|
173
|
+
const store = yield* Service73;
|
|
174
|
+
const instances = yield* Service66;
|
|
175
175
|
const moves = yield* Service32;
|
|
176
|
-
const jobs = yield*
|
|
177
|
-
const environments = yield*
|
|
178
|
-
const locations = yield*
|
|
176
|
+
const jobs = yield* Service85;
|
|
177
|
+
const environments = yield* Service53;
|
|
178
|
+
const locations = yield* Service67;
|
|
179
179
|
const sessions = yield* make23();
|
|
180
180
|
const mediaBlob = (session) => enabledFor2(instances, session);
|
|
181
181
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
182
|
-
const result =
|
|
182
|
+
const result = Service30.of({
|
|
183
183
|
create: Effect.fn("Session.create")(function* (input) {
|
|
184
184
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
185
185
|
const recorded = yield* store.get(sessionID);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
187
187
|
return recorded;
|
|
188
188
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
189
189
|
if (input.parentID && parent === undefined)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError12({ sessionID: input.parentID });
|
|
191
191
|
const location = parent?.location ?? (input.location && canonical3(input.location));
|
|
192
192
|
if (location === undefined)
|
|
193
193
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -327,11 +327,11 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
327
327
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
328
328
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
329
329
|
const session = yield* result.get(input.sessionID);
|
|
330
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
330
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service66, instances), Effect.provideService(Service91, database), Effect.provideService(LLMClient.Service, llm));
|
|
331
331
|
}),
|
|
332
332
|
command: Effect.fn("Session.command")(function* (input) {
|
|
333
333
|
const session = yield* result.get(input.sessionID);
|
|
334
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
334
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service66, instances));
|
|
335
335
|
}),
|
|
336
336
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
337
337
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -376,26 +376,26 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
376
376
|
return result;
|
|
377
377
|
}));
|
|
378
378
|
var node34 = Node.makeGlobalNode({
|
|
379
|
-
service:
|
|
379
|
+
service: Service30,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
node89,
|
|
383
|
+
node58,
|
|
384
|
+
node95,
|
|
384
385
|
node94,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
node46,
|
|
386
|
+
node87,
|
|
387
|
+
node68,
|
|
388
|
+
node41,
|
|
389
389
|
llmClient2,
|
|
390
390
|
node77,
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
node70,
|
|
392
|
+
node69,
|
|
393
393
|
node35,
|
|
394
394
|
node36,
|
|
395
|
-
|
|
395
|
+
node71,
|
|
396
396
|
FSUtil.node,
|
|
397
|
-
|
|
397
|
+
node56
|
|
398
398
|
]
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
export { ListAnchor2, ListCursor2, ListInput2,
|
|
401
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service30, node34, exports_session3 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-0j1zqr2k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID22,
|
|
6
|
+
Service89
|
|
7
|
+
} from "./project-2pyr13f1.js";
|
|
8
8
|
import {
|
|
9
9
|
key2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-q65mdntm.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-135jvntg.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-qaymkmh1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID16,
|
|
19
|
+
Service81
|
|
20
|
+
} from "./project-zxnv3p5n.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID15
|
|
23
|
+
} from "./project-pwdej7e7.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service15,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-axhyxf2f.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./project-3gr38rez.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./project-kpr8r4gf.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./project-kmgqb0hj.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make16(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service89;
|
|
83
|
+
const providers = yield* Service81;
|
|
84
|
+
const cache = yield* Service15;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make14(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID16.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID16.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make14(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID16.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make14(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make14(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID16.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make14(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID16.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make14(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make14(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID16.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make14(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID16.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID16.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID16.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make14(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID16.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make14(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID16.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make16();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key2(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID16.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID15.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID15.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make16, AzurePlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID22,
|
|
3
|
+
Service89
|
|
4
|
+
} from "./project-2pyr13f1.js";
|
|
5
5
|
import {
|
|
6
6
|
onSwitch2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-kpr8r4gf.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/credential-settings.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -16,10 +16,10 @@ var activeCredential2 = Effect.fnUntraced(function* (ctx, integrationID) {
|
|
|
16
16
|
return { connection, credential };
|
|
17
17
|
});
|
|
18
18
|
var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
|
|
19
|
-
const credentials = yield*
|
|
19
|
+
const credentials = yield* Service89;
|
|
20
20
|
const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
|
|
21
21
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
22
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
22
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
23
23
|
return stored ? select(stored.value) : {};
|
|
24
24
|
});
|
|
25
25
|
const current = { settings: yield* load() };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-0j1zqr2k.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service89
|
|
7
|
+
} from "./project-2pyr13f1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID20,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-135jvntg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-zxnv3p5n.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID16.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID20.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service89;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID20.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|