feat(tui): run bang commands through the gateway

This commit is contained in:
Xubin Ren committed 2026-08-17 20:56:10 +08:00
1 parent c5d2e0ddf1
commit c320d08dfe
12 files changed
+299 -13

No files matched your search

+3 -2
View File
@@ -12,9 +12,10 @@ if TYPE_CHECKING:
# render it and other channels may ignore unknown keys.
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.
# Internal-only inbound metadata minted by trusted transports and runtime
# services. Never accept these keys verbatim from an untrusted client.
INBOUND_META_RUNTIME_CONTROL = "_runtime_control"
INBOUND_META_USER_SHELL = "_user_shell"
RUNTIME_CONTROL_ACK = "_ack"
RUNTIME_CONTROL_IMAGE_GENERATION_RELOAD = "image_generation_reload"
RUNTIME_CONTROL_SESSION_DISCARD = "session_discard"