@owlmeans/static-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
@@ -49,3 +49,20 @@ Mixin interface: `getStaticResource<T>(alias?): Resource<T>`
49
49
  ## Related Packages
50
50
 
51
51
  - [`@owlmeans/resource`](../resource) — `Resource<T>` interface implemented here
52
+
53
+ <!-- owlmeans:agent-guidance:start -->
54
+ ## Agent guidance
55
+
56
+ This package ships embedded Claude Code skills and GitHub Copilot instructions under
57
+ `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
58
+ agent-skills installer to place them into your project's native locations
59
+ (`.claude/skills/` and `.github/instructions/`):
60
+
61
+ ```sh
62
+ npx @owlmeans/agent-skills
63
+ ```
64
+
65
+ The embedded files are version-matched to this package release. Do not edit them
66
+ directly — they are regenerated on each publish. To contribute guidance edits,
67
+ open a PR against the source monorepo.
68
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: "How to use @owlmeans/static-resource — Resource for serving static files from a server (e.g. uploaded assets, generated reports)."
3
+ applyTo: "**/*.ts, **/*.tsx"
4
+ ---
5
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
+
7
+ # @owlmeans/static-resource
8
+
9
+ **Layer:** Infra
10
+ **Install:** `"@owlmeans/static-resource": "^0.1.9"` in `dependencies`
11
+
12
+ ## Key Exports
13
+
14
+ | Export | Description |
15
+ |--------|-------------|
16
+ | `makeStaticResource(options)` | Static-file Resource factory |
17
+ | `StaticResource` types | Resource interface |
18
+ | Constants | Default cache headers |
19
+
20
+ ## Usage
21
+
22
+ ```typescript
23
+ import { makeStaticResource } from '@owlmeans/static-resource'
24
+ context.registerResource(makeStaticResource({ alias: 'public', root: '/var/lib/app/public' }))
25
+ ```
26
+
27
+ ## Depends On
28
+
29
+ - `@owlmeans/resource`, `@owlmeans/server-context`
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@owlmeans/static-resource",
4
+ "version": "0.1.9",
5
+ "generatedAt": "2026-06-14T13:34:06.144Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "static-resource",
11
+ "category": "package-specific",
12
+ "file": "skills/static-resource/SKILL.md",
13
+ "canonicalPath": ".claude/skills/static-resource/SKILL.md"
14
+ },
15
+ {
16
+ "kind": "instruction",
17
+ "name": "static-resource",
18
+ "category": "package-specific",
19
+ "file": "instructions/static-resource.instructions.md",
20
+ "canonicalPath": ".github/instructions/static-resource.instructions.md"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: static-resource
3
+ description: How to use @owlmeans/static-resource — Resource for serving static files from a server (e.g. uploaded assets, generated reports). Auto-invoked when serving static files via the framework.
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/static-resource
9
+
10
+ **Layer:** Infra
11
+ **Install:** `"@owlmeans/static-resource": "^0.1.9"` in `dependencies`
12
+
13
+ ## Key Exports
14
+
15
+ | Export | Description |
16
+ |--------|-------------|
17
+ | `makeStaticResource(options)` | Static-file Resource factory |
18
+ | `StaticResource` types | Resource interface |
19
+ | Constants | Default cache headers |
20
+
21
+ ## Usage
22
+
23
+ ```typescript
24
+ import { makeStaticResource } from '@owlmeans/static-resource'
25
+
26
+ context.registerResource(makeStaticResource({
27
+ alias: 'public',
28
+ root: '/var/lib/app/public',
29
+ }))
30
+ ```
31
+
32
+ ## Depends On
33
+
34
+ - `@owlmeans/resource`, `@owlmeans/server-context`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/static-resource",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,9 +21,9 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@owlmeans/context": "^0.1.7",
25
- "@owlmeans/error": "^0.1.7",
26
- "@owlmeans/resource": "^0.1.7"
24
+ "@owlmeans/context": "^0.1.9",
25
+ "@owlmeans/error": "^0.1.9",
26
+ "@owlmeans/resource": "^0.1.9"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@owlmeans/dep-config": "workspace:*",