DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

mi-tuan /

mi-tuan/dsh-breeze-claim

Verified

DSH 插件:自动领 BreezeBlue 每日免费积分

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@e468d4f8

dsh-breeze-claim

给 DeepSeek Harness 用的插件:自动领 BreezeBlue 的每日免费积分。

BreezeBlue(Breeze TTS 2)每天有一次免费积分(默认北京时间 08:00 重置、400 分),要在网页控制台点一下才到手。这个插件把它变成:

  • 设置 → Breeze 积分 一张卡片:余额、今天领没领、每次领多少、下次重置时间;
  • 现在领:点一下立刻领;
  • 每天自动领:到点(默认 08:10)自己领一次,不用管;
  • 登录 Breeze:第一次用点一下,在弹出的窗口里登录;登录态存在本机,之后都是普通 HTTP 请求。

安装

# 1) 装插件(在 DSH 的 profile 里)
dsh plugin --profile desktop add github:mi-tuan/dsh-breeze-claim
# npm 上架后也可以:dsh plugin --profile desktop add dsh-breeze-claim

# 2) 重启一次 DSH(bundle 层要重启才组装)

# 3) 打开「设置 → Breeze 积分」→ 点「登录 Breeze」,在弹出的窗口登录

从源码装:

dsh plugin --profile desktop add file:D:/path/to/dsh-breeze-claim

依赖

用途 需要
读状态 / 领取 Python 3.10+(只用标准库)
登录 / 刷新登录态 Python + pip install playwright(用系统自带的 Edge,不用另外下浏览器)

插件默认调用 python;如果不在 PATH 上,在设置页「Breeze 积分 → Python 路径」里填完整路径(例如某个 venv 里的 python.exe)。

它到底怎么领的

Breeze 的开发者 API 没有领取端点(只有余额 / 用量 / 合成),领取只存在于网页端:

POST https://breezeblue.ai/api/credits/daily-claim
Cookie: breeze_blue_session=…
Origin: https://breezeblue.ai
Referer: https://breezeblue.ai/app/home
→ { "claimed": true, "credits_issued": 400, "balance": …, "daily_claim_claimed_today": true, … }

GET /api/credits/summary 能看到 daily_claim_claimed_today / daily_claim_available / daily_claim_next_reset_at,卡片上的状态就是它。

登录态(cookies.json)由 Playwright 驱动本机 Edge 登录后导出,独立 profile 存在 ~/.dsh/breeze-claim/profile/,不碰你日常用的浏览器。

数据在哪

~/.dsh/breeze-claim/

config.json    插件设置(自动领、时间、python 路径)
cookies.json   登录态(敏感,别提交、别外发)
profile/       独立浏览器配置
claim.log      领取记录

⚠️ 风险与边界

  • 自动操作网页可能违反 Breeze 的服务条款,账号风险自担(最坏是警告 / 封号)。
  • 网页前端或接口随时可能改,插件会失效——卡片会显示失败原因,claim.log 里有详情。
  • 登录态会过期;过期后点「登录 Breeze」重登一次即可。
  • 只读余额 + 领那个 400 的免费额度,不会动你的订阅、充值、声音。

开发

# host 半端:假 ctx 跑一遍(验证路由 + python 调用)
node .test-host.mjs

# client 半端:假 ModuleLoader / React 跑一遍
node .test-client.mjs

License

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit e468d4f8f3a6

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout