fix(sessions): clarify cross-agent visibility guidance (#90489) · openclaw/openclaw@de60f42
sahibzada-al
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -278,7 +278,7 @@ describe("createSessionVisibilityGuard", () => {
|
278 | 278 | allowed: false, |
279 | 279 | status: "forbidden", |
280 | 280 | error: |
281 | | -"Session list visibility is restricted. Set tools.sessions.visibility=all to allow cross-agent access.", |
| 281 | +"Session list visibility is restricted. Set tools.sessions.visibility=all and tools.agentToAgent.enabled=true to allow cross-agent access; use tools.agentToAgent.allow to restrict permitted agent pairs.", |
282 | 282 | }); |
283 | 283 | }); |
284 | 284 | |
@@ -340,7 +340,7 @@ describe("createSessionVisibilityGuard", () => {
|
340 | 340 | allowed: false, |
341 | 341 | status: "forbidden", |
342 | 342 | error: |
343 | | -"Session history visibility is restricted. Set tools.sessions.visibility=all to allow cross-agent access.", |
| 343 | +"Session history visibility is restricted. Set tools.sessions.visibility=all and tools.agentToAgent.enabled=true to allow cross-agent access; use tools.agentToAgent.allow to restrict permitted agent pairs.", |
344 | 344 | }); |
345 | 345 | }); |
346 | 346 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。