@mastra/agent-builder 0.0.1-alpha.3 → 0.0.1-alpha.4
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 +10 -0
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/processors/tool-summary.d.ts +3 -2
- package/dist/processors/tool-summary.d.ts.map +1 -1
- package/dist/processors/write-file.d.ts +2 -2
- package/dist/processors/write-file.d.ts.map +1 -1
- package/dist/workflows/task-planning/task-planning.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { MastraLanguageModel } from '@mastra/core/agent';
|
|
2
|
+
import type { CoreMessage } from '@mastra/core/llm';
|
|
3
|
+
import { MemoryProcessor } from '@mastra/core/memory';
|
|
3
4
|
/**
|
|
4
5
|
* Summarizes tool calls and caches results to avoid re-summarizing identical calls
|
|
5
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-summary.d.ts","sourceRoot":"","sources":["../../src/processors/tool-summary.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-summary.d.ts","sourceRoot":"","sources":["../../src/processors/tool-summary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,eAAe;IACvD,OAAO,CAAC,YAAY,CAAQ;IAC5B,OAAO,CAAC,YAAY,CAAkC;gBAE1C,EAAE,YAAY,EAAE,EAAE;QAAE,YAAY,EAAE,mBAAmB,CAAA;KAAE;IAUnE;;OAEG;IACI,cAAc,CAAC,QAAQ,EAAE,GAAG,GAAG,MAAM;IAkB5C;;OAEG;IACI,UAAU,IAAI,IAAI;IAIzB;;OAEG;IACI,aAAa,IAAI;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAE;IAOlD,OAAO,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;CAsF/D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { CoreMessage } from '@mastra/core/llm';
|
|
2
|
+
import { MemoryProcessor } from '@mastra/core/memory';
|
|
3
3
|
export declare class WriteToDiskProcessor extends MemoryProcessor {
|
|
4
4
|
private prefix;
|
|
5
5
|
constructor({ prefix }?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-file.d.ts","sourceRoot":"","sources":["../../src/processors/write-file.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"write-file.d.ts","sourceRoot":"","sources":["../../src/processors/write-file.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,qBAAa,oBAAqB,SAAQ,eAAe;IACvD,OAAO,CAAC,MAAM,CAAS;gBAEX,EAAE,MAAmB,EAAE,GAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAO;IAKvD,OAAO,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC;CAI/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-planning.d.ts","sourceRoot":"","sources":["../../../src/workflows/task-planning/task-planning.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task-planning.d.ts","sourceRoot":"","sources":["../../../src/workflows/task-planning/task-planning.ts"],"names":[],"mappings":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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/agent-builder",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"semver": "^7.7.2",
|
|
31
31
|
"swpm": "^2.6.0",
|
|
32
32
|
"zod": "^3.25.76",
|
|
33
|
-
"@mastra/memory": "0.14.3-alpha.
|
|
33
|
+
"@mastra/memory": "0.14.3-alpha.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.19.0",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"typescript-eslint": "^8.38.0",
|
|
42
42
|
"vitest": "^3.2.4",
|
|
43
43
|
"@internal/lint": "0.0.34",
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
44
|
+
"@internal/types-builder": "0.0.9",
|
|
45
|
+
"@mastra/core": "0.15.3-alpha.6"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@mastra/core": ">=0.
|
|
48
|
+
"@mastra/core": ">=0.15.3-0 <0.16.0-0",
|
|
49
49
|
"typescript": ">=5.7.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|