@owlmeans/client-resource 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
@@ -66,3 +66,20 @@ Low-level browser storage interface:
66
66
  - [`@owlmeans/resource`](../resource) — `Resource<T>`, `ResourceRecord` base interfaces
67
67
  - [`@owlmeans/web-db`](../web-db) — IndexedDB-backed implementation of `ClientDbService`
68
68
  - [`@owlmeans/client-did`](../client-did) — uses `appendClientResource` to persist DID keys
69
+
70
+ <!-- owlmeans:agent-guidance:start -->
71
+ ## Agent guidance
72
+
73
+ This package ships embedded Claude Code skills and GitHub Copilot instructions under
74
+ `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
75
+ agent-skills installer to place them into your project's native locations
76
+ (`.claude/skills/` and `.github/instructions/`):
77
+
78
+ ```sh
79
+ npx @owlmeans/agent-skills
80
+ ```
81
+
82
+ The embedded files are version-matched to this package release. Do not edit them
83
+ directly — they are regenerated on each publish. To contribute guidance edits,
84
+ open a PR against the source monorepo.
85
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: "How to use @owlmeans/client-resource — client-side resource caching layer over @owlmeans/resource."
3
+ applyTo: "**/*.ts, **/*.tsx"
4
+ ---
5
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
+
7
+ # @owlmeans/client-resource
8
+
9
+ **Layer:** Client
10
+ **Install:** `"@owlmeans/client-resource": "^0.1.9"` in `dependencies`
11
+
12
+ ## Key Exports
13
+
14
+ | Export | Description |
15
+ |--------|-------------|
16
+ | `makeClientResource<T>()` | Factory for an in-memory client resource |
17
+ | `ClientResource<T>` types | Resource interface |
18
+ | Constants | Default cache aliases |
19
+
20
+ ## Usage
21
+
22
+ ```typescript
23
+ import { makeClientResource } from '@owlmeans/client-resource'
24
+ context.registerResource(makeClientResource<Project>('projects'))
25
+ ```
26
+
27
+ ## Depends On
28
+
29
+ - `@owlmeans/resource`, `@owlmeans/client-context`
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@owlmeans/client-resource",
4
+ "version": "0.1.9",
5
+ "generatedAt": "2026-06-14T13:34:06.136Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "client-resource",
11
+ "category": "package-specific",
12
+ "file": "skills/client-resource/SKILL.md",
13
+ "canonicalPath": ".claude/skills/client-resource/SKILL.md"
14
+ },
15
+ {
16
+ "kind": "instruction",
17
+ "name": "client-resource",
18
+ "category": "package-specific",
19
+ "file": "instructions/client-resource.instructions.md",
20
+ "canonicalPath": ".github/instructions/client-resource.instructions.md"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: client-resource
3
+ description: How to use @owlmeans/client-resource — client-side resource caching layer over @owlmeans/resource for in-memory or persistent client storage. Auto-invoked when importing client resource primitives.
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/client-resource
9
+
10
+ **Layer:** Client
11
+ **Install:** `"@owlmeans/client-resource": "^0.1.9"` in `dependencies`
12
+
13
+ ## Key Exports
14
+
15
+ | Export | Description |
16
+ |--------|-------------|
17
+ | `makeClientResource<T>()` | Factory for an in-memory client resource |
18
+ | `ClientResource<T>` types | Resource interface |
19
+ | Constants | Default cache aliases |
20
+
21
+ ## Usage
22
+
23
+ ```typescript
24
+ import { makeClientResource } from '@owlmeans/client-resource'
25
+ context.registerResource(makeClientResource<Project>('projects'))
26
+ ```
27
+
28
+ ## Depends On
29
+
30
+ - `@owlmeans/resource`, `@owlmeans/client-context`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/client-resource",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@noble/hashes": "^1.5.0",
25
- "@owlmeans/client-context": "^0.1.7",
26
- "@owlmeans/context": "^0.1.7",
27
- "@owlmeans/resource": "^0.1.7",
25
+ "@owlmeans/client-context": "^0.1.9",
26
+ "@owlmeans/context": "^0.1.9",
27
+ "@owlmeans/resource": "^0.1.9",
28
28
  "@scure/base": "^1.1.9"
29
29
  },
30
30
  "devDependencies": {