@owlmeans/server-socket 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
|
@@ -68,10 +68,9 @@ Creates the middleware that initializes the socket service during context init.
|
|
|
68
68
|
<!-- owlmeans:agent-guidance:start -->
|
|
69
69
|
## Agent guidance
|
|
70
70
|
|
|
71
|
-
This package ships embedded
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
71
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
72
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
73
|
+
your project's skill store (`.agents/skills/`):
|
|
75
74
|
|
|
76
75
|
```sh
|
|
77
76
|
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-socket",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.856Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "server-socket",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/server-socket/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "server-socket",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/server-socket.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/server-socket.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/server-socket/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/server-socket",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@fastify/websocket": "^11.0.1",
|
|
34
|
-
"@owlmeans/auth": "^0.1.
|
|
35
|
-
"@owlmeans/basic-envelope": "^0.1.
|
|
36
|
-
"@owlmeans/context": "^0.1.
|
|
37
|
-
"@owlmeans/entrypoint": "^0.1.
|
|
38
|
-
"@owlmeans/server-api": "^0.1.
|
|
39
|
-
"@owlmeans/server-auth": "^0.1.
|
|
40
|
-
"@owlmeans/server-context": "^0.1.
|
|
41
|
-
"@owlmeans/server-entrypoint": "^0.1.
|
|
42
|
-
"@owlmeans/socket": "^0.1.
|
|
34
|
+
"@owlmeans/auth": "^0.1.16",
|
|
35
|
+
"@owlmeans/basic-envelope": "^0.1.16",
|
|
36
|
+
"@owlmeans/context": "^0.1.16",
|
|
37
|
+
"@owlmeans/entrypoint": "^0.1.16",
|
|
38
|
+
"@owlmeans/server-api": "^0.1.16",
|
|
39
|
+
"@owlmeans/server-auth": "^0.1.16",
|
|
40
|
+
"@owlmeans/server-context": "^0.1.16",
|
|
41
|
+
"@owlmeans/server-entrypoint": "^0.1.16",
|
|
42
|
+
"@owlmeans/socket": "^0.1.16"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/server-socket — Fastify WebSocket integration providing a socket service registered on the server context."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/server-socket
|
|
8
|
-
|
|
9
|
-
**Layer:** Server
|
|
10
|
-
**Install:** `"@owlmeans/server-socket": "^0.1.15"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `makeSocketService()` | Factory for the WebSocket server service |
|
|
17
|
-
| Middleware | Socket middleware for Fastify |
|
|
18
|
-
| Helpers | Channel subscription / broadcast |
|
|
19
|
-
| Constants | Default channel names |
|
|
20
|
-
|
|
21
|
-
## Usage
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import { makeSocketService } from '@owlmeans/server-socket'
|
|
25
|
-
context.registerService(makeSocketService())
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Depends On
|
|
29
|
-
|
|
30
|
-
- `@owlmeans/socket`, `@owlmeans/server-context`, `@owlmeans/server-api`, `@fastify/websocket`
|