@pluno/product-agent-web 0.1.159 → 0.1.161
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 +3 -0
- package/dist/product-agent-sdk.js +153 -119
- package/dist/product-agent-widget.js +225 -189
- package/dist/widget.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type ProductAgentModel = "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4" | "gpt-5.6-luna" | "gpt-5.6-terra" | "gpt-5.6-sol";
|
|
2
2
|
export type ProductAgentEntrySurface = "extension_sidepanel" | "extension_widget" | "main_web_chat" | "automation" | "mcp" | "embedded_widget" | "embedded_custom_ui";
|
|
3
|
+
export type ProductAgentProductVariant = "personal" | "customer_embedded";
|
|
3
4
|
export type ProductAgentLegacyEntrySurface = "sidepanel" | "browser_extension_page_ui" | "sdk_preview_widget" | "browser_extension_sdk_preview" | "sdk-preview" | "main_chat" | "automation_run";
|
|
4
5
|
export type ProductAgentInvocation = "user" | "automation" | "scheduled_continuation" | "private_continuation";
|
|
5
6
|
export type ProductAgentUser = {
|
|
@@ -136,6 +137,7 @@ export type ProductAgentInitOptions = {
|
|
|
136
137
|
model?: ProductAgentModel;
|
|
137
138
|
clientId?: string;
|
|
138
139
|
metadata?: Record<string, unknown> | (() => Record<string, unknown> | undefined);
|
|
140
|
+
productVariant?: ProductAgentProductVariant;
|
|
139
141
|
entrySurface?: ProductAgentEntrySurface | ProductAgentLegacyEntrySurface;
|
|
140
142
|
autoConnect?: boolean;
|
|
141
143
|
initialStarterPrompts?: string[];
|
|
@@ -294,6 +296,7 @@ export declare class PlunoProductAgent {
|
|
|
294
296
|
private send;
|
|
295
297
|
private getUploadToken;
|
|
296
298
|
private sendNow;
|
|
299
|
+
private reportHealthSignal;
|
|
297
300
|
private requestTransientStarterPrompts;
|
|
298
301
|
private startStarterPromptUrlWatcher;
|
|
299
302
|
private handleStarterPromptUrlChange;
|