@pluno/product-agent-web 0.1.132 → 0.1.134

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 CHANGED
@@ -133,6 +133,7 @@ export type ProductAgentInitOptions = {
133
133
  initialStarterPrompts?: string[];
134
134
  webSocketFactory?: ProductAgentWebSocketFactory;
135
135
  prepareAttachmentUpload?: (input: ProductAgentPrepareAttachmentUploadInput) => Promise<ProductAgentAttachmentUpload>;
136
+ persistAttachmentUpload?: (input: ProductAgentPrepareAttachmentUploadInput, file: File) => Promise<Pick<ProductAgentAttachmentUpload, "sessionId" | "attachment">>;
136
137
  restorePersistedState?: boolean;
137
138
  expectedPersistedSessionId?: string | null;
138
139
  keepRunsActiveOnSessionNavigation?: boolean;
@@ -1 +1,3 @@
1
+ export declare function normalizeProductAgentDownloadLinks(markdown: string, backendUrl?: string): string;
2
+ export declare function isProductAgentDownloadHref(href: string | undefined, backendUrl?: string): boolean;
1
3
  export declare function normalizeAssistantMarkdown(markdown: string): string;