Skip to content

Commit 5764683

Browse files
author
alpha-code-bot
committed
chore(sync): merge upstream dev into alpha
2 parents d287d74 + 0f54984 commit 5764683

72 files changed

Lines changed: 765 additions & 208 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎bun.lock‎

Lines changed: 3 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎nix/hashes.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"nodeModules": {
3-
"x86_64-linux": "sha256-yGYhNKdPuA1SZps3J5vvLQSn3aKHeOfHDJssvZLewzM=",
4-
"aarch64-linux": "sha256-5UX+iT2plm4/TEhGdDXDbivw8hrRqyV5uZBgZfc1TiU=",
5-
"aarch64-darwin": "sha256-YwAAt0wMyYgl3bQLgCaM0KVDQnP5LvmRwy/yMbtSVEU=",
6-
"x86_64-darwin": "sha256-d9ZXwbW/GT5g7XQ4nJRu9fMEXstiHdAxSX39Nc0i/U8="
3+
"x86_64-linux": "sha256-yKqw4YLXSzPOxPxXVWEK2W11YpwXQtFR1533Z8/s2rI=",
4+
"aarch64-linux": "sha256-xbrn9P8be2XHOVKhH4EM2fiao2kppgJouXcoQSBRfnk=",
5+
"aarch64-darwin": "sha256-bs0ulK/Ny3JWVcGF4CRVr2/RsLAK5bglkrshVmGrBrc=",
6+
"x86_64-darwin": "sha256-s0j5DImmcA/tCP2kNTaYd6QugG+k8WtcDWVt7Yi2cxU="
77
}
88
}

‎packages/console/app/src/component/go-models.ts‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ export const goModels = [
1212
{ id: "kimi-k2.6", name: "Kimi K2.6", requests: 1150, allowance: 60 },
1313
{ id: "kimi-k2.7-code", name: "Kimi K2.7 Code", requests: 1350, allowance: 60, featured: true },
1414
{ id: "hy4-preview", name: "Hy4 preview", requests: 1350, allowance: 30 },
15-
{ id: "gpt-5.6-luna", name: "GPT 5.6 Luna", requests: 2050, allowance: 15, featured: true },
15+
{ id: "gpt-5.6-luna", name: "GPT 5.6 Luna", requests: 2050, allowance: 15 },
1616
{ id: "minimax-m3", name: "MiniMax M3", requests: 3200, allowance: 60, featured: true },
1717
{ id: "mimo-v2.6-pro", name: "MiMo-V2.6-Pro", requests: 3250, allowance: 15, fresh: true },
1818
{ id: "mimo-v2.5-pro", name: "MiMo-V2.5-Pro", requests: 3250, allowance: 15 },
1919
{ id: "qwen3.6-plus", name: "Qwen3.6 Plus", requests: 3300, allowance: 60 },
2020
{ id: "minimax-m2.7", name: "MiniMax M2.7", requests: 3400, allowance: 60 },
2121
{ id: "deepseek-v4-flash-vision-exp", name: "DeepSeek V4 Flash Vision Exp", requests: 6500, allowance: 15 },
2222
{ id: "qwen3.7-plus", name: "Qwen3.7 Plus", requests: 4300, allowance: 60, featured: true },
23+
{ id: "gpt-6-luna", name: "GPT 6 Luna", requests: 4230, allowance: 15, featured: true, fresh: true },
2324
{ id: "hy3", name: "Hy3", requests: 4300, allowance: 60 },
2425
{ id: "qwen3.8-flash", name: "Qwen3.8 Flash", requests: 5400, allowance: 30 },
2526
{ id: "glm-5.3-flash", name: "GLM-5.3-Flash", requests: 6320, allowance: 60, featured: true },
26-
{ id: "deepseek-v4-flash", name: "DeepSeek V4 Flash", requests: 13000, allowance: 30, featured: true },
2727
{
2828
id: "deepseek-flash",
2929
name: "DeepSeek V4.1 Flash",
@@ -36,6 +36,7 @@ export const goModels = [
3636
fresh: true,
3737
},
3838
{ id: "longcat-2.0", name: "LongCat-2.0", requests: 11400, allowance: 60 },
39+
{ id: "deepseek-v4-flash", name: "DeepSeek V4 Flash", requests: 13000, allowance: 30 },
3940
{
4041
id: "mimo-v2.6-flash",
4142
name: "MiMo-V2.6-Flash",
@@ -60,4 +61,13 @@ export const goModels = [
6061
allowance: 60,
6162
regions: true,
6263
},
64+
{
65+
id: "space-bunny-free",
66+
name: "Space Bunny Free",
67+
requests: Infinity,
68+
allowance: Infinity,
69+
featured: true,
70+
fresh: true,
71+
limitedTime: true,
72+
},
6373
].sort((a, b) => a.requests - b.requests)

‎packages/console/app/src/component/limits-graph.css‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@
144144
}
145145
}
146146

147+
[data-slot="model-row"][data-infinite] :is([data-slot="requests"], [data-slot="allowance"]) {
148+
font-size: 1.125rem;
149+
line-height: 1;
150+
}
151+
147152
[data-slot="currency"] {
148153
color: var(--color-text-weak);
149154
}

‎packages/console/app/src/component/limits-graph.tsx‎

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ import { useLanguage } from "~/context/language"
55
import { goModels } from "./go-models"
66

77
// Compress the request range, with the same domain in both views.
8-
const max = Math.max(...goModels.map((model) => model.requests))
8+
const max = Math.max(...goModels.map((model) => model.requests).filter(Number.isFinite))
99
const position = (requests: number) =>
10-
4 + Math.pow(Math.log10(Math.max(requests / 100, 1)) / Math.log10(max / 100), 2.2) * 96
10+
Number.isFinite(requests)
11+
? 4 + Math.pow(Math.log10(Math.max(requests / 100, 1)) / Math.log10(max / 100), 2.2) * 78
12+
: 100
1113
const ticks = [100, 1000, 10000, 40000]
1214

1315
export function LimitsGraph(props: { href: string }) {
@@ -74,7 +76,13 @@ export function LimitsGraph(props: { href: string }) {
7476
<div role="rowgroup" data-slot="rows">
7577
<For each={models()}>
7678
{(model, index) => (
77-
<div role="row" data-slot="model-row" data-model={model.id} style={{ "--delay": `${index() * 30}ms` }}>
79+
<div
80+
role="row"
81+
data-slot="model-row"
82+
data-model={model.id}
83+
data-infinite={!Number.isFinite(model.requests) ? "" : undefined}
84+
style={{ "--delay": `${index() * 30}ms` }}
85+
>
7886
<div role="rowheader" data-slot="model">
7987
<bdi>{model.name}</bdi>
8088
<Show when={model.fresh}>
@@ -83,6 +91,9 @@ export function LimitsGraph(props: { href: string }) {
8391
<Show when={model.bonus}>
8492
<span data-slot="badge">{i18n.t("go.graph.bonus", { count: model.bonus! })}</span>
8593
</Show>
94+
<Show when={model.limitedTime}>
95+
<span data-slot="badge">{i18n.t("go.graph.limitedTime")}</span>
96+
</Show>
8697
<Show when={model.regions}>
8798
<a
8899
data-slot="region"
@@ -117,11 +128,13 @@ export function LimitsGraph(props: { href: string }) {
117128
<s>{currency().format(model.baseAllowance!)}</s>{" "}
118129
</Show>
119130
<bdi>
120-
<For each={currency().formatToParts(model.allowance)}>
121-
{(part) => (
122-
<span data-slot={part.type === "currency" ? "currency" : undefined}>{part.value}</span>
123-
)}
124-
</For>
131+
<Show when={Number.isFinite(model.allowance)} fallback="∞">
132+
<For each={currency().formatToParts(model.allowance)}>
133+
{(part) => (
134+
<span data-slot={part.type === "currency" ? "currency" : undefined}>{part.value}</span>
135+
)}
136+
</For>
137+
</Show>
125138
</bdi>
126139
</div>
127140
</div>

‎packages/console/app/src/i18n/ar.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.deepseek": "يحصل DeepSeek V4.1 Flash على حدود استخدام مضاعفة 4 مرات لفترة محدودة",
6+
"go.promo.spaceBunny": "يتوفر Space Bunny Free، وهو نموذج مجهول جديد، لفترة محدودة",
77
"go.graph.bonus": "استخدام مضاعف {{count}} مرات",
88
"nav.github": "GitHub",
99
"nav.docs": "الوثائق",

‎packages/console/app/src/i18n/br.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.deepseek": "DeepSeek V4.1 Flash tem limites de uso 4x maiores por tempo limitado",
6+
"go.promo.spaceBunny": "Space Bunny Free, um novo modelo anônimo, está disponível por tempo limitado",
77
"go.graph.bonus": "{{count}}× mais uso",
88
"nav.github": "GitHub",
99
"nav.docs": "Documentação",

‎packages/console/app/src/i18n/da.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.deepseek": "DeepSeek V4.1 Flash får firedoblet brugsgrænse i en begrænset periode",
6+
"go.promo.spaceBunny": "Space Bunny Free, en ny anonym model, er tilgængelig i en begrænset periode",
77
"go.graph.bonus": "{{count}}× forbrug",
88
"nav.github": "GitHub",
99
"nav.docs": "Dokumentation",

‎packages/console/app/src/i18n/de.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.deepseek": "DeepSeek V4.1 Flash erhält für begrenzte Zeit 4x Nutzungslimits",
6+
"go.promo.spaceBunny": "Space Bunny Free, ein neues anonymes Modell, ist für begrenzte Zeit verfügbar",
77
"go.graph.bonus": "{{count}}× Nutzung",
88
"nav.github": "GitHub",
99
"nav.docs": "Dokumentation",

‎packages/console/app/src/i18n/en.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const dict = {
2-
"go.promo.deepseek": "DeepSeek V4.1 Flash gets 4× usage limits for a limited time",
2+
"go.promo.spaceBunny": "Space Bunny Free, a new anonymous model, is available for a limited time",
33
"go.graph.bonus": "{{count}}× usage",
44
"nav.github": "GitHub",
55
"nav.docs": "Docs",

0 commit comments

Comments
 (0)