Member Junction
    Preparing search index...

    Minimal contract the streaming layer needs from a task tracker.

    Kept deliberately narrow — only RemoveByAgentRunId is consumed by ConversationStreaming today. The host's broader task UI (Angular's ActiveTasksService has ~16 methods + multiple observables) stays in the widget; only the methods the runtime calls are exposed here.

    // Angular host bootstrap
    runtime.UseActiveTaskTracker({
    RemoveByAgentRunId: (id) => inject(ActiveTasksService).removeByAgentRunId(id),
    });
    interface IActiveTaskTracker {
        RemoveByAgentRunId(agentRunId: string): boolean;
    }

    Implemented by

    Index

    Methods

    • Remove a tracked task when its agent run completes.

      Parameters

      • agentRunId: string

        The MJ: AI Agent Runs ID whose task should be cleared.

      Returns boolean

      true if a task was found and removed, false if nothing matched.