Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
canary
lobe-chat
/
packages
/
desktop-bridge
下载当前目录
G
GitHub
✨ 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 个月前