Skip to content

Commit 683a6d1

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@0399f19c3f67baef5967917302cfcca055d3876e
1 parent 108f8e3 commit 683a6d1

6 files changed

Lines changed: 33 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Freebuff includes a curated model catalog. The regular picker currently offers:
3434

3535
| Model | Access | Best for |
3636
| --------------------------- | ----------------------- | ----------------------------------------------------------------- |
37-
| **DeepSeek V4 Flash 07/31** | Full access | The default everywhere in full mode; fast coding and tool use |
38-
| **GPT-5.6 Luna** | Full access | Strong all-around with native images; two sessions a day |
37+
| **GPT-5.6 Luna** | Full access | The default in full mode; strong all-around with native images |
38+
| **DeepSeek V4 Flash 07/31** | Full access | Fast coding and tool use; pauses during peak hours |
3939
| **MiMo 2.5** | Full and limited access | The limited-mode default; balanced performance with image support |
4040
| **DeepSeek V4 Pro** | Full access | Deepest reasoning; one session a day |
4141

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Freebuff 提供经过筛选的模型目录。常规模型选择器目前包括
3434

3535
| 模型 | 访问范围 | 适用场景 |
3636
| --------------------------- | -------------- | ------------------------------------------------ |
37-
| **DeepSeek V4 Flash 07/31** | 完整访问 | 完整模式下所有平台的默认模型;快速编程和工具调用 |
38-
| **GPT-5.6 Luna** | 完整访问 | 综合能力强,原生支持图像;每天两次会话 |
37+
| **GPT-5.6 Luna** | 完整访问 | 完整模式下的默认模型;综合能力强,原生支持图像 |
38+
| **DeepSeek V4 Flash 07/31** | 完整访问 | 快速编程和工具调用;高峰时段暂停 |
3939
| **MiMo 2.5** | 完整和受限访问 | 受限模式的默认模型;均衡性能并支持图像 |
4040
| **DeepSeek V4 Pro** | 完整访问 | 推理最深入;每天一次会话 |
4141

bun.lock

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

common/src/constants/freebuff-subscriptions.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,25 @@ export function isFreebuffSubscriptionPremiumModelId(modelId: string): boolean {
5858
return FREEBUFF_SUBSCRIPTION_PREMIUM_MODEL_IDS.includes(modelId)
5959
}
6060

61+
/**
62+
* The DeepSeek models a plan's peak-hours pause applies to.
63+
*
64+
* Named explicitly rather than matched on an id prefix: a prefix would sweep in
65+
* any future `deepseek/*` id automatically, and silently pausing a model nobody
66+
* decided to pause is the kind of change that should require an edit here.
67+
*/
68+
export const FREEBUFF_SUBSCRIPTION_PEAK_PAUSED_MODEL_IDS: readonly string[] =
69+
Object.freeze([
70+
FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID,
71+
FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID,
72+
])
73+
74+
export function isFreebuffSubscriptionPeakPausedModelId(
75+
modelId: string,
76+
): boolean {
77+
return FREEBUFF_SUBSCRIPTION_PEAK_PAUSED_MODEL_IDS.includes(modelId)
78+
}
79+
6180
export function isFreebuffSubscriptionModelId(modelId: string): boolean {
6281
return FREEBUFF_SUBSCRIPTION_MODEL_IDS.includes(modelId)
6382
}

common/src/types/freebuff-session.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export interface FreebuffSubscriptionTierOffer {
8181
current: boolean
8282
/** True when this tier is above the caller's current one. */
8383
upgrade: boolean
84+
/** True when it is below. A downgrade is SCHEDULED for the next renewal
85+
* rather than applied now, so clients must not word it as immediate. */
86+
downgrade: boolean
8487
}
8588

8689
/**
@@ -122,6 +125,9 @@ export interface FreebuffSubscriptionInfo {
122125
status?: string
123126
/** True when the subscription lapses at period end. */
124127
cancelAtPeriodEnd?: boolean
128+
/** Tier this drops to at the next renewal, when a downgrade is scheduled.
129+
* Absent in the ordinary case — every subscription not mid-downgrade. */
130+
pendingTierId?: string
125131
/** The full catalog, current tier flagged. Drives every upgrade CTA. */
126132
tiers: FreebuffSubscriptionTierOffer[]
127133
/**

freebuff/cli/release/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ freebuff
1919

2020
## Why Freebuff?
2121

22-
**Choice of leading models** — The regular CLI picker includes DeepSeek, GPT-5.6 Luna, and MiMo, with DeepSeek V4 Flash 07/31 selected by default.
22+
**Choice of leading models** — The regular CLI picker includes DeepSeek, GPT-5.6 Luna, and MiMo, with GPT-5.6 Luna selected by default.
2323

2424
**Fast** — 5–10× speed up. 3–5× tokens per second compared to Claude, plus context gathering in seconds.
2525

@@ -29,7 +29,7 @@ freebuff
2929

3030
**How can it be free?** Freebuff is supported by text ads.
3131

32-
**What models do you use?** In full mode, the regular picker includes DeepSeek V4 Flash 07/31, GPT-5.6 Luna, MiMo 2.5, and DeepSeek V4 Pro. DeepSeek V4 Flash 07/31 is the CLI default, and the picker falls back to MiMo 2.5 once your daily premium sessions are used up. Limited mode uses MiMo 2.5. These limits are temporary and exist because the providers serving DeepSeek now charge more than free mode can carry: V4 Pro is one session a day, GPT-5.6 Luna is two sessions a day, and models may serve from a quantized (Q8_0) build.
32+
**What models do you use?** In full mode, the regular picker includes DeepSeek V4 Flash 07/31, GPT-5.6 Luna, MiMo 2.5, and DeepSeek V4 Pro. GPT-5.6 Luna is the CLI default, and the picker falls back to MiMo 2.5 once your daily premium sessions are used up. Limited mode uses MiMo 2.5. These limits are temporary and exist because the providers serving DeepSeek now charge more than free mode can carry: V4 Pro is one session a day, GPT-5.6 Luna is two sessions a day, and models may serve from a quantized (Q8_0) build.
3333

3434
**Which countries is Freebuff available in?** All countries. Freebuff runs in "full" mode in the US, Canada, UK, EU, and other select countries, and in "limited" mode everywhere else (or while using a VPN). See [freebuff.com](https://freebuff.com) for the full list.
3535

0 commit comments

Comments
 (0)