diff --git a/docs/inventory/visible-controls.json b/docs/inventory/visible-controls.json index a668ef3a9..b0ec0365b 100644 --- a/docs/inventory/visible-controls.json +++ b/docs/inventory/visible-controls.json @@ -947,127 +947,127 @@ {"source": "flybot_workspace/static/chat/index.html", "line": 762, "tag": "select", "id": "group-agent-add", "name": null, "href": null, "type": null, "label": "添加我的智能体", "initially_disabled": false, "data": {"data-ui-label": "chat.group.add_agent"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, {"source": "flybot_workspace/static/chat/index.html", "line": 763, "tag": "button", "id": "group-agent-add-submit", "name": null, "href": null, "type": "button", "label": " 添加", "initially_disabled": false, "data": {"data-ui-text": "chat.add"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, {"source": "flybot_workspace/static/chat/index.html", "line": 763, "tag": "form", "id": "group-agent-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 783, "tag": "select", "id": "group-studio-document", "name": null, "href": null, "type": null, "label": "", "initially_disabled": true, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 785, "tag": "button", "id": "group-studio-review", "name": null, "href": null, "type": "button", "label": " 预览当前版本", "initially_disabled": true, "data": {"data-ui-text": "chat.group.studio_review"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 786, "tag": "button", "id": "group-studio-refresh", "name": null, "href": null, "type": "button", "label": " 重新读取文档列表", "initially_disabled": false, "data": {"data-ui-text": "chat.group.studio_refresh"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 794, "tag": "button", "id": "group-studio-confirm", "name": null, "href": null, "type": "button", "label": " 引用此版本", "initially_disabled": false, "data": {"data-ui-text": "chat.group.studio_confirm"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 851, "tag": "textarea", "id": "group-agent-prompt", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 794, "tag": "button", "id": "group-agent-submit", "name": null, "href": null, "type": "submit", "label": " 发送并请求回复", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 811, "tag": "a", "id": null, "name": null, "href": "/agents", "type": null, "label": " 浏览智能体", "initially_disabled": false, "data": {"data-ui-text": "chat.agents.browse"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 812, "tag": "a", "id": null, "name": null, "href": "/guide", "type": null, "label": " 查看功能指引", "initially_disabled": false, "data": {"data-ui-text": "chat.nav.open_guide"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 814, "tag": "button", "id": "chat-load-older", "name": null, "href": null, "type": "button", "label": " 加载更早的消息", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.older"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 819, "tag": "button", "id": "chat-load-newer", "name": null, "href": null, "type": "button", "label": " 加载后续消息", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.newer"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 820, "tag": "button", "id": "chat-mark-thread-read", "name": null, "href": null, "type": "button", "label": " 将此会话标为已读", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.mark_thread_read"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 820, "tag": "button", "id": "chat-back-to-latest", "name": null, "href": null, "type": "button", "label": " 回到最新消息", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.back_latest"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 826, "tag": "textarea", "id": "public-draft-recovery-text", "name": null, "href": null, "type": null, "label": "首页草稿", "initially_disabled": false, "data": {"data-ui-label": "chat.draft.homepage"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 827, "tag": "button", "id": "public-draft-recovery-clear", "name": null, "href": null, "type": "button", "label": " 清除首页草稿", "initially_disabled": false, "data": {"data-ui-text": "chat.draft.clear_homepage"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 827, "tag": "form", "id": "chat-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 835, "tag": "a", "id": null, "name": null, "href": "/settings/connectors#connected-tool-approvals", "type": null, "label": " 在新标签页查看", "initially_disabled": false, "data": {"data-ui-text": "chat.approvals.review"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 849, "tag": "button", "id": "chat-reply-retry", "name": null, "href": null, "type": "button", "label": " 重试", "initially_disabled": false, "data": {"data-ui-text": "chat.retry"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 850, "tag": "button", "id": "chat-reply-cancel", "name": null, "href": null, "type": "button", "label": "取消引用 ×", "initially_disabled": false, "data": {"data-ui-label": "chat.messages.cancel_quote"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 870, "tag": "button", "id": "composer-upload-trigger", "name": null, "href": null, "type": "button", "label": "发送文件 文件", "initially_disabled": false, "data": {"data-plus-attach": "any", "data-ui-title": "chat.files.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 871, "tag": "button", "id": null, "name": null, "href": null, "type": "button", "label": "选择照片 照片", "initially_disabled": false, "data": {"data-plus-attach": "image", "data-ui-title": "chat.files.choose_photos"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 872, "tag": "button", "id": null, "name": null, "href": null, "type": "button", "label": "选择视频 视频", "initially_disabled": false, "data": {"data-plus-attach": "video", "data-ui-title": "chat.files.choose_videos"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 982, "tag": "a", "id": null, "name": null, "href": "/space", "type": null, "label": " 探索更多", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 879, "tag": "button", "id": "composer-website-create", "name": null, "href": null, "type": "button", "label": "根据描述生成网站 网站", "initially_disabled": true, "data": {"data-tone": "web", "data-ui-title": "chat.create.website_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 880, "tag": "a", "id": null, "name": null, "href": "/space?new=document", "type": null, "label": "在资料空间新建云文档 文档", "initially_disabled": false, "data": {"data-create-artifact": "document", "data-tone": "doc", "data-ui-title": "chat.create.document_in_space"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 881, "tag": "a", "id": null, "name": null, "href": "/space?new=slides", "type": null, "label": "在资料空间新建幻灯片 幻灯片", "initially_disabled": false, "data": {"data-create-artifact": "slides", "data-tone": "slides", "data-ui-title": "chat.create.slides_in_space"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 882, "tag": "a", "id": null, "name": null, "href": "/space?new=spreadsheet", "type": null, "label": "在当前工作区新建电子表格 表格", "initially_disabled": false, "data": {"data-create-artifact": "spreadsheet", "data-tone": "table", "data-ui-title": "chat.create.spreadsheet_in_workspace"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 883, "tag": "button", "id": "composer-image-create", "name": null, "href": null, "type": "button", "label": "根据描述生成图片 图片", "initially_disabled": true, "data": {"data-tone": "image", "data-ui-title": "chat.create.image_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 884, "tag": "button", "id": "composer-video-create", "name": null, "href": null, "type": "button", "label": "根据描述生成视频 视频", "initially_disabled": true, "data": {"data-tone": "camera", "data-ui-title": "chat.create.video_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 885, "tag": "button", "id": "composer-music-create", "name": null, "href": null, "type": "button", "label": "根据描述生成音乐 音乐", "initially_disabled": true, "data": {"data-tone": "music", "data-ui-title": "chat.create.music_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 886, "tag": "button", "id": "composer-model3d-create", "name": null, "href": null, "type": "button", "label": "用描述或参考图生成 3D 模型 3D 模型", "initially_disabled": true, "data": {"data-tone": "cube", "data-ui-title": "chat.create.model_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1004, "tag": "a", "id": null, "name": null, "href": "/automations", "type": null, "label": " 全部自动化", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 893, "tag": "a", "id": null, "name": null, "href": "/automations?template=meeting_prep", "type": null, "label": " 会议提醒和准备", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 894, "tag": "a", "id": null, "name": null, "href": "/automations?template=daily_brief", "type": null, "label": " 每日工作简报", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 895, "tag": "a", "id": null, "name": null, "href": "/automations?template=expert_research", "type": null, "label": " 专家团队研究", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 896, "tag": "a", "id": null, "name": null, "href": "/automations?template=advance_goals", "type": null, "label": " 推进目标", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 902, "tag": "a", "id": null, "name": null, "href": "/memory", "type": null, "label": " 记忆", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 903, "tag": "button", "id": "composer-resource-open", "name": null, "href": null, "type": "button", "label": "读取工作区文档或记忆,预览后放入输入框 调取", "initially_disabled": false, "data": {"data-ui-title": "chat.resources.retrieve_help"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 909, "tag": "a", "id": null, "name": null, "href": "/skills", "type": null, "label": "管理技能 技能", "initially_disabled": false, "data": {"data-ui-title": "chat.nav.manage_skills"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 910, "tag": "a", "id": null, "name": null, "href": "/settings#connectors", "type": null, "label": "管理连接器 连接器", "initially_disabled": false, "data": {"data-ui-title": "chat.nav.manage_connectors"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 911, "tag": "a", "id": null, "name": null, "href": "/meetings#new=1", "type": null, "label": " 会议纪要", "initially_disabled": false, "data": {"data-ui-text": "chat.meetings.notes"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 908, "tag": "textarea", "id": "chat-body", "name": "body", "href": null, "type": null, "label": "输入消息", "initially_disabled": false, "data": {"data-ui-label": "chat.compose.placeholder", "data-ui-placeholder": "chat.compose.placeholder"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 912, "tag": "button", "id": "chat-reply-stop", "name": null, "href": null, "type": "button", "label": "停止生成", "initially_disabled": false, "data": {"data-ui-title": "chat.reply.stop", "data-ui-label": "chat.reply.stop"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 913, "tag": "button", "id": "chat-send", "name": null, "href": null, "type": "submit", "label": "发送", "initially_disabled": false, "data": {"data-ui-title": "chat.send", "data-ui-label": "chat.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 923, "tag": "button", "id": "voice-stop", "name": null, "href": null, "type": "button", "label": " 停止录音", "initially_disabled": false, "data": {"data-ui-text": "chat.voice.stop"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 924, "tag": "button", "id": "voice-discard", "name": null, "href": null, "type": "button", "label": " 丢弃录音", "initially_disabled": false, "data": {"data-ui-text": "chat.voice.discard"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 925, "tag": "button", "id": "voice-send", "name": null, "href": null, "type": "button", "label": " 发送语音", "initially_disabled": false, "data": {"data-ui-text": "chat.voice.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 929, "tag": "button", "id": "chat-attachment-open", "name": null, "href": null, "type": "button", "label": "发送文件", "initially_disabled": true, "data": {"data-plus-attach": "any", "data-ui-title": "chat.files.send", "data-ui-label": "chat.files.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 930, "tag": "input", "id": "chat-attachment", "name": null, "href": null, "type": "file", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 931, "tag": "button", "id": "composer-memory-open", "name": null, "href": null, "type": "button", "label": "选择真实记忆内容,检查后附加到输入框 记忆", "initially_disabled": false, "data": {"data-ui-title": "chat.memory.select_attach"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 935, "tag": "button", "id": "chat-format", "name": null, "href": null, "type": "button", "label": "格式:把选中的字加粗 格式", "initially_disabled": false, "data": {"data-ui-title": "chat.format.help"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 939, "tag": "button", "id": "chat-format-bold", "name": null, "href": null, "type": "button", "label": "把选中的字包进 **…** B 加粗", "initially_disabled": false, "data": {"data-ui-title": "chat.format.bold_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 939, "tag": "button", "id": "composer-emoji-open", "name": null, "href": null, "type": "button", "label": "表情和贴纸 表情", "initially_disabled": false, "data": {"data-ui-title": "chat.emoji.picker"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 940, "tag": "button", "id": "chat-prompt-templates", "name": null, "href": null, "type": "button", "label": "提示词模板", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 941, "tag": "button", "id": "voice-record", "name": null, "href": null, "type": "button", "label": "录制语音 录制语音", "initially_disabled": false, "data": {"data-ui-title": "chat.voice.record", "data-ui-label": "chat.voice.record"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 942, "tag": "button", "id": "chat-agent-picker-open", "name": null, "href": null, "type": "button", "label": "请智能体回复 @ 智能体", "initially_disabled": false, "data": {"data-ui-title": "chat.group.ask_agents", "data-ui-label": "chat.group.ask_agents"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 946, "tag": "select", "id": "agent-memory-recall", "name": null, "href": null, "type": null, "label": "记忆检索范围", "initially_disabled": false, "data": {"data-ui-title": "chat.memory.cross_workspace_help", "data-ui-label": "chat.memory.scope"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 953, "tag": "form", "id": "chat-agent-picker-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1110, "tag": "input", "id": "chat-agent-picker-search", "name": null, "href": null, "type": "search", "label": "", "initially_disabled": false, "data": {"data-ui-placeholder": "chat.group.search_reply_targets"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 966, "tag": "button", "id": "chat-agent-picker-cancel", "name": null, "href": null, "type": "button", "label": " 取消", "initially_disabled": false, "data": {"data-ui-text": "chat.cancel"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 967, "tag": "button", "id": "chat-agent-picker-confirm", "name": null, "href": null, "type": "submit", "label": " 确认选择", "initially_disabled": false, "data": {"data-ui-text": "chat.group.use_reply_targets"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 969, "tag": "form", "id": "history-capture-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1039, "tag": "input", "id": "history-capture-query", "name": null, "href": null, "type": "search", "label": "", "initially_disabled": false, "data": {"data-ui-placeholder": "chat.search.by_message_body"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 976, "tag": "button", "id": "history-capture-more", "name": null, "href": null, "type": "button", "label": " 显示更早消息", "initially_disabled": false, "data": {"data-ui-text": "chat.search.show_older"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 982, "tag": "button", "id": "history-capture-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 983, "tag": "button", "id": "history-capture-submit", "name": null, "href": null, "type": "submit", "label": " 提炼所选消息", "initially_disabled": true, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 989, "tag": "button", "id": "chat-prompt-close", "name": null, "href": null, "type": "button", "label": "关闭 ×", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 989, "tag": "form", "id": "chat-prompt-insert-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 993, "tag": "select", "id": "chat-prompt-select", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 995, "tag": "button", "id": "chat-prompt-insert", "name": null, "href": null, "type": "submit", "label": " 插入草稿", "initially_disabled": true, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 995, "tag": "form", "id": "chat-prompt-save-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 999, "tag": "input", "id": "chat-prompt-title", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1001, "tag": "button", "id": "chat-prompt-save", "name": null, "href": null, "type": "submit", "label": " 保存当前草稿为模板", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1008, "tag": "form", "id": "chat-meeting-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1015, "tag": "input", "id": "chat-meeting-input", "name": null, "href": null, "type": "text", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1026, "tag": "input", "id": "chat-meeting-mic", "name": null, "href": null, "type": "checkbox", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1027, "tag": "input", "id": "chat-meeting-camera", "name": null, "href": null, "type": "checkbox", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1026, "tag": "button", "id": "chat-call-start-audio", "name": null, "href": null, "type": "button", "label": " 语音通话", "initially_disabled": false, "data": {"data-ui-text": "chat.call.audio"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1027, "tag": "button", "id": "chat-call-start-video", "name": null, "href": null, "type": "button", "label": " 视频通话", "initially_disabled": false, "data": {"data-ui-text": "chat.call.video"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1030, "tag": "button", "id": "chat-call-mute", "name": null, "href": null, "type": "button", "label": " 静音", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1031, "tag": "button", "id": "chat-call-camera", "name": null, "href": null, "type": "button", "label": " 关闭摄像头", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1032, "tag": "button", "id": "chat-call-play", "name": null, "href": null, "type": "button", "label": " 播放声音", "initially_disabled": false, "data": {"data-ui-text": "chat.call.play_audio"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1041, "tag": "button", "id": "chat-call-record-request", "name": null, "href": null, "type": "button", "label": " 请求录音", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1042, "tag": "button", "id": "chat-call-record-allow", "name": null, "href": null, "type": "button", "label": " 同意录音", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1043, "tag": "button", "id": "chat-call-record-decline", "name": null, "href": null, "type": "button", "label": " 不同意", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1044, "tag": "button", "id": "chat-call-record-stop", "name": null, "href": null, "type": "button", "label": " 停止并保留", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1050, "tag": "input", "id": "chat-meeting-link", "name": null, "href": null, "type": "url", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1051, "tag": "button", "id": "chat-meeting-copy", "name": null, "href": null, "type": "button", "label": " 复制链接", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1055, "tag": "button", "id": "chat-meeting-end", "name": null, "href": null, "type": "button", "label": " 结束会议", "initially_disabled": false, "data": {"data-ui-text": "chat.meetings.end"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1056, "tag": "button", "id": "chat-meeting-hangup", "name": null, "href": null, "type": "button", "label": " 离开会议", "initially_disabled": false, "data": {"data-ui-text": "chat.meetings.leave"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1057, "tag": "button", "id": "chat-call-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1058, "tag": "button", "id": "chat-meeting-notes-copy", "name": null, "href": null, "type": "button", "label": " 复制纪要入口", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1060, "tag": "button", "id": "chat-meeting-notes-without-audio", "name": null, "href": null, "type": "button", "label": " 仅打开纪要", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1061, "tag": "button", "id": "chat-meeting-submit", "name": null, "href": null, "type": "submit", "label": " 加入会议", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1064, "tag": "form", "id": "message-assist-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1179, "tag": "input", "id": "message-assist-instruction", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1251, "tag": "button", "id": "message-assist-submit", "name": null, "href": null, "type": "submit", "label": " 提交处理任务", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1150, "tag": "button", "id": "message-assist-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1068, "tag": "form", "id": "announcement-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1165, "tag": "textarea", "id": "announcement-body", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1243, "tag": "button", "id": "announcement-save", "name": null, "href": null, "type": "submit", "label": " 保存公告", "initially_disabled": false, "data": {"data-ui-text": "chat.group.save_announcement"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1345, "tag": "button", "id": "announcement-clear", "name": null, "href": null, "type": "button", "label": " 清空公告", "initially_disabled": false, "data": {"data-ui-text": "chat.group.clear_announcement"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1115, "tag": "button", "id": "announcement-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1132, "tag": "select", "id": "resource-picker-kind", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1109, "tag": "button", "id": "resource-picker-more", "name": null, "href": null, "type": "button", "label": " 加载更多", "initially_disabled": false, "data": {"data-ui-text": "chat.load_more"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1256, "tag": "button", "id": "resource-picker-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1082, "tag": "button", "id": "composer-emoji-close", "name": null, "href": null, "type": "button", "label": "关闭 ×", "initially_disabled": false, "data": {"data-ui-title": "chat.close", "data-ui-label": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1085, "tag": "button", "id": "composer-emoji-tab", "name": null, "href": null, "type": "button", "label": " 表情", "initially_disabled": false, "data": {"data-ui-text": "chat.emoji.emoji"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1086, "tag": "button", "id": "composer-sticker-tab", "name": null, "href": null, "type": "button", "label": " 贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.tab"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1099, "tag": "button", "id": "composer-sticker-upload", "name": null, "href": null, "type": "button", "label": " 添加贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.upload"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1100, "tag": "input", "id": "composer-sticker-file", "name": null, "href": null, "type": "file", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1101, "tag": "button", "id": "composer-sticker-manage", "name": null, "href": null, "type": "button", "label": " 管理", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.manage"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1103, "tag": "button", "id": "composer-sticker-more", "name": null, "href": null, "type": "button", "label": " 加载更多", "initially_disabled": false, "data": {"data-ui-text": "chat.load_more"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1110, "tag": "button", "id": "composer-sticker-preview-close", "name": null, "href": null, "type": "button", "label": " 返回贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.back"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1111, "tag": "button", "id": "composer-sticker-send", "name": null, "href": null, "type": "button", "label": " 发送贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1111, "tag": "button", "id": "composer-sticker-retry", "name": null, "href": null, "type": "button", "label": " 重试", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.retry"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1113, "tag": "form", "id": "private-thread-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1172, "tag": "input", "id": "private-thread-name", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1122, "tag": "button", "id": "private-thread-cancel-name", "name": null, "href": null, "type": "button", "label": " 取消", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1123, "tag": "button", "id": "private-thread-save-name", "name": null, "href": null, "type": "submit", "label": " 保存", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1129, "tag": "button", "id": "private-archive-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, - {"source": "flybot_workspace/static/chat/index.html", "line": 1131, "tag": "button", "id": "private-archive-more", "name": null, "href": null, "type": "button", "label": " 加载更多", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 776, "tag": "select", "id": "group-studio-document", "name": null, "href": null, "type": null, "label": "", "initially_disabled": true, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 778, "tag": "button", "id": "group-studio-review", "name": null, "href": null, "type": "button", "label": " 预览当前版本", "initially_disabled": true, "data": {"data-ui-text": "chat.group.studio_review"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 779, "tag": "button", "id": "group-studio-refresh", "name": null, "href": null, "type": "button", "label": " 重新读取文档列表", "initially_disabled": false, "data": {"data-ui-text": "chat.group.studio_refresh"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 787, "tag": "button", "id": "group-studio-confirm", "name": null, "href": null, "type": "button", "label": " 引用此版本", "initially_disabled": false, "data": {"data-ui-text": "chat.group.studio_confirm"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 854, "tag": "textarea", "id": "group-agent-prompt", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 797, "tag": "button", "id": "group-agent-submit", "name": null, "href": null, "type": "submit", "label": " 发送并请求回复", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 812, "tag": "a", "id": null, "name": null, "href": "/agents", "type": null, "label": " 浏览智能体", "initially_disabled": false, "data": {"data-ui-text": "chat.agents.browse"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 813, "tag": "a", "id": null, "name": null, "href": "/guide", "type": null, "label": " 查看功能指引", "initially_disabled": false, "data": {"data-ui-text": "chat.nav.open_guide"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 815, "tag": "button", "id": "chat-load-older", "name": null, "href": null, "type": "button", "label": " 加载更早的消息", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.older"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 820, "tag": "button", "id": "chat-load-newer", "name": null, "href": null, "type": "button", "label": " 加载后续消息", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.newer"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 821, "tag": "button", "id": "chat-mark-thread-read", "name": null, "href": null, "type": "button", "label": " 将此会话标为已读", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.mark_thread_read"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 821, "tag": "button", "id": "chat-back-to-latest", "name": null, "href": null, "type": "button", "label": " 回到最新消息", "initially_disabled": false, "data": {"data-ui-text": "chat.messages.back_latest"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 827, "tag": "textarea", "id": "public-draft-recovery-text", "name": null, "href": null, "type": null, "label": "首页草稿", "initially_disabled": false, "data": {"data-ui-label": "chat.draft.homepage"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 828, "tag": "button", "id": "public-draft-recovery-clear", "name": null, "href": null, "type": "button", "label": " 清除首页草稿", "initially_disabled": false, "data": {"data-ui-text": "chat.draft.clear_homepage"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 828, "tag": "form", "id": "chat-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 836, "tag": "a", "id": null, "name": null, "href": "/settings/connectors#connected-tool-approvals", "type": null, "label": " 在新标签页查看", "initially_disabled": false, "data": {"data-ui-text": "chat.approvals.review"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 850, "tag": "button", "id": "chat-reply-retry", "name": null, "href": null, "type": "button", "label": " 重试", "initially_disabled": false, "data": {"data-ui-text": "chat.retry"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 851, "tag": "button", "id": "chat-reply-cancel", "name": null, "href": null, "type": "button", "label": "取消引用 ×", "initially_disabled": false, "data": {"data-ui-label": "chat.messages.cancel_quote"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 871, "tag": "button", "id": "composer-upload-trigger", "name": null, "href": null, "type": "button", "label": "发送文件 文件", "initially_disabled": false, "data": {"data-plus-attach": "any", "data-ui-title": "chat.files.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 872, "tag": "button", "id": null, "name": null, "href": null, "type": "button", "label": "选择照片 照片", "initially_disabled": false, "data": {"data-plus-attach": "image", "data-ui-title": "chat.files.choose_photos"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 873, "tag": "button", "id": null, "name": null, "href": null, "type": "button", "label": "选择视频 视频", "initially_disabled": false, "data": {"data-plus-attach": "video", "data-ui-title": "chat.files.choose_videos"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 983, "tag": "a", "id": null, "name": null, "href": "/space", "type": null, "label": " 探索更多", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 880, "tag": "button", "id": "composer-website-create", "name": null, "href": null, "type": "button", "label": "根据描述生成网站 网站", "initially_disabled": true, "data": {"data-tone": "web", "data-ui-title": "chat.create.website_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 881, "tag": "a", "id": null, "name": null, "href": "/space?new=document", "type": null, "label": "在资料空间新建云文档 文档", "initially_disabled": false, "data": {"data-create-artifact": "document", "data-tone": "doc", "data-ui-title": "chat.create.document_in_space"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 882, "tag": "a", "id": null, "name": null, "href": "/space?new=slides", "type": null, "label": "在资料空间新建幻灯片 幻灯片", "initially_disabled": false, "data": {"data-create-artifact": "slides", "data-tone": "slides", "data-ui-title": "chat.create.slides_in_space"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 883, "tag": "a", "id": null, "name": null, "href": "/space?new=spreadsheet", "type": null, "label": "在当前工作区新建电子表格 表格", "initially_disabled": false, "data": {"data-create-artifact": "spreadsheet", "data-tone": "table", "data-ui-title": "chat.create.spreadsheet_in_workspace"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 884, "tag": "button", "id": "composer-image-create", "name": null, "href": null, "type": "button", "label": "根据描述生成图片 图片", "initially_disabled": true, "data": {"data-tone": "image", "data-ui-title": "chat.create.image_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 885, "tag": "button", "id": "composer-video-create", "name": null, "href": null, "type": "button", "label": "根据描述生成视频 视频", "initially_disabled": true, "data": {"data-tone": "camera", "data-ui-title": "chat.create.video_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 886, "tag": "button", "id": "composer-music-create", "name": null, "href": null, "type": "button", "label": "根据描述生成音乐 音乐", "initially_disabled": true, "data": {"data-tone": "music", "data-ui-title": "chat.create.music_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 887, "tag": "button", "id": "composer-model3d-create", "name": null, "href": null, "type": "button", "label": "用描述或参考图生成 3D 模型 3D 模型", "initially_disabled": true, "data": {"data-tone": "cube", "data-ui-title": "chat.create.model_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1005, "tag": "a", "id": null, "name": null, "href": "/automations", "type": null, "label": " 全部自动化", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 894, "tag": "a", "id": null, "name": null, "href": "/automations?template=meeting_prep", "type": null, "label": " 会议提醒和准备", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 895, "tag": "a", "id": null, "name": null, "href": "/automations?template=daily_brief", "type": null, "label": " 每日工作简报", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 896, "tag": "a", "id": null, "name": null, "href": "/automations?template=expert_research", "type": null, "label": " 专家团队研究", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 897, "tag": "a", "id": null, "name": null, "href": "/automations?template=advance_goals", "type": null, "label": " 推进目标", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 903, "tag": "a", "id": null, "name": null, "href": "/memory", "type": null, "label": " 记忆", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 904, "tag": "button", "id": "composer-resource-open", "name": null, "href": null, "type": "button", "label": "读取工作区文档或记忆,预览后放入输入框 调取", "initially_disabled": false, "data": {"data-ui-title": "chat.resources.retrieve_help"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 910, "tag": "a", "id": null, "name": null, "href": "/skills", "type": null, "label": "管理技能 技能", "initially_disabled": false, "data": {"data-ui-title": "chat.nav.manage_skills"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 911, "tag": "a", "id": null, "name": null, "href": "/settings#connectors", "type": null, "label": "管理连接器 连接器", "initially_disabled": false, "data": {"data-ui-title": "chat.nav.manage_connectors"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 912, "tag": "a", "id": null, "name": null, "href": "/meetings#new=1", "type": null, "label": " 会议纪要", "initially_disabled": false, "data": {"data-ui-text": "chat.meetings.notes"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 909, "tag": "textarea", "id": "chat-body", "name": "body", "href": null, "type": null, "label": "输入消息", "initially_disabled": false, "data": {"data-ui-label": "chat.compose.placeholder", "data-ui-placeholder": "chat.compose.placeholder"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 913, "tag": "button", "id": "chat-reply-stop", "name": null, "href": null, "type": "button", "label": "停止生成", "initially_disabled": false, "data": {"data-ui-title": "chat.reply.stop", "data-ui-label": "chat.reply.stop"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 914, "tag": "button", "id": "chat-send", "name": null, "href": null, "type": "submit", "label": "发送", "initially_disabled": false, "data": {"data-ui-title": "chat.send", "data-ui-label": "chat.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 924, "tag": "button", "id": "voice-stop", "name": null, "href": null, "type": "button", "label": " 停止录音", "initially_disabled": false, "data": {"data-ui-text": "chat.voice.stop"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 925, "tag": "button", "id": "voice-discard", "name": null, "href": null, "type": "button", "label": " 丢弃录音", "initially_disabled": false, "data": {"data-ui-text": "chat.voice.discard"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 926, "tag": "button", "id": "voice-send", "name": null, "href": null, "type": "button", "label": " 发送语音", "initially_disabled": false, "data": {"data-ui-text": "chat.voice.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 930, "tag": "button", "id": "chat-attachment-open", "name": null, "href": null, "type": "button", "label": "发送文件", "initially_disabled": true, "data": {"data-plus-attach": "any", "data-ui-title": "chat.files.send", "data-ui-label": "chat.files.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 931, "tag": "input", "id": "chat-attachment", "name": null, "href": null, "type": "file", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 932, "tag": "button", "id": "composer-memory-open", "name": null, "href": null, "type": "button", "label": "选择真实记忆内容,检查后附加到输入框 记忆", "initially_disabled": false, "data": {"data-ui-title": "chat.memory.select_attach"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 936, "tag": "button", "id": "chat-format", "name": null, "href": null, "type": "button", "label": "格式:把选中的字加粗 格式", "initially_disabled": false, "data": {"data-ui-title": "chat.format.help"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 940, "tag": "button", "id": "chat-format-bold", "name": null, "href": null, "type": "button", "label": "把选中的字包进 **…** B 加粗", "initially_disabled": false, "data": {"data-ui-title": "chat.format.bold_hint"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 940, "tag": "button", "id": "composer-emoji-open", "name": null, "href": null, "type": "button", "label": "表情和贴纸 表情", "initially_disabled": false, "data": {"data-ui-title": "chat.emoji.picker"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 941, "tag": "button", "id": "chat-prompt-templates", "name": null, "href": null, "type": "button", "label": "提示词模板", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 942, "tag": "button", "id": "voice-record", "name": null, "href": null, "type": "button", "label": "录制语音 录制语音", "initially_disabled": false, "data": {"data-ui-title": "chat.voice.record", "data-ui-label": "chat.voice.record"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 943, "tag": "button", "id": "chat-agent-picker-open", "name": null, "href": null, "type": "button", "label": "请智能体回复 @ 智能体", "initially_disabled": false, "data": {"data-ui-title": "chat.group.ask_agents", "data-ui-label": "chat.group.ask_agents"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 947, "tag": "select", "id": "agent-memory-recall", "name": null, "href": null, "type": null, "label": "记忆检索范围", "initially_disabled": false, "data": {"data-ui-title": "chat.memory.cross_workspace_help", "data-ui-label": "chat.memory.scope"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 954, "tag": "form", "id": "chat-agent-picker-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1111, "tag": "input", "id": "chat-agent-picker-search", "name": null, "href": null, "type": "search", "label": "", "initially_disabled": false, "data": {"data-ui-placeholder": "chat.group.search_reply_targets"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 967, "tag": "button", "id": "chat-agent-picker-cancel", "name": null, "href": null, "type": "button", "label": " 取消", "initially_disabled": false, "data": {"data-ui-text": "chat.cancel"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 968, "tag": "button", "id": "chat-agent-picker-confirm", "name": null, "href": null, "type": "submit", "label": " 确认选择", "initially_disabled": false, "data": {"data-ui-text": "chat.group.use_reply_targets"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 970, "tag": "form", "id": "history-capture-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1040, "tag": "input", "id": "history-capture-query", "name": null, "href": null, "type": "search", "label": "", "initially_disabled": false, "data": {"data-ui-placeholder": "chat.search.by_message_body"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 977, "tag": "button", "id": "history-capture-more", "name": null, "href": null, "type": "button", "label": " 显示更早消息", "initially_disabled": false, "data": {"data-ui-text": "chat.search.show_older"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 983, "tag": "button", "id": "history-capture-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 984, "tag": "button", "id": "history-capture-submit", "name": null, "href": null, "type": "submit", "label": " 提炼所选消息", "initially_disabled": true, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 990, "tag": "button", "id": "chat-prompt-close", "name": null, "href": null, "type": "button", "label": "关闭 ×", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 990, "tag": "form", "id": "chat-prompt-insert-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 994, "tag": "select", "id": "chat-prompt-select", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 996, "tag": "button", "id": "chat-prompt-insert", "name": null, "href": null, "type": "submit", "label": " 插入草稿", "initially_disabled": true, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 996, "tag": "form", "id": "chat-prompt-save-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1000, "tag": "input", "id": "chat-prompt-title", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1002, "tag": "button", "id": "chat-prompt-save", "name": null, "href": null, "type": "submit", "label": " 保存当前草稿为模板", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1009, "tag": "form", "id": "chat-meeting-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1016, "tag": "input", "id": "chat-meeting-input", "name": null, "href": null, "type": "text", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1027, "tag": "input", "id": "chat-meeting-mic", "name": null, "href": null, "type": "checkbox", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1028, "tag": "input", "id": "chat-meeting-camera", "name": null, "href": null, "type": "checkbox", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1027, "tag": "button", "id": "chat-call-start-audio", "name": null, "href": null, "type": "button", "label": " 语音通话", "initially_disabled": false, "data": {"data-ui-text": "chat.call.audio"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1028, "tag": "button", "id": "chat-call-start-video", "name": null, "href": null, "type": "button", "label": " 视频通话", "initially_disabled": false, "data": {"data-ui-text": "chat.call.video"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1031, "tag": "button", "id": "chat-call-mute", "name": null, "href": null, "type": "button", "label": " 静音", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1032, "tag": "button", "id": "chat-call-camera", "name": null, "href": null, "type": "button", "label": " 关闭摄像头", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1033, "tag": "button", "id": "chat-call-play", "name": null, "href": null, "type": "button", "label": " 播放声音", "initially_disabled": false, "data": {"data-ui-text": "chat.call.play_audio"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1042, "tag": "button", "id": "chat-call-record-request", "name": null, "href": null, "type": "button", "label": " 请求录音", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1043, "tag": "button", "id": "chat-call-record-allow", "name": null, "href": null, "type": "button", "label": " 同意录音", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1044, "tag": "button", "id": "chat-call-record-decline", "name": null, "href": null, "type": "button", "label": " 不同意", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1045, "tag": "button", "id": "chat-call-record-stop", "name": null, "href": null, "type": "button", "label": " 停止并保留", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1051, "tag": "input", "id": "chat-meeting-link", "name": null, "href": null, "type": "url", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1052, "tag": "button", "id": "chat-meeting-copy", "name": null, "href": null, "type": "button", "label": " 复制链接", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1056, "tag": "button", "id": "chat-meeting-end", "name": null, "href": null, "type": "button", "label": " 结束会议", "initially_disabled": false, "data": {"data-ui-text": "chat.meetings.end"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1057, "tag": "button", "id": "chat-meeting-hangup", "name": null, "href": null, "type": "button", "label": " 离开会议", "initially_disabled": false, "data": {"data-ui-text": "chat.meetings.leave"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1058, "tag": "button", "id": "chat-call-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1059, "tag": "button", "id": "chat-meeting-notes-copy", "name": null, "href": null, "type": "button", "label": " 复制纪要入口", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1061, "tag": "button", "id": "chat-meeting-notes-without-audio", "name": null, "href": null, "type": "button", "label": " 仅打开纪要", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1062, "tag": "button", "id": "chat-meeting-submit", "name": null, "href": null, "type": "submit", "label": " 加入会议", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1065, "tag": "form", "id": "message-assist-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1180, "tag": "input", "id": "message-assist-instruction", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1252, "tag": "button", "id": "message-assist-submit", "name": null, "href": null, "type": "submit", "label": " 提交处理任务", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1151, "tag": "button", "id": "message-assist-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1069, "tag": "form", "id": "announcement-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1166, "tag": "textarea", "id": "announcement-body", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1244, "tag": "button", "id": "announcement-save", "name": null, "href": null, "type": "submit", "label": " 保存公告", "initially_disabled": false, "data": {"data-ui-text": "chat.group.save_announcement"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1346, "tag": "button", "id": "announcement-clear", "name": null, "href": null, "type": "button", "label": " 清空公告", "initially_disabled": false, "data": {"data-ui-text": "chat.group.clear_announcement"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1116, "tag": "button", "id": "announcement-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1133, "tag": "select", "id": "resource-picker-kind", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1110, "tag": "button", "id": "resource-picker-more", "name": null, "href": null, "type": "button", "label": " 加载更多", "initially_disabled": false, "data": {"data-ui-text": "chat.load_more"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1257, "tag": "button", "id": "resource-picker-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {"data-ui-text": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1083, "tag": "button", "id": "composer-emoji-close", "name": null, "href": null, "type": "button", "label": "关闭 ×", "initially_disabled": false, "data": {"data-ui-title": "chat.close", "data-ui-label": "chat.close"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1086, "tag": "button", "id": "composer-emoji-tab", "name": null, "href": null, "type": "button", "label": " 表情", "initially_disabled": false, "data": {"data-ui-text": "chat.emoji.emoji"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1087, "tag": "button", "id": "composer-sticker-tab", "name": null, "href": null, "type": "button", "label": " 贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.tab"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1100, "tag": "button", "id": "composer-sticker-upload", "name": null, "href": null, "type": "button", "label": " 添加贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.upload"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1101, "tag": "input", "id": "composer-sticker-file", "name": null, "href": null, "type": "file", "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1102, "tag": "button", "id": "composer-sticker-manage", "name": null, "href": null, "type": "button", "label": " 管理", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.manage"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1104, "tag": "button", "id": "composer-sticker-more", "name": null, "href": null, "type": "button", "label": " 加载更多", "initially_disabled": false, "data": {"data-ui-text": "chat.load_more"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1111, "tag": "button", "id": "composer-sticker-preview-close", "name": null, "href": null, "type": "button", "label": " 返回贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.back"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1112, "tag": "button", "id": "composer-sticker-send", "name": null, "href": null, "type": "button", "label": " 发送贴纸", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.send"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1112, "tag": "button", "id": "composer-sticker-retry", "name": null, "href": null, "type": "button", "label": " 重试", "initially_disabled": false, "data": {"data-ui-text": "chat.stickers.retry"}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1114, "tag": "form", "id": "private-thread-form", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1173, "tag": "input", "id": "private-thread-name", "name": null, "href": null, "type": null, "label": "", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1123, "tag": "button", "id": "private-thread-cancel-name", "name": null, "href": null, "type": "button", "label": " 取消", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1124, "tag": "button", "id": "private-thread-save-name", "name": null, "href": null, "type": "submit", "label": " 保存", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1130, "tag": "button", "id": "private-archive-close", "name": null, "href": null, "type": "button", "label": " 关闭", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, + {"source": "flybot_workspace/static/chat/index.html", "line": 1132, "tag": "button", "id": "private-archive-more", "name": null, "href": null, "type": "button", "label": " 加载更多", "initially_disabled": false, "data": {}, "execution_profile": "chat", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, {"source": "flybot_workspace/static/contacts/index.html", "line": 18, "tag": "a", "id": null, "name": null, "href": "#main", "type": null, "label": " 跳到主要内容", "initially_disabled": false, "data": {}, "execution_profile": "contacts", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, {"source": "flybot_workspace/static/contacts/index.html", "line": 22, "tag": "a", "id": null, "name": null, "href": "/", "type": null, "label": "FlyBot", "initially_disabled": false, "data": {}, "execution_profile": "contacts", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, {"source": "flybot_workspace/static/contacts/index.html", "line": 26, "tag": "a", "id": null, "name": null, "href": "/", "type": null, "label": "首页 首页", "initially_disabled": false, "data": {}, "execution_profile": "contacts", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"}, @@ -2382,67 +2382,67 @@ {"source": "flybot_workspace/static/automations/app.mjs", "line": 1554, "construction": "const cancel = document.createElement('button');", "execution_profile": "automations", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/automations/app.mjs", "line": 1573, "construction": "const retry = document.createElement('button');", "execution_profile": "automations", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/automations/app.mjs", "line": 1846, "construction": "const button = document.createElement('button');", "execution_profile": "automations", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 451, "construction": "const link = existing || doc.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 1143, "construction": "const play = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 1525, "construction": "const save = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 1584, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 1714, "construction": "const retry = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 1717, "construction": "const discard = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 2157, "construction": "const remove = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 2328, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 2554, "construction": "const open = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 2566, "construction": "const restore = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 2883, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 2983, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3026, "construction": "const choice = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3182, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3321, "construction": "const configure = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3358, "construction": "const save = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3751, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3814, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3839, "construction": "const pin = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3916, "construction": "const chip = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3927, "construction": "const add = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3937, "construction": "const choice = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 3999, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 4170, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 4202, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 4239, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 4957, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5038, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5288, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5308, "construction": "const file = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5335, "construction": "const edit = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5337, "construction": "const retract = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5377, "construction": "const input = document.createElement('textarea'); input.value = item.body || '';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5379, "construction": "const save = document.createElement('button'); save.type = 'button'; save.textContent = '保存修改';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5387, "construction": "const confirm = document.createElement('button'); confirm.type = 'button'; confirm.textContent = '确认修改';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5388, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = '取消';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5394, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = '取消';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5402, "construction": "const confirm = document.createElement('button'); confirm.type = 'button'; confirm.textContent = '确认撤回';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5403, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = '取消';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5413, "construction": "const reply = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5422, "construction": "const copy = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5431, "construction": "const more = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 5701, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 6354, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 6451, "construction": "const toggle = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 7292, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 7356, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 7725, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 7733, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 8343, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 8689, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 8777, "construction": "const jump = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 9439, "construction": "const confirm = document.createElement('button'); confirm.type = 'button'; confirm.textContent = uiLabel('确认移除', 'Remove agent');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/app.mjs", "line": 9440, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = uiLabel('取消', 'Cancel');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 454, "construction": "const link = existing || doc.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 1179, "construction": "const play = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 1561, "construction": "const save = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 1620, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 1750, "construction": "const retry = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 1753, "construction": "const discard = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 2199, "construction": "const remove = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 2374, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 2603, "construction": "const open = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 2615, "construction": "const restore = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 2932, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3032, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3075, "construction": "const choice = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3231, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3370, "construction": "const configure = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3407, "construction": "const save = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3800, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3863, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3888, "construction": "const pin = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3965, "construction": "const chip = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3976, "construction": "const add = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 3986, "construction": "const choice = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 4048, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 4219, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 4251, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 4288, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5007, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5088, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5341, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5361, "construction": "const file = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5388, "construction": "const edit = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5390, "construction": "const retract = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5430, "construction": "const input = document.createElement('textarea'); input.value = item.body || '';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5432, "construction": "const save = document.createElement('button'); save.type = 'button'; save.textContent = '保存修改';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5440, "construction": "const confirm = document.createElement('button'); confirm.type = 'button'; confirm.textContent = '确认修改';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5441, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = '取消';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5447, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = '取消';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5455, "construction": "const confirm = document.createElement('button'); confirm.type = 'button'; confirm.textContent = '确认撤回';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5456, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = '取消';", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5466, "construction": "const reply = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5475, "construction": "const copy = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5484, "construction": "const more = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 5754, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 6411, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 6508, "construction": "const toggle = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 7349, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 7413, "construction": "const box = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 7782, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 7790, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 8400, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 8746, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 8834, "construction": "const jump = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 9495, "construction": "const confirm = document.createElement('button'); confirm.type = 'button'; confirm.textContent = uiLabel('确认移除', 'Remove agent');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/app.mjs", "line": 9496, "construction": "const cancel = document.createElement('button'); cancel.type = 'button'; cancel.textContent = uiLabel('取消', 'Cancel');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/chat/code-block.mjs", "line": 25, "construction": "const copy = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/chat/files.mjs", "line": 57, "construction": "const link = document.createElement('a');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/chat/files.mjs", "line": 102, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/chat/group-management.mjs", "line": 217, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/mentions.mjs", "line": 111, "construction": "const button = doc.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/mentions.mjs", "line": 269, "construction": "const option = doc.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, - {"source": "flybot_workspace/static/chat/mentions.mjs", "line": 312, "construction": "const box = doc.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/mentions.mjs", "line": 146, "construction": "const button = doc.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/mentions.mjs", "line": 305, "construction": "const option = doc.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, + {"source": "flybot_workspace/static/chat/mentions.mjs", "line": 356, "construction": "const box = doc.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/chat/prompt-templates.mjs", "line": 33, "construction": "const field = document.createElement('input');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/chat/rich-content.mjs", "line": 71, "construction": "const copy = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, {"source": "flybot_workspace/static/chat/rich-preview.mjs", "line": 3, "construction": "const button = document.createElement('button');", "execution_profile": "chat", "verification": "unverified dynamic construction site; conditional instances require execution"}, diff --git a/flybot_workspace/settings_page.py b/flybot_workspace/settings_page.py index 398d2e475..e1710b04d 100644 --- a/flybot_workspace/settings_page.py +++ b/flybot_workspace/settings_page.py @@ -130,6 +130,8 @@ class SettingsPage: '/chat/video-create.mjs': ('chat', 'video-create.mjs', 'text/javascript; charset=utf-8'), '/chat/voice.mjs': ('chat', 'voice.mjs', 'text/javascript; charset=utf-8'), '/chat/mentions.mjs': ('chat', 'mentions.mjs', 'text/javascript; charset=utf-8'), + '/chat/group-identity.mjs': ('chat', 'group-identity.mjs', 'text/javascript; charset=utf-8'), + '/chat/group-mentions-display.mjs': ('chat', 'group-mentions-display.mjs', 'text/javascript; charset=utf-8'), '/chat/dsbot.mjs': ('chat', 'dsbot.mjs', 'text/javascript; charset=utf-8'), '/chat/app.css': ('chat', 'app.css', 'text/css; charset=utf-8'), '/discover': ('discover', 'index.html', 'text/html; charset=utf-8'), diff --git a/flybot_workspace/static/chat/app.css b/flybot_workspace/static/chat/app.css index ed99fe3de..2e47c4bb8 100644 --- a/flybot_workspace/static/chat/app.css +++ b/flybot_workspace/static/chat/app.css @@ -513,7 +513,6 @@ body.app-workspace > #status[data-announce-only="true"] { #group-agent-action { padding: .6rem 1rem; border-bottom: 1px solid var(--ot-line); } #group-agent-action[hidden] { display: none; } #group-agent-action h2 { font-size: .9rem; margin: 0 0 .3rem; } -#group-agent-form { display: flex; align-items: end; gap: .5rem; flex-wrap: wrap; } #group-agent-form label { flex: 1; min-width: 10rem; } #group-agent-form textarea { width: 100%; } #group-agent-requests { max-height: 7rem; overflow: auto; padding-left: 1rem; } @@ -1237,7 +1236,8 @@ body.app-workspace.chat-open > main { border-radius: 0 .875rem .875rem 0; } #group-agent-roster .agent-add button { flex: none; white-space: nowrap; } #group-agent-chips, #group-agent-chips .agent-chip { min-width: 0; max-width: 100%; overflow-wrap: anywhere; } #group-agent-chips .agent-chip button { flex: none; } -#group-agent-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: end; margin-top: .5rem; padding: 0; border: 0; background: transparent; box-shadow: none; } +#group-agent-form { margin-top: .5rem; padding: 0; border: 0; background: transparent; box-shadow: none; } +#group-studio-send { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: end; margin-top: .5rem; } #group-agent-form fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; } #group-agent-form legend { padding: 0; margin-bottom: .25rem; color: var(--ot-muted); font-size: .75rem; font-weight: 500; } #group-agent-form label { display: grid; gap: .25rem; color: var(--ot-muted); font-size: .75rem; } @@ -1249,7 +1249,7 @@ body.app-workspace.chat-open > main { border-radius: 0 .875rem .875rem 0; } #group-agent-choice-status:empty, #group-agent-empty[hidden] { display: none; } #group-agent-form textarea { min-height: 2.5rem; resize: vertical; } #group-agent-form button[type="submit"] { min-height: 2.25rem; border-radius: 999px; } -#group-agent-form #group-studio { grid-column: 1 / -1; margin: 0; padding: 0; min-width: 0; } +#group-agent-form #group-studio { margin: 0; padding: 0; min-width: 0; } #group-studio-toggle { width: fit-content; padding: .35rem .5rem; color: var(--ot-ink); font-size: .8125rem; cursor: pointer; } #group-studio-mark { color: var(--ot-muted); } .group-studio-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; margin: .25rem 0; } @@ -1971,7 +1971,6 @@ html[data-theme-resolved="dark"] .plus-create [data-tone="doc"] .plus-ico { colo .group-roster-glyph { display: grid; flex: none; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: .375rem; background: var(--ot-accent-soft); color: var(--ot-accent-hover); font-size: .75rem; font-weight: 650; } .group-roster-name { min-width: 0; overflow-wrap: anywhere; } #group-agent-form { margin-top: .65rem; padding-top: .6rem; border-top: 1px solid var(--ot-line); } -#group-agent-request-help { margin: 0 0 .5rem; } .group-composer-routing { display: flex; align-items: flex-start; gap: .45rem; margin: 0 .4rem .15rem; padding: .3125rem .5rem; border-radius: .5rem; color: var(--ot-muted); font-size: .75rem; line-height: 1.4; overflow-wrap: anywhere; } .group-composer-routing svg { flex: none; margin-top: .05rem; } .group-composer-routing[data-kind="targeted"] { background: var(--ot-accent-soft); color: var(--ot-ink); } @@ -2421,6 +2420,103 @@ html[data-theme-resolved="dark"] #announcement-save:hover { background: #5943b3; color: var(--ot-ink); } +[data-group-bot-tone="0"] { --group-bot-color: light-dark(#5042a2, #b9acf9); } +[data-group-bot-tone="1"] { --group-bot-color: light-dark(#23558f, #99c3fc); } +[data-group-bot-tone="2"] { --group-bot-color: light-dark(#11635f, #8ce0d5); } +[data-group-bot-tone="3"] { --group-bot-color: light-dark(#24613b, #99daa8); } +[data-group-bot-tone="4"] { --group-bot-color: light-dark(#6f510c, #f1cf77); } +[data-group-bot-tone="5"] { --group-bot-color: light-dark(#8a481c, #f2ae7d); } +[data-group-bot-tone="6"] { --group-bot-color: light-dark(#8f373d, #f2a6ac); } +[data-group-bot-tone="7"] { --group-bot-color: light-dark(#863262, #f0a8d0); } +[data-group-bot-tone="8"] { --group-bot-color: light-dark(#643786, #d1adfa); } +[data-group-bot-tone="9"] { --group-bot-color: light-dark(#24566a, #8bcddf); } +[data-group-bot-tone="10"] { --group-bot-color: light-dark(#303f88, #a6affc); } +[data-group-bot-tone="11"] { --group-bot-color: light-dark(#566019, #d2dc8b); } +[data-group-bot-tone="12"] { --group-bot-color: light-dark(#7c354c, #f1abbc); } +[data-group-bot-tone="13"] { --group-bot-color: light-dark(#694232, #dbb09a); } +[data-group-bot-tone="14"] { --group-bot-color: light-dark(#455569, #afc5db); } +[data-group-bot-tone="15"] { --group-bot-color: light-dark(#72417c, #e0b3ee); } +[data-mention-everyone], [data-group-mention-kind="everyone"] { --group-bot-color: light-dark(#6e3c06, #ffd19a); } + +:is([data-group-bot-tone], [data-mention-everyone], [data-group-mention-kind="everyone"]) { + --group-bot-wash: color-mix(in srgb, var(--group-bot-color, var(--ot-accent)) 12%, var(--ot-surface-2)); + --group-bot-line: color-mix(in srgb, var(--group-bot-color, var(--ot-accent)) 28%, var(--ot-line)); +} +.group-bot-avatar { + --group-bot-avatar-size: 1.65rem; + --look-size: 100%; + display: inline-grid; + place-items: center; + flex: none; + inline-size: var(--group-bot-avatar-size); + block-size: var(--group-bot-avatar-size); + box-sizing: border-box; + overflow: hidden; + border: 1px solid var(--group-bot-line, var(--ot-line)); + border-radius: .45rem; + background: var(--group-bot-wash, var(--ot-accent-soft)); + color: var(--group-bot-color, var(--ot-accent-hover)); + font-size: .66rem; + font-weight: 700; + line-height: 1; +} +.group-bot-avatar[data-group-bot-initials]::before { content: attr(data-group-bot-initials); } +.group-bot-avatar > :is(img, .look-avatar) { + display: block; + inline-size: 100%; + block-size: 100%; + border-radius: inherit; + object-fit: cover; +} +.group-bot-byline { + display: flex; + align-items: center; + gap: .4rem; + min-inline-size: 0; + overflow-wrap: anywhere; + color: var(--group-bot-color, var(--ot-ink)); +} +#main-panel[data-chat-kind="group"] #message-list > li[data-chat-author="agent"][data-group-bot-tone] { + border-inline-start-color: color-mix(in srgb, var(--group-bot-color) 46%, var(--ot-line)); +} +#main-panel[data-chat-kind="group"] #message-list > li[data-chat-author="agent"] > .role.group-bot-byline { + color: var(--group-bot-color, var(--ot-ink)); +} +.group-bot-byline .group-bot-avatar { --group-bot-avatar-size: 1.5rem; order: -1; } +.group-message-mention { + padding: .07em .28em; + border-radius: .32em; + background: var(--group-bot-wash, var(--ot-accent-soft)); + color: var(--group-bot-color, var(--ot-accent-hover)); + font-weight: 650; + box-decoration-break: clone; + -webkit-box-decoration-break: clone; +} +.chat-agent-mention-options > button[data-group-bot-tone] { + display: inline-flex; + align-items: center; + gap: .3rem; + min-inline-size: 0; + max-inline-size: 100%; + text-align: start; +} +.chat-agent-mention-options > button[data-group-bot-tone] > span:last-child { overflow-wrap: anywhere; } +.chat-agent-mention-options .group-bot-avatar { --group-bot-avatar-size: 1.3rem; } +.chat-agent-mention-options > button:is([data-group-bot-tone], [data-mention-everyone]), +.chat-agent-mentions > button[data-group-bot-tone] { + border-color: var(--group-bot-line); + background: var(--group-bot-wash); + color: var(--group-bot-color); +} +.chat-agent-mention-options > button[aria-selected="true"] { + outline: 2px solid var(--group-bot-color, var(--ot-accent-hover)); + outline-offset: -2px; +} +.chat-agent-picker-choice:is([data-group-bot-tone], [data-mention-everyone]) { color: var(--group-bot-color); } +.chat-agent-picker-choice:is([data-group-bot-tone], [data-mention-everyone]) > input { accent-color: var(--group-bot-color); } +.chat-agent-picker-choice[data-mention-everyone] { background: var(--group-bot-wash); font-weight: 650; } +.chat-agent-picker-choice:is([data-group-bot-tone], [data-mention-everyone]) small { font-weight: 450; } + .voice-draft-panel { margin: .375rem .5rem; padding: .625rem; @@ -3627,6 +3723,26 @@ body.app-workspace .mobile-inbox-heading h1 { } /* Keep rich message content inside its bubble on small screens. */ +#message-list .chat-markdown code:not(:where(pre code)) { + padding: .1em .3em; + border-radius: .32em; + background: color-mix(in srgb, var(--ot-ink) 8%, transparent); + color: var(--ot-ink); + font-size: .88em; + overflow-wrap: anywhere; + box-decoration-break: clone; + -webkit-box-decoration-break: clone; +} +#message-list .chat-markdown a { + color: var(--ot-accent-hover); + text-decoration-line: underline; + text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); + text-decoration-thickness: .075em; + text-underline-offset: .2em; + overflow-wrap: anywhere; + word-break: normal; +} +#message-list .chat-markdown a:hover { text-decoration-color: currentColor; } #message-list .chat-markdown :is(.chat-table-block, .chat-markdown-table-scroll, .chat-flowchart, .chat-code-block) { max-width: 100%; min-width: 0; diff --git a/flybot_workspace/static/chat/app.mjs b/flybot_workspace/static/chat/app.mjs index 8437c943b..7ea5b72af 100644 --- a/flybot_workspace/static/chat/app.mjs +++ b/flybot_workspace/static/chat/app.mjs @@ -1,5 +1,7 @@ import { decodeVoice, mountVoiceRecorder } from './voice.mjs'; import { countMentionedGroupMembers, hasEveryoneMention, hasGroupAllMention, mountAgentMentions } from './mentions.mjs'; +import { createGroupBotIdentities, groupBotIdentity, createGroupBotAvatar } from './group-identity.mjs'; +import { groupMentionPainter } from './group-mentions-display.mjs'; import { AGENT_FILE_ACCEPT, chatFileDownload, chatUploadProgress, deferModule, localChatFile, mountChatFiles, ownSocialReceipt, renderChatFile, sendPrivateAttachmentMessage, sendSocialAttachmentMessage, unclearSocialDelivery } from './files.mjs'; import { mountGroupTranslation } from './translation.mjs'; @@ -353,13 +355,14 @@ function mayContainChatMarkdown(text, assistantReply) { /^(?:#{1,6}\s|[ \t]*(?:>|[-+]\s|\d+[.)]\s|-{3,}$))/m.test(text)); } -function appendMessageMarkdown(doc, parent, source, assistantReply, updatePreview) { +function appendMessageMarkdown(doc, parent, source, assistantReply, updatePreview, paintMentions) { const node = doc.createElement('div'); node.textContent = source; parent.append(node); const format = module => { if (!assistantReply && !module.hasExplicitRichContent(source)) return; module.renderChatMarkdown(doc, node, source); + paintMentions?.(node); updatePreview?.(); }; if (richContent) { @@ -422,7 +425,7 @@ function paintStreamingReply(doc, node, source) { }).catch(() => {}).finally(() => { view.loading = null; }); } -function renderMessageBody(doc, node, text, prefs, assistantReply = false, preview) { +function renderMessageBody(doc, node, text, prefs, assistantReply = false, preview, paintMentions) { const source = String(text || ''); const rich = mayContainChatMarkdown(source, assistantReply) && (!richContent || assistantReply || richContent.hasExplicitRichContent(source)); @@ -430,7 +433,7 @@ function renderMessageBody(doc, node, text, prefs, assistantReply = false, previ renderMessageText(doc, node, source, prefs.message_folding, prefs.link_previews, (parent, value, updatePreview) => { const streamed = assistantReply && streamingReplies.get(preview); if (!streamed?.markdown || !value.startsWith(streamed.source.trimEnd())) { - appendMessageMarkdown(doc, parent, value, assistantReply, updatePreview); + appendMessageMarkdown(doc, parent, value, assistantReply, updatePreview, paintMentions); return; } richContent.renderStreamingMarkdown(doc, streamed.markdown, value, {complete:true}); @@ -457,6 +460,7 @@ function renderMessageBody(doc, node, text, prefs, assistantReply = false, previ link.title = ''; if (!existing) node.append(link); } + paintMentions?.(node); return rich || node.children[0]?.tagName === 'DETAILS'; } @@ -628,35 +632,39 @@ export function chatIdentity(name) { return {title, initial: placeholder ? '' : initial(title), showAvatar: !placeholder}; } -export function applyChatAvatarStack(document, conversation) { +export function applyChatAvatarStack(document, conversation, identities) { const stack = document.getElementById('chat-avatar-stack'); const avatar = document.getElementById('chat-avatar'); if (!stack) return false; stack.replaceChildren(); const faces = []; for (const member of (conversation && conversation.members) || []) { - faces.push(member.username || member.name || ''); + faces.push({name:member.username || member.name}); } for (const agent of (conversation && conversation.agent_members) || []) { - faces.push(agent.name || ''); + faces.push({name:agent.name,agent}); } - const names = faces.filter(Boolean).slice(0, 4); + const names = faces.filter(({name}) => name).slice(0, 4); const grouped = Boolean(conversation && conversation.kind === 'group' && names.length); stack.hidden = !grouped; if (grouped) { if (avatar) avatar.hidden = true; - for (const name of names) { - const face = document.createElement('span'); - face.className = 'avatar stack-face'; - face.textContent = initial(name); - if (face.dataset) face.dataset.tone = avatarTone(name); + for (const {name, agent} of names) { + const bot = createGroupBotAvatar(groupBotIdentity(identities, agent), document); + const face = bot || document.createElement('span'); + if (bot) face.classList.add('avatar', 'stack-face'); + else { + face.className = 'avatar stack-face'; + face.textContent = initial(name); + if (face.dataset) face.dataset.tone = avatarTone(name); + } stack.appendChild(face); } } return grouped; } -export function applyChatIdentity(document, name, conversation, look) { +export function applyChatIdentity(document, name, conversation, look, identities) { const identity = chatIdentity(name); const title = document.getElementById('chat-title'); const avatar = document.getElementById('chat-avatar'); @@ -676,7 +684,7 @@ export function applyChatIdentity(document, name, conversation, look) { if (avatar.dataset) avatar.dataset.tone = avatarTone(identity.title); } } - const stacked = applyChatAvatarStack(document, conversation); + const stacked = applyChatAvatarStack(document, conversation, identities); if (stacked && avatar) avatar.hidden = true; if (!stacked && avatar && (identity.showAvatar || canRenderLook)) avatar.hidden = false; return identity; @@ -972,6 +980,33 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = let currentUser = null; let workspaces = []; let agents = []; + const groupAppearances = new WeakMap(); + + function groupAppearance(conversation = currentConversation) { + if (conversation?.kind !== 'group') return {}; + const cached = groupAppearances.get(conversation); + const {agent_members:roster, members:people} = conversation; + if (cached && cached.roster === roster && cached.people === people && cached.catalogue === agents && cached.look === personalLook) return cached; + const profiles = new Map(agents.map(agent => [agent.id,agent])); + const active = (roster || []).map(agent => { + const profile = agent.mine === true && profiles.get(agent.id); + if (!profile) return agent; + const look = agent.id === personalAgentId ? personalLook : undefined; + return {...agent, portrait:profile.portrait, avatar:profile.avatar, look}; + }); + const identities = createGroupBotIdentities(active); + const appearance = {roster,people,catalogue:agents,look:personalLook,identities,paint:groupMentionPainter(active, people, identities)}; + groupAppearances.set(conversation, appearance); + return appearance; + } + + function decorateBotByline(row, node, bot, identities) { + const identity = groupBotIdentity(identities, bot); + if (!identity) { delete row.dataset.groupBotTone; return; } + node.classList.add('group-bot-byline'); + row.dataset.groupBotTone = node.dataset.groupBotTone = identity.tone; + node.append(createGroupBotAvatar(identity, document)); + } let members = []; let socialConversations = []; let sessions = []; @@ -1086,7 +1121,8 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = if (!currentUser || currentSource !== 'social' || !currentConversation || currentConversation.public_agent || (currentConversation.kind !== 'group' && !direct)) return null; return {scope:sendScope(), agents:currentConversation.agent_members || [], - members:currentConversation.members || [], viewerId:currentUser.id, direct}; + members:currentConversation.members || [], viewerId:currentUser.id, direct, + botIdentities:groupAppearance().identities}; }, (targets, stale) => { groupMentions = {scope:sendScope(), targets, stale}; renderGroupComposerRouting(); @@ -2128,8 +2164,9 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = const button = document.getElementById('group-agent-submit'); const busy = groupReplyBusy.has(scope); const draft = groupReplyDraft(scope); - const pendingReview = groupStudio?.scope === scope && (groupStudio.preview || (draft.studioDocumentId && !draft.studioReference)); - button.disabled = busy || Boolean(pendingReview) || !document.getElementById('group-agent-choices').querySelector('input:not(:disabled)'); + const canSendReference = groupStudio?.scope === scope && !groupStudio.preview && Boolean(draft.studioReference); + groupStudioNode('send').hidden = !canSendReference; + button.disabled = busy || !canSendReference || !document.getElementById('group-agent-choices').querySelector('input:not(:disabled)'); const label = button.firstElementChild || button; label.textContent = busy ? uiLabel('发送中…', 'Sending…') : uiLabel('发送并请求回复', 'Send and request a reply'); } @@ -2141,14 +2178,19 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = function renderAgentRoster(saved, {direct, paired}) { const chips = document.getElementById('group-agent-chips'); + const {identities} = groupAppearance(); chips.replaceChildren(); for (const agent of saved) { const li = document.createElement('li'); li.className = 'agent-chip'; - const glyph = document.createElement('span'); - glyph.className = 'group-roster-glyph'; - glyph.setAttribute('aria-hidden', 'true'); - glyph.textContent = leadGlyph(agent.name); + const identity = groupBotIdentity(identities, agent); + const glyph = createGroupBotAvatar(identity, document) || document.createElement('span'); + if (identity) li.dataset.groupBotTone = identity.tone; + else { + glyph.className = 'group-roster-glyph'; + glyph.setAttribute('aria-hidden', 'true'); + glyph.textContent = leadGlyph(agent.name); + } const name = document.createElement('span'); const fullName = paired ? groupAgentName(agent.name, groupAgentOwnerLabel(agent), agent.owner_id, agent.mine === false ? agent.owner_handle : '') : agent.name; @@ -2267,11 +2309,11 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = const label = direct ? uiLabel('私聊智能体', 'Chat agents') : uiLabel('群内智能体', 'Group agents'); document.getElementById('conversation-agents-text').textContent = label; document.getElementById('conversation-agents-heading').textContent = label; - document.getElementById('group-agent-request-help').hidden = direct; document.getElementById('direct-agent-help').hidden = !direct; - document.getElementById('group-agent-form').hidden = direct; + const studioGroup = namedTeamGroup(); + document.getElementById('group-agent-form').hidden = !studioGroup; const list = document.getElementById('group-agent-requests'); - list.hidden = direct; + list.hidden = !studioGroup; const saved = currentConversation.agent_members || []; renderGroupRosterSummary(saved, {direct}); const paired = direct || currentConversation.group_agent_requests === true; @@ -2283,6 +2325,10 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = } directAgentStatus(''); renderAgentAddition(agents, saved); + if (!studioGroup) { + setGroupStudio(); + return; + } const choices = new Map(); const ownKeys = new Map(); for (const agent of saved) { @@ -2361,13 +2407,14 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = item.dataset.replyStatus = request.status; list.append(item); } - setGroupStudio(namedTeamGroup() ? scope : ''); + setGroupStudio(scope); syncGroupReplySubmit(scope); } function renderGroupRosterSummary(saved, {direct}) { const count = document.getElementById('conversation-agents-count'); const preview = document.getElementById('conversation-agents-preview'); + const {identities} = groupAppearance(); const help = document.getElementById('social-agent-members'); const available = saved.filter(agent => !agent.archived); count.hidden = false; @@ -2376,6 +2423,8 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = const chip = document.createElement('span'); chip.className = 'group-roster-preview-chip'; chip.textContent = agent.name; + const identity = groupBotIdentity(identities, agent); + if (identity) chip.dataset.groupBotTone = identity.tone; return chip; }); if (available.length > previews.length) { @@ -3283,15 +3332,15 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = }; } - function transcriptMessageBody(previous, text, assistantReply = false, preview) { + function transcriptMessageBody(previous, text, assistantReply = false, preview, paintMentions) { const rendered = interactiveMessageBodies.get(previous); const language = document.documentElement?.lang; if (rendered && rendered.text === text && rendered.assistantReply === assistantReply && - rendered.prefs === chatPreferences && rendered.language === language) return previous; + rendered.prefs === chatPreferences && rendered.language === language && rendered.paintMentions === paintMentions) return previous; const body = document.createElement('div'); - if (renderMessageBody(document, body, text, chatPreferences, assistantReply, preview)) { - interactiveMessageBodies.set(body, {text, assistantReply, prefs:chatPreferences, language}); + if (renderMessageBody(document, body, text, chatPreferences, assistantReply, preview, paintMentions)) { + interactiveMessageBodies.set(body, {text, assistantReply, prefs:chatPreferences, language, paintMentions}); } return body; } @@ -4938,6 +4987,7 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = const role = document.createElement('p'); role.className = 'role'; role.textContent = groupReplyAuthor(job); + decorateBotByline(row,role,job,groupAppearance().identities); const note = document.createElement('div'); note.className = 'group-reply-state'; note.setAttribute('role', 'status'); @@ -5226,6 +5276,7 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = groupReplyViews.clear(); document.getElementById('chat-empty').hidden = (items || []).length > 0; const people = currentConversation && currentConversation.members || members; + const {identities,paint} = groupAppearance(); const pendingKeys = pendingMessageKeys(); const unread = socialHistory?.unread; let needsDivider = Boolean(unread?.firstId); @@ -5259,7 +5310,8 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = role.className = mine && item.role !== 'agent' && !item.forwarded_from ? 'role visually-hidden' : 'role'; role.textContent = socialMessageAuthor(item, people); const body = transcriptMessageBody(bodyViews.bodies.get(item.id), item.retracted ? '此消息已撤回' : (item.body || ''), - servedByDsbot && item.role === 'agent' && !item.retracted, previousGroupViews.get(groupReplyID)?.preview); + servedByDsbot && item.role === 'agent' && !item.retracted, previousGroupViews.get(groupReplyID)?.preview, + item.retracted ? undefined : paint); body.className = 'body'; body.hidden = item.attachment?.bytes !== undefined && item.body === item.attachment.title; if (item.forwarded_from && !item.retracted) { @@ -5273,8 +5325,9 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = const time = document.createElement('p'); time.className = 'time'; time.textContent = formatTime(item.created); + if (item.role === 'agent') decorateBotByline(li,role,item,identities); li.append(role); - if (!item.retracted && item.reply_preview) { + if (item.role !== 'agent' && !item.retracted && item.reply_preview) { const original = editedSources.get(item.reply_preview.message_id); const reply = original?.retracted ? {message_id:original.id, available:false} : original && item.reply_preview.available ? {...item.reply_preview, excerpt:original.body.replace(/\s+/g, ' ').trim().slice(0,120)} @@ -5932,14 +5985,17 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = workspaceEvents?.start(id); } - function memberRow(name, note, kind) { + function memberRow(name, note, kind, identity) { const row = document.createElement('li'); row.className = 'group-info-member'; row.dataset.kind = kind; - const avatar = document.createElement('span'); - avatar.className = 'group-info-member-avatar'; - avatar.setAttribute('aria-hidden', 'true'); - avatar.textContent = kind === 'empty' ? '+' : leadGlyph(name); + const avatar = createGroupBotAvatar(identity, document) || document.createElement('span'); + if (identity) row.dataset.groupBotTone = identity.tone; + else { + avatar.className = 'group-info-member-avatar'; + avatar.setAttribute('aria-hidden', 'true'); + avatar.textContent = kind === 'empty' ? '+' : leadGlyph(name); + } const text = document.createElement('span'); const strong = document.createElement('strong'); strong.textContent = name; @@ -5990,7 +6046,8 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = renderSessions(); if (!groupMatches(target) || currentConversation.group_management.revision > revision) return; Object.assign(currentConversation, fields); - applyChatIdentity(document, conversationLabel(currentConversation,currentUser.id), currentConversation); + applyChatIdentity(document, conversationLabel(currentConversation,currentUser.id), currentConversation, + undefined, groupAppearance().identities); setChatSubtitle(groupHeaderSubtitle(currentConversation)); setGroupInfo(currentConversation); renderGroupRosterSummary(currentConversation.agent_members || [], {direct:false}); @@ -6415,7 +6472,7 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = } currentConversation = result.body.conversation; const title = conversationLabel(currentConversation, currentUser?.id); - applyChatIdentity(document, title, currentConversation); + applyChatIdentity(document, title, currentConversation, undefined, groupAppearance().identities); setChatSubtitle(groupHeaderSubtitle(currentConversation)); setGroupInfo(currentConversation); renderGroupRosterSummary(currentConversation.agent_members || [], {direct:false}); @@ -6444,7 +6501,7 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = if (agent.archived) note = uiLabel('已归档', 'Archived'); else if (agent.native_deleted) note = uiLabel('已不可用', 'Unavailable'); else if (canAutoReply) note = agent.auto_reply ? '自动回复已开启' : '自动回复已关闭'; - const row = memberRow(name, note, 'agent'); + const row = memberRow(name, note, 'agent', groupBotIdentity(groupAppearance(conversation).identities, agent)); if (!agent.mine || !canAutoReply) return row; const wid = workspaceId(); const key = `${wid}/${conversation.id}/${agent.id}`; @@ -6936,7 +6993,7 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = setSessionsOpen(false); syncMuteButton(currentConversation); applyChatIdentity(document, conversationLabel( - currentConversation, currentUser && currentUser.id), currentConversation); + currentConversation, currentUser && currentUser.id), currentConversation, undefined, groupAppearance().identities); setDirectoryLink({source: 'social', public_agent: currentConversation.public_agent}); if (!link) writeHash({workspace: wid, social: conversationId}); if (selecting && (!lastSocialItems.length || lastSocialItems[0].conversation_id !== conversationId)) { @@ -9284,8 +9341,7 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = }); document.getElementById('group-agent-form').addEventListener('submit', async event => { event.preventDefault(); - if (currentSource !== 'social' || currentConversation?.kind !== 'group' - || currentConversation.public_agent) return; + if (!namedTeamGroup()) return; const cid = currentConversation.id; const scope = sendScope(); if (groupReplyBusy.has(scope) || groupReplyFormScope !== scope) return; @@ -9305,8 +9361,8 @@ export function mount(document, {fetcher = globalThis.fetch.bind(globalThis)} = choiceStatus.textContent = ''; rememberGroupReplyDraft(); const draft = groupReplyDraft(scope); - const studioReference = namedTeamGroup() ? draft.studioReference : null; - if (draft.studioDocumentId && (!studioReference || groupStudio?.preview)) return; + const studioReference = draft.studioReference; + if (!studioReference || groupStudio?.preview) return; const targets = agentKeys.map(groupAgentTarget); const paired = currentConversation.group_agent_requests === true; if (paired && !targets.every(target => target.owner_id)) return; diff --git a/flybot_workspace/static/chat/group-identity.mjs b/flybot_workspace/static/chat/group-identity.mjs new file mode 100644 index 000000000..d4537f270 --- /dev/null +++ b/flybot_workspace/static/chat/group-identity.mjs @@ -0,0 +1,111 @@ +import { AGENT_PORTRAITS, LOOK_OPTIONS, agentPortraitLook, createLookAvatar, validLook } from '../look/app.mjs'; + +const TONE_COUNT = 16; +const OWNER_ID = /^[A-Za-z0-9._-]{1,80}$/; +const BOT_ID = /^[A-Za-z0-9._:-]{1,80}$/; +const RASTER_AVATAR = /^data:image\/(?:png|jpeg|webp|gif);base64,[A-Za-z0-9+/]+={0,2}$/; +const PORTRAITS = new Set(AGENT_PORTRAITS.map(({id}) => id)); +const botId = target => target?.agent_id || target?.agent_ref || target?.id || ''; +const ownerId = target => target?.owner_id || target?.agent_owner_id || ''; + +export function groupBotKey(target) { + const owner = ownerId(target); + const bot = botId(target); + return typeof owner === 'string' && OWNER_ID.test(owner) && typeof bot === 'string' && BOT_ID.test(bot) + ? `${owner}/${bot}` : ''; +} + +function firstTone(key) { + let hash = 2166136261; + for (const char of key) hash = Math.imul(hash ^ char.codePointAt(0), 16777619); + return (hash >>> 0) % TONE_COUNT; +} + +function botInitials(name) { + const words = (typeof name === 'string' ? name.normalize('NFC') : '').match(/[\p{L}\p{N}][\p{L}\p{N}\p{M}]*/gu); + if (!words?.length) return '◆'; + if (words.length === 1 && /^[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]{2}/u.test(words[0])) { + return [...words[0]].slice(0, 2).join(''); + } + return words.slice(0, 2).map(word => word.match(/^.\p{M}*/u)[0]).join('').toUpperCase(); +} + +function profileImage(agent) { + return [agent.avatar?.image, agent.portraitUrl].find(value => typeof value === 'string' + && value.length <= 164_000 && RASTER_AVATAR.test(value)) || null; +} + +function botLook(agent, name, tone) { + if (PORTRAITS.has(agent.portrait) || validLook(agent.look)) return agentPortraitLook(botId(agent), agent.portrait, agent.look); + if (typeof name !== 'string' || !name.trim()) return null; + const preset = AGENT_PORTRAITS[tone % AGENT_PORTRAITS.length]; + const look = agentPortraitLook(botId(agent), preset.id); + const headwear = LOOK_OPTIONS.headwear; + const variant = Math.floor(tone / AGENT_PORTRAITS.length); + return {...look, headwear:headwear[(headwear.indexOf(look.headwear) + variant) % headwear.length]}; +} + +export function createGroupBotIdentities(agents) { + const roster = new Map(); + for (const agent of agents || []) { + const key = groupBotKey(agent); + if (key && !roster.has(key)) roster.set(key, agent); + } + const identities = new Map(); + const taken = new Set(); + // Allocate on sorted IDs so message timing and roster display order cannot change the colors. + for (const key of [...roster.keys()].sort()) { + const agent = roster.get(key); + let tone = firstTone(key); + if (taken.size < TONE_COUNT) { + while (taken.has(tone)) tone = (tone + 1) % TONE_COUNT; + taken.add(tone); + } + const name = agent.name || agent.agent_name; + identities.set(key, {key, id:botId(agent), tone:String(tone), initials:botInitials(name), + image:profileImage(agent), look:botLook(agent, name, tone)}); + } + return identities; +} + +export function groupBotIdentity(identities, target) { + if (!identities || !target) return null; + const key = groupBotKey(target); + if (ownerId(target)) return key ? identities.get(key) ?? null : null; + // Older messages omit the owner. Resolve only when the Bot ID is unique in the roster. + const id = botId(target); + if (typeof id !== 'string' || !BOT_ID.test(id)) return null; + let identity = null; + for (const candidate of identities.values()) { + if (candidate.id !== id) continue; + if (identity) return null; + identity = candidate; + } + return identity; +} + +export function createGroupBotAvatar(identity, document) { + if (!identity || !document) return null; + const avatar = document.createElement('span'); + avatar.className = 'group-bot-avatar'; + avatar.dataset.groupBotTone = identity.tone; + avatar.setAttribute('aria-hidden', 'true'); + const showFallback = () => { + const look = createLookAvatar(identity.look, document); + if (look) avatar.replaceChildren(look); + else { + avatar.replaceChildren(); + avatar.dataset.groupBotInitials = identity.initials; + } + }; + if (!identity.image) showFallback(); + else { + const photo = document.createElement('img'); + photo.alt = ''; + photo.decoding = 'async'; + photo.addEventListener('error', showFallback, {once:true}); + photo.src = identity.image; + avatar.append(photo); + } + return avatar; +} diff --git a/flybot_workspace/static/chat/group-mentions-display.mjs b/flybot_workspace/static/chat/group-mentions-display.mjs new file mode 100644 index 000000000..e0c633164 --- /dev/null +++ b/flybot_workspace/static/chat/group-mentions-display.mjs @@ -0,0 +1,56 @@ +import {groupBotIdentity} from './group-identity.mjs'; + +const all = ['所有智能体', '所有人', '全体', 'everyone', 'all']; +const literal = /(?:```|~~~)[\s\S]*?(?:(?:```|~~~)|$)|`[^`\n]*`|\[[^\]\n]*\]\([^\n)]*\)|https?:\/\/[^\s<>"']+/gu; +const escape = value => value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); + +export function groupMentionPainter(agents, members, identities) { + const names = new Map(); + for (const agent of agents || []) { + if (!agent.name || agent.archived || agent.name.length > 80) continue; + const key = agent.name.toLowerCase(); + const identity = groupBotIdentity(identities, agent); + names.set(key, names.has(key) ? null : identity); + } + for (const member of members || []) { + if (member.handle) names.set(member.handle.toLowerCase(), null); + } + for (const name of all) names.set(name, null); + const labels = [...names.keys()].sort((a,b) => b.length - a.length).map(escape).join('|'); + const pattern = new RegExp( + `(^|[\\s((\\[,。!?、,::;;])[@@](${labels})(?=$|[\\s))\\],。!?、,::;;!?]|\\.(?=$|\\s))`, 'giu'); + + return function paint(root) { + const doc = root.ownerDocument; + if (!doc?.createTreeWalker || !root.textContent.includes('@') && !root.textContent.includes('@')) return; + const walker = doc.createTreeWalker(root, 4); + const changes = []; + for (let node = walker.nextNode(); node; node = walker.nextNode()) { + if (node.parentElement?.closest('a, code, pre, button, summary, textarea, .group-message-mention')) continue; + const value = node.nodeValue; + const searchable = value.replace(literal, match => ' '.repeat(match.length)); + const matches = [...searchable.matchAll(pattern)]; + if (matches.length) changes.push({node,value,matches}); + } + for (const {node,value,matches} of changes) { + const fragment = doc.createDocumentFragment(); + let cursor = 0; + for (const match of matches) { + const start = match.index + match[1].length; + const end = match.index + match[0].length; + if (start > cursor) fragment.append(value.slice(cursor, start)); + const span = doc.createElement('span'); + span.className = 'group-message-mention'; + span.textContent = value.slice(start, end); + const name = match[2].toLowerCase(); + const identity = names.get(name); + if (identity) span.dataset.groupBotTone = identity.tone; + else if (all.includes(name)) span.dataset.groupMentionKind = 'everyone'; + fragment.append(span); + cursor = end; + } + fragment.append(value.slice(cursor)); + node.replaceWith(fragment); + } + }; +} diff --git a/flybot_workspace/static/chat/index.html b/flybot_workspace/static/chat/index.html index ad11d5a38..a8876c0cc 100644 --- a/flybot_workspace/static/chat/index.html +++ b/flybot_workspace/static/chat/index.html @@ -754,14 +754,7 @@