feat(claude-code): 只读展示重置机会(cedar_ember)并补齐额度文案国际化

This commit is contained in:
dalamudx
2026-09-29 23:55:27 +08:00
parent 125cd40aa5
commit b49f5c0fd7
11 changed files with 211 additions and 6 deletions
+4 -1
View File
@@ -125,7 +125,10 @@ mod tests {
("authorization".to_string(), "Bearer access".to_string()),
);
assert_eq!(claude_spec.method, "GET");
assert_eq!(claude_spec.url, "https://api.anthropic.com/api/oauth/usage");
assert_eq!(
claude_spec.url,
"https://api.anthropic.com/api/oauth/usage?cedar_ember=1&skip_spend=1"
);
assert_eq!(
claude_spec
.headers