fix: 更新凭证路径注释为 ~/.costrict/share/auth.json
Co-Authored-By: CoStrict-DeepSeek-V4-Pro <deepseek-ai@claude-code-best.win>
This commit is contained in:
parent
195c23dbb2
commit
4b7922d59b
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* CoStrict 凭证管理模块
|
* CoStrict 凭证管理模块
|
||||||
* 负责读写 ~/.claude/csc-auth.json
|
* 负责读写 ~/.costrict/share/auth.json
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { promises as fs } from 'node:fs'
|
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(
|
export async function saveCoStrictCredentials(
|
||||||
credentials: CoStrictCredentials,
|
credentials: CoStrictCredentials,
|
||||||
|
|
|
||||||
|
|
@ -279,7 +279,7 @@ import { refreshCoStrictToken } from '../../costrict/provider/token.js'
|
||||||
| 运行时 | Effect-TS | Bun + 纯 Node.js API |
|
| 运行时 | Effect-TS | Bun + 纯 Node.js API |
|
||||||
| 上报模式 | 单条即时上报 | 队列 + batch worker 顺序消费 |
|
| 上报模式 | 单条即时上报 | 队列 + batch worker 顺序消费 |
|
||||||
| 限流防护 | 无 | 队列 + 单 worker + 重试 + 批次延迟 + 抖动 |
|
| 限流防护 | 无 | 队列 + 单 worker + 重试 + 批次延迟 + 抖动 |
|
||||||
| 凭证路径 | `~/.costrict/credentials.json` | `~/.claude/csc-auth.json` |
|
| 凭证路径 | `~/.costrict/credentials.json` | `~/.costrict/share/auth.json` |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user