@pluno/product-agent-web 0.1.182 → 0.1.184

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.
@@ -4,6 +4,7 @@ export type ProductAgentShareMessage = {
4
4
  content: string;
5
5
  toolName?: string;
6
6
  callId?: string;
7
+ sharePromptAllowed?: boolean;
7
8
  };
8
9
  export type ProductAgentShareSessionItem = {
9
10
  id: string;
@@ -19,6 +20,7 @@ export declare const SUGGEST_SHARE_ON_SOCIALS_TOOL_NAME = "suggest_share_on_soci
19
20
  export declare function findShareCandidateForAssistantMessage(messages: ProductAgentShareMessage[], assistantMessageId: string): ProductAgentShareCandidate | null;
20
21
  export declare function findSuggestedShareCandidate(items: ProductAgentShareSessionItem[]): ProductAgentShareCandidate | null;
21
22
  export declare function findSuggestedShareCandidateForMessages(messages: ProductAgentShareMessage[]): ProductAgentShareCandidate | null;
23
+ export declare function getSharePromptAllowedFromOutput(output: unknown): boolean | null;
22
24
  export declare function getSharePromptVariant(candidateId: string): ProductAgentSharePromptVariant;
23
25
  export declare function redactPublicShareText(text: string): string;
24
26
  export declare function stripMarkdownToPlainText(text: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluno/product-agent-web",
3
- "version": "0.1.182",
3
+ "version": "0.1.184",
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",