@wix/evalforge-evaluator 0.152.0 → 0.154.0

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.
@@ -12,6 +12,15 @@ export declare function extractSkillContent(files: Array<{
12
12
  content: string;
13
13
  }> | undefined): string | undefined;
14
14
  export declare function executeWithAiSdk(context: AgentExecutionContext): Promise<AgentExecutionResult>;
15
+ /**
16
+ * Pull status code, upstream request-id headers, and the wix-ai-gateway-proxy's
17
+ * own body fields (`proxy_request_id` / `upstream_request_id` / `failure_phase`)
18
+ * from any AI SDK `APICallError` reachable via `cause` or a
19
+ * `RetryError.errors[]` chain. Formatted as
20
+ * ` [status=503, x-request-id=..., proxy_request_id=..., failure_phase=gateway]`.
21
+ * Returns an empty string when nothing useful is found.
22
+ */
23
+ export declare function extractGatewayErrorContext(err: unknown): string;
15
24
  /**
16
25
  * Build the system prompt for Simple Agent from skills, rules, and optional override.
17
26
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/evalforge-evaluator",
3
- "version": "0.152.0",
3
+ "version": "0.154.0",
4
4
  "description": "EvalForge Evaluator",
5
5
  "bin": "./build/index.js",
6
6
  "files": [
@@ -63,5 +63,5 @@
63
63
  "artifactId": "evalforge-evaluator"
64
64
  }
65
65
  },
66
- "falconPackageHash": "99bd335ee0c766dec279f732df338c9cf723b8be9253a98bba663c2b"
66
+ "falconPackageHash": "c7af564ff189446a75e14e4d8053306774bcc500994454fec9ef687d"
67
67
  }