@mastra/spanner 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/index.js
CHANGED
|
@@ -1199,6 +1199,7 @@ const VERSION_CONFIG_KEYS = [
|
|
|
1199
1199
|
"description",
|
|
1200
1200
|
"instructions",
|
|
1201
1201
|
"model",
|
|
1202
|
+
"modelList",
|
|
1202
1203
|
"tools",
|
|
1203
1204
|
"defaultOptions",
|
|
1204
1205
|
"workflows",
|
|
@@ -1243,6 +1244,11 @@ var AgentsSpanner = class AgentsSpanner extends AgentsStorage {
|
|
|
1243
1244
|
tableName: TABLE_AGENT_VERSIONS,
|
|
1244
1245
|
schema: AGENT_VERSIONS_SCHEMA
|
|
1245
1246
|
});
|
|
1247
|
+
await this.db.alterTable({
|
|
1248
|
+
tableName: TABLE_AGENT_VERSIONS,
|
|
1249
|
+
schema: AGENT_VERSIONS_SCHEMA,
|
|
1250
|
+
ifNotExists: ["modelList"]
|
|
1251
|
+
});
|
|
1246
1252
|
await this.createDefaultIndexes();
|
|
1247
1253
|
await this.createCustomIndexes();
|
|
1248
1254
|
await this.cleanupStaleDrafts();
|
|
@@ -1346,6 +1352,7 @@ var AgentsSpanner = class AgentsSpanner extends AgentsStorage {
|
|
|
1346
1352
|
description: transformed.description ?? void 0,
|
|
1347
1353
|
instructions: this.deserializeInstructions(transformed.instructions),
|
|
1348
1354
|
model: transformed.model,
|
|
1355
|
+
modelList: transformed.modelList ?? void 0,
|
|
1349
1356
|
tools: transformed.tools ?? void 0,
|
|
1350
1357
|
defaultOptions: transformed.defaultOptions ?? void 0,
|
|
1351
1358
|
workflows: transformed.workflows ?? void 0,
|