@mastra/core 1.23.0-alpha.8 → 1.23.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 +91 -0
- package/README.md +3 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/browser/index.cjs +2 -2
- package/dist/browser/index.js +1 -1
- package/dist/channels/index.cjs +4 -4
- package/dist/channels/index.js +1 -1
- package/dist/{chunk-AGEOFSDZ.js → chunk-2KZU2SCO.js} +4 -4
- package/dist/{chunk-AGEOFSDZ.js.map → chunk-2KZU2SCO.js.map} +1 -1
- package/dist/{chunk-6DMP7UU3.js → chunk-6VAIU4AU.js} +9 -9
- package/dist/{chunk-6DMP7UU3.js.map → chunk-6VAIU4AU.js.map} +1 -1
- package/dist/{chunk-4EDKJNFU.cjs → chunk-7FULOTOR.cjs} +7 -7
- package/dist/{chunk-4EDKJNFU.cjs.map → chunk-7FULOTOR.cjs.map} +1 -1
- package/dist/{chunk-ON4TYQED.cjs → chunk-BWVSCKCI.cjs} +14 -14
- package/dist/{chunk-ON4TYQED.cjs.map → chunk-BWVSCKCI.cjs.map} +1 -1
- package/dist/{chunk-I7VQPDZ7.js → chunk-CKWANVWO.js} +3 -3
- package/dist/{chunk-I7VQPDZ7.js.map → chunk-CKWANVWO.js.map} +1 -1
- package/dist/{chunk-MDI4VT5E.js → chunk-E26DJ2US.js} +3 -3
- package/dist/{chunk-MDI4VT5E.js.map → chunk-E26DJ2US.js.map} +1 -1
- package/dist/{chunk-AVEXOOCE.cjs → chunk-FQSO4NDD.cjs} +20 -20
- package/dist/{chunk-AVEXOOCE.cjs.map → chunk-FQSO4NDD.cjs.map} +1 -1
- package/dist/{chunk-7YWMSWHJ.js → chunk-INMSJ3DZ.js} +4 -4
- package/dist/{chunk-7YWMSWHJ.js.map → chunk-INMSJ3DZ.js.map} +1 -1
- package/dist/{chunk-VVGJHIQH.js → chunk-KF37B6EC.js} +3 -3
- package/dist/{chunk-VVGJHIQH.js.map → chunk-KF37B6EC.js.map} +1 -1
- package/dist/{chunk-KS5DMDW6.js → chunk-LYD64DUC.js} +4 -4
- package/dist/{chunk-KS5DMDW6.js.map → chunk-LYD64DUC.js.map} +1 -1
- package/dist/{chunk-IJDENHXO.cjs → chunk-OJOAE4S3.cjs} +77 -77
- package/dist/{chunk-IJDENHXO.cjs.map → chunk-OJOAE4S3.cjs.map} +1 -1
- package/dist/{chunk-FDZIDJEN.cjs → chunk-PZ64FGRR.cjs} +17 -17
- package/dist/{chunk-FDZIDJEN.cjs.map → chunk-PZ64FGRR.cjs.map} +1 -1
- package/dist/{chunk-2HOPBIDM.js → chunk-Q4KYASHS.js} +3 -3
- package/dist/chunk-Q4KYASHS.js.map +1 -0
- package/dist/{chunk-QCA3KTAW.js → chunk-SOWKRVVM.js} +8 -8
- package/dist/{chunk-QCA3KTAW.js.map → chunk-SOWKRVVM.js.map} +1 -1
- package/dist/{chunk-TYOVQZSQ.cjs → chunk-SU27ZUJZ.cjs} +6 -6
- package/dist/{chunk-TYOVQZSQ.cjs.map → chunk-SU27ZUJZ.cjs.map} +1 -1
- package/dist/{chunk-N2EZPXH3.cjs → chunk-TC6U6RW3.cjs} +3 -3
- package/dist/chunk-TC6U6RW3.cjs.map +1 -0
- package/dist/{chunk-MNLWRUSF.js → chunk-U2PNMUGC.js} +3 -3
- package/dist/{chunk-MNLWRUSF.js.map → chunk-U2PNMUGC.js.map} +1 -1
- package/dist/{chunk-GYBRTUAA.js → chunk-WRGRNVJH.js} +6 -6
- package/dist/{chunk-GYBRTUAA.js.map → chunk-WRGRNVJH.js.map} +1 -1
- package/dist/{chunk-VSJKEJEA.cjs → chunk-YMEQA4VG.cjs} +185 -185
- package/dist/{chunk-VSJKEJEA.cjs.map → chunk-YMEQA4VG.cjs.map} +1 -1
- package/dist/{chunk-B35QXEMG.cjs → chunk-YOOCZRXZ.cjs} +5 -5
- package/dist/{chunk-B35QXEMG.cjs.map → chunk-YOOCZRXZ.cjs.map} +1 -1
- package/dist/{chunk-I3Y3GPMU.cjs → chunk-YYCWDEMP.cjs} +48 -48
- package/dist/{chunk-I3Y3GPMU.cjs.map → chunk-YYCWDEMP.cjs.map} +1 -1
- package/dist/{chunk-SI62QJN6.cjs → chunk-ZGJUBWEO.cjs} +9 -9
- package/dist/{chunk-SI62QJN6.cjs.map → chunk-ZGJUBWEO.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +3 -1
- package/dist/docs/assets/SOURCE_MAP.json +130 -130
- package/dist/docs/references/docs-browser-overview.md +136 -0
- package/dist/docs/references/reference-browser-mastra-browser.md +284 -0
- package/dist/docs/references/reference.md +3 -0
- package/dist/evals/index.cjs +5 -5
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +7 -7
- package/dist/harness/index.js +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +20 -20
- package/dist/llm/index.js +5 -5
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/mastra-M37SYEJK.js +3 -0
- package/dist/{mastra-IC5TOCD6.js.map → mastra-M37SYEJK.js.map} +1 -1
- package/dist/mastra-NMWCZ3O6.cjs +12 -0
- package/dist/{mastra-DAVYK67K.cjs.map → mastra-NMWCZ3O6.cjs.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-UEVPXJSE.js +3 -0
- package/dist/{models-dev-5ZYOBZZI.js.map → models-dev-UEVPXJSE.js.map} +1 -1
- package/dist/models-dev-WVWXVEOZ.cjs +12 -0
- package/dist/{models-dev-V3CMFY6A.cjs.map → models-dev-WVWXVEOZ.cjs.map} +1 -1
- package/dist/netlify-6Z5KOZYS.cjs +12 -0
- package/dist/{netlify-BWJ36562.cjs.map → netlify-6Z5KOZYS.cjs.map} +1 -1
- package/dist/netlify-ISK47X6N.js +3 -0
- package/dist/{netlify-IROLGTG3.js.map → netlify-ISK47X6N.js.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-7SHG3MED.js +3 -0
- package/dist/{provider-registry-5XBG4HYJ.js.map → provider-registry-7SHG3MED.js.map} +1 -1
- package/dist/provider-registry-HXNNFXSN.cjs +44 -0
- package/dist/{provider-registry-3AYLGCSG.cjs.map → provider-registry-HXNNFXSN.cjs.map} +1 -1
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +9 -9
- package/dist/chunk-2HOPBIDM.js.map +0 -1
- package/dist/chunk-N2EZPXH3.cjs.map +0 -1
- package/dist/mastra-DAVYK67K.cjs +0 -12
- package/dist/mastra-IC5TOCD6.js +0 -3
- package/dist/models-dev-5ZYOBZZI.js +0 -3
- package/dist/models-dev-V3CMFY6A.cjs +0 -12
- package/dist/netlify-BWJ36562.cjs +0 -12
- package/dist/netlify-IROLGTG3.js +0 -3
- package/dist/provider-registry-3AYLGCSG.cjs +0 -44
- package/dist/provider-registry-5XBG4HYJ.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,96 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added `UpdateObservationalMemoryConfigInput` type, `updateObservationalMemoryConfig()` method stub, and `deepMergeConfig()` utility to the `MemoryStorage` base class. These additions support per-record observational memory config overrides introduced in `@mastra/memory`. ([#15115](https://github.com/mastra-ai/mastra/pull/15115))
|
|
8
|
+
|
|
9
|
+
- Memory operations now produce observability spans and accept an optional `observabilityContext` parameter. A new `MEMORY_OPERATION` span type, `MEMORY` entity type, and `MemoryOperationAttributes` interface let you identify memory spans in your traces. Agent and network code automatically threads observability context into memory calls. ([#14305](https://github.com/mastra-ai/mastra/pull/14305))
|
|
10
|
+
|
|
11
|
+
**New observability identifiers:**
|
|
12
|
+
- `SpanType.MEMORY_OPERATION` — span type for all memory operations
|
|
13
|
+
- `EntityType.MEMORY` — entity type for memory spans
|
|
14
|
+
- `MemoryOperationAttributes` — typed attributes (operationType, messageCount, embeddingTokens, etc.)
|
|
15
|
+
|
|
16
|
+
**Updated abstract methods** on `MastraMemory` now accept optional `observabilityContext`:
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { ObservabilityContext } from '@mastra/core/observability';
|
|
20
|
+
|
|
21
|
+
// All four methods accept an optional observabilityContext
|
|
22
|
+
await memory.recall({
|
|
23
|
+
threadId: 'thread-1',
|
|
24
|
+
observabilityContext: { tracingContext: { currentSpan: parentSpan } },
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
await memory.saveMessages({
|
|
28
|
+
messages,
|
|
29
|
+
observabilityContext: { tracingContext: { currentSpan: parentSpan } },
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
await memory.deleteMessages(['msg-1'], { tracingContext: { currentSpan: parentSpan } });
|
|
33
|
+
|
|
34
|
+
await memory.updateWorkingMemory({
|
|
35
|
+
threadId: 'thread-1',
|
|
36
|
+
workingMemory: 'content',
|
|
37
|
+
observabilityContext: { tracingContext: { currentSpan: parentSpan } },
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
- Added dynamic function support for workspace tool config. The `enabled`, `requireApproval`, and `requireReadBeforeWrite` options now accept async functions in addition to static booleans, enabling context-aware tool behavior like disabling tools based on user tier or requiring approval only for certain file paths. ([#14528](https://github.com/mastra-ai/mastra/pull/14528))
|
|
42
|
+
|
|
43
|
+
**Example**
|
|
44
|
+
|
|
45
|
+
```typescript
|
|
46
|
+
tools: {
|
|
47
|
+
[WORKSPACE_TOOLS.FILESYSTEM.WRITE_FILE]: {
|
|
48
|
+
requireApproval: async ({ args }) => {
|
|
49
|
+
return (args.path as string).startsWith('/protected')
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
[WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND]: {
|
|
53
|
+
enabled: async ({ requestContext }) => {
|
|
54
|
+
return requestContext['allowExecution'] === 'true'
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
- Added MASTRA_OFFLINE environment variable to disable network fetches for provider data in offline/air-gapped environments. When set to 'true' or '1', all provider sync and auto-refresh operations are skipped while the static provider registry remains fully functional. ([#15101](https://github.com/mastra-ai/mastra/pull/15101))
|
|
61
|
+
|
|
62
|
+
- Added `WORKSPACE_ACTION` span type for workspace tracing. All workspace tools (filesystem, sandbox, search, skill, LSP) now create child spans with metadata including category, operation, file paths, commands, exit codes, bytes transferred, and duration. Added `startWorkspaceSpan()` utility for span creation with graceful no-op when tracing is inactive. ([#14554](https://github.com/mastra-ai/mastra/pull/14554))
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Update provider registry and model documentation with latest models and providers ([`f32b9e1`](https://github.com/mastra-ai/mastra/commit/f32b9e115a3c754d1c8cfa3f4256fba87b09cfb7))
|
|
67
|
+
|
|
68
|
+
- Added `setBrowser` method to Agent class for runtime browser configuration ([#15036](https://github.com/mastra-ai/mastra/pull/15036))
|
|
69
|
+
|
|
70
|
+
- Fixed resourceId being overwritten to NULL during workflow execution of loop, foreach, parallel, and conditional steps. The resourceId set via `createRun()` is now correctly preserved throughout the entire workflow lifecycle. ([#14958](https://github.com/mastra-ai/mastra/pull/14958))
|
|
71
|
+
|
|
72
|
+
- Fix onScorerRun hook payloads missing threadId and resourceId so hooks now receive correct identifiers ([#13835](https://github.com/mastra-ai/mastra/pull/13835))
|
|
73
|
+
|
|
74
|
+
- Fixed AGENTS.md reminder persistence and deduplication across turns by storing reminder metadata on injected user messages. ([#15100](https://github.com/mastra-ai/mastra/pull/15100))
|
|
75
|
+
|
|
76
|
+
- Fixed sub-agent memory isolation so sub-agents no longer inherit parent requestContext keys and write to their own threads when `mastra__threadId` or `mastra__resourceId` are set. ([#15022](https://github.com/mastra-ai/mastra/pull/15022))
|
|
77
|
+
|
|
78
|
+
- Fully isolate `async_hooks` from shared chunks so importing `@mastra/core` in browser bundles never pulls in the Node-only dependency ([#15074](https://github.com/mastra-ai/mastra/pull/15074))
|
|
79
|
+
|
|
80
|
+
- Fixed `__setLogger` passing a raw string to `logger.child()`, which caused PinoLogger to serialize each character as a separate log field (e.g. `0: "B", 1: "U", 2: "N"...`). Now passes `{ component }` object instead. ([#15079](https://github.com/mastra-ai/mastra/pull/15079))
|
|
81
|
+
|
|
82
|
+
- Fixed observational memory buffering so sealed assistant chunks stay split instead of being merged back into one persisted message during long tool runs. ([#14995](https://github.com/mastra-ai/mastra/pull/14995))
|
|
83
|
+
|
|
84
|
+
- Fixed image attachments from @ai-sdk/react and @ai-sdk/vue clients throwing errors. File parts using the AI SDK v5 UIMessage format ({ type: 'file', url: '...', mediaType: '...' }) are now handled correctly when routed through the ModelMessage code path. ([#14734](https://github.com/mastra-ai/mastra/pull/14734))
|
|
85
|
+
|
|
86
|
+
- Fixed a browser bundling issue where importing `@mastra/core` could pull in a Node-only dependency. ([#15072](https://github.com/mastra-ai/mastra/pull/15072))
|
|
87
|
+
|
|
88
|
+
## 1.23.0-alpha.9
|
|
89
|
+
|
|
90
|
+
### Minor Changes
|
|
91
|
+
|
|
92
|
+
- Added `UpdateObservationalMemoryConfigInput` type, `updateObservationalMemoryConfig()` method stub, and `deepMergeConfig()` utility to the `MemoryStorage` base class. These additions support per-record observational memory config overrides introduced in `@mastra/memory`. ([#15115](https://github.com/mastra-ai/mastra/pull/15115))
|
|
93
|
+
|
|
3
94
|
## 1.23.0-alpha.8
|
|
4
95
|
|
|
5
96
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -50,6 +50,9 @@ npm install @mastra/core
|
|
|
50
50
|
- **Voice** (`/voice`) - Voice interaction capabilities with text-to-speech and speech-to-text integration. Supports multiple voice providers and real-time voice
|
|
51
51
|
communication for agents. [Learn more about Voice](https://mastra.ai/docs/voice/overview)
|
|
52
52
|
|
|
53
|
+
- **Browser** (`/browser`) - Base classes and utilities for browser automation. Provides the `MastraBrowser` abstract class, thread management, and screencast streaming
|
|
54
|
+
for building browser providers. Use with `@mastra/agent-browser` or `@mastra/stagehand` for complete browser automation. [Learn more about Browser](https://mastra.ai/docs/browser/overview)
|
|
55
|
+
|
|
53
56
|
## Additional Resources
|
|
54
57
|
|
|
55
58
|
- [Getting Started Guide](https://mastra.ai/docs/getting-started/installation)
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBWVSCKCI_cjs = require('../chunk-BWVSCKCI.cjs');
|
|
4
4
|
var chunkWAPY5X7M_cjs = require('../chunk-WAPY5X7M.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Agent", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBWVSCKCI_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TripWire", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBWVSCKCI_cjs.TripWire; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isSupportedLanguageModel", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBWVSCKCI_cjs.isSupportedLanguageModel; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveThreadIdFromArgs", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBWVSCKCI_cjs.resolveThreadIdFromArgs; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBWVSCKCI_cjs.supportedLanguageModelSpecifications; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBWVSCKCI_cjs.tryGenerateWithJsonFallback; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "tryStreamWithJsonFallback", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkBWVSCKCI_cjs.tryStreamWithJsonFallback; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "MessageList", {
|
|
37
37
|
enumerable: true,
|
package/dist/agent/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-
|
|
1
|
+
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-2KZU2SCO.js';
|
|
2
2
|
export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-DRKIN7BQ.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/browser/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBWVSCKCI_cjs = require('../chunk-BWVSCKCI.cjs');
|
|
4
4
|
var chunkFCQNDFEW_cjs = require('../chunk-FCQNDFEW.cjs');
|
|
5
5
|
var chunk7GW2TQXP_cjs = require('../chunk-7GW2TQXP.cjs');
|
|
6
6
|
var events = require('events');
|
|
@@ -1037,7 +1037,7 @@ To fix this, either:
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
getInputProcessors(configuredProcessors = []) {
|
|
1039
1039
|
const hasProcessor = configuredProcessors.some(
|
|
1040
|
-
(p) => !
|
|
1040
|
+
(p) => !chunkBWVSCKCI_cjs.isProcessorWorkflow(p) && "id" in p && p.id === "browser-context"
|
|
1041
1041
|
);
|
|
1042
1042
|
if (hasProcessor) return [];
|
|
1043
1043
|
return [new BrowserContextProcessor()];
|
package/dist/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isProcessorWorkflow } from '../chunk-
|
|
1
|
+
import { isProcessorWorkflow } from '../chunk-2KZU2SCO.js';
|
|
2
2
|
import { MastraBase } from '../chunk-WENZPAHS.js';
|
|
3
3
|
import { RegisteredLogger } from '../chunk-DBBWTK24.js';
|
|
4
4
|
import { EventEmitter } from 'events';
|
package/dist/channels/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBWVSCKCI_cjs = require('../chunk-BWVSCKCI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AgentChannels", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBWVSCKCI_cjs.AgentChannels; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ChatChannelProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkBWVSCKCI_cjs.ChatChannelProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MastraStateAdapter", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkBWVSCKCI_cjs.MastraStateAdapter; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/channels/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { PUBSUB_SYMBOL, STREAM_FORMAT_SYMBOL } from './chunk-2QXNHEDL.js';
|
|
1
2
|
import { createWorkspaceTools, createSkillTools, getTiktoken, BM25Index } from './chunk-TD7IL7ZC.js';
|
|
2
3
|
import { DefaultVoice } from './chunk-72EQLBZY.js';
|
|
3
|
-
import { PUBSUB_SYMBOL, STREAM_FORMAT_SYMBOL } from './chunk-2QXNHEDL.js';
|
|
4
4
|
import { InMemoryStore } from './chunk-YRGPLKBI.js';
|
|
5
5
|
import { MessageList, coreContentToString, DefaultGeneratedFile, DefaultGeneratedFileWithType, sanitizeToolName } from './chunk-DRKIN7BQ.js';
|
|
6
6
|
import { parsePartialJson, isDeepEqualData, stepCountIs } from './chunk-2PHG443D.js';
|
|
7
7
|
import { generateId, APICallError, tool, asSchema } from './chunk-6PALJNKG.js';
|
|
8
8
|
import { EventEmitterPubSub } from './chunk-X2HAI3OX.js';
|
|
9
9
|
import { executeHook } from './chunk-L54GIUCB.js';
|
|
10
|
-
import { resolveModelConfig, ModelRouterEmbeddingModel, ModelRouterLanguageModel } from './chunk-
|
|
10
|
+
import { resolveModelConfig, ModelRouterEmbeddingModel, ModelRouterLanguageModel } from './chunk-WRGRNVJH.js';
|
|
11
11
|
import { MastraLLMV1 } from './chunk-KQIVH5GM.js';
|
|
12
12
|
import { noopLogger } from './chunk-PJ5YCHXB.js';
|
|
13
13
|
import { removeUndefinedValues, safeStringify, ensureToolProperties, makeCoreTool, createMastraProxy, deepMerge, generateEmptyFromSchema, selectFields, ensureSerializable, delay } from './chunk-OLCO53KU.js';
|
|
@@ -29239,5 +29239,5 @@ var MockMemory = class extends MastraMemory {
|
|
|
29239
29239
|
};
|
|
29240
29240
|
|
|
29241
29241
|
export { Agent, AgentChannels, AgentsMDInjector, BaseProcessor, BatchPartsProcessor, ChatChannelProcessor, ChunkFrom, DefaultExecutionEngine, ExecutionEngine, FilePartSchema, ImagePartSchema, LanguageDetector, MastraAgentNetworkStream, MastraMemory, MastraModelOutput, MastraScorer, MastraStateAdapter, MemoryProcessor, MessageContentSchema, MessageHistory, MessagePartSchema, MockMemory, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, Run, SYSTEM_REMINDER_END_TAG, SYSTEM_REMINDER_START_TAG, SemanticRecall, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, TripWire, UnicodeNormalizer, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, Workflow, WorkflowRunOutput, WorkingMemory, WorkspaceInstructionsProcessor, augmentWithInit, cleanStepResult, cloneStep, cloneWorkflow, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5, createDeprecationProxy, createScorer, createStep, createTimeTravelExecutionParams, createWorkflow, extractWorkingMemoryContent, extractWorkingMemoryTags, filterSystemReminderMessages, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, forwardAgentStreamChunk, generateFinalResult, generateStructuredFinalResult, getResumeLabelsByStepId, getStepIds, getStepResult, getThreadOMMetadata, globalEmbeddingCache, hydrateSerializedStepErrors, isObservationalMemoryEnabled, isProcessor, isProcessorWorkflow, isSupportedLanguageModel, isSystemReminderMessage, loop, mapVariable, memoryDefaultOptions, parseMemoryRequestContext, removeSystemReminderTags, removeWorkingMemoryTags, resolveThreadIdFromArgs, runChecks, runCompletionScorers, runCountDeprecationMessage, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation, setThreadOMMetadata, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData };
|
|
29242
|
-
//# sourceMappingURL=chunk-
|
|
29243
|
-
//# sourceMappingURL=chunk-
|
|
29242
|
+
//# sourceMappingURL=chunk-2KZU2SCO.js.map
|
|
29243
|
+
//# sourceMappingURL=chunk-2KZU2SCO.js.map
|