@pluno/product-agent-web 0.1.245 → 0.1.247
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/adapters/web/conversationAdapters.d.ts +1 -0
- package/dist/adapters/web/conversationPresentation.d.ts +7 -2
- package/dist/adapters/web/directoryAdapters.d.ts +1 -0
- package/dist/core/conversation/contracts.d.ts +2 -0
- package/dist/core/conversation/deliveryContracts.d.ts +22 -1
- package/dist/core/conversation/selectors.d.ts +7 -0
- package/dist/core/session-directory/contracts.d.ts +3 -1
- package/dist/core/session-directory/state.d.ts +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/interruptState.d.ts +1 -1
- package/dist/product-agent-runtime.cjs +1 -1
- package/dist/product-agent-runtime.js +204 -198
- package/dist/product-agent-sdk.js +2596 -2368
- package/dist/product-agent-widget.js +4634 -4399
- package/dist/runtimeClient.d.ts +3 -2
- package/package.json +1 -1
package/dist/runtimeClient.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export type ProductAgentRuntimeCommand = {
|
|
|
63
63
|
clientMessageIds?: string[];
|
|
64
64
|
} | {
|
|
65
65
|
type: "run.retry";
|
|
66
|
+
clientMessageId?: string;
|
|
66
67
|
} | {
|
|
67
68
|
type: "interaction.act";
|
|
68
69
|
interactionId: string;
|
|
@@ -135,7 +136,7 @@ export type ProductAgentRuntimeClient = {
|
|
|
135
136
|
}): Promise<string | null>;
|
|
136
137
|
getModel(): ProductAgentModel | undefined;
|
|
137
138
|
setModel(model: ProductAgentModel): void;
|
|
138
|
-
retryLastMessage(): boolean | Promise<boolean>;
|
|
139
|
+
retryLastMessage(userMessageId?: string): boolean | Promise<boolean>;
|
|
139
140
|
createLocalAttachment(file: File): ProductAgentAttachment;
|
|
140
141
|
stop(): void;
|
|
141
142
|
startNewSession(options?: {
|
|
@@ -209,7 +210,7 @@ export declare class ProductAgentRemoteRuntimeClient implements ProductAgentRunt
|
|
|
209
210
|
private sendMessageNow;
|
|
210
211
|
getModel(): ProductAgentModel | undefined;
|
|
211
212
|
setModel(model: ProductAgentModel): Promise<void>;
|
|
212
|
-
retryLastMessage(): Promise<boolean>;
|
|
213
|
+
retryLastMessage(userMessageId?: string): Promise<boolean>;
|
|
213
214
|
createLocalAttachment(file: File): ProductAgentAttachment;
|
|
214
215
|
stop(): Promise<void>;
|
|
215
216
|
private cancelPendingSubmissions;
|
package/package.json
CHANGED