@mastra/mssql 1.11.0-alpha.0 → 1.11.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
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1214,6 +1214,11 @@ var AgentsMSSQL = class AgentsMSSQL extends _mastra_core_storage.AgentsStorage {
|
|
|
1214
1214
|
tableName: _mastra_core_storage.TABLE_AGENT_VERSIONS,
|
|
1215
1215
|
schema: _mastra_core_storage.AGENT_VERSIONS_SCHEMA
|
|
1216
1216
|
});
|
|
1217
|
+
await this.db.alterTable({
|
|
1218
|
+
tableName: _mastra_core_storage.TABLE_AGENT_VERSIONS,
|
|
1219
|
+
schema: _mastra_core_storage.AGENT_VERSIONS_SCHEMA,
|
|
1220
|
+
ifNotExists: ["modelList"]
|
|
1221
|
+
});
|
|
1217
1222
|
await this.createDefaultIndexes();
|
|
1218
1223
|
await this.createCustomIndexes();
|
|
1219
1224
|
}
|
|
@@ -1309,6 +1314,7 @@ var AgentsMSSQL = class AgentsMSSQL extends _mastra_core_storage.AgentsStorage {
|
|
|
1309
1314
|
description: row.description ?? void 0,
|
|
1310
1315
|
instructions: this.deserializeInstructions(row.instructions),
|
|
1311
1316
|
model: this.parseJson(row.model, "model"),
|
|
1317
|
+
modelList: this.parseJson(row.modelList, "modelList"),
|
|
1312
1318
|
tools: this.parseJson(row.tools, "tools"),
|
|
1313
1319
|
defaultOptions: this.parseJson(row.defaultOptions, "defaultOptions"),
|
|
1314
1320
|
workflows: this.parseJson(row.workflows, "workflows"),
|
|
@@ -1554,8 +1560,9 @@ var AgentsMSSQL = class AgentsMSSQL extends _mastra_core_storage.AgentsStorage {
|
|
|
1554
1560
|
versionNumber: input.versionNumber,
|
|
1555
1561
|
name: input.name ?? null,
|
|
1556
1562
|
description: input.description ?? null,
|
|
1557
|
-
instructions: this.serializeInstructions(input.instructions) ??
|
|
1558
|
-
model: input.model,
|
|
1563
|
+
instructions: this.serializeInstructions(input.instructions) ?? "",
|
|
1564
|
+
model: input.model ?? {},
|
|
1565
|
+
modelList: input.modelList ?? null,
|
|
1559
1566
|
tools: input.tools ?? null,
|
|
1560
1567
|
defaultOptions: input.defaultOptions ?? null,
|
|
1561
1568
|
workflows: input.workflows ?? null,
|