Member Junction
    Preparing search index...

    Event emitted when a resource component reports its agent context or tools. The shell (which owns the ComponentCacheManager) subscribes to these events and updates the cache + active AppContextSnapshot accordingly.

    interface AgentContextUpdate {
        AgentClientTools?: {
            Description: string;
            Handler: (params: Record<string, unknown>) => Promise<unknown>;
            Name: string;
            ParameterSchema: Record<string, unknown>;
        }[];
        AgentContext?: Record<string, unknown>;
        Caller: BaseResourceComponent;
        Lifecycle?: "Detached" | "Reattached";
    }
    Index

    Properties

    AgentClientTools?: {
        Description: string;
        Handler: (params: Record<string, unknown>) => Promise<unknown>;
        Name: string;
        ParameterSchema: Record<string, unknown>;
    }[]

    Client tools available from this dashboard (undefined = no change)

    AgentContext?: Record<string, unknown>

    Dashboard-specific context for the agent (undefined = no change)

    The component instance that reported the update

    Lifecycle?: "Detached" | "Reattached"

    Set when the update comes from the caller's tab lifecycle, not from the caller: 'Detached' from NavigationService.NotifyResourceDetached (the user left the tab) and 'Reattached' from NavigationService.NotifyResourceReattached (the user came back to it). Undefined for an update the component reports.