@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.
@@ -3,7 +3,7 @@ name: mastra-mssql
3
3
  description: Documentation for @mastra/mssql. Use when working with @mastra/mssql APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mssql"
6
- version: "1.11.0-alpha.0"
6
+ version: "1.11.1-alpha.0"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.11.0-alpha.0",
2
+ "version": "1.11.1-alpha.0",
3
3
  "package": "@mastra/mssql",
4
4
  "exports": {},
5
5
  "modules": {}
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) ?? null,
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,