@mastra/core 1.13.3-alpha.1 → 1.14.0-alpha.2
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/_types/@internal_core/dist/index.d.ts +1333 -0
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/conversion/output-converter.d.ts.map +1 -1
- package/dist/agent/message-list/index.cjs +18 -18
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/message-list/message-list.d.ts +12 -1
- package/dist/agent/message-list/message-list.d.ts.map +1 -1
- package/dist/agent/message-list/types.d.ts +3 -3
- package/dist/agent/types.d.ts +1 -1
- package/dist/{chunk-3B6BQEKK.cjs → chunk-2FDGDAJQ.cjs} +3 -3
- package/dist/{chunk-3B6BQEKK.cjs.map → chunk-2FDGDAJQ.cjs.map} +1 -1
- package/dist/{chunk-GYSKVDYD.js → chunk-3TECGW34.js} +5 -5
- package/dist/{chunk-GYSKVDYD.js.map → chunk-3TECGW34.js.map} +1 -1
- package/dist/{chunk-Q4W5XQK2.cjs → chunk-445B4SO3.cjs} +292 -403
- package/dist/chunk-445B4SO3.cjs.map +1 -0
- package/dist/{chunk-WO2CP4Z2.cjs → chunk-4X35LO4W.cjs} +32 -156
- package/dist/chunk-4X35LO4W.cjs.map +1 -0
- package/dist/{chunk-GC7AHOXK.js → chunk-5LHPEIQQ.js} +12 -12
- package/dist/chunk-5LHPEIQQ.js.map +1 -0
- package/dist/{chunk-CMTNYR6E.js → chunk-5UAF67E3.js} +9 -9
- package/dist/{chunk-CMTNYR6E.js.map → chunk-5UAF67E3.js.map} +1 -1
- package/dist/{chunk-SBHYPYXD.js → chunk-5WKCTOYN.js} +13 -13
- package/dist/chunk-5WKCTOYN.js.map +1 -0
- package/dist/{chunk-WKZEZJKQ.js → chunk-7V4HN5NK.js} +5 -5
- package/dist/{chunk-WKZEZJKQ.js.map → chunk-7V4HN5NK.js.map} +1 -1
- package/dist/{chunk-F3SHGIQA.cjs → chunk-B3KIJAOJ.cjs} +185 -185
- package/dist/{chunk-F3SHGIQA.cjs.map → chunk-B3KIJAOJ.cjs.map} +1 -1
- package/dist/{chunk-TAXQJ5ZP.js → chunk-BOUXMXZQ.js} +4 -94
- package/dist/chunk-BOUXMXZQ.js.map +1 -0
- package/dist/{chunk-MIILNUS4.cjs → chunk-DDIY3CRP.cjs} +10 -10
- package/dist/chunk-DDIY3CRP.cjs.map +1 -0
- package/dist/{chunk-4RWTWZET.cjs → chunk-EAKNCJKL.cjs} +31 -433
- package/dist/chunk-EAKNCJKL.cjs.map +1 -0
- package/dist/{chunk-RE3YFYVQ.cjs → chunk-EH5D56XV.cjs} +7 -7
- package/dist/{chunk-RE3YFYVQ.cjs.map → chunk-EH5D56XV.cjs.map} +1 -1
- package/dist/{chunk-A2B3L753.js → chunk-FZNKE4DK.js} +4 -4
- package/dist/{chunk-A2B3L753.js.map → chunk-FZNKE4DK.js.map} +1 -1
- package/dist/chunk-GVQJCS5O.js +812 -0
- package/dist/chunk-GVQJCS5O.js.map +1 -0
- package/dist/{chunk-NUZYNU4M.cjs → chunk-J7Q3CZI5.cjs} +14 -14
- package/dist/{chunk-NUZYNU4M.cjs.map → chunk-J7Q3CZI5.cjs.map} +1 -1
- package/dist/{chunk-CJYTDH5Q.js → chunk-KJUHI5QK.js} +5 -5
- package/dist/chunk-KJUHI5QK.js.map +1 -0
- package/dist/{chunk-B44JEQHW.js → chunk-KKNT7W4Q.js} +4 -4
- package/dist/{chunk-B44JEQHW.js.map → chunk-KKNT7W4Q.js.map} +1 -1
- package/dist/{chunk-FDC6E3MJ.cjs → chunk-LAFTYVLN.cjs} +72 -72
- package/dist/chunk-LAFTYVLN.cjs.map +1 -0
- package/dist/chunk-LIRWMGGI.cjs +931 -0
- package/dist/chunk-LIRWMGGI.cjs.map +1 -0
- package/dist/{chunk-6JM4RID6.js → chunk-MCAE3D3S.js} +41 -7
- package/dist/chunk-MCAE3D3S.js.map +1 -0
- package/dist/{chunk-T5M2TGCD.js → chunk-OGR427FH.js} +14 -350
- package/dist/chunk-OGR427FH.js.map +1 -0
- package/dist/{chunk-AZZGCVBY.js → chunk-PV2DBPYF.js} +3 -3
- package/dist/{chunk-AZZGCVBY.js.map → chunk-PV2DBPYF.js.map} +1 -1
- package/dist/{chunk-Z7JQTINS.js → chunk-QROAUTDP.js} +3 -3
- package/dist/{chunk-Z7JQTINS.js.map → chunk-QROAUTDP.js.map} +1 -1
- package/dist/{chunk-DRZWU4MQ.cjs → chunk-RQFAL5VW.cjs} +13 -13
- package/dist/chunk-RQFAL5VW.cjs.map +1 -0
- package/dist/{chunk-YTSTLTQ5.cjs → chunk-SRNRUDZ2.cjs} +21 -21
- package/dist/{chunk-YTSTLTQ5.cjs.map → chunk-SRNRUDZ2.cjs.map} +1 -1
- package/dist/{chunk-L2YA2HHZ.js → chunk-SRVR5Z2F.js} +5 -5
- package/dist/{chunk-L2YA2HHZ.js.map → chunk-SRVR5Z2F.js.map} +1 -1
- package/dist/{chunk-KMG525KB.js → chunk-TFV75T4H.js} +10 -10
- package/dist/{chunk-KMG525KB.js.map → chunk-TFV75T4H.js.map} +1 -1
- package/dist/{chunk-26JVEE76.cjs → chunk-UHO57W6H.cjs} +7 -7
- package/dist/{chunk-26JVEE76.cjs.map → chunk-UHO57W6H.cjs.map} +1 -1
- package/dist/{chunk-QXNHZJRV.js → chunk-UWTB4U2X.js} +127 -238
- package/dist/chunk-UWTB4U2X.js.map +1 -0
- package/dist/{chunk-E2Y2HLCU.cjs → chunk-W2LUCUUP.cjs} +41 -7
- package/dist/chunk-W2LUCUUP.cjs.map +1 -0
- package/dist/{chunk-X7IX2H7I.cjs → chunk-XVH7SCZN.cjs} +13 -13
- package/dist/{chunk-X7IX2H7I.cjs.map → chunk-XVH7SCZN.cjs.map} +1 -1
- package/dist/{chunk-CXYQJVHK.cjs → chunk-YSQC2LEG.cjs} +10 -10
- package/dist/{chunk-CXYQJVHK.cjs.map → chunk-YSQC2LEG.cjs.map} +1 -1
- package/dist/{chunk-XNHOUTCP.cjs → chunk-ZSFSSMFT.cjs} +84 -84
- package/dist/{chunk-XNHOUTCP.cjs.map → chunk-ZSFSSMFT.cjs.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +721 -708
- package/dist/docs/references/docs-agents-adding-voice.md +6 -6
- package/dist/docs/references/docs-agents-agent-approval.md +4 -4
- package/dist/docs/references/docs-agents-guardrails.md +1 -1
- package/dist/docs/references/docs-agents-network-approval.md +1 -1
- package/dist/docs/references/docs-agents-networks.md +1 -1
- package/dist/docs/references/docs-agents-overview.md +2 -2
- package/dist/docs/references/docs-agents-processors.md +11 -11
- package/dist/docs/references/docs-agents-structured-output.md +4 -4
- package/dist/docs/references/docs-agents-supervisor-agents.md +3 -3
- package/dist/docs/references/docs-agents-using-tools.md +4 -4
- package/dist/docs/references/docs-evals-custom-scorers.md +4 -4
- package/dist/docs/references/docs-evals-overview.md +2 -2
- package/dist/docs/references/docs-memory-memory-processors.md +6 -6
- package/dist/docs/references/docs-memory-semantic-recall.md +1 -1
- package/dist/docs/references/docs-memory-storage.md +1 -1
- package/dist/docs/references/docs-memory-working-memory.md +1 -1
- package/dist/docs/references/docs-observability-datasets-running-experiments.md +1 -1
- package/dist/docs/references/docs-observability-tracing-exporters-langfuse.md +1 -1
- package/dist/docs/references/docs-observability-tracing-exporters-langsmith.md +2 -2
- package/dist/docs/references/docs-rag-graph-rag.md +2 -2
- package/dist/docs/references/docs-rag-retrieval.md +12 -12
- package/dist/docs/references/docs-server-mastra-client.md +1 -1
- package/dist/docs/references/docs-server-request-context.md +3 -3
- package/dist/docs/references/docs-streaming-tool-streaming.md +1 -1
- package/dist/docs/references/docs-voice-overview.md +21 -21
- package/dist/docs/references/docs-voice-speech-to-speech.md +2 -2
- package/dist/docs/references/docs-voice-speech-to-text.md +1 -1
- package/dist/docs/references/docs-voice-text-to-speech.md +1 -1
- package/dist/docs/references/docs-workspace-filesystem.md +1 -1
- package/dist/docs/references/docs-workspace-overview.md +1 -1
- package/dist/docs/references/docs-workspace-sandbox.md +1 -1
- package/dist/docs/references/reference-agents-agent.md +5 -5
- package/dist/docs/references/reference-agents-generateLegacy.md +2 -2
- package/dist/docs/references/reference-agents-getLLM.md +1 -1
- package/dist/docs/references/reference-agents-network.md +1 -1
- package/dist/docs/references/reference-configuration.md +3 -3
- package/dist/docs/references/reference-evals-answer-relevancy.md +1 -1
- package/dist/docs/references/reference-evals-answer-similarity.md +1 -1
- package/dist/docs/references/reference-evals-bias.md +1 -1
- package/dist/docs/references/reference-evals-context-precision.md +3 -3
- package/dist/docs/references/reference-evals-faithfulness.md +1 -1
- package/dist/docs/references/reference-evals-hallucination.md +5 -5
- package/dist/docs/references/reference-evals-toxicity.md +1 -1
- package/dist/docs/references/reference-harness-harness-class.md +4 -4
- package/dist/docs/references/reference-memory-memory-class.md +3 -3
- package/dist/docs/references/reference-memory-observational-memory.md +5 -5
- package/dist/docs/references/reference-processors-batch-parts-processor.md +1 -1
- package/dist/docs/references/reference-processors-language-detector.md +1 -1
- package/dist/docs/references/reference-processors-moderation-processor.md +2 -2
- package/dist/docs/references/reference-processors-pii-detector.md +2 -2
- package/dist/docs/references/reference-processors-processor-interface.md +3 -3
- package/dist/docs/references/reference-processors-prompt-injection-detector.md +1 -1
- package/dist/docs/references/reference-processors-system-prompt-scrubber.md +1 -1
- package/dist/docs/references/reference-processors-token-limiter-processor.md +3 -3
- package/dist/docs/references/reference-processors-tool-search-processor.md +2 -2
- package/dist/docs/references/reference-processors-unicode-normalizer.md +1 -1
- package/dist/docs/references/reference-storage-mongodb.md +1 -1
- package/dist/docs/references/reference-storage-postgresql.md +1 -1
- package/dist/docs/references/reference-storage-upstash.md +1 -1
- package/dist/docs/references/reference-templates-overview.md +1 -1
- package/dist/docs/references/reference-tools-mcp-client.md +2 -2
- package/dist/docs/references/reference-tools-mcp-server.md +1 -1
- package/dist/docs/references/reference-tools-vector-query-tool.md +1 -1
- package/dist/docs/references/reference-vectors-libsql.md +1 -1
- package/dist/docs/references/reference-vectors-mongodb.md +1 -1
- package/dist/docs/references/reference-vectors-pg.md +1 -1
- package/dist/docs/references/reference-vectors-upstash.md +1 -1
- package/dist/docs/references/reference-voice-voice.addInstructions.md +1 -1
- package/dist/docs/references/reference-workspace-local-filesystem.md +1 -1
- package/dist/docs/references/reference-workspace-local-sandbox.md +1 -1
- package/dist/evals/index.cjs +20 -20
- package/dist/evals/index.js +3 -3
- package/dist/evals/scoreTraces/index.cjs +7 -7
- package/dist/evals/scoreTraces/index.js +3 -3
- package/dist/features/index.cjs +2 -1
- package/dist/features/index.cjs.map +1 -1
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +2 -1
- package/dist/features/index.js.map +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 +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/base.types.d.ts +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +4 -4
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/llm-mapping-step.d.ts.map +1 -1
- package/dist/loop/workflows/agentic-execution/tool-call-step.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/memory/types.d.ts +1 -1
- package/dist/models-dev-E24MAXL2.cjs +12 -0
- package/dist/{models-dev-SOEEI4UR.cjs.map → models-dev-E24MAXL2.cjs.map} +1 -1
- package/dist/models-dev-F65PLXGJ.js +3 -0
- package/dist/{models-dev-EKZCLX7Y.js.map → models-dev-F65PLXGJ.js.map} +1 -1
- package/dist/netlify-FT3VYX27.cjs +12 -0
- package/dist/{netlify-SSPGBXOO.cjs.map → netlify-FT3VYX27.cjs.map} +1 -1
- package/dist/netlify-NYUZ5ZTO.js +3 -0
- package/dist/{netlify-ALYV7577.js.map → netlify-NYUZ5ZTO.js.map} +1 -1
- package/dist/observability/index.cjs +17 -17
- package/dist/observability/index.js +1 -1
- package/dist/observability/types/tracing.d.ts +2 -22
- package/dist/observability/types/tracing.d.ts.map +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-5R2TUINW.js +3 -0
- package/dist/{provider-registry-AZ4SPASK.js.map → provider-registry-5R2TUINW.js.map} +1 -1
- package/dist/provider-registry-TVYED7F2.cjs +40 -0
- package/dist/{provider-registry-35V252GM.cjs.map → provider-registry-TVYED7F2.cjs.map} +1 -1
- package/dist/provider-registry.json +8 -8
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +56 -56
- package/dist/storage/constants.d.ts +1 -1
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/memory/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/observability/discovery.d.ts +1 -63
- package/dist/storage/domains/observability/discovery.d.ts.map +1 -1
- package/dist/storage/domains/observability/feedback.d.ts +1 -185
- package/dist/storage/domains/observability/feedback.d.ts.map +1 -1
- package/dist/storage/domains/observability/logs.d.ts +1 -321
- package/dist/storage/domains/observability/logs.d.ts.map +1 -1
- package/dist/storage/domains/observability/metrics.d.ts +1 -394
- package/dist/storage/domains/observability/metrics.d.ts.map +1 -1
- package/dist/storage/domains/observability/scores.d.ts +1 -192
- package/dist/storage/domains/observability/scores.d.ts.map +1 -1
- package/dist/storage/domains/observability/tracing.d.ts +50 -52
- package/dist/storage/domains/observability/tracing.d.ts.map +1 -1
- package/dist/storage/domains/shared.d.ts +1 -118
- package/dist/storage/domains/shared.d.ts.map +1 -1
- package/dist/storage/index.cjs +479 -466
- package/dist/storage/index.js +3 -2
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +23 -23
- package/dist/utils.js +1 -1
- package/dist/vector/embed.d.ts +2 -2
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/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 +6 -5
- package/src/llm/model/provider-types.generated.d.ts +4 -4
- package/dist/chunk-4RWTWZET.cjs.map +0 -1
- package/dist/chunk-6JM4RID6.js.map +0 -1
- package/dist/chunk-CJYTDH5Q.js.map +0 -1
- package/dist/chunk-DJCCDPZQ.js +0 -376
- package/dist/chunk-DJCCDPZQ.js.map +0 -1
- package/dist/chunk-DRZWU4MQ.cjs.map +0 -1
- package/dist/chunk-E2Y2HLCU.cjs.map +0 -1
- package/dist/chunk-FDC6E3MJ.cjs.map +0 -1
- package/dist/chunk-GC7AHOXK.js.map +0 -1
- package/dist/chunk-MIILNUS4.cjs.map +0 -1
- package/dist/chunk-PBDJR7QN.cjs +0 -393
- package/dist/chunk-PBDJR7QN.cjs.map +0 -1
- package/dist/chunk-Q4W5XQK2.cjs.map +0 -1
- package/dist/chunk-QXNHZJRV.js.map +0 -1
- package/dist/chunk-SBHYPYXD.js.map +0 -1
- package/dist/chunk-T5M2TGCD.js.map +0 -1
- package/dist/chunk-TAXQJ5ZP.js.map +0 -1
- package/dist/chunk-WO2CP4Z2.cjs.map +0 -1
- package/dist/models-dev-EKZCLX7Y.js +0 -3
- package/dist/models-dev-SOEEI4UR.cjs +0 -12
- package/dist/netlify-ALYV7577.js +0 -3
- package/dist/netlify-SSPGBXOO.cjs +0 -12
- package/dist/provider-registry-35V252GM.cjs +0 -40
- package/dist/provider-registry-AZ4SPASK.js +0 -3
package/dist/storage/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { AgentsStorage, BlobStore, DatasetsInMemory, DatasetsStorage, EDITOR_DOMAINS, ExperimentsInMemory, ExperimentsStorage, FilesystemAgentsStorage, FilesystemDB, FilesystemMCPClientsStorage, FilesystemMCPServersStorage, FilesystemPromptBlocksStorage, FilesystemScorerDefinitionsStorage, FilesystemSkillsStorage, FilesystemStore, FilesystemVersionedHelpers, FilesystemWorkspacesStorage, GitHistory, InMemoryAgentsStorage, InMemoryBlobStore, InMemoryDB, InMemoryMCPClientsStorage, InMemoryMCPServersStorage, InMemoryMemory, InMemoryPromptBlocksStorage, InMemoryScorerDefinitionsStorage, InMemorySkillsStorage, InMemoryStore, InMemoryWorkspacesStorage, MCPClientsStorage, MCPServersStorage, MastraCompositeStore, MastraStorage, MemoryStorage, MockStore, ObservabilityInMemory, ObservabilityStorage, PromptBlocksStorage, ScorerDefinitionsStorage, ScoresInMemory, ScoresStorage, SkillsStorage, StorageDomain, StoreOperations, StoreOperationsInMemory, VersionedStorageDomain, WorkflowsInMemory, WorkflowsStorage, WorkspacesStorage,
|
|
2
|
-
export { AGENTS_SCHEMA, AGENT_VERSIONS_SCHEMA, DATASETS_SCHEMA, DATASET_ITEMS_SCHEMA, DATASET_VERSIONS_SCHEMA, EXPERIMENTS_SCHEMA, EXPERIMENT_RESULTS_SCHEMA, MCP_CLIENTS_SCHEMA, MCP_CLIENT_VERSIONS_SCHEMA, MCP_SERVERS_SCHEMA, MCP_SERVER_VERSIONS_SCHEMA, OBSERVATIONAL_MEMORY_SCHEMA, OBSERVATIONAL_MEMORY_TABLE_SCHEMA, OLD_SPAN_SCHEMA, PROMPT_BLOCKS_SCHEMA, PROMPT_BLOCK_VERSIONS_SCHEMA, SCORERS_SCHEMA, SCORER_DEFINITIONS_SCHEMA, SCORER_DEFINITION_VERSIONS_SCHEMA, SKILLS_SCHEMA, SKILL_BLOBS_SCHEMA, SKILL_VERSIONS_SCHEMA, SPAN_SCHEMA, TABLE_AGENTS, TABLE_AGENT_VERSIONS, TABLE_CONFIGS, TABLE_DATASETS, TABLE_DATASET_ITEMS, TABLE_DATASET_VERSIONS, TABLE_EXPERIMENTS, TABLE_EXPERIMENT_RESULTS, TABLE_MCP_CLIENTS, TABLE_MCP_CLIENT_VERSIONS, TABLE_MCP_SERVERS, TABLE_MCP_SERVER_VERSIONS, TABLE_MESSAGES, TABLE_OBSERVATIONAL_MEMORY, TABLE_PROMPT_BLOCKS, TABLE_PROMPT_BLOCK_VERSIONS, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_SCORER_DEFINITIONS, TABLE_SCORER_DEFINITION_VERSIONS, TABLE_SKILLS, TABLE_SKILL_BLOBS, TABLE_SKILL_VERSIONS, TABLE_SPANS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT, TABLE_WORKSPACES, TABLE_WORKSPACE_VERSIONS, TraceStatus, WORKSPACES_SCHEMA, WORKSPACE_VERSIONS_SCHEMA, batchCreateSpansArgsSchema, batchDeleteTracesArgsSchema, batchUpdateSpansArgsSchema, buildStorageSchema,
|
|
1
|
+
export { AgentsStorage, BlobStore, DatasetsInMemory, DatasetsStorage, EDITOR_DOMAINS, ExperimentsInMemory, ExperimentsStorage, FilesystemAgentsStorage, FilesystemDB, FilesystemMCPClientsStorage, FilesystemMCPServersStorage, FilesystemPromptBlocksStorage, FilesystemScorerDefinitionsStorage, FilesystemSkillsStorage, FilesystemStore, FilesystemVersionedHelpers, FilesystemWorkspacesStorage, GitHistory, InMemoryAgentsStorage, InMemoryBlobStore, InMemoryDB, InMemoryMCPClientsStorage, InMemoryMCPServersStorage, InMemoryMemory, InMemoryPromptBlocksStorage, InMemoryScorerDefinitionsStorage, InMemorySkillsStorage, InMemoryStore, InMemoryWorkspacesStorage, MCPClientsStorage, MCPServersStorage, MastraCompositeStore, MastraStorage, MemoryStorage, MockStore, ObservabilityInMemory, ObservabilityStorage, PromptBlocksStorage, ScorerDefinitionsStorage, ScoresInMemory, ScoresStorage, SkillsStorage, StorageDomain, StoreOperations, StoreOperationsInMemory, VersionedStorageDomain, WorkflowsInMemory, WorkflowsStorage, WorkspacesStorage, buildCreateSpanRecord, buildFeedbackRecord, buildLogRecord, buildMetricRecord, buildScoreRecord, buildUpdateSpanRecord, calculatePagination, createStorageErrorId, createStoreErrorId, createVectorErrorId, ensureDate, filterByDateRange, getDefaultValue, getObjectOrNull, getSqlType, getStringOrNull, jsonValueEquals, normalizePerPage, safelyParseJSON, serializeDate, serializeSpanAttributes, toEntityType, transformRow, transformScoreRow } from '../chunk-OGR427FH.js';
|
|
2
|
+
export { AGENTS_SCHEMA, AGENT_VERSIONS_SCHEMA, DATASETS_SCHEMA, DATASET_ITEMS_SCHEMA, DATASET_VERSIONS_SCHEMA, EXPERIMENTS_SCHEMA, EXPERIMENT_RESULTS_SCHEMA, MCP_CLIENTS_SCHEMA, MCP_CLIENT_VERSIONS_SCHEMA, MCP_SERVERS_SCHEMA, MCP_SERVER_VERSIONS_SCHEMA, OBSERVATIONAL_MEMORY_SCHEMA, OBSERVATIONAL_MEMORY_TABLE_SCHEMA, OLD_SPAN_SCHEMA, PROMPT_BLOCKS_SCHEMA, PROMPT_BLOCK_VERSIONS_SCHEMA, SCORERS_SCHEMA, SCORER_DEFINITIONS_SCHEMA, SCORER_DEFINITION_VERSIONS_SCHEMA, SKILLS_SCHEMA, SKILL_BLOBS_SCHEMA, SKILL_VERSIONS_SCHEMA, SPAN_SCHEMA, TABLE_AGENTS, TABLE_AGENT_VERSIONS, TABLE_CONFIGS, TABLE_DATASETS, TABLE_DATASET_ITEMS, TABLE_DATASET_VERSIONS, TABLE_EXPERIMENTS, TABLE_EXPERIMENT_RESULTS, TABLE_MCP_CLIENTS, TABLE_MCP_CLIENT_VERSIONS, TABLE_MCP_SERVERS, TABLE_MCP_SERVER_VERSIONS, TABLE_MESSAGES, TABLE_OBSERVATIONAL_MEMORY, TABLE_PROMPT_BLOCKS, TABLE_PROMPT_BLOCK_VERSIONS, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_SCORER_DEFINITIONS, TABLE_SCORER_DEFINITION_VERSIONS, TABLE_SKILLS, TABLE_SKILL_BLOBS, TABLE_SKILL_VERSIONS, TABLE_SPANS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT, TABLE_WORKSPACES, TABLE_WORKSPACE_VERSIONS, TraceStatus, WORKSPACES_SCHEMA, WORKSPACE_VERSIONS_SCHEMA, batchCreateSpansArgsSchema, batchDeleteTracesArgsSchema, batchUpdateSpansArgsSchema, buildStorageSchema, computeTraceStatus, createSpanArgsSchema, createSpanRecordSchema, getRootSpanArgsSchema, getRootSpanResponseSchema, getSpanArgsSchema, getSpanResponseSchema, getTraceArgsSchema, getTraceResponseSchema, listScoresBySpanResponseSchema, listTracesArgsSchema, listTracesResponseSchema, scoreTracesRequestSchema, scoreTracesResponseSchema, spanIds, spanIdsSchema, spanRecordSchema, toTraceSpan, toTraceSpans, traceSpanSchema, tracesFilterSchema, tracesOrderByFieldSchema, tracesOrderBySchema, updateSpanArgsSchema, updateSpanRecordSchema } from '../chunk-BOUXMXZQ.js';
|
|
3
|
+
export { EntityType, aggregationIntervalSchema, aggregationTypeSchema, batchCreateFeedbackArgsSchema, batchCreateLogsArgsSchema, batchCreateMetricsArgsSchema, batchCreateScoresArgsSchema, commonFilterFields, comparePeriodSchema, contextFields, createFeedbackArgsSchema, createFeedbackBodySchema, createFeedbackRecordSchema, createFeedbackResponseSchema, createLogRecordSchema, createMetricRecordSchema, createScoreArgsSchema, createScoreBodySchema, createScoreRecordSchema, createScoreResponseSchema, createdAtField, dateRangeSchema, dbTimestamps, entityIdField, entityNameField, entityTypeField, environmentField, experimentIdField, feedbackFilterSchema, feedbackInputSchema, feedbackOrderByFieldSchema, feedbackOrderBySchema, feedbackRecordSchema, getEntityNamesArgsSchema, getEntityNamesResponseSchema, getEntityTypesArgsSchema, getEntityTypesResponseSchema, getEnvironmentsArgsSchema, getEnvironmentsResponseSchema, getMetricAggregateArgsSchema, getMetricAggregateResponseSchema, getMetricBreakdownArgsSchema, getMetricBreakdownResponseSchema, getMetricLabelKeysArgsSchema, getMetricLabelKeysResponseSchema, getMetricLabelValuesArgsSchema, getMetricLabelValuesResponseSchema, getMetricNamesArgsSchema, getMetricNamesResponseSchema, getMetricPercentilesArgsSchema, getMetricPercentilesResponseSchema, getMetricTimeSeriesArgsSchema, getMetricTimeSeriesResponseSchema, getServiceNamesArgsSchema, getServiceNamesResponseSchema, getTagsArgsSchema, getTagsResponseSchema, listFeedbackArgsSchema, listFeedbackResponseSchema, listLogsArgsSchema, listLogsResponseSchema, listScoresArgsSchema, listScoresResponseSchema, logLevelSchema, logRecordInputSchema, logRecordSchema, logsFilterSchema, logsOrderByFieldSchema, logsOrderBySchema, metadataField, metricInputSchema, metricRecordSchema, metricTypeSchema, metricsAggregationSchema, metricsFilterSchema, organizationIdField, paginationArgsSchema, paginationInfoSchema, parentEntityIdField, parentEntityNameField, parentEntityTypeField, requestIdField, resourceIdField, rootEntityIdField, rootEntityNameField, rootEntityTypeField, runIdField, scopeField, scoreInputSchema, scoreRecordSchema, scoresFilterSchema, scoresOrderByFieldSchema, scoresOrderBySchema, serviceNameField, sessionIdField, sortDirectionSchema, sourceField, spanIdField, tagsField, threadIdField, traceIdField, updatedAtField, userIdField } from '../chunk-GVQJCS5O.js';
|
|
3
4
|
//# sourceMappingURL=index.js.map
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
package/dist/stream/index.cjs
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk445B4SO3_cjs = require('../chunk-445B4SO3.cjs');
|
|
4
|
+
var chunkW2LUCUUP_cjs = require('../chunk-W2LUCUUP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk445B4SO3_cjs.ChunkFrom; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk445B4SO3_cjs.MastraAgentNetworkStream; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk445B4SO3_cjs.MastraModelOutput; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "WorkflowRunOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk445B4SO3_cjs.WorkflowRunOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "convertFullStreamChunkToMastra", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk445B4SO3_cjs.convertFullStreamChunkToMastra; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk445B4SO3_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk445B4SO3_cjs.convertMastraChunkToAISDKv5; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DefaultGeneratedFile", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkW2LUCUUP_cjs.DefaultGeneratedFile; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "DefaultGeneratedFileWithType", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkW2LUCUUP_cjs.DefaultGeneratedFileWithType; }
|
|
43
43
|
});
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
45
45
|
//# sourceMappingURL=index.cjs.map
|
package/dist/stream/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-
|
|
2
|
-
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-
|
|
1
|
+
export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-UWTB4U2X.js';
|
|
2
|
+
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-MCAE3D3S.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJ7Q3CZI5_cjs = require('../chunk-J7Q3CZI5.cjs');
|
|
4
4
|
var chunkSQINVD7G_cjs = require('../chunk-SQINVD7G.cjs');
|
|
5
5
|
var async_hooks = require('async_hooks');
|
|
6
6
|
|
|
@@ -14364,11 +14364,11 @@ var MastraLanguageModelV2Mock = class {
|
|
|
14364
14364
|
this.supportedUrls = this.#model.supportedUrls;
|
|
14365
14365
|
}
|
|
14366
14366
|
doGenerate(options) {
|
|
14367
|
-
const aiSDKModel = new
|
|
14367
|
+
const aiSDKModel = new chunkJ7Q3CZI5_cjs.AISDKV5LanguageModel(this.#model);
|
|
14368
14368
|
return aiSDKModel.doGenerate(options);
|
|
14369
14369
|
}
|
|
14370
14370
|
doStream(options) {
|
|
14371
|
-
const aiSDKModel = new
|
|
14371
|
+
const aiSDKModel = new chunkJ7Q3CZI5_cjs.AISDKV5LanguageModel(this.#model);
|
|
14372
14372
|
return aiSDKModel.doStream(options);
|
|
14373
14373
|
}
|
|
14374
14374
|
get doGenerateCalls() {
|
|
@@ -14471,7 +14471,7 @@ function createMockModel({
|
|
|
14471
14471
|
});
|
|
14472
14472
|
return mockModel;
|
|
14473
14473
|
}
|
|
14474
|
-
var MockProvider = class extends
|
|
14474
|
+
var MockProvider = class extends chunkJ7Q3CZI5_cjs.MastraLLMV1 {
|
|
14475
14475
|
constructor({
|
|
14476
14476
|
spyGenerate,
|
|
14477
14477
|
spyStream,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AISDKV5LanguageModel, MastraLLMV1 } from '../chunk-
|
|
1
|
+
import { AISDKV5LanguageModel, MastraLLMV1 } from '../chunk-7V4HN5NK.js';
|
|
2
2
|
import { simulateReadableStream, __require } from '../chunk-EB2EH2RY.js';
|
|
3
3
|
export { simulateReadableStream } from '../chunk-EB2EH2RY.js';
|
|
4
4
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUHO57W6H_cjs = require('../chunk-UHO57W6H.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getSettings", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkUHO57W6H_cjs.getSettings; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "isToolLoopAgentLike", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkUHO57W6H_cjs.isToolLoopAgentLike; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "toolLoopAgentToMastraAgent", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkUHO57W6H_cjs.toolLoopAgentToMastraAgent; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-
|
|
1
|
+
export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-KKNT7W4Q.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/utils.cjs
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDDIY3CRP_cjs = require('./chunk-DDIY3CRP.cjs');
|
|
4
4
|
var chunkRLPRSIR2_cjs = require('./chunk-RLPRSIR2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkDDIY3CRP_cjs.checkEvalStorageFields; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkDDIY3CRP_cjs.createMastraProxy; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "deepEqual", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkDDIY3CRP_cjs.deepEqual; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "deepMerge", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkDDIY3CRP_cjs.deepMerge; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "delay", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkDDIY3CRP_cjs.delay; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkDDIY3CRP_cjs.ensureToolProperties; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "fetchWithRetry", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkDDIY3CRP_cjs.fetchWithRetry; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "generateEmptyFromSchema", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkDDIY3CRP_cjs.generateEmptyFromSchema; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "getNestedValue", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkDDIY3CRP_cjs.getNestedValue; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkDDIY3CRP_cjs.isCoreMessage; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "isUiMessage", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkDDIY3CRP_cjs.isUiMessage; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "isZodType", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkDDIY3CRP_cjs.isZodType; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkDDIY3CRP_cjs.makeCoreTool; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "makeCoreToolV5", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkDDIY3CRP_cjs.makeCoreToolV5; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkDDIY3CRP_cjs.maskStreamTags; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "omitKeys", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkDDIY3CRP_cjs.omitKeys; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkDDIY3CRP_cjs.parseFieldKey; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkDDIY3CRP_cjs.parseSqlIdentifier; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "removeUndefinedValues", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkDDIY3CRP_cjs.removeUndefinedValues; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkDDIY3CRP_cjs.resolveSerializedZodOutput; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "selectFields", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkDDIY3CRP_cjs.selectFields; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "setNestedValue", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkDDIY3CRP_cjs.setNestedValue; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "getZodDef", {
|
|
97
97
|
enumerable: true,
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, selectFields, setNestedValue } from './chunk-
|
|
1
|
+
export { checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, selectFields, setNestedValue } from './chunk-KJUHI5QK.js';
|
|
2
2
|
export { getZodDef, getZodTypeName, isZodArray, isZodObject } from './chunk-RT2LCNDN.js';
|
|
3
3
|
//# sourceMappingURL=utils.js.map
|
|
4
4
|
//# sourceMappingURL=utils.js.map
|
package/dist/vector/embed.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { embed as embedV1 } from '
|
|
2
|
-
export { embed as embedV2 } from '
|
|
1
|
+
export { embed as embedV1 } from '../_types/@internal_ai-sdk-v4/dist/index.js';
|
|
2
|
+
export { embed as embedV2 } from '../_types/@internal_ai-sdk-v5/dist/index.js';
|
|
3
3
|
export { embed as embedV3 } from '@internal/ai-v6';
|
|
4
4
|
//# sourceMappingURL=embed.d.ts.map
|
package/dist/vector/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk6XCINXZ7_cjs = require('../chunk-6XCINXZ7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkEAKNCJKL_cjs = require('../chunk-EAKNCJKL.cjs');
|
|
5
5
|
var chunkVBVOKSJK_cjs = require('../chunk-VBVOKSJK.cjs');
|
|
6
6
|
var chunkDP4YQ2HF_cjs = require('../chunk-DP4YQ2HF.cjs');
|
|
7
7
|
var chunkSQINVD7G_cjs = require('../chunk-SQINVD7G.cjs');
|
|
@@ -92,7 +92,7 @@ var MastraVector = class extends chunkRO47SMI7_cjs.MastraBase {
|
|
|
92
92
|
function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
93
93
|
if (!vectors || vectors.length === 0) {
|
|
94
94
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
95
|
-
id:
|
|
95
|
+
id: chunkEAKNCJKL_cjs.createVectorErrorId(storeName, "UPSERT", "EMPTY_VECTORS"),
|
|
96
96
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
97
97
|
category: "USER" /* USER */,
|
|
98
98
|
details: {
|
|
@@ -102,7 +102,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
102
102
|
}
|
|
103
103
|
if (metadata && metadata.length > 0 && metadata.length !== vectors.length) {
|
|
104
104
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
105
|
-
id:
|
|
105
|
+
id: chunkEAKNCJKL_cjs.createVectorErrorId(storeName, "UPSERT", "METADATA_LENGTH_MISMATCH"),
|
|
106
106
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
107
107
|
category: "USER" /* USER */,
|
|
108
108
|
details: {
|
|
@@ -114,7 +114,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
114
114
|
}
|
|
115
115
|
if (ids && ids.length !== vectors.length) {
|
|
116
116
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
117
|
-
id:
|
|
117
|
+
id: chunkEAKNCJKL_cjs.createVectorErrorId(storeName, "UPSERT", "IDS_LENGTH_MISMATCH"),
|
|
118
118
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
119
119
|
category: "USER" /* USER */,
|
|
120
120
|
details: {
|
|
@@ -128,7 +128,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
128
128
|
function validateTopK(storeName, topK) {
|
|
129
129
|
if (!Number.isInteger(topK) || topK <= 0) {
|
|
130
130
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
131
|
-
id:
|
|
131
|
+
id: chunkEAKNCJKL_cjs.createVectorErrorId(storeName, "QUERY", "INVALID_TOP_K"),
|
|
132
132
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
133
133
|
category: "USER" /* USER */,
|
|
134
134
|
details: {
|
|
@@ -143,7 +143,7 @@ function validateVectorValues(storeName, vectors) {
|
|
|
143
143
|
const vector = vectors[i];
|
|
144
144
|
if (!vector) {
|
|
145
145
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
146
|
-
id:
|
|
146
|
+
id: chunkEAKNCJKL_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR"),
|
|
147
147
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
148
148
|
category: "USER" /* USER */,
|
|
149
149
|
details: {
|
|
@@ -156,7 +156,7 @@ function validateVectorValues(storeName, vectors) {
|
|
|
156
156
|
const value = vector[j];
|
|
157
157
|
if (value === null || value === void 0 || !Number.isFinite(value)) {
|
|
158
158
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
159
|
-
id:
|
|
159
|
+
id: chunkEAKNCJKL_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR_VALUE"),
|
|
160
160
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
161
161
|
category: "USER" /* USER */,
|
|
162
162
|
details: {
|
package/dist/vector/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BaseFilterTranslator } from '../chunk-BWYU7D33.js';
|
|
2
|
-
import { createVectorErrorId } from '../chunk-
|
|
2
|
+
import { createVectorErrorId } from '../chunk-OGR427FH.js';
|
|
3
3
|
export { embed as embedV2 } from '../chunk-MMLX7TES.js';
|
|
4
4
|
export { embed as embedV3 } from '../chunk-KBPJLEWI.js';
|
|
5
5
|
export { embed as embedV1 } from '../chunk-EB2EH2RY.js';
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLAFTYVLN_cjs = require('../../chunk-LAFTYVLN.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "EventedExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkLAFTYVLN_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkLAFTYVLN_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkLAFTYVLN_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkLAFTYVLN_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkLAFTYVLN_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkLAFTYVLN_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkLAFTYVLN_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkLAFTYVLN_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkLAFTYVLN_cjs.createWorkflow; }
|
|
42
42
|
});
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-5WKCTOYN.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk445B4SO3_cjs = require('../chunk-445B4SO3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk445B4SO3_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk445B4SO3_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk445B4SO3_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk445B4SO3_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cleanStepResult", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk445B4SO3_cjs.cleanStepResult; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk445B4SO3_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk445B4SO3_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createDeprecationProxy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk445B4SO3_cjs.createDeprecationProxy; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createStep", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk445B4SO3_cjs.createStep; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk445B4SO3_cjs.createTimeTravelExecutionParams; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "createWorkflow", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk445B4SO3_cjs.createWorkflow; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk445B4SO3_cjs.getResumeLabelsByStepId; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getStepIds", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk445B4SO3_cjs.getStepIds; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "getStepResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk445B4SO3_cjs.getStepResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "hydrateSerializedStepErrors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk445B4SO3_cjs.hydrateSerializedStepErrors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isProcessor", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk445B4SO3_cjs.isProcessor; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mapVariable", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk445B4SO3_cjs.mapVariable; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "runCountDeprecationMessage", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk445B4SO3_cjs.runCountDeprecationMessage; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "validateStepInput", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk445B4SO3_cjs.validateStepInput; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "validateStepRequestContext", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk445B4SO3_cjs.validateStepRequestContext; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk445B4SO3_cjs.validateStepResumeData; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "validateStepStateData", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk445B4SO3_cjs.validateStepStateData; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "validateStepSuspendData", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk445B4SO3_cjs.validateStepSuspendData; }
|
|
98
98
|
});
|
|
99
99
|
//# sourceMappingURL=index.cjs.map
|
|
100
100
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-UWTB4U2X.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0-alpha.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -277,14 +277,15 @@
|
|
|
277
277
|
"vscode-jsonrpc": "^8.2.1",
|
|
278
278
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
279
279
|
"zod": "^4.3.6",
|
|
280
|
-
"@internal/ai-sdk-v5": "0.0.18",
|
|
281
280
|
"@internal/ai-sdk-v4": "0.0.18",
|
|
281
|
+
"@internal/ai-sdk-v5": "0.0.18",
|
|
282
282
|
"@internal/external-types": "0.0.21",
|
|
283
|
+
"@internal/ai-v6": "0.0.18",
|
|
284
|
+
"@internal/lint": "0.0.71",
|
|
283
285
|
"@internal/llm-recorder": "0.0.7",
|
|
284
286
|
"@internal/test-utils": "0.0.7",
|
|
285
|
-
"@internal/
|
|
286
|
-
"@internal/
|
|
287
|
-
"@internal/types-builder": "0.0.46"
|
|
287
|
+
"@internal/types-builder": "0.0.46",
|
|
288
|
+
"@internal/core": "0.0.0"
|
|
288
289
|
},
|
|
289
290
|
"engines": {
|
|
290
291
|
"node": ">=22.13.0"
|
|
@@ -656,10 +656,7 @@ export type ProviderModelsMap = {
|
|
|
656
656
|
'claude-sonnet-4-5',
|
|
657
657
|
'claude-sonnet-4-6',
|
|
658
658
|
'gemini-3-flash',
|
|
659
|
-
'gemini-3-pro',
|
|
660
659
|
'gemini-3.1-pro',
|
|
661
|
-
'glm-4.6',
|
|
662
|
-
'glm-4.7',
|
|
663
660
|
'glm-5',
|
|
664
661
|
'gpt-5',
|
|
665
662
|
'gpt-5-codex',
|
|
@@ -676,7 +673,6 @@ export type ProviderModelsMap = {
|
|
|
676
673
|
'gpt-5.4-pro',
|
|
677
674
|
'kimi-k2.5',
|
|
678
675
|
'mimo-v2-flash-free',
|
|
679
|
-
'minimax-m2.1',
|
|
680
676
|
'minimax-m2.5',
|
|
681
677
|
'minimax-m2.5-free',
|
|
682
678
|
'nemotron-3-super-free',
|
|
@@ -3456,6 +3452,10 @@ export type ProviderModelsMap = {
|
|
|
3456
3452
|
'openai/gpt-5.3-codex',
|
|
3457
3453
|
'openai/gpt-5.4',
|
|
3458
3454
|
'openai/gpt-5.4-2026-03-05',
|
|
3455
|
+
'openai/gpt-5.4-mini',
|
|
3456
|
+
'openai/gpt-5.4-mini-2026-03-17',
|
|
3457
|
+
'openai/gpt-5.4-nano',
|
|
3458
|
+
'openai/gpt-5.4-nano-2026-03-17',
|
|
3459
3459
|
'openai/gpt-5.4-pro',
|
|
3460
3460
|
'openai/gpt-5.4-pro-2026-03-05',
|
|
3461
3461
|
'openai/o3',
|