Repository navigation
Multi-Agent Studio v1.7.5.8.4
Multi-Agent Studio v1.7.5.8.4
中文
浏览器工具默认不再返回页面地址 · 敏感占位符保护(默认关闭的备用代码)
变更(Changed)
- 浏览器工具返回内容默认不再携带 url(BID088,新增「进阶设置」开关):主界面「设置 → 进阶设置 → 浏览器接管」新增「浏览器工具返回内容携带url」开关,默认关闭。关闭时,除专门返回「tab → url 映射表」的工具(
tool_40_return_urls_of_opened_tags)外,其余工具的返回内容都不带页面地址:- 全量返回(获取视窗全貌 / 切换标签页 / 返回 / 导航)的首行从
[document] url=… title=…变为[document] title=…(标题为空时只输出[document]); - 增量返回里地址变化时的提示从
[增量] url 已变为 …变为[增量] 页面地址已变化(仍然保留「地址变过」这个事实,但不点名任何工具,避免诱导 LLM 去查地址); tool_40_return_urls_of_opened_tags不受影响,仍返回完整的 title→url 映射。
动机:页面地址常带一长串没有语义的随机字符(推广 / 追踪参数),既挤占上下文又干扰推理。地址现在在产生处就不拼接,而不是事后再用正则删——既不会漏匹配,也不会误伤网页正文里本来就有的链接文本。需要地址时把开关打开即可恢复旧输出(与旧版本逐字节一致)。
- 全量返回(获取视窗全貌 / 切换标签页 / 返回 / 导航)的首行从
内部(Internal)
- 敏感替换列表占位符
<名称>的整合层保护(BID087):新增一个默认关闭的代码开关prefs.SENSITIVE_PLACEHOLDER_GUARD。当前管线的顺序是「先整合、后隐私遮蔽」,遮蔽生成的<名称>不会再经过整合层的符号转义,因此默认关闭既不改变任何输出,也不产生额外开销;代码仅作备用(将来若调整这两层的顺序,可直接打开)。
浏览器工具的这次行为变化默认生效:升级后若希望继续在返回内容里看到页面地址,请在「设置 → 进阶设置 → 浏览器接管」打开「浏览器工具返回内容携带url」。无需重启,保存后下一次工具调用即生效。
English
Browser tools stop returning page URLs by default · Sensitive-placeholder guard (off-by-default spare code)
Changed
- Browser tool output no longer carries the page URL by default (BID088, new Advanced Settings toggle): Advanced Settings → Browser takeover now has an "Include URLs in browser tool output" switch, off by default. When off, every tool except the dedicated "tab → URL map" tool (
tool_40_return_urls_of_opened_tags) returns no page address:- the first line of a full return (full viewport / switch tab / back / navigate) becomes
[document] title=…instead of[document] url=… title=…(just[document]when the title is empty); - the incremental notice for an address change becomes
[增量] 页面地址已变化instead of[增量] url 已变为 …(it still states the fact, but names no tool, so the LLM is not nudged into looking the address up); tool_40_return_urls_of_opened_tagsis unaffected and still returns the full title→url map.
Rationale: page URLs often carry a long run of meaningless random characters (campaign / tracking parameters) that burn context and distract reasoning. The URL is now omitted where it is produced, not stripped by a regex afterwards — nothing can slip through, and URLs that legitimately appear in page text are untouched. Turn the switch on to restore the previous output byte-for-byte.
- the first line of a full return (full viewport / switch tab / back / navigate) becomes
Internal
- Sensitive-placeholder protection in the merge layer (BID087): a new off-by-default code switch
prefs.SENSITIVE_PLACEHOLDER_GUARD. The current pipeline merges first and masks afterwards, so masked<名称>placeholders never reach the merge-layer escaping; keeping it off changes no output and costs nothing. The code is a spare in case those two layers are ever reordered.
This behaviour change is on by default: after upgrading, enable "Include URLs in browser tool output" in Advanced Settings if you want page addresses back. No restart needed — the setting applies to the next tool call once saved.