@owlmeans/redis-resource 0.1.15 → 0.1.16
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
|
@@ -91,10 +91,9 @@ Extends `Resource<T>` with:
|
|
|
91
91
|
<!-- owlmeans:agent-guidance:start -->
|
|
92
92
|
## Agent guidance
|
|
93
93
|
|
|
94
|
-
This package ships embedded
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
94
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
95
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
96
|
+
your project's skill store (`.agents/skills/`):
|
|
98
97
|
|
|
99
98
|
```sh
|
|
100
99
|
npx @owlmeans/agent-skills
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion":
|
|
2
|
+
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/redis-resource",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.854Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "redis-resource",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/redis-resource/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "redis-resource",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/redis-resource.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/redis-resource.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/redis-resource/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/redis-resource",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"ioredis": "*"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@owlmeans/basic-ids": "^0.1.
|
|
29
|
-
"@owlmeans/context": "^0.1.
|
|
30
|
-
"@owlmeans/resource": "^0.1.
|
|
31
|
-
"@owlmeans/server-context": "^0.1.
|
|
28
|
+
"@owlmeans/basic-ids": "^0.1.16",
|
|
29
|
+
"@owlmeans/context": "^0.1.16",
|
|
30
|
+
"@owlmeans/resource": "^0.1.16",
|
|
31
|
+
"@owlmeans/server-context": "^0.1.16"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@owlmeans/dep-config": "workspace:*",
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/redis-resource — Redis-backed Resource implementation for caching/state with TTL support."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/redis-resource
|
|
8
|
-
|
|
9
|
-
**Layer:** Infra
|
|
10
|
-
**Install:** `"@owlmeans/redis-resource": "^0.1.15"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `makeRedisResource<T>(options)` | Redis-backed Resource factory |
|
|
17
|
-
| `RedisResource<T>` types | Resource interface |
|
|
18
|
-
| Constants | Default key prefix |
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { makeRedisResource } from '@owlmeans/redis-resource'
|
|
24
|
-
context.registerResource(makeRedisResource<SessionData>({ alias: 'sessions', prefix: 'sess:', ttl: 3600 }))
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Depends On
|
|
28
|
-
|
|
29
|
-
- `@owlmeans/redis`, `@owlmeans/resource`, `@owlmeans/server-context`
|