Merge pull request #335 from iaineng/dev

feat: 添加Claude账户403错误处理和封禁状态支持
This commit is contained in:
Wesley Liddick
2025-09-04 10:46:44 +08:00
committed by GitHub
4 changed files with 104 additions and 12 deletions

View File

@@ -68,6 +68,7 @@ class WebhookNotifier {
const errorCodes = {
'claude-oauth': {
unauthorized: 'CLAUDE_OAUTH_UNAUTHORIZED',
blocked: 'CLAUDE_OAUTH_BLOCKED',
error: 'CLAUDE_OAUTH_ERROR',
disabled: 'CLAUDE_OAUTH_MANUALLY_DISABLED'
},