@mastra/cloudflare 0.11.0 → 0.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/LICENSE.md CHANGED
@@ -1,7 +1,15 @@
1
- Copyright 2025 Mastra AI, Inc.
1
+ # Apache License 2.0
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3
+ Copyright (c) 2025 Kepler Software, Inc.
4
4
 
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
6
8
 
7
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
package/dist/index.cjs CHANGED
@@ -1111,7 +1111,8 @@ var CloudflareStore = class extends storage.MastraStorage {
1111
1111
  timestamp: data.timestamp || Date.now(),
1112
1112
  status: data.status,
1113
1113
  result: data.result,
1114
- error: data.error
1114
+ error: data.error,
1115
+ runtimeContext: data.runtimeContext || {}
1115
1116
  };
1116
1117
  }
1117
1118
  async persistWorkflowSnapshot(params) {
package/dist/index.js CHANGED
@@ -1105,7 +1105,8 @@ var CloudflareStore = class extends MastraStorage {
1105
1105
  timestamp: data.timestamp || Date.now(),
1106
1106
  status: data.status,
1107
1107
  result: data.result,
1108
- error: data.error
1108
+ error: data.error,
1109
+ runtimeContext: data.runtimeContext || {}
1109
1110
  };
1110
1111
  }
1111
1112
  async persistWorkflowSnapshot(params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/cloudflare",
3
- "version": "0.11.0",
3
+ "version": "0.11.1-alpha.0",
4
4
  "description": "Cloudflare provider for Mastra - includes db storage capabilities",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,18 +26,18 @@
26
26
  "cloudflare": "^4.4.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@cloudflare/workers-types": "^4.20250620.0",
29
+ "@cloudflare/workers-types": "^4.20250705.0",
30
30
  "@microsoft/api-extractor": "^7.52.8",
31
31
  "@types/node": "^20.19.0",
32
- "dotenv": "^16.5.0",
33
- "eslint": "^9.29.0",
34
- "miniflare": "^4.20250617.3",
32
+ "dotenv": "^17.0.0",
33
+ "eslint": "^9.30.1",
34
+ "miniflare": "^4.20250617.5",
35
35
  "tsup": "^8.5.0",
36
36
  "typescript": "^5.8.3",
37
- "vitest": "^3.2.3",
38
- "@internal/lint": "0.0.14",
39
- "@internal/storage-test-utils": "0.0.10",
40
- "@mastra/core": "0.10.7"
37
+ "vitest": "^3.2.4",
38
+ "@internal/lint": "0.0.19",
39
+ "@internal/storage-test-utils": "0.0.15",
40
+ "@mastra/core": "0.10.15-alpha.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@mastra/core": ">=0.10.7-0 <0.11.0-0"