feat: add gated tool output experience

This commit is contained in:
Hermes Agent
2026-07-24 13:31:37 +00:00
parent c75dddae2b
commit 1c33d497fd
19 changed files with 370 additions and 55 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ Any route not listed here must be labeled provisional until checked against offi
- Never apply an SSE event whose `session_id` differs from the bound lease. A later Local/Remote re-evaluation applies only to a later request.
- Append `assistant.delta` text deterministically, then replace it with the authoritative `assistant.completed.content` response when present.
- Report HTTP, I/O, or malformed-SSE failure only against the route/session lease that owned the failed call; an upstream `error` event fails the session without invalidating the route.
- Decode tool lifecycle/progress only when `tool_progress_events` is advertised; B4 does not render or persist those structured payloads.
- Decode and render tool lifecycle/progress only when `tool_progress_events` is advertised. Treat event payload fields defensively, retain large output outside bounded display windows, and persist only client presentation state such as expansion.
- Do not expose artifact share/save actions until an upstream artifact handoff capability and URI/download contract are advertised; the current direct gateway contract has neither.
## Unverified Assumptions