@mastra/agent-builder 1.0.20 → 1.0.21
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 +24 -0
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
+
## 1.0.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Standardized all logger calls across the codebase to use static string messages with structured data objects. Dynamic values are now passed as key-value pairs in the second argument instead of being interpolated into template literal strings. This improves log filterability and searchability in observability storage. ([#14899](https://github.com/mastra-ai/mastra/pull/14899))
|
|
8
|
+
|
|
9
|
+
Removed ~150 redundant or noisy log calls including duplicate error logging after trackException and verbose in-memory storage CRUD traces.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`cbeec24`](https://github.com/mastra-ai/mastra/commit/cbeec24b3c97a1a296e7e461e66cc7f7d215dc50), [`cee146b`](https://github.com/mastra-ai/mastra/commit/cee146b5d858212e1df2b2730fc36d3ceda0e08d), [`aa0aeff`](https://github.com/mastra-ai/mastra/commit/aa0aeffa11efbef5e219fbd97bf43d263cfe3afe), [`2bcec65`](https://github.com/mastra-ai/mastra/commit/2bcec652d62b07eab15e9eb9822f70184526eede), [`ad9bded`](https://github.com/mastra-ai/mastra/commit/ad9bdedf86a824801f49928a8d40f6e31ff5450f), [`cbeec24`](https://github.com/mastra-ai/mastra/commit/cbeec24b3c97a1a296e7e461e66cc7f7d215dc50), [`208c0bb`](https://github.com/mastra-ai/mastra/commit/208c0bbacbf5a1da6318f2a0e0c544390e542ddc), [`f566ee7`](https://github.com/mastra-ai/mastra/commit/f566ee7d53a3da33a01103e2a5ac2070ddefe6b0)]:
|
|
12
|
+
- @mastra/core@1.20.0
|
|
13
|
+
- @mastra/memory@1.12.1
|
|
14
|
+
|
|
15
|
+
## 1.0.21-alpha.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Standardized all logger calls across the codebase to use static string messages with structured data objects. Dynamic values are now passed as key-value pairs in the second argument instead of being interpolated into template literal strings. This improves log filterability and searchability in observability storage. ([#14899](https://github.com/mastra-ai/mastra/pull/14899))
|
|
20
|
+
|
|
21
|
+
Removed ~150 redundant or noisy log calls including duplicate error logging after trackException and verbose in-memory storage CRUD traces.
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`cbeec24`](https://github.com/mastra-ai/mastra/commit/cbeec24b3c97a1a296e7e461e66cc7f7d215dc50), [`cee146b`](https://github.com/mastra-ai/mastra/commit/cee146b5d858212e1df2b2730fc36d3ceda0e08d), [`aa0aeff`](https://github.com/mastra-ai/mastra/commit/aa0aeffa11efbef5e219fbd97bf43d263cfe3afe), [`2bcec65`](https://github.com/mastra-ai/mastra/commit/2bcec652d62b07eab15e9eb9822f70184526eede), [`ad9bded`](https://github.com/mastra-ai/mastra/commit/ad9bdedf86a824801f49928a8d40f6e31ff5450f), [`cbeec24`](https://github.com/mastra-ai/mastra/commit/cbeec24b3c97a1a296e7e461e66cc7f7d215dc50), [`208c0bb`](https://github.com/mastra-ai/mastra/commit/208c0bbacbf5a1da6318f2a0e0c544390e542ddc), [`f566ee7`](https://github.com/mastra-ai/mastra/commit/f566ee7d53a3da33a01103e2a5ac2070ddefe6b0)]:
|
|
24
|
+
- @mastra/core@1.20.0-alpha.0
|
|
25
|
+
- @mastra/memory@1.12.1-alpha.0
|
|
26
|
+
|
|
3
27
|
## 1.0.20
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/agent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAK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AC1B,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GAAG;QACtC,gBAAgB,EAAE,6BAA6B,CAAC,CAAC,CAAC,CAAC;KACpD,GACA,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IACnB,QAAQ,CAAC,MAAM,SAAS,EAAE,EAC9B,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG;QAC3C,gBAAgB,EAAE,6BAA6B,CAAC,MAAM,CAAC,CAAC;KACzD,GACA,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACxB,QAAQ,CACZ,QAAQ,EAAE,gBAAgB,EAC1B,OAAO,EAAE,yBAAyB,CAAC,OAAO,CAAC,GAAG;QAC5C,gBAAgB,CAAC,EAAE,KAAK,CAAC;KAC1B,GACA,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACzB,QAAQ,CAAC,MAAM,GAAG,OAAO,EAAE,QAAQ,EAAE,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;CAiC1F"}
|
package/dist/index.js
CHANGED
|
@@ -3265,7 +3265,8 @@ ${additionalInstructions}`;
|
|
|
3265
3265
|
instructions: enhancedInstructions,
|
|
3266
3266
|
context: enhancedContext
|
|
3267
3267
|
};
|
|
3268
|
-
this.logger.debug(
|
|
3268
|
+
this.logger.debug("Starting generation with enhanced context", {
|
|
3269
|
+
agent: this.name,
|
|
3269
3270
|
projectPath: this.builderConfig.projectPath
|
|
3270
3271
|
});
|
|
3271
3272
|
return super.generateLegacy(messages, enhancedOptions);
|
|
@@ -3294,7 +3295,8 @@ ${additionalInstructions}`;
|
|
|
3294
3295
|
instructions: enhancedInstructions,
|
|
3295
3296
|
context: enhancedContext
|
|
3296
3297
|
};
|
|
3297
|
-
this.logger.debug(
|
|
3298
|
+
this.logger.debug("Starting streaming with enhanced context", {
|
|
3299
|
+
agent: this.name,
|
|
3298
3300
|
projectPath: this.builderConfig.projectPath
|
|
3299
3301
|
});
|
|
3300
3302
|
return super.streamLegacy(messages, enhancedOptions);
|
|
@@ -3318,7 +3320,8 @@ ${additionalInstructions}`;
|
|
|
3318
3320
|
instructions: enhancedInstructions,
|
|
3319
3321
|
context: enhancedContext
|
|
3320
3322
|
};
|
|
3321
|
-
this.logger.debug(
|
|
3323
|
+
this.logger.debug("Starting streaming with enhanced context", {
|
|
3324
|
+
agent: this.name,
|
|
3322
3325
|
projectPath: this.builderConfig.projectPath
|
|
3323
3326
|
});
|
|
3324
3327
|
return super.stream(messages, enhancedOptions);
|
|
@@ -3342,7 +3345,8 @@ ${additionalInstructions}`;
|
|
|
3342
3345
|
instructions: enhancedInstructions,
|
|
3343
3346
|
context: enhancedContext
|
|
3344
3347
|
};
|
|
3345
|
-
this.logger.debug(
|
|
3348
|
+
this.logger.debug("Starting generation with enhanced context", {
|
|
3349
|
+
agent: this.name,
|
|
3346
3350
|
projectPath: this.builderConfig.projectPath
|
|
3347
3351
|
});
|
|
3348
3352
|
return super.generate(messages, enhancedOptions);
|