@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/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-spanner
|
|
|
3
3
|
description: Documentation for @mastra/spanner. Use when working with @mastra/spanner APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/spanner"
|
|
6
|
-
version: "1.11.
|
|
6
|
+
version: "1.11.1-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
package/dist/index.cjs
CHANGED
|
@@ -1200,6 +1200,7 @@ const VERSION_CONFIG_KEYS = [
|
|
|
1200
1200
|
"description",
|
|
1201
1201
|
"instructions",
|
|
1202
1202
|
"model",
|
|
1203
|
+
"modelList",
|
|
1203
1204
|
"tools",
|
|
1204
1205
|
"defaultOptions",
|
|
1205
1206
|
"workflows",
|
|
@@ -1244,6 +1245,11 @@ var AgentsSpanner = class AgentsSpanner extends _mastra_core_storage.AgentsStora
|
|
|
1244
1245
|
tableName: _mastra_core_storage.TABLE_AGENT_VERSIONS,
|
|
1245
1246
|
schema: _mastra_core_storage.AGENT_VERSIONS_SCHEMA
|
|
1246
1247
|
});
|
|
1248
|
+
await this.db.alterTable({
|
|
1249
|
+
tableName: _mastra_core_storage.TABLE_AGENT_VERSIONS,
|
|
1250
|
+
schema: _mastra_core_storage.AGENT_VERSIONS_SCHEMA,
|
|
1251
|
+
ifNotExists: ["modelList"]
|
|
1252
|
+
});
|
|
1247
1253
|
await this.createDefaultIndexes();
|
|
1248
1254
|
await this.createCustomIndexes();
|
|
1249
1255
|
await this.cleanupStaleDrafts();
|
|
@@ -1347,6 +1353,7 @@ var AgentsSpanner = class AgentsSpanner extends _mastra_core_storage.AgentsStora
|
|
|
1347
1353
|
description: transformed.description ?? void 0,
|
|
1348
1354
|
instructions: this.deserializeInstructions(transformed.instructions),
|
|
1349
1355
|
model: transformed.model,
|
|
1356
|
+
modelList: transformed.modelList ?? void 0,
|
|
1350
1357
|
tools: transformed.tools ?? void 0,
|
|
1351
1358
|
defaultOptions: transformed.defaultOptions ?? void 0,
|
|
1352
1359
|
workflows: transformed.workflows ?? void 0,
|