fix: 更新凭证路径注释为 ~/.costrict/share/auth.json

Co-Authored-By: CoStrict-DeepSeek-V4-Pro <deepseek-ai@claude-code-best.win>
This commit is contained in:
Askhz 2026-05-14 17:03:12 +08:00
parent 195c23dbb2
commit 4b7922d59b
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/**
* CoStrict
* ~/.claude/csc-auth.json
* ~/.costrict/share/auth.json
*/
import { promises as fs } from 'node:fs'
@ -62,7 +62,7 @@ export async function loadCoStrictCredentials(): Promise<CoStrictCredentials | n
}
/**
* CoStrict ~/.claude/csc-auth.json
* CoStrict ~/.costrict/share/auth.json
*/
export async function saveCoStrictCredentials(
credentials: CoStrictCredentials,

View File

@ -279,7 +279,7 @@ import { refreshCoStrictToken } from '../../costrict/provider/token.js'
| 运行时 | Effect-TS | Bun + 纯 Node.js API |
| 上报模式 | 单条即时上报 | 队列 + batch worker 顺序消费 |
| 限流防护 | 无 | 队列 + 单 worker + 重试 + 批次延迟 + 抖动 |
| 凭证路径 | `~/.costrict/credentials.json` | `~/.claude/csc-auth.json` |
| 凭证路径 | `~/.costrict/credentials.json` | `~/.costrict/share/auth.json` |
---