Member Junction
    Preparing search index...

    Variable HOST_ONLY_AGENT_RUN_DATA_KEYSConst

    HOST_ONLY_AGENT_RUN_DATA_KEYS: readonly string[] = ...

    The ExecuteAgentParams.data keys a host sets and a model never does: the RESERVED_AGENT_RUN_DATA_KEYS, and the browser, conversation and session controls BaseAgent reads from data:

    • clientTools and sessionID — the client tools the prompt offers and the browser session they run in;
    • appContext and applicationId — the caller's view of the app (injected into the prompt) and the app it runs in;
    • conversationId — the conversation the run answers in;
    • targetAgentID, agentSessionId and recording — a realtime session's delegation target, session and recording;
    • every key starting with one of HOST_ONLY_AGENT_RUN_DATA_KEY_PREFIXES (realtimeModelID, realtimeVoice, realtimeHostTools, realtimeHostFraming, ...).

    This is NOT the list stripped from a run's own data: a trusted host (MJServer's resolvers, a conversation host, a browser through them) legitimately sets clientTools, appContext and conversationId there, so a run strips only the reserved keys (WithAgentRunDataTrustApplied). It is the list stripped from what a MODEL writes into a run's data — BaseAgent's sub-agent build removes it from a sub-agent request's templateParameters before merging them into the child's data, so the child keeps its parent's values for every one of them.