@owlmeans/storage-common 0.1.7 → 0.1.8

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
@@ -50,3 +50,20 @@ Extends `StoredFileMeta` with `instances: { [key: string]: StoredFilePayload }`
50
50
 
51
51
  - [`@owlmeans/storage-resource`](../storage-resource) — S3-compatible resource using these types
52
52
  - [`@owlmeans/image-resource`](../image-resource) — image-specific extensions of these types
53
+
54
+ <!-- owlmeans:agent-guidance:start -->
55
+ ## Agent guidance
56
+
57
+ This package ships embedded Claude Code skills and GitHub Copilot instructions under
58
+ `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
59
+ agent-skills installer to place them into your project's native locations
60
+ (`.claude/skills/` and `.github/instructions/`):
61
+
62
+ ```sh
63
+ npx @owlmeans/agent-skills
64
+ ```
65
+
66
+ The embedded files are version-matched to this package release. Do not edit them
67
+ directly — they are regenerated on each publish. To contribute guidance edits,
68
+ open a PR against the source monorepo.
69
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: "How to use @owlmeans/storage-common — shared object/file storage types, error types, and model used by storage-resource and image-resource."
3
+ applyTo: "**/*.ts, **/*.tsx"
4
+ ---
5
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
+
7
+ # @owlmeans/storage-common
8
+
9
+ **Layer:** Infra
10
+ **Install:** `"@owlmeans/storage-common": "^0.1.8"` in `dependencies`
11
+
12
+ ## Key Exports
13
+
14
+ | Export | Description |
15
+ |--------|-------------|
16
+ | `StorageBucket` types | Bucket descriptor |
17
+ | `StorageObject` types | Stored object metadata |
18
+ | Errors | Typed storage errors |
19
+ | Constants | Default content types |
20
+ | Model | Path/key normalization helpers |
21
+
22
+ ## Usage
23
+
24
+ ```typescript
25
+ import type { StorageBucket } from '@owlmeans/storage-common'
26
+ ```
27
+
28
+ ## Depends On
29
+
30
+ - `@owlmeans/error`, `@owlmeans/i18n`
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@owlmeans/storage-common",
4
+ "version": "0.1.8",
5
+ "generatedAt": "2026-06-11T16:30:27.176Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "storage-common",
11
+ "category": "package-specific",
12
+ "file": "skills/storage-common/SKILL.md",
13
+ "canonicalPath": ".claude/skills/storage-common/SKILL.md"
14
+ },
15
+ {
16
+ "kind": "instruction",
17
+ "name": "storage-common",
18
+ "category": "package-specific",
19
+ "file": "instructions/storage-common.instructions.md",
20
+ "canonicalPath": ".github/instructions/storage-common.instructions.md"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: storage-common
3
+ description: How to use @owlmeans/storage-common — shared object/file storage types, error types, and model used by storage-resource and image-resource. Auto-invoked when importing storage primitives.
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/storage-common
9
+
10
+ **Layer:** Infra
11
+ **Install:** `"@owlmeans/storage-common": "^0.1.8"` in `dependencies`
12
+
13
+ ## Key Exports
14
+
15
+ | Export | Description |
16
+ |--------|-------------|
17
+ | `StorageBucket` types | Bucket descriptor (URL, credentials, prefix) |
18
+ | `StorageObject` types | Stored object metadata |
19
+ | Errors | Typed storage errors (NotFound, Forbidden, etc.) |
20
+ | Constants | Default content types, MIME categories |
21
+ | Model | Path/key normalization helpers |
22
+
23
+ ## Usage
24
+
25
+ ```typescript
26
+ import type { StorageBucket } from '@owlmeans/storage-common'
27
+
28
+ const bucket: StorageBucket = {
29
+ url: '/etc/app-config/s3-bucket-url',
30
+ apiKey: '/etc/master-secret/s3-storage',
31
+ basePrefix: 'uploads/',
32
+ }
33
+ ```
34
+
35
+ ## Depends On
36
+
37
+ - `@owlmeans/error`, `@owlmeans/i18n`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owlmeans/storage-common",
3
3
  "type": "module",
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "license": "MIT",
6
6
  "scripts": {
7
7
  "build": "tsc -b",
@@ -24,8 +24,8 @@
24
24
  "ajv": "*"
25
25
  },
26
26
  "dependencies": {
27
- "@owlmeans/auth": "^0.1.7",
28
- "@owlmeans/error": "^0.1.7"
27
+ "@owlmeans/auth": "^0.1.8",
28
+ "@owlmeans/error": "^0.1.8"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@owlmeans/dep-config": "workspace:*",