@opencode/core 0.0.0-dev-368 → 0.0.0-dev-377
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 +93 -93
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/artifact.js +265 -0
- package/dist/bus.js +83 -83
- package/dist/chunks/{voice-cbe7vgrx.js → usage-limits-02z3wvpm.js} +38 -38
- package/dist/chunks/{voice-034tev2y.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{voice-1dmvfyea.js → usage-limits-06fz2k08.js} +32 -32
- package/dist/chunks/{voice-85pde67f.js → usage-limits-0cfnbd3f.js} +11 -11
- package/dist/chunks/{voice-jx2p27ex.js → usage-limits-0ffxk9yc.js} +27 -27
- package/dist/chunks/{voice-sqjzf8x2.js → usage-limits-0j7gp832.js} +4 -4
- package/dist/chunks/{voice-emby6x7e.js → usage-limits-0mb49rac.js} +15 -15
- package/dist/chunks/{voice-jfj432dt.js → usage-limits-0p90s808.js} +28 -28
- package/dist/chunks/{voice-nn9bpz64.js → usage-limits-0txfw6xb.js} +5 -5
- package/dist/chunks/{voice-m3kvqs0d.js → usage-limits-13ttwavm.js} +6 -6
- package/dist/chunks/{voice-vy1mzjda.js → usage-limits-1594hys8.js} +28 -28
- package/dist/chunks/{voice-1aqsckx4.js → usage-limits-1aqsckx4.js} +1 -1
- package/dist/chunks/{voice-h1bk3bt8.js → usage-limits-1br9893z.js} +32 -32
- package/dist/chunks/{voice-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-qwdrz06q.js → usage-limits-1g6mw532.js} +11 -11
- package/dist/chunks/{voice-c0jpdhmk.js → usage-limits-1kqnzkm0.js} +27 -27
- package/dist/chunks/{voice-a058387c.js → usage-limits-1pevy3nx.js} +11 -4
- package/dist/chunks/{voice-ehv3n3xs.js → usage-limits-1pt9g3kk.js} +13 -13
- package/dist/chunks/{voice-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-k4bhzre5.js → usage-limits-1y018dvv.js} +85 -85
- package/dist/chunks/{voice-5scj3wpx.js → usage-limits-1ykxxcvd.js} +23 -23
- package/dist/chunks/{voice-p7vhpwh8.js → usage-limits-1yq9hg58.js} +5 -5
- package/dist/chunks/{voice-2vs5ggfy.js → usage-limits-20che178.js} +9 -9
- package/dist/chunks/{voice-qfz6bxfd.js → usage-limits-20pht57w.js} +4 -4
- package/dist/chunks/{voice-tx7q2ndz.js → usage-limits-20wck419.js} +8 -8
- package/dist/chunks/{voice-603n4942.js → usage-limits-21epatcf.js} +20 -20
- package/dist/chunks/{voice-27etvgkm.js → usage-limits-26s8zb2h.js} +20 -20
- package/dist/chunks/{voice-b1w7ct0q.js → usage-limits-2bsm227b.js} +9 -9
- package/dist/chunks/{voice-83k8qzqx.js → usage-limits-2heqx4ag.js} +21 -21
- package/dist/chunks/{voice-s7kyse9r.js → usage-limits-2kg89srt.js} +4 -4
- package/dist/chunks/{voice-s1ba0vj0.js → usage-limits-2p60zmnr.js} +2 -2
- package/dist/chunks/{voice-aydnnhej.js → usage-limits-2vxenzsg.js} +7 -7
- package/dist/chunks/{voice-x3pqmtep.js → usage-limits-37v3bzk6.js} +13 -13
- package/dist/chunks/{voice-cpe6s12c.js → usage-limits-38q64rg8.js} +14 -14
- package/dist/chunks/{voice-bd8mcqfw.js → usage-limits-38x19j9c.js} +3 -3
- package/dist/chunks/{voice-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-t0xe5xk1.js → usage-limits-3hgh9kya.js} +31 -31
- package/dist/chunks/{voice-cs50nhfx.js → usage-limits-3k3y3dx6.js} +96 -96
- package/dist/chunks/{voice-9px5g6fm.js → usage-limits-3mxb7kah.js} +14 -14
- package/dist/chunks/{voice-tmc7xdjs.js → usage-limits-3nnrz6f6.js} +4 -4
- package/dist/chunks/{voice-635vret2.js → usage-limits-3xwpw4ba.js} +88 -88
- package/dist/chunks/{voice-40y6dtc2.js → usage-limits-40y6dtc2.js} +1 -1
- package/dist/chunks/{voice-0vsvpvpz.js → usage-limits-41j1kdtj.js} +8 -8
- package/dist/chunks/{voice-jxd6f16v.js → usage-limits-44pmzq9c.js} +2 -2
- package/dist/chunks/{voice-73yp06xx.js → usage-limits-488jzj8m.js} +5 -5
- package/dist/chunks/{voice-4d2dtj2f.js → usage-limits-4d2dtj2f.js} +1 -1
- package/dist/chunks/{voice-4dx1dgte.js → usage-limits-4dx1dgte.js} +1 -1
- package/dist/chunks/{voice-v2snpj12.js → usage-limits-4e8bznvc.js} +21 -21
- package/dist/chunks/{voice-4pyp9zr9.js → usage-limits-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-gwma39en.js → usage-limits-595dvwjy.js} +36 -36
- package/dist/chunks/{voice-1pk0e05p.js → usage-limits-5c0ay57s.js} +4 -4
- package/dist/chunks/{voice-h1wrtc19.js → usage-limits-5d8pw466.js} +45 -45
- package/dist/chunks/{voice-2rbg8njc.js → usage-limits-5dpjy1zg.js} +35 -35
- package/dist/chunks/{voice-3krjhk9g.js → usage-limits-5eqwxt4n.js} +8 -8
- package/dist/chunks/{voice-q8b10s3c.js → usage-limits-5fzvcdd4.js} +16 -16
- package/dist/chunks/{voice-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-7wqp9x2p.js → usage-limits-5mshsdwq.js} +2 -2
- package/dist/chunks/{voice-67mya89m.js → usage-limits-5t2z4f42.js} +229 -200
- package/dist/chunks/{voice-pk4g31m5.js → usage-limits-5xdgvpxd.js} +6 -6
- package/dist/chunks/{voice-48pd17b4.js → usage-limits-5zst95rf.js} +8 -8
- package/dist/chunks/{voice-gmemj5zs.js → usage-limits-694dpcrp.js} +7 -7
- package/dist/chunks/{voice-jjrrh1g7.js → usage-limits-6dcsm2a3.js} +9 -9
- package/dist/chunks/{voice-4aqeqryw.js → usage-limits-6eg7c0zn.js} +25 -25
- package/dist/chunks/{voice-6esdw8yj.js → usage-limits-6esdw8yj.js} +1 -1
- package/dist/chunks/{voice-48eec1vm.js → usage-limits-6ghk0e0m.js} +4 -4
- package/dist/chunks/{voice-9f3jsh1d.js → usage-limits-6h8vcvjm.js} +9 -9
- package/dist/chunks/{voice-v3gv8k9j.js → usage-limits-6kdyyjh5.js} +20 -20
- package/dist/chunks/usage-limits-6qhf5ym7.js +261 -0
- package/dist/chunks/{voice-50sx7pmj.js → usage-limits-6r7x44ev.js} +9 -9
- package/dist/chunks/usage-limits-6tzx35nw.js +26 -0
- package/dist/chunks/{voice-yp8490wc.js → usage-limits-718z4xg1.js} +45 -45
- package/dist/chunks/{voice-m7dab61n.js → usage-limits-71k9dhfg.js} +28 -28
- package/dist/chunks/{voice-76cb1hcw.js → usage-limits-76cb1hcw.js} +1 -1
- package/dist/chunks/{voice-775hqbnd.js → usage-limits-775hqbnd.js} +3 -3
- package/dist/chunks/{voice-bys6f9s7.js → usage-limits-78p2h4ex.js} +5 -5
- package/dist/chunks/{voice-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-z8emcjzq.js → usage-limits-7fz0qe17.js} +15 -15
- package/dist/chunks/{voice-9x608sfz.js → usage-limits-7h5tkcmb.js} +14 -14
- package/dist/chunks/{voice-93jh753e.js → usage-limits-7hj412v2.js} +46 -46
- package/dist/chunks/{voice-7kr66rt3.js → usage-limits-7kr66rt3.js} +1 -1
- package/dist/chunks/{voice-7nqkf5r1.js → usage-limits-7nqkf5r1.js} +2 -2
- package/dist/chunks/{voice-pbmfxk64.js → usage-limits-7pj4x5nb.js} +12 -12
- package/dist/chunks/{voice-q2sxcz1b.js → usage-limits-7r0n2k9z.js} +16 -16
- package/dist/chunks/{voice-wjx8d03y.js → usage-limits-7srb4syb.js} +13 -13
- package/dist/chunks/{voice-d75dwrt0.js → usage-limits-7t69dndk.js} +11 -11
- package/dist/chunks/{voice-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-7arjqscx.js → usage-limits-7xd7tfhx.js} +25 -25
- package/dist/chunks/usage-limits-87e7wr7z.js +549 -0
- package/dist/chunks/{voice-5494sgck.js → usage-limits-88313jvv.js} +7 -7
- package/dist/chunks/{voice-89287pr7.js → usage-limits-89287pr7.js} +1 -1
- package/dist/chunks/{voice-nw4sfq6j.js → usage-limits-8ajtsvws.js} +3 -3
- package/dist/chunks/{voice-25h84942.js → usage-limits-8b3vzgkx.js} +4 -4
- package/dist/chunks/{voice-wpm6ajcn.js → usage-limits-8bk4jhmk.js} +32 -32
- package/dist/chunks/{voice-6edbc7zm.js → usage-limits-8hfctyyf.js} +5 -5
- package/dist/chunks/{voice-5vzcmptt.js → usage-limits-8hmw2yh3.js} +12 -12
- package/dist/chunks/{voice-70yt0na3.js → usage-limits-8j9aqx7t.js} +27 -27
- package/dist/chunks/{voice-9jgv5tm1.js → usage-limits-8pw7k2hd.js} +5 -5
- package/dist/chunks/{voice-ja3895w1.js → usage-limits-8r22v43r.js} +4 -4
- package/dist/chunks/{voice-8t99kr38.js → usage-limits-8t99kr38.js} +1 -1
- package/dist/chunks/{voice-33jxzdjr.js → usage-limits-8th6kc5q.js} +13 -13
- package/dist/chunks/{voice-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-9192ty2c.js → usage-limits-8x35rtfy.js} +32 -32
- package/dist/chunks/{voice-90zstvax.js → usage-limits-90zstvax.js} +1 -1
- package/dist/chunks/{voice-kdga5tn6.js → usage-limits-963hk181.js} +11 -11
- package/dist/chunks/{voice-m3tsws2k.js → usage-limits-99na1n0x.js} +12 -12
- package/dist/chunks/{voice-ywkr4ss4.js → usage-limits-9rfd1m4v.js} +15 -15
- package/dist/chunks/{voice-0da60a1b.js → usage-limits-9rhn9qwp.js} +31 -31
- package/dist/chunks/{voice-138zmswh.js → usage-limits-9ts3gnzs.js} +5 -5
- package/dist/chunks/{voice-xdb5p40v.js → usage-limits-a57pzqym.js} +37 -37
- package/dist/chunks/{voice-zezd0hjg.js → usage-limits-a5xnh37q.js} +16 -16
- package/dist/chunks/{voice-r1ycarfe.js → usage-limits-abd0yc92.js} +4 -4
- package/dist/chunks/{voice-an77zdt9.js → usage-limits-acyvnrez.js} +18 -18
- package/dist/chunks/{voice-4fztrf6x.js → usage-limits-ad04vah9.js} +34 -34
- package/dist/chunks/{voice-dkb43729.js → usage-limits-agtpe47e.js} +32 -32
- package/dist/chunks/{voice-gn9danv6.js → usage-limits-ajzp6v3v.js} +2 -2
- package/dist/chunks/{voice-6q8swtke.js → usage-limits-ayb9hahn.js} +24 -24
- package/dist/chunks/{voice-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-sph5ge5h.js → usage-limits-b1k7nw82.js} +9 -9
- package/dist/chunks/{voice-5nnwax6m.js → usage-limits-b6vsg801.js} +5 -5
- package/dist/chunks/{voice-a4ebmmbr.js → usage-limits-b9aemc26.js} +6 -6
- package/dist/chunks/{voice-t4gf1mh1.js → usage-limits-baj8zdpc.js} +15 -15
- package/dist/chunks/{voice-wk4zfcj0.js → usage-limits-bgh9pp6t.js} +6 -6
- package/dist/chunks/{voice-4fq0n7hc.js → usage-limits-bhrb89e0.js} +16 -16
- package/dist/chunks/{voice-41jtwnar.js → usage-limits-bppg41nv.js} +11 -11
- package/dist/chunks/{voice-pp9r4nc0.js → usage-limits-bpst1ezt.js} +5 -5
- package/dist/chunks/{voice-bstexjd6.js → usage-limits-bstexjd6.js} +1 -1
- package/dist/chunks/{voice-6dsgkn6f.js → usage-limits-bt4pe10d.js} +22 -22
- package/dist/chunks/{voice-2qxh1184.js → usage-limits-btwmet39.js} +38 -38
- package/dist/chunks/{voice-8wxmm8zv.js → usage-limits-bvx5v79p.js} +31 -31
- package/dist/chunks/{voice-wx67btvq.js → usage-limits-bwrv0k9k.js} +22 -22
- package/dist/chunks/{voice-qnkq76yw.js → usage-limits-c2b0y6qh.js} +62 -62
- package/dist/chunks/{voice-2hz06pja.js → usage-limits-c2crkfpp.js} +5 -5
- package/dist/chunks/{voice-c6x7d2ts.js → usage-limits-c6x7d2ts.js} +1 -1
- package/dist/chunks/{voice-zntnj5yq.js → usage-limits-cayrsa4s.js} +18 -18
- package/dist/chunks/{voice-7f840skq.js → usage-limits-cf3f13z6.js} +8 -8
- package/dist/chunks/{voice-463chxfj.js → usage-limits-cmef6vt1.js} +25 -25
- package/dist/chunks/{voice-vmxsyvj6.js → usage-limits-cr4rfj9z.js} +4 -4
- package/dist/chunks/{voice-9d0hj87h.js → usage-limits-csnq1vx8.js} +4 -4
- package/dist/chunks/{voice-cwrgdav8.js → usage-limits-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-wqfq8am5.js → usage-limits-czjnqwyd.js} +18 -18
- package/dist/chunks/{voice-0n28khqy.js → usage-limits-d0pmvwgf.js} +9 -9
- package/dist/chunks/{voice-bq5na9ha.js → usage-limits-d29ke3kn.js} +18 -18
- package/dist/chunks/usage-limits-d2qne4t6.js +494 -0
- package/dist/chunks/{voice-8rgb2cvr.js → usage-limits-d390zwf3.js} +11 -11
- package/dist/chunks/{voice-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-n8ns0mcf.js → usage-limits-d9p5ss2h.js} +43 -43
- package/dist/chunks/{voice-gjdy6p17.js → usage-limits-dcssw8rk.js} +43 -43
- package/dist/chunks/{voice-7bgqwywg.js → usage-limits-defd6ypc.js} +38 -38
- package/dist/chunks/{voice-px7qpgcn.js → usage-limits-dg5naf6e.js} +4 -4
- package/dist/chunks/{voice-xw21cn69.js → usage-limits-dnjzccdk.js} +19 -19
- package/dist/chunks/{voice-1r4g9a40.js → usage-limits-dq1wcng5.js} +7 -7
- package/dist/chunks/{voice-ddnxp7h0.js → usage-limits-dqyqvzhp.js} +9 -9
- package/dist/chunks/{voice-dt77769w.js → usage-limits-dt77769w.js} +1 -1
- package/dist/chunks/{voice-ka6r1vtc.js → usage-limits-dvpgqbq0.js} +23 -23
- package/dist/chunks/{voice-mw1qkyv8.js → usage-limits-dwhvm4hr.js} +44 -44
- package/dist/chunks/{voice-e834z07m.js → usage-limits-e834z07m.js} +1 -1
- package/dist/chunks/{voice-mpe433ap.js → usage-limits-ejnzwfza.js} +12 -12
- package/dist/chunks/{voice-eqw4pqj1.js → usage-limits-eqw4pqj1.js} +2 -2
- package/dist/chunks/{voice-ahhxmk35.js → usage-limits-et0xb4q7.js} +20 -20
- package/dist/chunks/usage-limits-ev660z6k.js +18 -0
- package/dist/chunks/{voice-f341sazs.js → usage-limits-f341sazs.js} +3 -3
- package/dist/chunks/{voice-jpsebz8r.js → usage-limits-f8by4fzr.js} +29 -29
- package/dist/chunks/{voice-fffv3p7h.js → usage-limits-fffv3p7h.js} +1 -1
- package/dist/chunks/{voice-prq7xxp2.js → usage-limits-fg9p65nk.js} +6 -6
- package/dist/chunks/{voice-pws0nwbv.js → usage-limits-fme5eymb.js} +5 -5
- package/dist/chunks/{voice-vw022k1a.js → usage-limits-fnk2vfk9.js} +23 -23
- package/dist/chunks/{voice-qhbdy0h3.js → usage-limits-fr8s9tcw.js} +7 -7
- package/dist/chunks/{voice-4a9vxqq9.js → usage-limits-fww6ypec.js} +33 -33
- package/dist/chunks/{voice-q82d2c27.js → usage-limits-fxfr7a22.js} +27 -27
- package/dist/chunks/{voice-sghzesxb.js → usage-limits-g37qf11b.js} +21 -16
- package/dist/chunks/{voice-32ypt6ex.js → usage-limits-g3mtdb1c.js} +5 -5
- package/dist/chunks/{voice-gbjdnr5j.js → usage-limits-gbjdnr5j.js} +2 -2
- package/dist/chunks/{voice-19865k6f.js → usage-limits-ghchhpkv.js} +11 -11
- package/dist/chunks/{voice-hscspx1x.js → usage-limits-gp1vtzc0.js} +47 -47
- package/dist/chunks/{voice-8chyhaxb.js → usage-limits-h080qzdw.js} +50 -50
- package/dist/chunks/{voice-d5wxqks1.js → usage-limits-h5e20cdn.js} +12 -12
- package/dist/chunks/{voice-tpsdd6sk.js → usage-limits-h9ajdkbn.js} +3 -3
- package/dist/chunks/{voice-hh7kjqtw.js → usage-limits-hh7kjqtw.js} +1 -1
- package/dist/chunks/{voice-hpg1pkwy.js → usage-limits-hpg1pkwy.js} +1 -1
- package/dist/chunks/{voice-0m5920vb.js → usage-limits-hqhzkr6g.js} +7 -7
- package/dist/chunks/{voice-22wp63zj.js → usage-limits-hretfjjx.js} +2 -2
- package/dist/chunks/{voice-68wbjj2w.js → usage-limits-hvx6apmw.js} +11 -11
- package/dist/chunks/{voice-v6rk29ch.js → usage-limits-hx2a60bd.js} +3 -3
- package/dist/chunks/{voice-2qmv59j7.js → usage-limits-j5sc32gv.js} +21 -21
- package/dist/chunks/{voice-5aadmexf.js → usage-limits-j90hxq85.js} +11 -11
- package/dist/chunks/{voice-j9nxzz3g.js → usage-limits-j9nxzz3g.js} +3 -3
- package/dist/chunks/{voice-52tdkmh7.js → usage-limits-jaj49rn5.js} +30 -30
- package/dist/chunks/{voice-ve45bn9x.js → usage-limits-jbszwdvq.js} +6 -6
- package/dist/chunks/{voice-hsnq1va6.js → usage-limits-jf43mb4q.js} +5 -5
- package/dist/chunks/{voice-jdbsgsq2.js → usage-limits-jkjd442p.js} +18 -18
- package/dist/chunks/{voice-jtnps1zs.js → usage-limits-jtnps1zs.js} +2 -2
- package/dist/chunks/{voice-35bw37j2.js → usage-limits-jxpeaj70.js} +12 -12
- package/dist/chunks/{voice-wrtw0jpa.js → usage-limits-k02hybpw.js} +26 -26
- package/dist/chunks/{voice-est5w5t7.js → usage-limits-k23svgts.js} +4 -4
- package/dist/chunks/{voice-n46agb1x.js → usage-limits-k4txyktb.js} +23 -23
- package/dist/chunks/{voice-67wwskyb.js → usage-limits-kbgs7tyr.js} +4 -4
- package/dist/chunks/{voice-610539jf.js → usage-limits-kfhf3q6h.js} +18 -18
- package/dist/chunks/{voice-s2pfznc4.js → usage-limits-kgq6c069.js} +6 -6
- package/dist/chunks/{voice-f9vy57qm.js → usage-limits-kmvftdbs.js} +14 -14
- package/dist/chunks/{voice-f6epftay.js → usage-limits-kptrmm0p.js} +17 -17
- package/dist/chunks/{voice-kha82y4n.js → usage-limits-kryfec64.js} +15 -15
- package/dist/chunks/{voice-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-9qw669we.js → usage-limits-kv6xqjvw.js} +5 -5
- package/dist/chunks/{voice-dv96216k.js → usage-limits-kzpzksxr.js} +4 -4
- package/dist/chunks/{voice-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{voice-9hrdgvww.js → usage-limits-m6qhw0wz.js} +4 -4
- package/dist/chunks/{voice-vx3x9zzq.js → usage-limits-m790pv56.js} +26 -26
- package/dist/chunks/{voice-e45fk36t.js → usage-limits-m7xh3h0x.js} +4 -4
- package/dist/chunks/{voice-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-mb7mbhnz.js → usage-limits-mb7mbhnz.js} +3 -3
- package/dist/chunks/{voice-ybhhxw6m.js → usage-limits-mcm423pj.js} +47 -47
- package/dist/chunks/{voice-6w8qwxmc.js → usage-limits-mcy5cenx.js} +10 -10
- package/dist/chunks/{voice-jjx6aha5.js → usage-limits-mj1vn29f.js} +8 -8
- package/dist/chunks/{voice-zmxad6hk.js → usage-limits-mn2jev3s.js} +12 -12
- package/dist/chunks/{voice-qe0wftt4.js → usage-limits-mnxs9nd3.js} +24 -24
- package/dist/chunks/{voice-2cdjxzfg.js → usage-limits-mqe7nf5n.js} +3 -3
- package/dist/chunks/{voice-0h86f0az.js → usage-limits-msd2a3qm.js} +4 -4
- package/dist/chunks/{voice-c4c4zzdq.js → usage-limits-mv6150sf.js} +14 -14
- package/dist/chunks/{voice-hv9sm03c.js → usage-limits-mxyvs087.js} +30 -30
- package/dist/chunks/{voice-nah043kf.js → usage-limits-nah043kf.js} +1 -1
- package/dist/chunks/{voice-k0mepwy9.js → usage-limits-nsqt73a0.js} +1 -1
- package/dist/chunks/{voice-8vct2pgr.js → usage-limits-nv2c5e9q.js} +3 -3
- package/dist/chunks/{voice-a79rh8j4.js → usage-limits-nx5tm237.js} +17 -17
- package/dist/chunks/{voice-p015t6z3.js → usage-limits-p015t6z3.js} +2 -2
- package/dist/chunks/{voice-v82dqrgv.js → usage-limits-p6zs62vd.js} +20 -20
- package/dist/chunks/{voice-bxy5h6nk.js → usage-limits-p7zk900c.js} +4 -4
- package/dist/chunks/{voice-61r16nyr.js → usage-limits-pesfd11m.js} +15 -15
- package/dist/chunks/{voice-ekxv8c0j.js → usage-limits-pf3c2ba8.js} +17 -17
- package/dist/chunks/{voice-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/{voice-nhpsx7p0.js → usage-limits-pnye8cb7.js} +11 -11
- package/dist/chunks/{voice-fjjfm53m.js → usage-limits-ppkqxyyy.js} +11 -11
- package/dist/chunks/{voice-q1qafd9e.js → usage-limits-presy5jw.js} +11 -11
- package/dist/chunks/{voice-5gk164xn.js → usage-limits-pswjzj9a.js} +3 -3
- package/dist/chunks/{voice-qm7e79ke.js → usage-limits-pw1hf97w.js} +11 -11
- package/dist/chunks/{voice-27mna02c.js → usage-limits-pyypvcb5.js} +10 -10
- package/dist/chunks/{voice-z80hdj97.js → usage-limits-q0b6b6a2.js} +11 -11
- package/dist/chunks/{voice-72jyty8b.js → usage-limits-q5qvre1b.js} +27 -27
- package/dist/chunks/{voice-4xfb1qx2.js → usage-limits-qexmx2te.js} +58 -58
- package/dist/chunks/{voice-ytcfb55t.js → usage-limits-qfbdgwwk.js} +8 -8
- package/dist/chunks/{voice-69g5ga3r.js → usage-limits-qp0zf9x4.js} +35 -35
- package/dist/chunks/{voice-qp7r0hxv.js → usage-limits-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-gnrv4xx2.js → usage-limits-qpzf4v3q.js} +36 -36
- package/dist/chunks/{voice-qqvy8y24.js → usage-limits-qqvy8y24.js} +1 -1
- package/dist/chunks/{voice-qsdghx1p.js → usage-limits-qsdghx1p.js} +1 -1
- package/dist/chunks/usage-limits-qwz12hkq.js +16 -0
- package/dist/chunks/{voice-4f25tdd0.js → usage-limits-r542h3bh.js} +5 -5
- package/dist/chunks/{voice-zfgt4zn0.js → usage-limits-r5z7phm8.js} +11 -11
- package/dist/chunks/{voice-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-gcjdgkn2.js → usage-limits-rjnacbrz.js} +9 -9
- package/dist/chunks/{voice-qvgs8q09.js → usage-limits-rnt6zrkc.js} +24 -24
- package/dist/chunks/{voice-1m0b3txc.js → usage-limits-rs5a32kx.js} +3 -3
- package/dist/chunks/{voice-3v2s7727.js → usage-limits-rt4dem1v.js} +106 -52
- package/dist/chunks/{voice-rt5dr6hb.js → usage-limits-rt5dr6hb.js} +1 -1
- package/dist/chunks/{voice-ez6pkwnm.js → usage-limits-s0rqj1c1.js} +15 -15
- package/dist/chunks/{voice-6e22jkyp.js → usage-limits-s63cy44c.js} +28 -28
- package/dist/chunks/{voice-8rp8e4v3.js → usage-limits-s86y9anx.js} +25 -25
- package/dist/chunks/{voice-sa3fpqfw.js → usage-limits-sa3fpqfw.js} +2 -2
- package/dist/chunks/{voice-6ys6s7e4.js → usage-limits-sazka0fg.js} +25 -25
- package/dist/chunks/{voice-sbya78hr.js → usage-limits-sbya78hr.js} +1 -1
- package/dist/chunks/{voice-1cacxahd.js → usage-limits-scm21bxe.js} +5 -5
- package/dist/chunks/{voice-nej5fw3h.js → usage-limits-sfethcrx.js} +37 -37
- package/dist/chunks/{voice-ehrtq1gt.js → usage-limits-shfh3dfx.js} +7 -7
- package/dist/chunks/{voice-xase2hgj.js → usage-limits-sjmczned.js} +52 -52
- package/dist/chunks/{voice-2hhfjmpx.js → usage-limits-sv5tz4mx.js} +16 -16
- package/dist/chunks/{voice-svcy3p9a.js → usage-limits-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-1grr5861.js → usage-limits-syn157v1.js} +3 -3
- package/dist/chunks/{voice-96djdqw5.js → usage-limits-szwm4crx.js} +4 -4
- package/dist/chunks/{voice-vzwnxjz3.js → usage-limits-t6cwjym4.js} +21 -21
- package/dist/chunks/{voice-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-tg7s7b5t.js → usage-limits-tg7s7b5t.js} +1 -1
- package/dist/chunks/{voice-j376ae4e.js → usage-limits-tr8x705m.js} +5 -5
- package/dist/chunks/{voice-twssxy5n.js → usage-limits-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-3j4ks7kb.js → usage-limits-tzmjyztd.js} +17 -17
- package/dist/chunks/{voice-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-ydsespw1.js → usage-limits-v5hpj9dd.js} +8 -8
- package/dist/chunks/usage-limits-v5mcc7xy.js +152 -0
- package/dist/chunks/{voice-4xmffp4f.js → usage-limits-v6fkyww7.js} +23 -23
- package/dist/chunks/{voice-kvc3nwwf.js → usage-limits-v7608hm2.js} +45 -45
- package/dist/chunks/{voice-9xr5qg12.js → usage-limits-v77g6e3b.js} +35 -35
- package/dist/chunks/{voice-n556ygtm.js → usage-limits-v7ne6s01.js} +8 -8
- package/dist/chunks/{voice-gzaqdq4v.js → usage-limits-va0v6ztw.js} +17 -17
- package/dist/chunks/{voice-nj7wx9hq.js → usage-limits-va1tzbxe.js} +27 -27
- package/dist/chunks/{voice-n6vh8jr7.js → usage-limits-vamw07y4.js} +32 -32
- package/dist/chunks/{voice-gj5j732s.js → usage-limits-vfk2yaqe.js} +54 -54
- package/dist/chunks/{voice-a11dn8tx.js → usage-limits-vj70z7b1.js} +12 -12
- package/dist/chunks/{voice-0w0ty6qq.js → usage-limits-vjcmpn41.js} +23 -23
- package/dist/chunks/{voice-vjf35v1f.js → usage-limits-vjf35v1f.js} +1 -1
- package/dist/chunks/{voice-prtyxdc2.js → usage-limits-vqfcj0pj.js} +6 -6
- package/dist/chunks/{voice-2xwkyk0m.js → usage-limits-vrpz8t5t.js} +5 -5
- package/dist/chunks/{voice-r1fnsf7p.js → usage-limits-vzppetdn.js} +6 -6
- package/dist/chunks/{voice-r3styde8.js → usage-limits-w1gphqtx.js} +7 -7
- package/dist/chunks/{voice-r41sfy63.js → usage-limits-w2eysc6j.js} +6 -6
- package/dist/chunks/{voice-tsaes89g.js → usage-limits-w2ws7yp9.js} +11 -11
- package/dist/chunks/{voice-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-aetvzffy.js → usage-limits-w6ybgss3.js} +18 -18
- package/dist/chunks/{voice-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{voice-m7h47g85.js → usage-limits-wdq5eq09.js} +29 -29
- package/dist/chunks/{voice-wegkxhrn.js → usage-limits-wegkxhrn.js} +2 -2
- package/dist/chunks/{voice-w0m9e1mp.js → usage-limits-wgbgvrq0.js} +6 -6
- package/dist/chunks/{voice-8pn17q57.js → usage-limits-wh1j0yj8.js} +32 -32
- package/dist/chunks/{voice-r8kddwmy.js → usage-limits-wmjmswnm.js} +25 -25
- package/dist/chunks/{voice-wnhgecwx.js → usage-limits-wnhgecwx.js} +1 -1
- package/dist/chunks/{voice-gww59xgx.js → usage-limits-wqeb87xx.js} +19 -19
- package/dist/chunks/{voice-b6z35kmf.js → usage-limits-wr3re1en.js} +4 -4
- package/dist/chunks/{voice-m6pp63mp.js → usage-limits-wrydkpp0.js} +11 -11
- package/dist/chunks/{voice-wvr8xscb.js → usage-limits-wvr8xscb.js} +1 -1
- package/dist/chunks/{voice-xk2zn0cv.js → usage-limits-wws03c5r.js} +4 -4
- package/dist/chunks/{voice-ksexgdcx.js → usage-limits-x0qev501.js} +6 -6
- package/dist/chunks/{voice-j29mssk3.js → usage-limits-x4gms9wc.js} +12 -12
- package/dist/chunks/{voice-jrv9fsbe.js → usage-limits-xe1ebrzq.js} +53 -28
- package/dist/chunks/{voice-t4e1sgxz.js → usage-limits-xfjq0bb3.js} +22 -22
- package/dist/chunks/{voice-18a4zeb5.js → usage-limits-xvbtx46z.js} +25 -25
- package/dist/chunks/{voice-vvpw9m0a.js → usage-limits-xw5367kc.js} +17 -17
- package/dist/chunks/{voice-hbsck6wy.js → usage-limits-y2vpvrsq.js} +5 -5
- package/dist/chunks/{voice-bkjpf9fa.js → usage-limits-y72znbgh.js} +14 -14
- package/dist/chunks/{voice-pta84ypa.js → usage-limits-y7rptanb.js} +8 -8
- package/dist/chunks/{voice-yara3q77.js → usage-limits-yara3q77.js} +2 -2
- package/dist/chunks/{voice-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{voice-2j5gpsjp.js → usage-limits-yk99v59j.js} +11 -11
- package/dist/chunks/{voice-7jhmzye7.js → usage-limits-ym2jhkz8.js} +48 -48
- package/dist/chunks/{voice-pm1ywsck.js → usage-limits-ymaf8gd7.js} +16 -16
- package/dist/chunks/{voice-yr705xyq.js → usage-limits-yr705xyq.js} +1 -1
- package/dist/chunks/{voice-fbd4vpt1.js → usage-limits-yx1rzxhv.js} +4 -4
- package/dist/chunks/{voice-90ct6wq4.js → usage-limits-z080rjh6.js} +4 -4
- package/dist/chunks/{voice-ayhfmv6z.js → usage-limits-z2erjh4c.js} +12 -12
- package/dist/chunks/{voice-5w1mdqt7.js → usage-limits-zdat2xwq.js} +4 -4
- package/dist/chunks/{voice-v5eaadcy.js → usage-limits-zfd6sbet.js} +29 -29
- package/dist/chunks/{voice-b8e9zw2f.js → usage-limits-zm6j1rab.js} +16 -16
- package/dist/chunks/{voice-mc08rq96.js → usage-limits-zp0nz9wc.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +144 -144
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +150 -150
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +140 -140
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +91 -91
- package/dist/database/database.js +80 -80
- 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.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +107 -107
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +427 -425
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +84 -84
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +104 -104
- 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 +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -236
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- 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 +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- 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 +103 -103
- 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 +417 -415
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +97 -97
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +414 -412
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +180 -180
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +234 -233
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +393 -391
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +144 -144
- package/dist/plugin/provider/claude-agent/instructions.js +111 -111
- package/dist/plugin/provider/claude-agent/integration.js +112 -112
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +109 -109
- 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 +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 +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +209 -209
- package/dist/plugin/sdk.js +88 -88
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -403
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +245 -244
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +10 -10
- package/dist/project/sql.js +4 -4
- package/dist/project.js +104 -104
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +239 -238
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +253 -252
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +170 -170
- package/dist/session/context.js +197 -197
- package/dist/session/diff.js +100 -100
- 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 +244 -244
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +199 -199
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +167 -167
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -247
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +162 -162
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +148 -148
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +227 -227
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +201 -201
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +241 -241
- package/dist/session/usage.js +3 -3
- package/dist/session.js +231 -231
- 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 +143 -143
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +148 -148
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +103 -103
- 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 +179 -179
- package/dist/tool/plugin/artifact.js +239 -0
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +235 -235
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +161 -161
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +245 -244
- package/dist/tool/plugin/shell.js +231 -231
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +150 -150
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +158 -158
- package/dist/types/artifact.d.ts +123 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/persistent-pty/daemon.d.ts +38 -11
- package/dist/types/persistent-pty/index.d.ts +6 -0
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/schedule/check.d.ts +2 -2
- package/dist/types/schedule.d.ts +3 -2
- package/dist/types/session/prompt.d.ts +1 -1
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/artifact.d.ts +27 -0
- package/dist/types/tool/plugin/glob.d.ts +1 -1
- package/dist/types/tool/plugin/grep.d.ts +1 -1
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/usage-limits.js +99 -99
- 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 +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- 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 +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +98 -98
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- 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 +101 -101
- package/dist/worktree.js +110 -110
- package/package.json +9 -9
- package/dist/chunks/voice-27cptz25.js +0 -539
- package/dist/chunks/voice-7yv5xa0k.js +0 -18
- package/dist/chunks/voice-gyg1jafw.js +0 -16
- package/dist/chunks/voice-p6w612wn.js +0 -26
- package/dist/chunks/voice-s7m9qz1r.js +0 -257
- /package/dist/chunks/{voice-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1kah00gy.js → usage-limits-1kah00gy.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → usage-limits-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → usage-limits-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → usage-limits-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4qk9sjk2.js → usage-limits-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → usage-limits-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → usage-limits-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → usage-limits-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → usage-limits-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-7stb81gk.js → usage-limits-7stb81gk.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → usage-limits-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → usage-limits-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → usage-limits-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → usage-limits-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → usage-limits-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → usage-limits-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ean2d8b5.js → usage-limits-ean2d8b5.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → usage-limits-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → usage-limits-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → usage-limits-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → usage-limits-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → usage-limits-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-nh4v3znn.js → usage-limits-nh4v3znn.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → usage-limits-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → usage-limits-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-stkk57rt.js → usage-limits-stkk57rt.js} +0 -0
- /package/dist/chunks/{voice-t03h4f5z.js → usage-limits-t03h4f5z.js} +0 -0
- /package/dist/chunks/{voice-ty7weeps.js → usage-limits-ty7weeps.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → usage-limits-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → usage-limits-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-pw1hf97w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service88
|
|
6
|
+
} from "./usage-limits-5fzvcdd4.js";
|
|
7
7
|
import {
|
|
8
8
|
ID20,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./usage-limits-f8by4fzr.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-wws03c5r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./usage-limits-wdq5eq09.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./usage-limits-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID17,
|
|
24
|
+
Service81
|
|
25
|
+
} from "./usage-limits-3hgh9kya.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID16
|
|
28
|
+
} from "./usage-limits-v77g6e3b.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./usage-limits-vqfcj0pj.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make19(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID17.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service88;
|
|
76
|
+
const credentials = yield* Service84;
|
|
77
|
+
const providers = yield* Service81;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make16(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID17.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID17.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make16(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID17.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,7 +142,7 @@ function make16(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
146
146
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
@@ -182,7 +182,7 @@ function make16(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID17.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make16(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID17.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make16(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make16(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID17.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make16(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID17.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make16(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID17.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID17.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make16(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID17.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make16(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID17.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID17.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make16(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID17.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make19();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID16.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID16.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make19, AzurePlugin2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./usage-limits-5fzvcdd4.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service85,
|
|
11
|
+
node88
|
|
12
|
+
} from "./usage-limits-tzmjyztd.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node84,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./usage-limits-3hgh9kya.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID16,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service80,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node83,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -50,8 +50,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
54
|
+
var ID16 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info24 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service80 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
78
|
-
const bus = yield*
|
|
79
|
-
const location = yield*
|
|
76
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service81;
|
|
78
|
+
const bus = yield* Service88;
|
|
79
|
+
const location = yield* Service85;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID17.opencode, ID17.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
227
227
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
yield* bus.subscribe(
|
|
231
|
-
return
|
|
230
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
+
return Service80.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node83 = makeLocationNode({ service: Service80, layer, deps: [node84, node91, node88] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID17.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID16.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24, Service80, node83, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./usage-limits-3hgh9kya.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialSettings2,
|
|
6
6
|
metadataSettings2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-qfbdgwwk.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/amazon-bedrock.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -39,15 +39,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
39
39
|
})))).filter(Boolean).toSorted();
|
|
40
40
|
yield* ctx.integration.transform((editor) => {
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID17.amazonBedrock,
|
|
43
43
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID17.amazonBedrock,
|
|
47
47
|
method: { type: "key", label: "Bedrock API key" }
|
|
48
48
|
});
|
|
49
49
|
editor.method.update({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID17.amazonBedrock,
|
|
51
51
|
method: {
|
|
52
52
|
id: "aws-profile",
|
|
53
53
|
type: "external",
|
|
@@ -69,7 +69,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
-
const login = yield* credentialSettings2(ctx,
|
|
72
|
+
const login = yield* credentialSettings2(ctx, ID17.amazonBedrock, (value) => value.type === "external" && value.methodID === "aws-profile" ? metadataSettings2(value.metadata, ["profile"]) : {});
|
|
73
73
|
yield* ctx.provider.transform((evt) => {
|
|
74
74
|
for (const item of evt.list()) {
|
|
75
75
|
if (!isBedrock(item.provider))
|
|
@@ -77,7 +77,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
77
77
|
evt.update(item.provider.id, (provider) => {
|
|
78
78
|
const settings = {
|
|
79
79
|
...provider.settings,
|
|
80
|
-
...(provider.integrationID ?? provider.id) ===
|
|
80
|
+
...(provider.integrationID ?? provider.id) === ID17.amazonBedrock ? login.settings : {}
|
|
81
81
|
};
|
|
82
82
|
const chain = typeof settings.profile === "string" || CHAIN_ENV.some((name) => process.env[name]);
|
|
83
83
|
if (chain && provider.activation === "auto")
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-pw1hf97w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service88
|
|
6
|
+
} from "./usage-limits-5fzvcdd4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./usage-limits-f8by4fzr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID18,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-wdq5eq09.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID17
|
|
17
|
+
} from "./usage-limits-3hgh9kya.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID16,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./usage-limits-v77g6e3b.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./usage-limits-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID17.make("digitalocean");
|
|
31
|
+
var integrationID = ID18.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service88;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID16.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./usage-limits-tzmjyztd.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./usage-limits-7xd7tfhx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service11
|
|
15
|
+
} from "./usage-limits-sazka0fg.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service36
|
|
26
|
+
} from "./usage-limits-pf3c2ba8.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input9,
|
|
35
|
+
Plugin: () => Plugin12,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name9,
|
|
38
|
+
toModelContent: () => toModelContent3
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name9 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input9 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin12 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service36;
|
|
61
|
+
const access = yield* Service19;
|
|
62
|
+
const sessionInstructions = yield* Service11;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service85;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name9,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input9,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin15 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent3 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name9, Input9, Plugin12, toModelContent3, exports_read };
|