@mastra/spanner 1.12.1 → 1.12.2-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/integrations-databases-spanner.md +2 -2
- package/dist/index.cjs +0 -2
- package/dist/index.js +0 -2
- package/package.json +7 -6
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/storage/db/index.d.ts.map +0 -1
- package/dist/storage/db/run-fencing.d.ts.map +0 -1
- package/dist/storage/db/utils.d.ts.map +0 -1
- package/dist/storage/domains/agents/index.d.ts.map +0 -1
- package/dist/storage/domains/background-tasks/index.d.ts.map +0 -1
- package/dist/storage/domains/blobs/index.d.ts.map +0 -1
- package/dist/storage/domains/channels/index.d.ts.map +0 -1
- package/dist/storage/domains/datasets/index.d.ts.map +0 -1
- package/dist/storage/domains/experiments/index.d.ts.map +0 -1
- package/dist/storage/domains/favorites/index.d.ts.map +0 -1
- package/dist/storage/domains/mcp-clients/index.d.ts.map +0 -1
- package/dist/storage/domains/mcp-servers/index.d.ts.map +0 -1
- package/dist/storage/domains/memory/index.d.ts.map +0 -1
- package/dist/storage/domains/observability/index.d.ts.map +0 -1
- package/dist/storage/domains/observability/metrics.d.ts.map +0 -1
- package/dist/storage/domains/prompt-blocks/index.d.ts.map +0 -1
- package/dist/storage/domains/schedules/index.d.ts.map +0 -1
- package/dist/storage/domains/scorer-definitions/index.d.ts.map +0 -1
- package/dist/storage/domains/scores/index.d.ts.map +0 -1
- package/dist/storage/domains/skills/index.d.ts.map +0 -1
- package/dist/storage/domains/utils.d.ts.map +0 -1
- package/dist/storage/domains/workflow-definitions/index.d.ts.map +0 -1
- package/dist/storage/domains/workflows/index.d.ts.map +0 -1
- package/dist/storage/domains/workspaces/index.d.ts.map +0 -1
- package/dist/storage/index.d.ts.map +0 -1
package/dist/docs/SKILL.md
CHANGED
|
@@ -45,7 +45,7 @@ const storage = new SpannerStore({
|
|
|
45
45
|
})
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
The instance and database must already exist. The adapter creates the required tables on first use,
|
|
48
|
+
The instance and database must already exist. The adapter creates the required tables on first use, which means the credentials provided to the Spanner client need permission to run schema changes (or run `storage.init()` once during a deploy step with elevated credentials).
|
|
49
49
|
|
|
50
50
|
## Parameters
|
|
51
51
|
|
|
@@ -190,7 +190,7 @@ A few behaviors differ from other relational adapters:
|
|
|
190
190
|
- Identifiers are quoted with backticks.
|
|
191
191
|
- DDL is applied through `database.updateSchema(...)`, which is asynchronous (long-running operation).
|
|
192
192
|
- `NULLS FIRST/LAST` isn't supported. Ordering with NULL handling is emulated through an `IS NULL` ordering key.
|
|
193
|
-
- JSON containment isn't supported natively. `listTraces` `metadata` and `scope` filters compile to per-key `JSON_VALUE(...) = @v` equality checks, and `tags` filters compile to `EXISTS` over `JSON_QUERY_ARRAY(...)`. This differs from Postgres' `@>` containment operator (which can match nested structure in a single index scan): most one-shot lookups still work but
|
|
193
|
+
- JSON containment isn't supported natively. `listTraces` `metadata` and `scope` filters compile to per-key `JSON_VALUE(...) = @v` equality checks, and `tags` filters compile to `EXISTS` over `JSON_QUERY_ARRAY(...)`. This differs from Postgres' `@>` containment operator (which can match nested structure in a single index scan): most one-shot lookups still work but nested structural matches aren't expressible.
|
|
194
194
|
|
|
195
195
|
### Direct database access
|
|
196
196
|
|
package/dist/index.cjs
CHANGED
|
@@ -14149,5 +14149,3 @@ exports.SpannerStore = SpannerStore;
|
|
|
14149
14149
|
exports.WorkflowDefinitionsSpanner = WorkflowDefinitionsSpanner;
|
|
14150
14150
|
exports.WorkflowsSpanner = WorkflowsSpanner;
|
|
14151
14151
|
exports.WorkspacesSpanner = WorkspacesSpanner;
|
|
14152
|
-
|
|
14153
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -14128,5 +14128,3 @@ var SpannerStore = class extends MastraCompositeStore {
|
|
|
14128
14128
|
}
|
|
14129
14129
|
};
|
|
14130
14130
|
export { AgentsSpanner, BackgroundTasksSpanner, BlobsSpanner, ChannelsSpanner, DatasetsSpanner, ExperimentsSpanner, FavoritesSpanner, MCPClientsSpanner, MCPServersSpanner, MemorySpanner, ObservabilitySpanner, PromptBlocksSpanner, SPANNER_DOMAIN_KEYS, SchedulesSpanner, ScorerDefinitionsSpanner, ScoresSpanner, SkillsSpanner, SpannerStore, WorkflowDefinitionsSpanner, WorkflowsSpanner, WorkspacesSpanner };
|
|
14131
|
-
|
|
14132
|
-
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/spanner",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2-alpha.0",
|
|
4
4
|
"description": "Google Cloud Spanner provider for Mastra - db storage capabilities (GoogleSQL dialect)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,16 +30,17 @@
|
|
|
30
30
|
"tsx": "^4.23.15",
|
|
31
31
|
"typescript": "^7.0.2",
|
|
32
32
|
"vitest": "5.1.0",
|
|
33
|
-
"@internal/lint": "0.0.
|
|
34
|
-
"@internal/storage-test-utils": "0.0.
|
|
35
|
-
"@internal/types-builder": "0.0.
|
|
36
|
-
"@mastra/core": "1.
|
|
33
|
+
"@internal/lint": "0.0.151",
|
|
34
|
+
"@internal/storage-test-utils": "0.0.147",
|
|
35
|
+
"@internal/types-builder": "0.0.126",
|
|
36
|
+
"@mastra/core": "1.86.0-alpha.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@mastra/core": ">=1.76.0-0 <2.0.0-0"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
|
-
"dist"
|
|
42
|
+
"dist",
|
|
43
|
+
"!dist/**/*.d.*ts.map"
|
|
43
44
|
],
|
|
44
45
|
"homepage": "https://mastra.ai",
|
|
45
46
|
"repository": {
|