mirror of
https://github.com/kuaifan/dootask.git
synced 2026-08-01 10:55:59 +00:00
打开微应用后 AI 页面操作默认锁定在该应用 iframe 内部,无法关闭应用本身 (关闭控件在主程序外壳层)。新增外壳层 close_app 动作绕过 iframe 作用域: - action-executor 注册 close_app,先用 store 状态判断有无打开应用(无则报错 不假报成功),再经事件总线 observeMicroApp:close 投递给 MicroApps 组件。 - MicroApps 复用现成 onAssistClose(findLast(isOpen)+closeByName)作为该事件 处理器,关闭最前打开的应用,零重复逻辑。 - page-context-collector 在有微应用打开时向模型注入 close_app 可用动作。 - 同步 ai-kb page-action chunk 与 events-map。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.2 KiB
2.2 KiB
id, title, type, feature, scope, locale, aliases, related_tools, related_pages, prerequisites, negative, last_verified
| id | title | type | feature | scope | locale | aliases | related_tools | related_pages | prerequisites | negative | last_verified | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ai-assistant.page-action.howto | 让 AI 帮我跳页面/打开任务 | howto | ai-assistant | end-user | zh |
|
|
|
v1.7.91 |
让 AI 帮我跳页面/打开任务
这是什么
在 AI 浮窗用自然语言让 AI 把当前页跳转到任务详情、对话、项目、文件预览或功能页。AI 助手会在你当前的浏览器/桌面端页面上执行真实路由跳转。
怎么问
- "打开任务 1234"
- "切到项目『官网改版』"
- "打开和小王的对话"
- "帮我打开仪表盘"
- "跳到日历"
- "打开文件 ID 5678"
- "关闭这个应用" / "把当前应用关掉"(打开微应用插件后,可让 AI 直接关闭当前应用窗口,无需自己点关闭按钮)
支持的跳转目标
- 任务详情(open_task / goto_task / navigate_to_task)
- 对话(open_dialog,可附带 msg_id 跳到指定消息)
- 项目主页(open_project)
- 文件预览(open_file)/ 文件夹(open_folder)
- 功能页:仪表盘 / 消息 / 日历 / 文件管理
AI 怎么找到目标
- 你给 ID 时直接跳
- 你给名字时 AI 会先调
list_tasks/search_dialogs/list_projects/search_files找候选 - 同名多选时列候选让你确认
跳转后还能继续
跳到目标页后,浮窗保持打开,可继续:
- "把它标完成" → 调
complete_task - "看下讨论" → 调
get_message_list - "拉到底部" → AI 在你的页面上滚动到底部
不支持
- 不能跳到外部网址(如 google.com)
- 不能在新标签打开
- 不能切换到其他用户的视图