@owlmeans/server-socket 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
@@ -64,3 +64,20 @@ Creates the middleware that initializes the socket service during context init.
64
64
  - [`@owlmeans/socket`](../socket) — `Connection`, `MessageType`, `EventMessage` types
65
65
  - [`@owlmeans/server-app`](../server-app) — calls `appendSocketService` in `makeContext`
66
66
  - [`@owlmeans/client-socket`](../client-socket) — client-side counterpart
67
+
68
+ <!-- owlmeans:agent-guidance:start -->
69
+ ## Agent guidance
70
+
71
+ This package ships embedded Claude Code skills and GitHub Copilot instructions under
72
+ `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
73
+ agent-skills installer to place them into your project's native locations
74
+ (`.claude/skills/` and `.github/instructions/`):
75
+
76
+ ```sh
77
+ npx @owlmeans/agent-skills
78
+ ```
79
+
80
+ The embedded files are version-matched to this package release. Do not edit them
81
+ directly — they are regenerated on each publish. To contribute guidance edits,
82
+ open a PR against the source monorepo.
83
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,30 @@
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.9"` 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`
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@owlmeans/server-socket",
4
+ "version": "0.1.9",
5
+ "generatedAt": "2026-06-14T13:34:06.136Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "server-socket",
11
+ "category": "package-specific",
12
+ "file": "skills/server-socket/SKILL.md",
13
+ "canonicalPath": ".claude/skills/server-socket/SKILL.md"
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"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: server-socket
3
+ description: How to use @owlmeans/server-socket — Fastify WebSocket integration providing a socket service registered on the server context. Auto-invoked when importing server socket primitives or wiring WebSocket support.
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/server-socket
9
+
10
+ **Layer:** Server
11
+ **Install:** `"@owlmeans/server-socket": "^0.1.9"` in `dependencies`
12
+
13
+ ## Key Exports
14
+
15
+ | Export | Description |
16
+ |--------|-------------|
17
+ | `makeSocketService()` | Factory for the WebSocket server service |
18
+ | Middleware | Socket middleware for Fastify |
19
+ | Helpers | Channel subscription / broadcast helpers |
20
+ | Constants | Default channel names |
21
+
22
+ ## Usage
23
+
24
+ ```typescript
25
+ import { makeSocketService } from '@owlmeans/server-socket'
26
+ context.registerService(makeSocketService())
27
+ ```
28
+
29
+ ## Depends On
30
+
31
+ - `@owlmeans/socket`, `@owlmeans/server-context`, `@owlmeans/server-api`
32
+ - `@fastify/websocket` (runtime)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/server-socket",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
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.7",
35
- "@owlmeans/basic-envelope": "^0.1.7",
36
- "@owlmeans/context": "^0.1.7",
37
- "@owlmeans/entrypoint": "^0.1.7",
38
- "@owlmeans/server-api": "^0.1.7",
39
- "@owlmeans/server-auth": "^0.1.7",
40
- "@owlmeans/server-context": "^0.1.7",
41
- "@owlmeans/server-entrypoint": "^0.1.7",
42
- "@owlmeans/socket": "^0.1.7"
34
+ "@owlmeans/auth": "^0.1.9",
35
+ "@owlmeans/basic-envelope": "^0.1.9",
36
+ "@owlmeans/context": "^0.1.9",
37
+ "@owlmeans/entrypoint": "^0.1.9",
38
+ "@owlmeans/server-api": "^0.1.9",
39
+ "@owlmeans/server-auth": "^0.1.9",
40
+ "@owlmeans/server-context": "^0.1.9",
41
+ "@owlmeans/server-entrypoint": "^0.1.9",
42
+ "@owlmeans/socket": "^0.1.9"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"