@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.
- package/dist/adapters/web/directoryAdapters.d.ts +1 -0
- package/dist/core/model-selection/commands.d.ts +3 -0
- package/dist/core/model-selection/contracts.d.ts +1 -1
- package/dist/core/model-selection/selectors.d.ts +1 -1
- package/dist/core/session-directory/contracts.d.ts +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/modelSelection.d.ts +43 -30
- package/dist/product-agent-runtime.cjs +1 -1
- package/dist/product-agent-runtime.js +16 -15
- package/dist/product-agent-sdk.js +1537 -1517
- package/dist/product-agent-widget.js +3201 -3184
- package/dist/public/operationRoutes.d.ts +1 -0
- package/dist/runtime/modelSelection.d.ts +1 -1
- package/dist/runtimeClient.d.ts +1 -0
- package/dist/widget.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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-
|
|
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;
|
package/dist/runtimeClient.d.ts
CHANGED
|
@@ -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