@mastra/mssql 1.10.0-alpha.0 → 1.10.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/reference-storage-retention.md +1 -1
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/agents/index.d.ts.map +1 -1
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/docs/SKILL.md
CHANGED
|
@@ -202,7 +202,7 @@ async function retentionTick() {
|
|
|
202
202
|
}
|
|
203
203
|
```
|
|
204
204
|
|
|
205
|
-
You can also cancel a long-running prune with an `AbortSignal`: the loop stops between batches and returns partial results with `done: false
|
|
205
|
+
You can also cancel a long-running prune with an `AbortSignal`: the loop stops between batches and returns partial results with `done: false`. The next run resumes cleanly.
|
|
206
206
|
|
|
207
207
|
## ClickHouse native TTL
|
|
208
208
|
|
package/dist/index.cjs
CHANGED
|
@@ -25,7 +25,6 @@ let _mastra_core_error = require("@mastra/core/error");
|
|
|
25
25
|
let _mastra_core_storage = require("@mastra/core/storage");
|
|
26
26
|
let mssql = require("mssql");
|
|
27
27
|
mssql = __toESM(mssql, 1);
|
|
28
|
-
let crypto = require("crypto");
|
|
29
28
|
let _mastra_core_utils = require("@mastra/core/utils");
|
|
30
29
|
let _mastra_core_base = require("@mastra/core/base");
|
|
31
30
|
let _mastra_core_agent = require("@mastra/core/agent");
|
|
@@ -1367,7 +1366,7 @@ var AgentsMSSQL = class AgentsMSSQL extends _mastra_core_storage.AgentsStorage {
|
|
|
1367
1366
|
}
|
|
1368
1367
|
});
|
|
1369
1368
|
const { id: _id, authorId: _authorId, metadata: _metadata, ...snapshotConfig } = agent;
|
|
1370
|
-
const versionId =
|
|
1369
|
+
const versionId = globalThis.crypto.randomUUID();
|
|
1371
1370
|
await this.createVersion({
|
|
1372
1371
|
id: versionId,
|
|
1373
1372
|
agentId: agent.id,
|
|
@@ -3967,7 +3966,7 @@ var ScoresMSSQL = class ScoresMSSQL extends _mastra_core_storage.ScoresStorage {
|
|
|
3967
3966
|
}, error);
|
|
3968
3967
|
}
|
|
3969
3968
|
try {
|
|
3970
|
-
const scoreId =
|
|
3969
|
+
const scoreId = globalThis.crypto.randomUUID();
|
|
3971
3970
|
const now = /* @__PURE__ */ new Date();
|
|
3972
3971
|
const { scorer, preprocessStepResult, analyzeStepResult, metadata, input, output, additionalContext, requestContext, entity, ...rest } = validatedScore;
|
|
3973
3972
|
await this.db.insert({
|