@mastra/valkey-streams 0.5.1-alpha.0 → 0.5.1-alpha.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.
Files changed (2) hide show
  1. package/README.md +35 -0
  2. package/package.json +6 -6
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # @mastra/valkey-streams
2
+
3
+ `ValkeyStreamsPubSub` implements Mastra's PubSub and lease-provider contracts with Valkey Streams through Valkey GLIDE. Use it for durable event delivery and distributed workflow coordination when your infrastructure is built on Valkey.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mastra/valkey-streams
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import { Mastra } from '@mastra/core/mastra';
15
+ import { ValkeyStreamsPubSub } from '@mastra/valkey-streams';
16
+
17
+ export const mastra = new Mastra({
18
+ pubsub: new ValkeyStreamsPubSub({
19
+ url: process.env.VALKEY_URL!,
20
+ keyPrefix: 'mastra:my-app',
21
+ }),
22
+ });
23
+ ```
24
+
25
+ ## Documentation
26
+
27
+ - [Reference: ValkeyStreamsPubSub](https://mastra.ai/reference/pubsub/valkey-streams)
28
+
29
+ ## Changelog
30
+
31
+ See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/pubsub/valkey-streams/CHANGELOG.md) for version history and release notes.
32
+
33
+ ## Support
34
+
35
+ 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/valkey-streams",
3
- "version": "0.5.1-alpha.0",
3
+ "version": "0.5.1-alpha.1",
4
4
  "description": "Mastra Valkey Streams PubSub integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,12 +36,12 @@
36
36
  "typescript": "^7.0.2",
37
37
  "vitest": "4.1.10",
38
38
  "zod": "^4.4.3",
39
- "@internal/types-builder": "0.0.104",
40
39
  "@internal/ai-sdk-v5": "0.0.76",
41
- "@mastra/deployer": "1.64.0-alpha.2",
42
- "@mastra/libsql": "1.22.3-alpha.0",
43
- "@mastra/core": "1.64.0-alpha.2",
44
- "@internal/lint": "0.0.129"
40
+ "@internal/lint": "0.0.129",
41
+ "@internal/types-builder": "0.0.104",
42
+ "@mastra/deployer": "1.64.0-alpha.7",
43
+ "@mastra/core": "1.64.0-alpha.7",
44
+ "@mastra/libsql": "1.22.3-alpha.3"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@mastra/core": ">=1.0.0-0 <2.0.0-0"