0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. lobe-chat
  2. /
  3. packages
  4. /
  5. desktop-bridge
GGitHub✨ feat(trpc): add response metadata and auth header handling (#11816)
1276a87b创建于 1月25日历史提交
文件最后提交记录最后更新时间
src
✨ feat(trpc): add response metadata and auth header handling (#11816) * ✨ feat(trpc): add response metadata and auth header handling Add createResponseMeta utility to centralize tRPC response metadata handling. Set X-Auth-Required header for UNAUTHORIZED errors to distinguish real auth failures from other 401 errors. Update all tRPC routes to use the new utility. * ♻️ refactor(desktop-bridge): extract auth constants to shared package Move AUTH_REQUIRED_HEADER and TRPC_ERROR_CODE_UNAUTHORIZED to @lobechat/desktop-bridge for consistent usage across server and desktop.3 个月前
package.json
♻️ refactor: refactor implement for desktop 4 个月前