@mastra/agent-builder 0.0.5 → 0.0.6-alpha.1
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
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @mastra/agent-builder
|
|
2
2
|
|
|
3
|
+
## 0.0.6-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Update Peerdeps for packages based on core minor bump ([#8025](https://github.com/mastra-ai/mastra/pull/8025))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`cf34503`](https://github.com/mastra-ai/mastra/commit/cf345031de4e157f29087946449e60b965e9c8a9), [`6b4b1e4`](https://github.com/mastra-ai/mastra/commit/6b4b1e4235428d39e51cbda9832704c0ba70ab32), [`3469fca`](https://github.com/mastra-ai/mastra/commit/3469fca7bb7e5e19369ff9f7044716a5e4b02585), [`c4a8204`](https://github.com/mastra-ai/mastra/commit/c4a82046bfd241d6044e234bc5917d5a01fe6b55), [`5b1ee71`](https://github.com/mastra-ai/mastra/commit/5b1ee71dc3ac92383226dc1e375642ca5f9b4224)]:
|
|
10
|
+
- @mastra/core@0.18.0-alpha.2
|
|
11
|
+
- @mastra/memory@0.15.3-alpha.0
|
|
12
|
+
|
|
13
|
+
## 0.0.6-alpha.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- fix: result object type inference when using structuredOutput and unify output/structuredOutput types with single OUTPUT generic ([#7969](https://github.com/mastra-ai/mastra/pull/7969))
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`a61f23f`](https://github.com/mastra-ai/mastra/commit/a61f23fbbca4b88b763d94f1d784c47895ed72d7), [`d1dc606`](https://github.com/mastra-ai/mastra/commit/d1dc6067b0557a71190b68d56ee15b48c26d2411), [`d3bd4d4`](https://github.com/mastra-ai/mastra/commit/d3bd4d482a685bbb67bfa89be91c90dca3fa71ad)]:
|
|
20
|
+
- @mastra/core@0.17.2-alpha.0
|
|
21
|
+
|
|
3
22
|
## 0.0.5
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import { Agent } from '@mastra/core/agent';
|
|
|
2
2
|
import type { AgentExecutionOptions } from '@mastra/core/agent';
|
|
3
3
|
import type { MessageListInput } from '@mastra/core/agent/message-list';
|
|
4
4
|
import type { AISDKV5OutputStream, MastraModelOutput, OutputSchema } from '@mastra/core/stream';
|
|
5
|
-
import type { JSONSchema7 } from 'ai';
|
|
6
|
-
import type { ZodSchema } from 'zod';
|
|
7
5
|
import type { AgentBuilderConfig } from '../types.js';
|
|
8
6
|
export declare class AgentBuilder extends Agent {
|
|
9
7
|
private builderConfig;
|
|
@@ -25,7 +23,7 @@ export declare class AgentBuilder extends Agent {
|
|
|
25
23
|
* Enhanced stream method with AgentBuilder-specific configuration
|
|
26
24
|
* Overrides the base Agent stream method to provide additional project context
|
|
27
25
|
*/
|
|
28
|
-
streamVNext<OUTPUT extends OutputSchema
|
|
29
|
-
generateVNext<OUTPUT extends OutputSchema
|
|
26
|
+
streamVNext<OUTPUT extends OutputSchema = undefined, FORMAT extends 'mastra' | 'aisdk' | undefined = undefined>(messages: MessageListInput, streamOptions?: AgentExecutionOptions<OUTPUT, FORMAT>): Promise<FORMAT extends 'aisdk' ? AISDKV5OutputStream<OUTPUT> : MastraModelOutput<OUTPUT>>;
|
|
27
|
+
generateVNext<OUTPUT extends OutputSchema = undefined, FORMAT extends 'aisdk' | 'mastra' = 'mastra'>(messages: MessageListInput, options?: AgentExecutionOptions<OUTPUT, FORMAT>): Promise<FORMAT extends 'aisdk' ? Awaited<ReturnType<AISDKV5OutputStream<OUTPUT>['getFullOutput']>> : Awaited<ReturnType<MastraModelOutput<OUTPUT>['getFullOutput']>>>;
|
|
30
28
|
}
|
|
31
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,EAIV,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
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,EAIV,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKhG,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,UAAU,CAAC;AA+BzE,qBAAa,YAAa,SAAQ,KAAK;IACrC,OAAO,CAAC,aAAa,CAAqB;IAE1C;;OAEG;gBACS,MAAM,EAAE,kBAAkB;IAgCtC;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,CA6BzB;IAEF;;;OAGG;IACH,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CA4BrB;IAEF;;;OAGG;IACG,WAAW,CAAC,MAAM,SAAS,YAAY,GAAG,SAAS,EAAE,MAAM,SAAS,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,EAClH,QAAQ,EAAE,gBAAgB,EAC1B,aAAa,CAAC,EAAE,qBAAqB,CAAC,MAAM,EAAE,MAAM,CAAC,GACpD,OAAO,CAAC,MAAM,SAAS,OAAO,GAAG,mBAAmB,CAAC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