@erdoai/ui 0.1.106 → 0.1.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1648,15 +1648,13 @@ interface AgentStreamStore {
1648
1648
  pendingInvocationQueue: string[];
1649
1649
  /**
1650
1650
  * Push a raw SSE event into the store.
1651
- * Calls handleAgentEvent internally and re-slices affected invocations.
1651
+ * Handles invocation registration (from agent_invocation content) and root
1652
+ * mapping (from agent step_started) automatically, so callers don't need
1653
+ * separate registerInvocation/mapInvocationRoot calls.
1652
1654
  * @param event The raw SSE event
1653
1655
  * @param reconcile Optional post-processing (e.g., reconcileThinkingContentState)
1654
1656
  */
1655
1657
  pushEvent: (event: SSEEvent, reconcile?: (state: AgentStreamState) => AgentStreamState) => void;
1656
- /** Register an invocation_id (from agent_invocation event). Queues it for root mapping. */
1657
- registerInvocation: (invocationId: string) => void;
1658
- /** Map an invocation_id to its root step_id (from step_started with type: 'agent'). */
1659
- mapInvocationRoot: (invocationId: string, rootStepId: string) => void;
1660
1658
  /** Reset the store (new session). */
1661
1659
  reset: () => void;
1662
1660
  }
package/dist/index.d.ts CHANGED
@@ -1648,15 +1648,13 @@ interface AgentStreamStore {
1648
1648
  pendingInvocationQueue: string[];
1649
1649
  /**
1650
1650
  * Push a raw SSE event into the store.
1651
- * Calls handleAgentEvent internally and re-slices affected invocations.
1651
+ * Handles invocation registration (from agent_invocation content) and root
1652
+ * mapping (from agent step_started) automatically, so callers don't need
1653
+ * separate registerInvocation/mapInvocationRoot calls.
1652
1654
  * @param event The raw SSE event
1653
1655
  * @param reconcile Optional post-processing (e.g., reconcileThinkingContentState)
1654
1656
  */
1655
1657
  pushEvent: (event: SSEEvent, reconcile?: (state: AgentStreamState) => AgentStreamState) => void;
1656
- /** Register an invocation_id (from agent_invocation event). Queues it for root mapping. */
1657
- registerInvocation: (invocationId: string) => void;
1658
- /** Map an invocation_id to its root step_id (from step_started with type: 'agent'). */
1659
- mapInvocationRoot: (invocationId: string, rootStepId: string) => void;
1660
1658
  /** Reset the store (new session). */
1661
1659
  reset: () => void;
1662
1660
  }