kuaifan
0ac4b546ba
feat(ai-assistant): 实现 AI 前端操作能力
新增三个 MCP 工具的前端支持:
- get_page_context: 基于 ARIA 角色收集页面元素,支持分页和区域筛选
- execute_action: 执行导航操作(打开任务/对话、切换项目/页面)
- execute_element_action: 元素级操作(click/type/select/focus/scroll/hover)
新增文件:
- operation-client.js: WebSocket 客户端,处理与 MCP Server 的通信
- page-context-collector.js: 页面上下文收集器,ref 系统和 cursor:pointer 扫描
- action-executor.js: 操作执行器,支持智能解析如 open_task_123
- operation-module.js: 模块编排,整合上述模块
修改文件:
- float-button.vue: 集成 operation-module,AI 助手打开时启用
- index.vue: 发射关闭事件供 float-button 监听
2026-01-18 01:35:13 +00:00
..
2026-01-18 01:35:13 +00:00
2025-08-07 14:22:00 +08:00
2026-01-12 01:44:34 +00:00
2025-11-03 00:45:34 +08:00
2025-08-08 07:58:49 +08:00
2025-06-04 07:02:19 +08:00
2025-04-08 21:43:41 +08:00
2025-07-08 11:08:13 +08:00
2025-11-06 14:03:58 +00:00
2024-01-17 23:22:13 +08:00
2025-04-03 22:35:46 +08:00
2025-05-06 16:13:37 +08:00
2024-09-20 21:46:28 +03:00
2024-04-22 10:00:26 +08:00
2025-08-06 11:04:22 +08:00
2023-03-24 09:08:53 +08:00
2025-08-18 21:05:26 +08:00
2025-03-14 12:07:49 +08:00
2025-04-19 07:57:43 +08:00
2024-10-28 21:18:24 +08:00
2025-05-06 16:13:37 +08:00
2025-03-26 14:17:15 +08:00
2025-03-30 10:45:24 +08:00
2026-01-12 09:07:10 +08:00
2023-08-02 22:16:55 +08:00
2024-12-09 07:35:10 +08:00
2023-04-25 12:03:59 +08:00
2026-01-15 09:09:58 +00:00
2026-01-16 08:49:25 +00:00
2025-03-18 18:36:20 +08:00
2025-05-06 16:13:37 +08:00
2024-12-12 23:10:33 +08:00
2025-09-28 05:19:27 +08:00
2025-09-23 13:11:33 +08:00
2025-10-23 06:07:24 +00:00
2021-06-10 13:23:01 +08:00