@owlmeans/client-socket 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
@@ -60,3 +60,20 @@ React hook version of `ws()`. Returns `null` while connecting. Manages connectio
60
60
  - [`@owlmeans/socket`](../socket) — `Connection` interface with `notify`, `observe`, `call` methods
61
61
  - [`@owlmeans/server-socket`](../server-socket) — server-side connection handler
62
62
  - [`@owlmeans/client-module`](../client-module) — `ClientModule` passed to `ws()`
63
+
64
+ <!-- owlmeans:agent-guidance:start -->
65
+ ## Agent guidance
66
+
67
+ This package ships embedded Claude Code skills and GitHub Copilot instructions under
68
+ `agent-meta/`. After installing your `@owlmeans/*` packages, run the OwlMeans
69
+ agent-skills installer to place them into your project's native locations
70
+ (`.claude/skills/` and `.github/instructions/`):
71
+
72
+ ```sh
73
+ npx @owlmeans/agent-skills
74
+ ```
75
+
76
+ The embedded files are version-matched to this package release. Do not edit them
77
+ directly — they are regenerated on each publish. To contribute guidance edits,
78
+ open a PR against the source monorepo.
79
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,28 @@
1
+ ---
2
+ description: "How to use @owlmeans/client-socket — client-side WebSocket connection helpers for browsers and native clients."
3
+ applyTo: "**/*.ts, **/*.tsx"
4
+ ---
5
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
6
+
7
+ # @owlmeans/client-socket
8
+
9
+ **Layer:** Client
10
+ **Install:** `"@owlmeans/client-socket": "^0.1.8"` in `dependencies`
11
+
12
+ ## Key Exports
13
+
14
+ | Export | Description |
15
+ |--------|-------------|
16
+ | `Socket` types | Client socket connection shape |
17
+ | Helpers | Connect, send, subscribe |
18
+
19
+ ## Usage
20
+
21
+ ```typescript
22
+ import { connectSocket } from '@owlmeans/client-socket'
23
+ const socket = await connectSocket(context, { url: 'wss://api/ws' })
24
+ ```
25
+
26
+ ## Depends On
27
+
28
+ - `@owlmeans/socket`, `@owlmeans/client-context`
@@ -0,0 +1,23 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "package": "@owlmeans/client-socket",
4
+ "version": "0.1.8",
5
+ "generatedAt": "2026-06-11T16:30:27.166Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "client-socket",
11
+ "category": "package-specific",
12
+ "file": "skills/client-socket/SKILL.md",
13
+ "canonicalPath": ".claude/skills/client-socket/SKILL.md"
14
+ },
15
+ {
16
+ "kind": "instruction",
17
+ "name": "client-socket",
18
+ "category": "package-specific",
19
+ "file": "instructions/client-socket.instructions.md",
20
+ "canonicalPath": ".github/instructions/client-socket.instructions.md"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: client-socket
3
+ description: How to use @owlmeans/client-socket — client-side WebSocket connection helpers for browsers and native clients. Auto-invoked when importing client socket primitives.
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/client-socket
9
+
10
+ **Layer:** Client
11
+ **Install:** `"@owlmeans/client-socket": "^0.1.8"` in `dependencies`
12
+
13
+ ## Key Exports
14
+
15
+ | Export | Description |
16
+ |--------|-------------|
17
+ | `Socket` types | Client socket connection shape |
18
+ | Helpers | Connect, send, subscribe to channels |
19
+
20
+ ## Usage
21
+
22
+ ```typescript
23
+ import { connectSocket } from '@owlmeans/client-socket'
24
+ const socket = await connectSocket(context, { url: 'wss://api/ws' })
25
+ socket.subscribe('projects', msg => console.log(msg))
26
+ ```
27
+
28
+ ## Depends On
29
+
30
+ - `@owlmeans/socket`, `@owlmeans/client-context`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/client-socket",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -30,14 +30,14 @@
30
30
  "typescript": "^6.0.2"
31
31
  },
32
32
  "dependencies": {
33
- "@owlmeans/auth": "^0.1.7",
34
- "@owlmeans/basic-envelope": "^0.1.7",
35
- "@owlmeans/client": "^0.1.7",
36
- "@owlmeans/client-context": "^0.1.7",
37
- "@owlmeans/client-entrypoint": "^0.1.7",
38
- "@owlmeans/context": "^0.1.7",
39
- "@owlmeans/entrypoint": "^0.1.7",
40
- "@owlmeans/socket": "^0.1.7"
33
+ "@owlmeans/auth": "^0.1.8",
34
+ "@owlmeans/basic-envelope": "^0.1.8",
35
+ "@owlmeans/client": "^0.1.8",
36
+ "@owlmeans/client-context": "^0.1.8",
37
+ "@owlmeans/client-entrypoint": "^0.1.8",
38
+ "@owlmeans/context": "^0.1.8",
39
+ "@owlmeans/entrypoint": "^0.1.8",
40
+ "@owlmeans/socket": "^0.1.8"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"