Member Junction
    Preparing search index...

    Angular injectable wrapper around the framework-agnostic AgentClientSession.

    Provides:

    • Angular DI (providedIn: root singleton)
    • Automatic cleanup via ngOnDestroy
    • Pass-through access to all SDK observables and methods

    Usage:

    const agentClient = inject(AgentClientService);
    agentClient.RegisterTool({ Name: 'NavigateToRecord', ... });
    agentClient.StartSession('session-123');
    agentClient.ToolRequested$.subscribe(e => console.log('Tool:', e));

    Implements

    • OnDestroy
    Index

    Constructors

    Accessors

    • get SessionActive$(): Observable<boolean>

      Emitted when session state changes

      Returns Observable<boolean>

    • get SessionId(): string | null

      The current session ID, or null if no session is active

      Returns string | null

    Methods

    • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns void

    • Start listening for client tool requests for a session

      Parameters

      • sessionId: string

      Returns void

    • Unregister a client-side tool

      Parameters

      • toolName: string

      Returns void