fix(session): enforce trusted read scope

This commit is contained in:
Xubin Ren committed 2026-08-04 12:14:51 +08:00
1 parent 4c07c40b34
commit f15ea84dd1
11 files changed
+177 -64

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ OUTBOUND_META_AGENT_UI = "_agent_ui"
# Internal-only inbound metadata used by in-process channels to ask the agent
# loop to update runtime state without going through a user session.
INBOUND_META_RUNTIME_CONTROL = "_runtime_control"
# Trusted namespace grant for read-only persisted-session tools.
INBOUND_META_SESSION_READ_SCOPE = "_session_read_scope"
RUNTIME_CONTROL_ACK = "_ack"
RUNTIME_CONTROL_MCP_RELOAD = "mcp_reload"
RUNTIME_CONTROL_IMAGE_GENERATION_RELOAD = "image_generation_reload"