Files
aitu/packages
liquidliangandClaude ec60835ebf feat(auth): 当 API 返回 401 错误时自动打开设置对话框
当 API 返回 401 认证错误(Invalid Token)时,自动弹出设置对话框
让用户重新配置 API Key,同时显示错误提示信息。

- 新增 api-auth-error-event.ts 定义事件常量和工具函数
- apiCalls.ts 检测 401 错误并触发事件
- workflow-submission-service.ts 检测工作流失败的 401 错误
- drawnix.tsx 监听事件并打开设置对话框 + 显示 MessagePlugin 错误提示

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-15 20:50:49 +08:00
..
2026-01-09 17:53:08 +08:00