feat: 提交 task-045 至 task-058 收口产物
- 收口 rust final closure checklist,推进页面/块系统/Mindmap/CLI/AI tools 到最终 cutover 状态 - 按 ai-frontend-simplification-plan-v1 接入 Hermes bridge,合并 AI 面板并清理旧前端编排残留 - 补充 harness 任务与进度记录,加入 CLI smoke 夹具/脚本,并修正文档页 bridge SSR 自请求回退逻辑
This commit is contained in:
@@ -17,8 +17,9 @@ export async function requireUserId(ctx: any): Promise<string> {
|
||||
return String(userId);
|
||||
}
|
||||
|
||||
if (isDevAuthEnabled()) {
|
||||
return readEnv("DEV_USER_ID") ?? "dev-user";
|
||||
const devUserId = readEnv("DEV_USER_ID");
|
||||
if (isDevAuthEnabled() || devUserId) {
|
||||
return devUserId ?? "dev-user";
|
||||
}
|
||||
|
||||
throw new Error("未登录");
|
||||
|
||||
Reference in New Issue
Block a user