kuaifan e74142e58d feat(ai-assistant): auth 注入用户 fd + doo_enabled,供 AI 经 doo 操作
P2 后端:把当前用户 WebSocket fd 透传给 AI 会话,让 AI 助手能经 doo CLI
驱动本人浏览器做页面操作。
- AssistantController::auth() 读 header fd 并做归属校验(复用 operation
  __dispatch 同款 WebSocket::whereFd 校验),传给 createStreamKey
- AI::createStreamKey() 透传 fd + doo_enabled=1 到 /ai/invoke/auth
- ai-kb tools.concept 补「doo 命令行工具」能力来源

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 01:42:12 +00:00
..
2023-03-24 09:08:53 +08:00
2025-07-31 14:26:06 +08:00
2021-05-29 17:11:41 +08:00
2024-11-18 13:33:32 +08:00
2023-03-24 09:08:53 +08:00
2022-02-28 00:21:48 +08:00
2025-07-31 15:27:17 +08:00
2025-07-31 15:27:17 +08:00
2025-07-26 15:14:15 +08:00
2024-05-10 22:23:45 +09:00
2025-06-17 00:17:04 +08:00
2025-02-24 09:12:12 +08:00
2023-03-24 09:08:53 +08:00
2024-11-12 19:52:12 +08:00
2024-09-22 00:43:48 +03:00