@ultimat3/ai 27.10.1 → 27.10.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/ai",
3
- "version": "27.10.1",
3
+ "version": "27.10.3",
4
4
  "description": "LLM gateway, versioned prompts, evals as tests, embeddings, hybrid vector search, RAG",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,15 +32,15 @@
32
32
  "test": "bun test"
33
33
  },
34
34
  "dependencies": {
35
- "@ultimat3/action": "27.10.1",
36
- "@ultimat3/cache": "27.10.1",
37
- "@ultimat3/core": "27.10.1",
38
- "@ultimat3/db": "27.10.1",
39
- "@ultimat3/http": "27.10.1",
40
- "@ultimat3/jobs": "27.10.1",
41
- "@ultimat3/money": "27.10.1",
42
- "@ultimat3/policy": "27.10.1",
43
- "@ultimat3/schema": "27.10.1",
44
- "@ultimat3/time": "27.10.1"
35
+ "@ultimat3/action": "27.10.3",
36
+ "@ultimat3/cache": "27.10.3",
37
+ "@ultimat3/core": "27.10.3",
38
+ "@ultimat3/db": "27.10.3",
39
+ "@ultimat3/http": "27.10.3",
40
+ "@ultimat3/jobs": "27.10.3",
41
+ "@ultimat3/money": "27.10.3",
42
+ "@ultimat3/policy": "27.10.3",
43
+ "@ultimat3/schema": "27.10.3",
44
+ "@ultimat3/time": "27.10.3"
45
45
  }
46
46
  }
@@ -3,7 +3,7 @@
3
3
  // it withholds goes to the log as content-free facts (code, name, frames) — never its text.
4
4
 
5
5
  import type { Logger } from '@ultimat3/core';
6
- import { hasPublicCause, isUltimateError, stringField } from '@ultimat3/core';
6
+ import { failureStack, hasPublicCause, isUltimateError, stringField } from '@ultimat3/core';
7
7
  import { declaredStatusFor, statusFor } from '@ultimat3/http';
8
8
 
9
9
  /**
@@ -91,7 +91,8 @@ export function discloseOwnFailure(
91
91
  const FRAME = /^\s+at\s/;
92
92
 
93
93
  function framesOf(error: unknown): string | null {
94
- const stack = stringField(error, 'stack');
94
+ // The header restored first: a lost one (`Error`, #773) made `skip` below eat real frames.
95
+ const stack = failureStack(error);
95
96
  if (stack === undefined) return null;
96
97
  const lines = stack.split('\n');
97
98
  // Skip to the first frame line that FOLLOWS the message: a message may itself contain text