@mastra/observability 1.14.4-alpha.0 → 1.15.0-alpha.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.
- package/CHANGELOG.md +31 -0
- package/dist/index.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/model-tracing.d.ts +3 -1
- package/dist/model-tracing.d.ts.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @mastra/observability
|
|
2
2
|
|
|
3
|
+
## 1.15.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Random bump ([#18178](https://github.com/mastra-ai/mastra/pull/18178))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`7c0d868`](https://github.com/mastra-ai/mastra/commit/7c0d868d97d0fdbc04c14d0166dbf44d4c5a4a62), [`d9d2273`](https://github.com/mastra-ai/mastra/commit/d9d2273c702690c9a26eab2aebea879701d4355a), [`b04369d`](https://github.com/mastra-ai/mastra/commit/b04369d6b167c698ef103981171a8bf92808e756), [`8f3c262`](https://github.com/mastra-ai/mastra/commit/8f3c262587b335588a02d96b17fd6aca34c885b3)]:
|
|
12
|
+
- @mastra/core@1.45.0-alpha.0
|
|
13
|
+
|
|
14
|
+
## 1.14.4
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Fixed incomplete traces when a model errors mid-generation. The open `MODEL_STEP` and `MODEL_INFERENCE` spans are now closed with the error instead of being left dangling, so error traces are complete. ([#18083](https://github.com/mastra-ai/mastra/pull/18083))
|
|
19
|
+
|
|
20
|
+
- Security remediation for the 2026-06-17 "easy-day-js" supply-chain incident. Patch bump to publish clean versions and move the `latest` dist-tag forward, superseding the compromised versions that declared the malicious `easy-day-js` dependency. ([#18056](https://github.com/mastra-ai/mastra/pull/18056))
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`339c57c`](https://github.com/mastra-ai/mastra/commit/339c57c5b2c6dbe75a125e138228e0556528976f), [`1dd4117`](https://github.com/mastra-ai/mastra/commit/1dd4117dcbd8e031ede9f0489436bfbc6f0315b8), [`2b11d1f`](https://github.com/mastra-ai/mastra/commit/2b11d1f6ac7024c5dd2b2dd12a48a956ac9d63bd), [`77a2351`](https://github.com/mastra-ai/mastra/commit/77a2351ee79296e360bce822cb3391f7cfd6489d), [`b7dff0a`](https://github.com/mastra-ai/mastra/commit/b7dff0a3d1022eb6868f48dc40a2b1febd5c277f), [`02087e1`](https://github.com/mastra-ai/mastra/commit/02087e1fbc54aa07f3071f7a200df1bf5be601a8), [`49af8df`](https://github.com/mastra-ai/mastra/commit/49af8df589c4ff71a5015a4553b377b32704b691), [`30ce559`](https://github.com/mastra-ai/mastra/commit/30ce55902ecf819b8ab8697398dd68b108228063), [`c241b92`](https://github.com/mastra-ai/mastra/commit/c241b929dc8c8d6a7b7219c99ed13ac1f3124a77), [`7d6ff70`](https://github.com/mastra-ai/mastra/commit/7d6ff708727297a0526ca0e26e93eeb5bbaaa187), [`ab975d4`](https://github.com/mastra-ai/mastra/commit/ab975d4dd9488752f05bda7afa03166d207e3e2a), [`9d6aa1b`](https://github.com/mastra-ai/mastra/commit/9d6aa1bae407e2afa6a089abc2a6accbbcb287b8)]:
|
|
23
|
+
- @mastra/core@1.44.0
|
|
24
|
+
|
|
25
|
+
## 1.14.4-alpha.1
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Fixed incomplete traces when a model errors mid-generation. The open `MODEL_STEP` and `MODEL_INFERENCE` spans are now closed with the error instead of being left dangling, so error traces are complete. ([#18083](https://github.com/mastra-ai/mastra/pull/18083))
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [[`339c57c`](https://github.com/mastra-ai/mastra/commit/339c57c5b2c6dbe75a125e138228e0556528976f), [`1dd4117`](https://github.com/mastra-ai/mastra/commit/1dd4117dcbd8e031ede9f0489436bfbc6f0315b8), [`2b11d1f`](https://github.com/mastra-ai/mastra/commit/2b11d1f6ac7024c5dd2b2dd12a48a956ac9d63bd), [`49af8df`](https://github.com/mastra-ai/mastra/commit/49af8df589c4ff71a5015a4553b377b32704b691), [`30ce559`](https://github.com/mastra-ai/mastra/commit/30ce55902ecf819b8ab8697398dd68b108228063), [`c241b92`](https://github.com/mastra-ai/mastra/commit/c241b929dc8c8d6a7b7219c99ed13ac1f3124a77), [`7d6ff70`](https://github.com/mastra-ai/mastra/commit/7d6ff708727297a0526ca0e26e93eeb5bbaaa187)]:
|
|
32
|
+
- @mastra/core@1.44.0-alpha.2
|
|
33
|
+
|
|
3
34
|
## 1.14.4-alpha.0
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1872,9 +1872,19 @@ var ModelSpanTracker = class {
|
|
|
1872
1872
|
};
|
|
1873
1873
|
}
|
|
1874
1874
|
/**
|
|
1875
|
-
* Report an error on the generation span
|
|
1875
|
+
* Report an error on the generation span, also closing any still-open
|
|
1876
|
+
* MODEL_INFERENCE / MODEL_STEP children so a fatal error before step-finish
|
|
1877
|
+
* doesn't leave them dangling. No-op if they were already closed.
|
|
1876
1878
|
*/
|
|
1877
1879
|
reportGenerationError(options) {
|
|
1880
|
+
if (this.#currentInferenceSpan) {
|
|
1881
|
+
this.#currentInferenceSpan.error({ error: options.error, endSpan: true });
|
|
1882
|
+
this.#currentInferenceSpan = void 0;
|
|
1883
|
+
}
|
|
1884
|
+
if (this.#currentStepSpan) {
|
|
1885
|
+
this.#currentStepSpan.error({ error: options.error, endSpan: true });
|
|
1886
|
+
this.#currentStepSpan = void 0;
|
|
1887
|
+
}
|
|
1878
1888
|
this.#modelSpan?.error(options);
|
|
1879
1889
|
}
|
|
1880
1890
|
/**
|