WaterRain
|
d205ff2ea4
|
feat(ocgo): 余额改版为 API Key 直查 /usage 端点,cookie+workspaceId 降级为选填增强
- fetchBalance 改为 GET https://opencode.ai/zen/go/v1/usage(Bearer API Key),移除 dashboard HTML 抓取与 hydration 解析(parseWindows/ScrapedWindow)
- 新增 parseUsageResponse:percent 钳制 0-100,resetsAt 兼容 ISO-8601 与 epoch 秒/毫秒,倒计时可注入基准时间并 coerce >=0
- 错误映射:无 Key/401/403→凭据失效、429→限流(Retry-After)、其余 4xx/5xx→服务端异常,瞬时重试沿用 RetryHelper
- auth cookie + workspaceId 仅保留给用量记录页与 _server 模型级明细增强,缺失时跳过不影响余额主数据
- 设置页表单重排 API Key 主位 + 选填分区标题;测试并保存按钮 enabled 与 ViewModel 校验四象限自洽
- 三语言文案与 README 同步;单测重写为 parseUsageResponse JSON 解析,保留 parseModelRows/windowQuotaRaw
独立 subagent 审计两轮通过(阻断项与按钮自洽性已修复);testDebugUnitTest 160 测试 0 失败
|
2026-09-22 12:03:10 +00:00 |
|
WaterRain
|
1439e8ca43
|
refactor(ccgo): CommandCode Go 统一更名为 CommandCode
|
2026-09-11 06:52:37 +00:00 |
|
WaterRain
|
eecf54986f
|
docs: README 补充 Token活动热力图说明与截图;归档历史计划文档至 docs/archive
CI / Unit Tests & Lint (push) Waiting to run
CI / Debug APK (push) Blocked by required conditions
CI / Release APK (debug-signed) (push) Blocked by required conditions
|
2026-09-10 07:58:14 +00:00 |
|
WaterRain
|
dcc93714be
|
chore: 统一品牌命名(Ollama 去 Pro 后缀、Codex 去 Plus 后缀)
|
2026-08-24 08:49:54 +00:00 |
|
WaterRain
|
7f2ca18d9d
|
feat: 图表新增近30天时间尺度 (LAST_30D_DAILY)
|
2026-08-06 05:47:16 +00:00 |
|
WaterRain
|
041df0c240
|
docs: README 措辞正式化 + 新增英文版 README.en.md
|
2026-08-02 03:11:48 +00:00 |
|