@owlmeans/client-resource 0.1.16-rc.0 → 0.1.17
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
|
@@ -70,10 +70,9 @@ Low-level browser storage interface:
|
|
|
70
70
|
<!-- owlmeans:agent-guidance:start -->
|
|
71
71
|
## Agent guidance
|
|
72
72
|
|
|
73
|
-
This package ships embedded
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
73
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
74
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
75
|
+
your project's skill store (`.agents/skills/`):
|
|
77
76
|
|
|
78
77
|
```sh
|
|
79
78
|
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/client-resource",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.17",
|
|
5
|
+
"generatedAt": "2026-08-15T13:01:19.937Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "client-resource",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/client-resource/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
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"
|
|
13
|
+
"canonicalPath": ".agents/skills/client-resource/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/build/resource.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAS3E,KAAK,MAAM,GAAG,YAAY,CAAA;AAC1B,UAAU,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;CAAI;AAEzE,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAS3E,KAAK,MAAM,GAAG,YAAY,CAAA;AAC1B,UAAU,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC;CAAI;AAEzE,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,SAAS,MAAM,KAAG,CA2LxG,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/client-resource",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@noble/hashes": "^1.5.0",
|
|
25
|
-
"@owlmeans/client-context": "^0.1.
|
|
26
|
-
"@owlmeans/context": "^0.1.
|
|
27
|
-
"@owlmeans/resource": "^0.1.
|
|
28
|
-
"@scure/base": "^
|
|
25
|
+
"@owlmeans/client-context": "^0.1.17",
|
|
26
|
+
"@owlmeans/context": "^0.1.17",
|
|
27
|
+
"@owlmeans/resource": "^0.1.17",
|
|
28
|
+
"@scure/base": "^2.3.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@owlmeans/dep-config": "workspace:*",
|
|
32
32
|
"nodemon": "^3.1.14",
|
|
33
|
-
"typescript": "^
|
|
33
|
+
"typescript": "^7.0.2"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
@@ -1,29 +0,0 @@
|
|
|
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.16-rc.0"` 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`
|