@pluno/product-agent-web 0.1.292 → 0.1.294

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.
@@ -16,6 +16,7 @@ export declare const PA_COMPATIBILITY_OPERATION_ROUTES: {
16
16
  readonly "widget.createProductAgentPreviewBridgeWebSocketFactory": "platform_shell";
17
17
  readonly "widget.mountPlunoProductAgentWidget": "platform_shell";
18
18
  readonly "widgetHandle.startNewChat": "engine_command";
19
+ readonly "widgetHandle.getSelectedModel": "platform_shell";
19
20
  readonly "widgetHandle.updateAppearance": "platform_shell";
20
21
  readonly "widgetHandle.openPanel": "platform_shell";
21
22
  readonly "widgetHandle.closePanel": "platform_shell";
@@ -8,7 +8,7 @@ export declare const getRuntimeModelScope: (runtime: PAClientRuntime, clientScop
8
8
  selectedModel?: PAProductAgentModel;
9
9
  submissions: Readonly<Record<string, import("../core/model-selection/state").PAModelSubmission>>;
10
10
  }>;
11
- export declare const getRuntimeModel: (runtime: PAClientRuntime, clientScopeId: PAClientScopeId) => "gpt-5.6-sol" | "anthropic/claude-sonnet-5" | "deepseek/deepseek-v4-flash" | "anthropic/claude-opus-5" | "gpt-5.6-terra" | "deepseek/deepseek-chat-v3.1" | "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4" | "gpt-5.6-luna" | undefined;
11
+ export declare const getRuntimeModel: (runtime: PAClientRuntime, clientScopeId: PAClientScopeId) => "gpt-6-sol" | "gpt-6-luna" | "deepseek/deepseek-v4-flash" | "anthropic/claude-opus-5.5" | "gpt-5.6-sol" | "gpt-5.6-terra" | "anthropic/claude-sonnet-5" | "anthropic/claude-opus-5" | "deepseek/deepseek-chat-v3.1" | "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4" | "gpt-5.6-luna" | undefined;
12
12
  export declare function captureRequestedModel(runtime: PAClientRuntime, clientScopeId: PAClientScopeId, clientMessageId: string, requestedModel?: PAProductAgentModel | null): PAProductAgentModel | undefined;
13
13
  export declare function acceptModelRouting(runtime: PAClientRuntime, clientScopeId: PAClientScopeId, sessionId: string, clientMessageId: string, value: unknown, updatedAt?: string): void;
14
14
  export declare function hydrateModelRouting(runtime: PAClientRuntime, clientScopeId: PAClientScopeId, sessionId: string, turns: unknown): void;
@@ -197,6 +197,7 @@ export declare class ProductAgentRemoteRuntimeClient implements ProductAgentRunt
197
197
  private state;
198
198
  private sessionHistoryState;
199
199
  private model;
200
+ private modelExplicit;
200
201
  private readonly initialModel;
201
202
  private interactions;
202
203
  private account;
package/dist/widget.d.ts CHANGED
@@ -97,6 +97,7 @@ export type ProductAgentWidgetHandle = {
97
97
  startNewChat: (options?: {
98
98
  notifyTransport?: boolean;
99
99
  }) => void;
100
+ getSelectedModel: () => ProductAgentModel;
100
101
  updateAppearance: (appearance: Pick<ProductAgentWidgetOptions, "accentColor" | "colorScheme" | "fontFamily" | "scribbleStyle">) => void;
101
102
  openPanel: (initialValueOrOptions?: string | {
102
103
  focusComposer?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluno/product-agent-web",
3
- "version": "0.1.292",
3
+ "version": "0.1.294",
4
4
  "description": "Browser SDK and default widget for embedding Pluno Product Agent into customer web apps.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",