mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
feat(record): add popup quick-actions launcher and make record --url optional
Add a popup launcher + action-recording panel that builds a copyable `bsk record start` prompt, add `--browser` targeting, and default `--url` to https://example.com/ when omitted. Drop the popup browser-alias field.
This commit is contained in:
@@ -25,9 +25,10 @@
|
||||
"connectionToggleTitle": "BrowserSkill connection",
|
||||
"versionSkewWarning": "Extension protocol v{{extensionProtocol}}, daemon v{{daemonProtocol}}.",
|
||||
"upgradeAvailable": "Upgradable",
|
||||
"labelTitle": "Browser alias",
|
||||
"labelDescription": "Distinguish multiple browser instances.",
|
||||
"labelPlaceholder": "e.g. Personal Chrome",
|
||||
"launcher": {
|
||||
"title": "Quick actions"
|
||||
},
|
||||
"back": "Back",
|
||||
"runtimeTitle": "Runtime",
|
||||
"daemonVersion": "daemon v{{version}}",
|
||||
"extensionVersion": "extension v{{version}}",
|
||||
@@ -40,7 +41,20 @@
|
||||
"instanceDescription": "Unique connection identifier for this browser",
|
||||
"copy": "Copy",
|
||||
"copied": "Copied",
|
||||
"copyInstanceId": "Copy instance ID"
|
||||
"copyInstanceId": "Copy instance ID",
|
||||
"record": {
|
||||
"sectionTitle": "Action recording",
|
||||
"cardDesc": "Record your actions for Agent reference",
|
||||
"sectionHint": "Generates a recording instruction — send it to your Agent to start recording your actions; the Agent can then use the recording to automate similar tasks.",
|
||||
"topicLabel": "Topic (optional)",
|
||||
"topicPlaceholder": "e.g. Publish an article",
|
||||
"startUrlLabel": "Starting URL (optional)",
|
||||
"startUrlPlaceholder": "https://…",
|
||||
"copyButton": "Copy recording instructions",
|
||||
"copied": "Copied",
|
||||
"hintDisconnected": "Available when connected",
|
||||
"promptTemplate": "Use BrowserSkill's `bsk` CLI to record the browser actions I'm about to demonstrate.\n\nSteps:\n1. Run: {{command}}\n2. Once you confirm it's started, I'll operate in the opened window myself.\n3. After I click Finish, read the returned trace.json and summarize the actions (pages + steps); don't re-run or \"verify\"."
|
||||
}
|
||||
},
|
||||
"controlOverlay": {
|
||||
"status": "Agent controlling",
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
"connectionToggleTitle": "BrowserSkill 连接",
|
||||
"versionSkewWarning": "扩展协议 v{{extensionProtocol}},daemon 协议 v{{daemonProtocol}}。",
|
||||
"upgradeAvailable": "可升级",
|
||||
"labelTitle": "浏览器别名",
|
||||
"labelDescription": "用于区分多个浏览器实例。",
|
||||
"labelPlaceholder": "例如:个人 Chrome",
|
||||
"launcher": {
|
||||
"title": "快捷功能"
|
||||
},
|
||||
"back": "返回",
|
||||
"runtimeTitle": "运行版本",
|
||||
"daemonVersion": "daemon v{{version}}",
|
||||
"extensionVersion": "扩展 v{{version}}",
|
||||
@@ -40,7 +41,20 @@
|
||||
"instanceDescription": "本浏览器的唯一连接标识",
|
||||
"copy": "复制",
|
||||
"copied": "已复制",
|
||||
"copyInstanceId": "复制实例 ID"
|
||||
"copyInstanceId": "复制实例 ID",
|
||||
"record": {
|
||||
"sectionTitle": "操作录制",
|
||||
"cardDesc": "录制你的操作,供 Agent 参考",
|
||||
"sectionHint": "生成一段录制指令,发给 Agent 后可以启动插件录制用户操作,之后 Agent 可以参考录制结果自动完成同类任务。",
|
||||
"topicLabel": "操作主题(可选)",
|
||||
"topicPlaceholder": "例如:发布一篇文章",
|
||||
"startUrlLabel": "起始网址(可选)",
|
||||
"startUrlPlaceholder": "https://…",
|
||||
"copyButton": "复制录制指令",
|
||||
"copied": "已复制",
|
||||
"hintDisconnected": "连接后可用",
|
||||
"promptTemplate": "用 BrowserSkill 的 `bsk` CLI 录制我接下来的浏览器操作。\n\n步骤:\n1. 执行:{{command}}\n2. 你确认已开始后,我会在打开的窗口里自己操作。\n3. 我点“结束”后,读取返回的 trace.json 并总结操作(pages + steps),不要重跑或“验证”。"
|
||||
}
|
||||
},
|
||||
"controlOverlay": {
|
||||
"status": "Agent 正在控制",
|
||||
|
||||
Reference in New Issue
Block a user