@owlmeans/server-api 0.1.15 → 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
|
@@ -79,10 +79,9 @@ Extract a multipart-uploaded file from the request.
|
|
|
79
79
|
<!-- owlmeans:agent-guidance:start -->
|
|
80
80
|
## Agent guidance
|
|
81
81
|
|
|
82
|
-
This package ships embedded
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
82
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
83
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
84
|
+
your project's skill store (`.agents/skills/`):
|
|
86
85
|
|
|
87
86
|
```sh
|
|
88
87
|
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/server-api",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.845Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "server-api",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/server-api/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "server-api",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/server-api.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/server-api.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/server-api/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/server-api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"@fastify/helmet": "^12.0.1",
|
|
33
33
|
"@fastify/middie": "^9.0.2",
|
|
34
34
|
"@fastify/multipart": "^9.0.1",
|
|
35
|
-
"@owlmeans/api": "^0.1.
|
|
36
|
-
"@owlmeans/auth": "^0.1.
|
|
37
|
-
"@owlmeans/auth-common": "^0.1.
|
|
38
|
-
"@owlmeans/context": "^0.1.
|
|
39
|
-
"@owlmeans/error": "^0.1.
|
|
40
|
-
"@owlmeans/entrypoint": "^0.1.
|
|
41
|
-
"@owlmeans/route": "^0.1.
|
|
42
|
-
"@owlmeans/server-context": "^0.1.
|
|
43
|
-
"@owlmeans/server-entrypoint": "^0.1.
|
|
35
|
+
"@owlmeans/api": "^0.1.16",
|
|
36
|
+
"@owlmeans/auth": "^0.1.16",
|
|
37
|
+
"@owlmeans/auth-common": "^0.1.16",
|
|
38
|
+
"@owlmeans/context": "^0.1.16",
|
|
39
|
+
"@owlmeans/error": "^0.1.16",
|
|
40
|
+
"@owlmeans/entrypoint": "^0.1.16",
|
|
41
|
+
"@owlmeans/route": "^0.1.16",
|
|
42
|
+
"@owlmeans/server-context": "^0.1.16",
|
|
43
|
+
"@owlmeans/server-entrypoint": "^0.1.16",
|
|
44
44
|
"ajv-errors": "^3.0.0",
|
|
45
45
|
"fastify": "^5.0.0",
|
|
46
46
|
"fastify-raw-body": "^5.0.0",
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/server-api — Fastify-based API server factory, request/response shapes, server middleware integration."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/server-api
|
|
8
|
-
|
|
9
|
-
**Layer:** Server
|
|
10
|
-
**Install:** `"@owlmeans/server-api": "^0.1.15"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `makeServer()` | Factory for the Fastify API server |
|
|
17
|
-
| `Server`, `ServerRequest`, `ServerResponse` types | Runtime shapes |
|
|
18
|
-
| Errors | Typed transport errors |
|
|
19
|
-
| Constants | Default ports, paths |
|
|
20
|
-
| Helpers | Middleware composition |
|
|
21
|
-
|
|
22
|
-
## Subpath Exports
|
|
23
|
-
|
|
24
|
-
- `./utils` — server utility functions
|
|
25
|
-
|
|
26
|
-
## Usage
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
import { makeServer } from '@owlmeans/server-api'
|
|
30
|
-
const server = makeServer({ port: 8080 })
|
|
31
|
-
context.registerService(server)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Depends On
|
|
35
|
-
|
|
36
|
-
- `@owlmeans/context`, `@owlmeans/entrypoint`, `@owlmeans/route`, `fastify`
|