Repository navigation
fix(vision-workshop): one-line classroom entry for Studio 1.7 (1.5.15) - #5
Merged
Merged
Conversation
RDK Studio 1.7.0 mounts user-configured MCP servers in a new conversation only when a user message references one of their tools, so a plain "开启视觉 Workshop" left the assistant probing devices and it never reached vision_course_view. - Both skills open with the classroom entry. When the course search tool is not mounted this turn, the assistant asks a one-click question whose option carries the entry tool reference instead of searching tools or probing devices. - vision_course_view returns a browser link by default; openInStudio is opt-in because studio_open_url rewrites loopback to the board address. - The documented opening instruction is a single line.
2 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
mcp__<服务>__<工具>引用;mcp__*__search每次调用需在安全确认卡上确认;studio_open_url在会话绑定板卡时把127.0.0.1改写成板卡 IP。此前说「开启视觉 Workshop」会让助手转去探测设备,最终开不了课。vision_course_view;本轮没有mcp__rdk-vision-workshop__search时不再tool_search/plugin_list/device_list_all,而是用ask_user_question给出一键选项(选项文案含入口工具引用,学员提交后下一轮即挂载课程服务)。vision_course_view新增presentation,默认browser,只回本机浏览器链接;学员明确要求右侧工作台时才传studio。新增--classroom-link命令行入口。开启视觉 Workshop:mcp__rdk-vision-workshop__vision_course_view。studio.zip(98 个文件,1801745 字节,SHA-256e1f4ddb3…,Node 24.22.1 构建)。证据
真实 RDK Studio 1.7.0,导入本包后的新对话(内嵌 API,安全确认由脚本代为点击):
load_skill→ask_user_questionsearch(1 次确认)→vision_course_viewload_skill→ask_user_questionsearch(1 次确认)→vision_course_view验证
serverInfo/vision_plugin_version/plugin.json三方版本一致,16 个课程工具,权限与注解一致)残余风险
search的安全确认卡由宿主策略决定,插件侧无法去掉;右侧工作台在绑定板卡的对话里仍会打不开,所以默认改为回浏览器链接。