@mastra/azure 0.3.1-alpha.0 → 0.3.1
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/README.md +7 -44
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mastra/azure
|
|
2
2
|
|
|
3
|
-
Azure Blob Storage
|
|
3
|
+
Store Mastra workspace files in Azure Blob Storage using account keys, SAS tokens, or DefaultAzureCredential, with container and mount configuration.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -29,51 +29,14 @@ const agent = new Agent({
|
|
|
29
29
|
});
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
```typescript
|
|
35
|
-
const filesystem = new AzureBlobFilesystem({
|
|
36
|
-
container: 'my-container',
|
|
37
|
-
accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
|
|
38
|
-
accountKey: process.env.AZURE_STORAGE_ACCOUNT_KEY,
|
|
39
|
-
});
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### Shared access signature
|
|
43
|
-
|
|
44
|
-
```typescript
|
|
45
|
-
const filesystem = new AzureBlobFilesystem({
|
|
46
|
-
container: 'my-container',
|
|
47
|
-
accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
|
|
48
|
-
sasToken: process.env.AZURE_STORAGE_SAS_TOKEN,
|
|
49
|
-
});
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### DefaultAzureCredential
|
|
53
|
-
|
|
54
|
-
Requires `@azure/identity` to be installed.
|
|
55
|
-
|
|
56
|
-
```typescript
|
|
57
|
-
const filesystem = new AzureBlobFilesystem({
|
|
58
|
-
container: 'my-container',
|
|
59
|
-
accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
|
|
60
|
-
useDefaultCredential: true,
|
|
61
|
-
});
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Blob Store
|
|
32
|
+
## Documentation
|
|
65
33
|
|
|
66
|
-
|
|
34
|
+
- [Azure Blob](https://mastra.ai/integrations/file-storage/azure-blob)
|
|
67
35
|
|
|
68
|
-
|
|
69
|
-
import { AzureBlobStore } from '@mastra/azure/blob';
|
|
36
|
+
## Changelog
|
|
70
37
|
|
|
71
|
-
|
|
72
|
-
container: 'my-skill-blobs',
|
|
73
|
-
connectionString: process.env.AZURE_STORAGE_CONNECTION_STRING,
|
|
74
|
-
});
|
|
75
|
-
```
|
|
38
|
+
See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/workspaces/azure/CHANGELOG.md) for version history and release notes.
|
|
76
39
|
|
|
77
|
-
##
|
|
40
|
+
## Support
|
|
78
41
|
|
|
79
|
-
|
|
42
|
+
We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/azure",
|
|
3
|
-
"version": "0.3.1
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Azure provider for Mastra - includes Blob Storage workspace filesystem",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"tsdown": "0.22.9",
|
|
42
42
|
"typescript": "^7.0.2",
|
|
43
43
|
"vitest": "4.1.10",
|
|
44
|
-
"@internal/lint": "0.0.
|
|
45
|
-
"@internal/types-builder": "0.0.
|
|
46
|
-
"@internal/workspace-test-utils": "0.0.
|
|
47
|
-
"@mastra/core": "1.64.0
|
|
44
|
+
"@internal/lint": "0.0.130",
|
|
45
|
+
"@internal/types-builder": "0.0.105",
|
|
46
|
+
"@internal/workspace-test-utils": "0.0.74",
|
|
47
|
+
"@mastra/core": "1.64.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@mastra/core": ">=1.4.0-0 <2.0.0-0",
|