@owlmeans/storage-resource 0.1.16-rc.0 → 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
|
@@ -93,10 +93,9 @@ Array of MIME types accepted for upload.
|
|
|
93
93
|
<!-- owlmeans:agent-guidance:start -->
|
|
94
94
|
## Agent guidance
|
|
95
95
|
|
|
96
|
-
This package ships embedded
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
96
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
97
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
98
|
+
your project's skill store (`.agents/skills/`):
|
|
100
99
|
|
|
101
100
|
```sh
|
|
102
101
|
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/storage-resource",
|
|
4
|
-
"version": "0.1.16
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.847Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "storage-resource",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/storage-resource/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "storage-resource",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/storage-resource.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/storage-resource.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/storage-resource/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/storage-resource",
|
|
3
|
-
"version": "0.1.16
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@aws-sdk/client-s3": "^3.701.0",
|
|
28
|
-
"@owlmeans/context": "^0.1.16
|
|
29
|
-
"@owlmeans/error": "^0.1.16
|
|
30
|
-
"@owlmeans/resource": "^0.1.16
|
|
31
|
-
"@owlmeans/server-context": "^0.1.16
|
|
32
|
-
"@owlmeans/storage-common": "^0.1.16
|
|
28
|
+
"@owlmeans/context": "^0.1.16",
|
|
29
|
+
"@owlmeans/error": "^0.1.16",
|
|
30
|
+
"@owlmeans/resource": "^0.1.16",
|
|
31
|
+
"@owlmeans/server-context": "^0.1.16",
|
|
32
|
+
"@owlmeans/storage-common": "^0.1.16",
|
|
33
33
|
"file-type": "^21.3.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/storage-resource — S3-compatible object storage Resource with file-type detection."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/storage-resource
|
|
8
|
-
|
|
9
|
-
**Layer:** Infra
|
|
10
|
-
**Install:** `"@owlmeans/storage-resource": "^0.1.16-rc.0"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `makeStorageResource(options)` | S3-compatible storage Resource factory |
|
|
17
|
-
| `StorageResource` types | Resource interface |
|
|
18
|
-
| Helpers | File type detection |
|
|
19
|
-
| Constants | Default chunk size |
|
|
20
|
-
|
|
21
|
-
## Usage
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import { makeStorageResource } from '@owlmeans/storage-resource'
|
|
25
|
-
context.registerResource(makeStorageResource({ alias: 'uploads', bucket: WL_BUCKET }))
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Depends On
|
|
29
|
-
|
|
30
|
-
- `@owlmeans/storage-common`, `@owlmeans/resource`, `@owlmeans/server-context`, `@aws-sdk/client-s3`
|