@erdoai/ui 0.1.106 → 0.1.108
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/iframe.global.js +18 -60
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +3 -5
- package/dist/index.d.ts +3 -5
- package/dist/index.js +6 -6
- package/package.json +1 -1
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
|
-
*
|
|
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
|
-
*
|
|
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
|
}
|