@pluno/product-agent-web 0.1.191 → 0.1.192
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.ts +1 -0
- package/dist/product-agent-sdk.js +855 -809
- package/dist/product-agent-widget.js +1737 -1691
- package/dist/runRecovery.d.ts +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type RunRecoveryItem = {
|
|
2
|
+
id: string;
|
|
3
|
+
data: unknown;
|
|
4
|
+
};
|
|
5
|
+
type RunRecoveryIdentity = {
|
|
6
|
+
type?: unknown;
|
|
7
|
+
status?: unknown;
|
|
8
|
+
reason?: unknown;
|
|
9
|
+
role?: unknown;
|
|
10
|
+
clientMessageId?: unknown;
|
|
11
|
+
respondsToUserMessageId?: unknown;
|
|
12
|
+
runId?: unknown;
|
|
13
|
+
};
|
|
14
|
+
export declare function filterSupersededTaskTabClosedStops<T extends RunRecoveryItem>(items: T[], activeRetryClientMessageId: string | null): T[];
|
|
15
|
+
export declare function isTaskTabClosedStopForClientMessage(items: RunRecoveryItem[], item: RunRecoveryItem, clientMessageId: string): boolean;
|
|
16
|
+
export declare function isTaskTabClosedStop(data: Record<string, unknown>): boolean;
|
|
17
|
+
export declare function isRecoveredTaskTabClosedTurnProgress(stoppedData: RunRecoveryIdentity, candidateData: RunRecoveryIdentity): boolean;
|
|
18
|
+
export {};
|
package/package.json
CHANGED