mirror of
https://github.com/kuaifan/dootask.git
synced 2026-06-26 01:02:11 +00:00
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>