cc-peer 1.1.7 → 1.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 +1 -0
- package/dist/cc-peer.d.cts +3 -3
- package/dist/cc-peer.d.mts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,5 +61,6 @@ The REST facade (`npx cc-peer`) serves `GET /sessions`, `POST /messages`, `POST
|
|
|
61
61
|
|
|
62
62
|
- **Same-process constraint**: receipts and idle notices only reach the process that owns the peer's listening socket (the protocol verifies return addresses via kernel peer-pids). Do not split `CcPeer` listening and sending across processes or differently-owned workers.
|
|
63
63
|
- **Single machine**: the local protocol is Unix-socket only. Writing to cloud sessions directly is blocked by design (device-attestation-signed events); bridged sessions reachable locally still work via their local mirror.
|
|
64
|
+
- **No native Windows support**: Claude Code's own peer protocol addresses sockets by filesystem path end to end, but Node's `net` module has no real AF_UNIX support on Windows — its local domain there is implemented with named pipes, which must live under `\\.\pipe\`, not an arbitrary path (see [nodejs/node#55979](https://github.com/nodejs/node/issues/55979)). `CcPeer.start()` cannot bind a listening socket on Windows as a result. The SEA release matrix builds darwin and linux only for this reason; running from source or `npx` on Windows hits the same limitation.
|
|
64
65
|
- **File transfers to Claude sessions** wait on an upstream feature flag (`tengu_send_file`) before Claude-side materialisation activates; peer-to-peer transfers work today.
|
|
65
66
|
- Verified against Claude Code 2.1.269; treat every Claude Code upgrade as a potential protocol change.
|
package/dist/cc-peer.d.cts
CHANGED
|
@@ -70,12 +70,12 @@ declare const RegistryEntrySchema: z.ZodObject<{
|
|
|
70
70
|
nameSince: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
updatedAt: z.ZodNumber;
|
|
72
72
|
status: z.ZodOptional<z.ZodEnum<{
|
|
73
|
-
idle: "idle";
|
|
74
73
|
busy: "busy";
|
|
75
74
|
shell: "shell";
|
|
75
|
+
idle: "idle";
|
|
76
76
|
waiting: "waiting";
|
|
77
77
|
}> & {
|
|
78
|
-
is(value: unknown): value is "
|
|
78
|
+
is(value: unknown): value is "busy" | "shell" | "idle" | "waiting";
|
|
79
79
|
}>;
|
|
80
80
|
statusUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
81
81
|
bridgeSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -97,7 +97,7 @@ declare const RegistryEntrySchema: z.ZodObject<{
|
|
|
97
97
|
name?: string | undefined;
|
|
98
98
|
nameSource?: "user" | "peer" | "derived" | "collision" | "auto" | "hook" | undefined;
|
|
99
99
|
nameSince?: number | undefined;
|
|
100
|
-
status?: "
|
|
100
|
+
status?: "busy" | "shell" | "idle" | "waiting" | undefined;
|
|
101
101
|
statusUpdatedAt?: number | undefined;
|
|
102
102
|
bridgeSessionId?: string | undefined;
|
|
103
103
|
};
|
package/dist/cc-peer.d.mts
CHANGED
|
@@ -70,12 +70,12 @@ declare const RegistryEntrySchema: z.ZodObject<{
|
|
|
70
70
|
nameSince: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
updatedAt: z.ZodNumber;
|
|
72
72
|
status: z.ZodOptional<z.ZodEnum<{
|
|
73
|
-
idle: "idle";
|
|
74
73
|
busy: "busy";
|
|
75
74
|
shell: "shell";
|
|
75
|
+
idle: "idle";
|
|
76
76
|
waiting: "waiting";
|
|
77
77
|
}> & {
|
|
78
|
-
is(value: unknown): value is "
|
|
78
|
+
is(value: unknown): value is "busy" | "shell" | "idle" | "waiting";
|
|
79
79
|
}>;
|
|
80
80
|
statusUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
81
81
|
bridgeSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -97,7 +97,7 @@ declare const RegistryEntrySchema: z.ZodObject<{
|
|
|
97
97
|
name?: string | undefined;
|
|
98
98
|
nameSource?: "user" | "peer" | "derived" | "collision" | "auto" | "hook" | undefined;
|
|
99
99
|
nameSince?: number | undefined;
|
|
100
|
-
status?: "
|
|
100
|
+
status?: "busy" | "shell" | "idle" | "waiting" | undefined;
|
|
101
101
|
statusUpdatedAt?: number | undefined;
|
|
102
102
|
bridgeSessionId?: string | undefined;
|
|
103
103
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-peer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"description": "Communicate with local Claude Code instances over their native cross-session peer messaging: send and receive messages, register as a named discoverable peer, receipts, idle subscriptions, and a REST facade via `npx cc-peer`.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|