@owlmeans/redis 0.1.7 → 0.1.9
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
CHANGED
|
@@ -55,3 +55,20 @@ Extends `RedisOptions` (ioredis) — all ioredis connection options are supporte
|
|
|
55
55
|
|
|
56
56
|
- [`@owlmeans/redis-resource`](../redis-resource) — pub/sub and streaming resources over this service
|
|
57
57
|
- [`@owlmeans/server-auth`](../server-auth) — `AUTH_CACHE` redis resource for auth token caching
|
|
58
|
+
|
|
59
|
+
<!-- owlmeans:agent-guidance:start -->
|
|
60
|
+
## Agent guidance
|
|
61
|
+
|
|
62
|
+
This package ships embedded Claude Code skills and GitHub Copilot instructions under
|
|
63
|
+
`agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
|
|
64
|
+
agent-skills installer to place them into your project's native locations
|
|
65
|
+
(`.claude/skills/` and `.github/instructions/`):
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
npx @owlmeans/agent-skills
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The embedded files are version-matched to this package release. Do not edit them
|
|
72
|
+
directly — they are regenerated on each publish. To contribute guidance edits,
|
|
73
|
+
open a PR against the source monorepo.
|
|
74
|
+
<!-- owlmeans:agent-guidance:end -->
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "How to use @owlmeans/redis — Redis client service factory (makeRedisService) registered on a server context."
|
|
3
|
+
applyTo: "**/context.ts, **/config.ts, **/*.ts, **/*.tsx"
|
|
4
|
+
---
|
|
5
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
+
|
|
7
|
+
# @owlmeans/redis
|
|
8
|
+
|
|
9
|
+
**Layer:** Infra
|
|
10
|
+
**Install:** `"@owlmeans/redis": "^0.1.9"` in `dependencies`
|
|
11
|
+
|
|
12
|
+
## Key Exports
|
|
13
|
+
|
|
14
|
+
| Export | Description |
|
|
15
|
+
|--------|-------------|
|
|
16
|
+
| `makeRedisService()` | Redis connection service factory |
|
|
17
|
+
| `Redis` types | Service interface |
|
|
18
|
+
| Constants | `DEFAULT_ALIAS` |
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { makeRedisService } from '@owlmeans/redis'
|
|
24
|
+
context.registerService(makeRedisService())
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Depends On
|
|
28
|
+
|
|
29
|
+
- `@owlmeans/server-context`, `@owlmeans/resource`, `ioredis`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"package": "@owlmeans/redis",
|
|
4
|
+
"version": "0.1.9",
|
|
5
|
+
"generatedAt": "2026-06-14T13:34:06.143Z",
|
|
6
|
+
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
|
+
"entries": [
|
|
8
|
+
{
|
|
9
|
+
"kind": "skill",
|
|
10
|
+
"name": "redis",
|
|
11
|
+
"category": "package-specific",
|
|
12
|
+
"file": "skills/redis/SKILL.md",
|
|
13
|
+
"canonicalPath": ".claude/skills/redis/SKILL.md"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"kind": "instruction",
|
|
17
|
+
"name": "redis",
|
|
18
|
+
"category": "package-specific",
|
|
19
|
+
"file": "instructions/redis.instructions.md",
|
|
20
|
+
"canonicalPath": ".github/instructions/redis.instructions.md"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: redis
|
|
3
|
+
description: How to use @owlmeans/redis — Redis client service factory (makeRedisService) registered on a server context. Auto-invoked when wiring Redis into a server app.
|
|
4
|
+
user-invocable: false
|
|
5
|
+
---
|
|
6
|
+
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
7
|
+
|
|
8
|
+
# @owlmeans/redis
|
|
9
|
+
|
|
10
|
+
**Layer:** Infra
|
|
11
|
+
**Install:** `"@owlmeans/redis": "^0.1.9"` in `dependencies`
|
|
12
|
+
|
|
13
|
+
## Key Exports
|
|
14
|
+
|
|
15
|
+
| Export | Description |
|
|
16
|
+
|--------|-------------|
|
|
17
|
+
| `makeRedisService()` | Factory for the Redis connection service |
|
|
18
|
+
| `Redis` types | Service interface, client handle |
|
|
19
|
+
| Constants | `DEFAULT_ALIAS` for the redis service |
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { makeRedisService } from '@owlmeans/redis'
|
|
25
|
+
context.registerService(makeRedisService())
|
|
26
|
+
|
|
27
|
+
// Connection settings via cfg.services / cfg.dbs
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Depends On
|
|
31
|
+
|
|
32
|
+
- `@owlmeans/server-context`, `@owlmeans/resource`
|
|
33
|
+
- `ioredis` (runtime)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/redis",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@noble/hashes": "^1.5.0",
|
|
31
|
-
"@owlmeans/context": "^0.1.
|
|
32
|
-
"@owlmeans/redis-resource": "^0.1.
|
|
33
|
-
"@owlmeans/resource": "^0.1.
|
|
34
|
-
"@owlmeans/server-context": "^0.1.
|
|
31
|
+
"@owlmeans/context": "^0.1.9",
|
|
32
|
+
"@owlmeans/redis-resource": "^0.1.9",
|
|
33
|
+
"@owlmeans/resource": "^0.1.9",
|
|
34
|
+
"@owlmeans/server-context": "^0.1.9",
|
|
35
35
|
"@scure/base": "^1.1.9",
|
|
36
36
|
"ioredis": "^5.4.1"
|
|
37
37
|
},
|