@pluno/product-agent-web 0.1.211 → 0.1.214
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-runtime.cjs +1 -1
- package/dist/product-agent-runtime.js +61 -43
- package/dist/product-agent-sdk.js +166 -145
- package/dist/product-agent-widget.js +1978 -1921
- package/dist/runtimeClient.d.ts +4 -0
- package/dist/uiInvariants.d.ts +4 -0
- package/package.json +1 -1
package/dist/runtimeClient.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export type ProductAgentRuntimeCommand = {
|
|
|
74
74
|
initiatedBy?: "pluno";
|
|
75
75
|
invocation?: ProductAgentInvocation | "pluno";
|
|
76
76
|
proactiveSuggestionQuestion?: string;
|
|
77
|
+
automationOnboarding?: boolean;
|
|
77
78
|
submittedAt?: number;
|
|
78
79
|
attachments?: ProductAgentAttachment[];
|
|
79
80
|
};
|
|
@@ -103,6 +104,7 @@ export type ProductAgentRuntimeClient = {
|
|
|
103
104
|
initiatedBy?: "pluno";
|
|
104
105
|
invocation?: ProductAgentInvocation | "pluno";
|
|
105
106
|
proactiveSuggestionQuestion?: string;
|
|
107
|
+
automationOnboarding?: boolean;
|
|
106
108
|
submittedAt?: number;
|
|
107
109
|
}): Promise<string | null>;
|
|
108
110
|
getModel(): ProductAgentModel | undefined;
|
|
@@ -149,6 +151,7 @@ export declare class ProductAgentRemoteRuntimeClient implements ProductAgentRunt
|
|
|
149
151
|
private interactions;
|
|
150
152
|
private account;
|
|
151
153
|
private stagedProactiveSuggestionClientMessageId;
|
|
154
|
+
private readonly unacknowledgedSubmissions;
|
|
152
155
|
private operationQueue;
|
|
153
156
|
private destroyed;
|
|
154
157
|
constructor(initialState: ProductAgentState, adapter: ProductAgentRuntimeClientAdapter, model?: ProductAgentModel);
|
|
@@ -167,6 +170,7 @@ export declare class ProductAgentRemoteRuntimeClient implements ProductAgentRunt
|
|
|
167
170
|
initiatedBy?: "pluno";
|
|
168
171
|
invocation?: ProductAgentInvocation | "pluno";
|
|
169
172
|
proactiveSuggestionQuestion?: string;
|
|
173
|
+
automationOnboarding?: boolean;
|
|
170
174
|
submittedAt?: number;
|
|
171
175
|
}): Promise<string | null>;
|
|
172
176
|
private sendMessageNow;
|
package/dist/uiInvariants.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export type UiInvariantSnapshot = {
|
|
|
9
9
|
visibleSessionIds: string[];
|
|
10
10
|
welcome?: boolean;
|
|
11
11
|
runtimeItemCount?: number;
|
|
12
|
+
thinkingSequence?: ("user" | "thinking")[];
|
|
13
|
+
thinkingIdleMs?: number;
|
|
12
14
|
};
|
|
13
15
|
declare const INVARIANT_MESSAGES: {
|
|
14
16
|
readonly "duplicate-message-item": "A canonical message rendered more than once.";
|
|
@@ -20,6 +22,8 @@ declare const INVARIANT_MESSAGES: {
|
|
|
20
22
|
readonly "terminal-response-reactivated": "A terminal response became active again.";
|
|
21
23
|
readonly "terminal-history-not-append-only": "An established terminal outcome disappeared or changed order.";
|
|
22
24
|
readonly "runtime-transcript-not-rendered": "A nonempty runtime transcript is displaying starter prompts.";
|
|
25
|
+
readonly "thinking-groups-without-user-message": "Multiple thinking groups appeared without a user message between them.";
|
|
26
|
+
readonly "thinking-without-progress": "Thinking remained visible without progress for five minutes.";
|
|
23
27
|
};
|
|
24
28
|
export type UiInvariantFinding = {
|
|
25
29
|
code: keyof typeof INVARIANT_MESSAGES;
|
package/package.json
CHANGED