@mastra/oracledb 0.5.0 → 0.5.1-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/docs-memory-observational-memory.md +28 -2
- package/dist/docs/references/docs-memory-semantic-recall.md +37 -3
- package/dist/docs/references/docs-memory-working-memory.md +16 -0
- package/dist/docs/references/docs-storage.md +1 -0
- package/dist/docs/references/reference-rag-metadata-filters.md +1 -1
- package/dist/docs/references/reference-rag-retrieval.md +7 -5
- package/dist/docs/references/reference-rag-vector-databases.md +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +2 -1
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -7975,7 +7975,7 @@ var WorkflowsOracle = class WorkflowsOracle extends WorkflowsStorage {
|
|
|
7975
7975
|
async dangerouslyClearAll() {
|
|
7976
7976
|
await this.db.clearTable(TABLE_WORKFLOW_SNAPSHOT);
|
|
7977
7977
|
}
|
|
7978
|
-
async updateWorkflowResults({ workflowName, runId, stepId, result, requestContext }) {
|
|
7978
|
+
async updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, state }) {
|
|
7979
7979
|
try {
|
|
7980
7980
|
return await this.db.tx(async (client) => {
|
|
7981
7981
|
await this.ensureWorkflowRunRow(client, workflowName, runId);
|
|
@@ -7985,6 +7985,7 @@ var WorkflowsOracle = class WorkflowsOracle extends WorkflowsStorage {
|
|
|
7985
7985
|
});
|
|
7986
7986
|
const snapshot = parseSnapshot(existing.snapshot);
|
|
7987
7987
|
snapshot.context[stepId] = result;
|
|
7988
|
+
if (state !== void 0) snapshot.context.__state = state;
|
|
7988
7989
|
snapshot.requestContext = {
|
|
7989
7990
|
...snapshot.requestContext ?? {},
|
|
7990
7991
|
...requestContext
|