@pluno/product-agent-web 0.1.247 → 0.1.249

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.
@@ -26,6 +26,9 @@ export type OwnerDiagnostics = {
26
26
  transitions: OwnerTransition[];
27
27
  };
28
28
  export type ConversationDiagnostics = {
29
+ errorMessageFingerprint?: string;
30
+ errorRequestId?: string;
31
+ errorNormalization?: import("../core/protocol/errorNormalization").ErrorNormalizationEvidence;
29
32
  httpRequest?: HttpRequestDiagnostic;
30
33
  owner?: OwnerDiagnostics;
31
34
  queryStatus: string | null;
@@ -1,3 +1,4 @@
1
+ import { type ErrorDiagnostic } from "./errorDiagnostic";
1
2
  import { type HistoryRefreshFailure } from "./renderDiagnostics";
2
3
  import { type HttpRequestDiagnostic } from "./httpDiagnostics";
3
4
  import { type OperationTiming } from "./operationTiming";
@@ -16,6 +17,7 @@ export type ProductAgentRuntimeCommand = {
16
17
  observation: ResponseVisibilityObservation;
17
18
  } | {
18
19
  type: "runtime.report_displayed_error";
20
+ errorDiagnostic?: ErrorDiagnostic;
19
21
  reason: string;
20
22
  errorFingerprint: string;
21
23
  displayedMessage?: string;
@@ -107,6 +109,7 @@ export type ProductAgentRuntimeCommandResult = {
107
109
  sessionHistoryPage?: ProductAgentSessionHistoryPage;
108
110
  };
109
111
  export type ProductAgentRuntimeClientAdapter = {
112
+ diagnosticBuilds?: Pick<ErrorDiagnostic["builds"], "rendererExtension" | "contentExtension">;
110
113
  dispatch(command: ProductAgentRuntimeCommand): Promise<ProductAgentRuntimeCommandResult | void>;
111
114
  uploadAttachment?: (file: File, attachment: ProductAgentAttachment, context: {
112
115
  clientMessageId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluno/product-agent-web",
3
- "version": "0.1.247",
3
+ "version": "0.1.249",
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",