Module agent_handlers
Source - OAuthSessionReq 🔒
- OAuthStartReq 🔒
- Request for
account.oauth.start. clientId/clientSecret are BYO OAuth
app credentials (optional; required for secret-mandatory providers). - VerifyKeyReq 🔒
- Request for
account.key.verify (Trust Center key flow). The api_key
field is a secret — never log this struct.
- collapse_preview 🔒
- Collapse newlines + extra whitespace, cap at 240 chars. Output is
safe to render inline in a single-line preview row.
- merge_json_object 🔒
- Shallow-merge the keys of
overlay (if both are JSON objects) into base. - oauth_status_wire 🔒
- Serialize an OAuthStatus to the frontend wire shape.
- read_session_preview 🔒
- Read the per-block
output.state.json snapshot from filestore and
extract a (preview, node_count) pair for the AgentPicker’s
“Recent sessions” list. - register_agent_handlers
- register_agent_input_handlers
- register_agent_session_handlers 🔒
- Option E (PR 1 of 2) — agent-anchored session zone RPCs.
- register_v6_handlers 🔒
- v6 handlers — identity accounts, agent instances, definition branching.
See specs/SPEC_FORGE_IDENTITY_AGENT_INSTANCES_IMPL_2026_04_20.md §Phase 3.
- register_v7_handlers 🔒
- v7 handlers — Identity bundles (named credential bundles) + Memory bundles.
See
docs/specs/identity-forge-integration-and-vault-2026-05-08.md.