@mastra/elasticsearch 1.4.3 → 1.4.4-alpha.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/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-rag-vector-databases.md +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-elasticsearch
|
|
|
3
3
|
description: Documentation for @mastra/elasticsearch. Use when working with @mastra/elasticsearch APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/elasticsearch"
|
|
6
|
-
version: "1.4.
|
|
6
|
+
version: "1.4.4-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ let _mastra_core_vector_filter = require("@mastra/core/vector/filter");
|
|
|
7
7
|
let _mastra_core_agent = require("@mastra/core/agent");
|
|
8
8
|
let _mastra_core_evals = require("@mastra/core/evals");
|
|
9
9
|
//#region package.json
|
|
10
|
-
var version = "1.4.
|
|
10
|
+
var version = "1.4.4-alpha.0";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/vector/filter.ts
|
|
13
13
|
/**
|
|
@@ -2121,7 +2121,7 @@ var WorkflowsElasticSearch = class extends _mastra_core_storage.WorkflowsStorage
|
|
|
2121
2121
|
async dangerouslyClearAll() {
|
|
2122
2122
|
await this.db.deleteData({ tableName: _mastra_core_storage.TABLE_WORKFLOW_SNAPSHOT });
|
|
2123
2123
|
}
|
|
2124
|
-
async updateWorkflowResults({ workflowName, runId, stepId, result, requestContext }) {
|
|
2124
|
+
async updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, state }) {
|
|
2125
2125
|
try {
|
|
2126
2126
|
const existingRecord = await this.db.get({
|
|
2127
2127
|
tableName: _mastra_core_storage.TABLE_WORKFLOW_SNAPSHOT,
|
|
@@ -2147,6 +2147,7 @@ var WorkflowsElasticSearch = class extends _mastra_core_storage.WorkflowsStorage
|
|
|
2147
2147
|
requestContext: {}
|
|
2148
2148
|
};
|
|
2149
2149
|
snapshot.context[stepId] = result;
|
|
2150
|
+
if (state !== void 0) snapshot.context.__state = state;
|
|
2150
2151
|
snapshot.requestContext = {
|
|
2151
2152
|
...snapshot.requestContext,
|
|
2152
2153
|
...requestContext
|