session-peer 0.3.0 → 0.3.2
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/PARITY.md +54 -3
- package/README.ja.md +7 -4
- package/README.ko.md +7 -4
- package/README.md +7 -4
- package/README.zh-CN.md +7 -4
- package/RELEASING.md +77 -3
- package/SECURITY.md +1 -1
- package/VALIDATION.md +232 -7
- package/dist/cli.js +15 -2
- package/dist/discovery.js +39 -3
- package/dist/output.js +15 -1
- package/dist/protocol.d.ts +2 -2
- package/dist/protocol.js +5 -1
- package/dist/writer.js +5 -3
- package/docs/api.md +5 -3
- package/docs/design/remote-deployment.md +48 -22
- package/docs/guide.ja.md +13 -10
- package/docs/guide.ko.md +13 -10
- package/docs/guide.md +13 -10
- package/docs/guide.zh-CN.md +13 -10
- package/docs/shorthand.md +2 -0
- package/package.json +4 -3
package/dist/cli.js
CHANGED
|
@@ -7,7 +7,7 @@ import { lstatSync } from 'node:fs';
|
|
|
7
7
|
import { listing, Refusal } from './discovery.js';
|
|
8
8
|
import { executable, run, UnknownOutcome } from './process.js';
|
|
9
9
|
import { checkMessage, send, CodexUnknownOutcome } from './send.js';
|
|
10
|
-
import { HomeRefusal } from './writer.js';
|
|
10
|
+
import { HomeRefusal, uuid } from './writer.js';
|
|
11
11
|
import { envelope, host, reply, VERSION, VERSION_LINE } from './protocol.js';
|
|
12
12
|
import { CHANNELS, checkUpdate, noticeText, refreshCache, refuseSelfUpdate, REFRESH_ARG, updateNotice, UpdateRefusal } from './updates.js';
|
|
13
13
|
import { jumpOptions, sshConfig, sshJump, sshOptions } from './ssh.js';
|
|
@@ -305,6 +305,19 @@ async function remote(options, ssh, target, resolved, message, returnTo) {
|
|
|
305
305
|
(value.ok && (value.submitted !== !flags.has('--dry-run') || value.status !== expectedStatus)) ||
|
|
306
306
|
(!value.ok && !((value.submitted === false && value.status === 'refused') || (value.submitted === null && value.status === 'unknown')))))
|
|
307
307
|
return uncertain();
|
|
308
|
+
if (command === 'send' && value.ok) {
|
|
309
|
+
const target = value.target;
|
|
310
|
+
const requestedTarget = values.get('--to') ?? '';
|
|
311
|
+
const requestedCodexThread = requestedTarget.startsWith('codex:') ? requestedTarget.slice(6) : undefined;
|
|
312
|
+
const validTarget = target && !Array.isArray(target) &&
|
|
313
|
+
(target.agent === undefined || target.agent === (requestedCodexThread ? 'codex' : 'claude')) &&
|
|
314
|
+
(requestedCodexThread
|
|
315
|
+
? typeof target.id === 'string' && uuid(target.id) && target.id.toLowerCase() === requestedCodexThread.toLowerCase()
|
|
316
|
+
: Number.isSafeInteger(target.pid) && target.pid > 0 &&
|
|
317
|
+
(typeof target.name === 'string' || target.name === null));
|
|
318
|
+
if (!validTarget)
|
|
319
|
+
return uncertain();
|
|
320
|
+
}
|
|
308
321
|
// `clientUpdate` is client-local: a remote-supplied value is never trusted or shown.
|
|
309
322
|
delete value.clientUpdate;
|
|
310
323
|
return { value: { ...value, host: resolved.canonical, sshHost: target }, exitCode: done.code };
|
|
@@ -397,7 +410,7 @@ try {
|
|
|
397
410
|
throw new Refusal('remote_json_required');
|
|
398
411
|
if (wire && command === 'update')
|
|
399
412
|
throw new Refusal('remote_update_unsupported');
|
|
400
|
-
if (wire && (options.hosts.length || options.ssh.args.length || options.jump || options.values.has('--remote-bin') || options.values.has('--remote-platform') || options.values.has('--ssh-control-path') ||
|
|
413
|
+
if (wire && (options.address || options.hosts.length || options.ssh.args.length || options.jump || options.values.has('--remote-bin') || options.values.has('--remote-platform') || options.values.has('--ssh-control-path') ||
|
|
401
414
|
options.values.has('--reply-to') || options.flags.has('--check-return-route')))
|
|
402
415
|
throw new Refusal('nested_transport_forbidden');
|
|
403
416
|
if (!wire && options.values.has('--return-route-host'))
|
package/dist/discovery.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// Read-only discovery: no inbox connections, writer selection, queue or DB writes.
|
|
2
2
|
// Windows Claude metadata uses native process inspection.
|
|
3
|
-
import { lstatSync, readFileSync, readlinkSync, readdirSync, realpathSync, statSync } from 'node:fs';
|
|
3
|
+
import { closeSync, constants, fstatSync, lstatSync, openSync, readFileSync, readlinkSync, readSync, readdirSync, realpathSync, statSync } from 'node:fs';
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import { dirname, isAbsolute, join, resolve } from 'node:path';
|
|
6
|
+
import { parse as parseTOML } from 'smol-toml';
|
|
6
7
|
import { windowsProcessStart } from './windows.js';
|
|
7
8
|
export class Refusal extends Error {
|
|
8
9
|
code;
|
|
@@ -26,7 +27,12 @@ export function sqliteHome(home) {
|
|
|
26
27
|
catch (error) {
|
|
27
28
|
return ['ENOENT', 'ENOTDIR'].includes(error.code ?? '') ? 'default' : 'unknown';
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
+
try {
|
|
31
|
+
return Object.hasOwn(parseTOML(text), 'sqlite_home') ? 'configured' : 'default';
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return 'unknown';
|
|
35
|
+
}
|
|
30
36
|
}
|
|
31
37
|
function missing(error) {
|
|
32
38
|
return ['ENOENT', 'ENOTDIR'].includes(error.code ?? '');
|
|
@@ -76,6 +82,36 @@ function alive(pid) {
|
|
|
76
82
|
return error.code === 'EPERM';
|
|
77
83
|
}
|
|
78
84
|
}
|
|
85
|
+
// Local Claude registry metadata is limited to 1 MiB per regular file. The
|
|
86
|
+
// descriptor checks and POSIX nonblocking open also cover replacement by a FIFO
|
|
87
|
+
// between lstat and open; this is not a deadline for network filesystem I/O.
|
|
88
|
+
function claudeRecord(file) {
|
|
89
|
+
const limit = 1024 * 1024, before = lstatSync(file);
|
|
90
|
+
if (!before.isFile() || before.size > limit)
|
|
91
|
+
return undefined;
|
|
92
|
+
const flags = constants.O_RDONLY | (process.platform === 'win32' ? 0 : constants.O_NONBLOCK | constants.O_NOFOLLOW);
|
|
93
|
+
const fd = openSync(file, flags);
|
|
94
|
+
try {
|
|
95
|
+
const opened = fstatSync(fd);
|
|
96
|
+
if (!opened.isFile() || opened.size > limit || opened.dev !== before.dev || opened.ino !== before.ino)
|
|
97
|
+
return undefined;
|
|
98
|
+
const bytes = Buffer.alloc(limit + 1);
|
|
99
|
+
let length = 0;
|
|
100
|
+
while (length < bytes.length) {
|
|
101
|
+
const count = readSync(fd, bytes, length, bytes.length - length, length);
|
|
102
|
+
if (!count)
|
|
103
|
+
break;
|
|
104
|
+
length += count;
|
|
105
|
+
}
|
|
106
|
+
// Read at most limit + 1 even if metadata grows after the descriptor check.
|
|
107
|
+
if (length > limit || fstatSync(fd).size > limit)
|
|
108
|
+
return undefined;
|
|
109
|
+
return JSON.parse(bytes.subarray(0, length).toString('utf8'));
|
|
110
|
+
}
|
|
111
|
+
finally {
|
|
112
|
+
closeSync(fd);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
79
115
|
export function claude(all) {
|
|
80
116
|
const directory = join(process.env.CLAUDE_CONFIG_DIR || process.env.ANTHROPIC_CONFIG_DIR || join(homedir(), '.claude'), 'sessions');
|
|
81
117
|
let entries;
|
|
@@ -94,7 +130,7 @@ export function claude(all) {
|
|
|
94
130
|
continue;
|
|
95
131
|
let record;
|
|
96
132
|
try {
|
|
97
|
-
const value =
|
|
133
|
+
const value = claudeRecord(join(directory, entry));
|
|
98
134
|
if (!value || typeof value !== 'object' || Array.isArray(value))
|
|
99
135
|
continue;
|
|
100
136
|
record = value;
|
package/dist/output.js
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Escape terminal controls plus bidi/zero-width format characters in
|
|
2
2
|
// user-controlled names/paths; preserve other Unicode.
|
|
3
|
-
const safe = (value) =>
|
|
3
|
+
const safe = (value) => {
|
|
4
|
+
let text;
|
|
5
|
+
try {
|
|
6
|
+
text = String(value ?? '');
|
|
7
|
+
}
|
|
8
|
+
catch {
|
|
9
|
+
try {
|
|
10
|
+
text = JSON.stringify(value) ?? '[unprintable]';
|
|
11
|
+
}
|
|
12
|
+
catch {
|
|
13
|
+
text = '[unprintable]';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return text.replace(/[\x00-\x1f\x7f-\x9f\u061c\u200b-\u200f\u2028-\u202e\u2060-\u2069\ufeff]/g, char => `\\u${char.charCodeAt(0).toString(16).padStart(4, '0')}`);
|
|
17
|
+
};
|
|
4
18
|
export function renderOutput(value, format) {
|
|
5
19
|
if (format === 'json')
|
|
6
20
|
return JSON.stringify(value);
|
package/dist/protocol.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const VERSION = "0.3.
|
|
2
|
-
export declare const VERSION_LINE = "session-peer 0.3.
|
|
1
|
+
export declare const VERSION = "0.3.2";
|
|
2
|
+
export declare const VERSION_LINE = "session-peer 0.3.2 (typescript)";
|
|
3
3
|
export declare function host(value: string): string;
|
|
4
4
|
export declare function reply(value: string): {
|
|
5
5
|
to: string;
|
package/dist/protocol.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isIPv6 } from 'node:net';
|
|
2
2
|
import { Refusal } from './discovery.js';
|
|
3
3
|
import { uuid } from './writer.js';
|
|
4
|
-
export const VERSION = '0.3.
|
|
4
|
+
export const VERSION = '0.3.2';
|
|
5
5
|
export const VERSION_LINE = `session-peer ${VERSION} (typescript)`;
|
|
6
6
|
// Return the OpenSSH destination: [user@]name, or an IPv6 literal with any
|
|
7
7
|
// brackets removed (`ssh` does not strip `[...]` outside ssh:// URIs). Zone IDs
|
|
@@ -38,6 +38,10 @@ export function reply(value) {
|
|
|
38
38
|
throw new Refusal('invalid_reply_uri');
|
|
39
39
|
if (agent === 'codex' && !uuid(target))
|
|
40
40
|
throw new Refusal('invalid_reply_uri');
|
|
41
|
+
// `to` uses reserved prefixes for agent selection and Reply-To parsing.
|
|
42
|
+
// A forwarded value must not become Codex or another URI at the receiver.
|
|
43
|
+
if (agent === 'claude' && (target.startsWith('codex:') || target.startsWith('session-peer:')))
|
|
44
|
+
throw new Refusal('invalid_reply_uri');
|
|
41
45
|
if (agent !== 'codex' && fields.has('codexHome'))
|
|
42
46
|
throw new Refusal('invalid_reply_uri');
|
|
43
47
|
// Match Python: a POSIX or Windows absolute path, never cwd- or ~-relative.
|
package/dist/writer.js
CHANGED
|
@@ -68,8 +68,10 @@ async function sample(path) {
|
|
|
68
68
|
current = { pid: Number(value) };
|
|
69
69
|
owners.push(current);
|
|
70
70
|
}
|
|
71
|
-
if (current && token[0] === 'u')
|
|
72
|
-
|
|
71
|
+
if (current && token[0] === 'u') {
|
|
72
|
+
const uid = /^\d+$/.test(value) ? Number(value) : NaN;
|
|
73
|
+
current.uid = Number.isSafeInteger(uid) ? uid : undefined;
|
|
74
|
+
}
|
|
73
75
|
if (current && token[0] === 'c')
|
|
74
76
|
current.command = value;
|
|
75
77
|
}
|
|
@@ -95,7 +97,7 @@ export async function inspectWriter(home, id) {
|
|
|
95
97
|
const ownId = process.platform === 'win32' ? inspectWindows('identity', String(process.pid))[0]?.uid : process.getuid?.();
|
|
96
98
|
if (!before.valid || !after.valid || before.state !== after.state || before.fingerprint !== after.fingerprint ||
|
|
97
99
|
before.owners.length !== 1 || after.owners.length !== 1 || JSON.stringify(before.owners) !== JSON.stringify(after.owners) ||
|
|
98
|
-
!owner?.start ||
|
|
100
|
+
!owner?.start || ownId === undefined || owner.uid !== ownId || !/^codex(?:\.exe|-|$)/i.test(owner.command ?? '')) {
|
|
99
101
|
throw new Refusal('active_writer_unverified', 1);
|
|
100
102
|
}
|
|
101
103
|
return { activity: 'live_writer', writerLock: 'held', identity: JSON.stringify({ fingerprint: after.fingerprint, ...owner }) };
|
package/docs/api.md
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
# API reference
|
|
2
2
|
|
|
3
|
+
This reference describes source/package version **0.3.2**. Version-pinned npm commands require that version to be available in the registry; check `npm view session-peer@0.3.2 version` before installing. Before publication, use the reviewed source artifact.
|
|
4
|
+
|
|
3
5
|
[Back to README](../README.md) · [User guide](guide.md)
|
|
4
6
|
|
|
5
7
|
The package exposes a small ESM API with TypeScript declarations. Install it
|
|
6
|
-
locally with `npm install --ignore-scripts session-peer@0.3.
|
|
8
|
+
locally with `npm install --ignore-scripts session-peer@0.3.2` before importing it.
|
|
7
9
|
Importing the package does not execute the CLI or submit a message.
|
|
8
10
|
|
|
9
11
|
```js
|
|
10
12
|
import { VERSION, VERSION_LINE, reply, envelope } from 'session-peer';
|
|
11
13
|
|
|
12
|
-
console.log(VERSION); // 0.3.
|
|
13
|
-
console.log(VERSION_LINE); // session-peer 0.3.
|
|
14
|
+
console.log(VERSION); // 0.3.2
|
|
15
|
+
console.log(VERSION_LINE); // session-peer 0.3.2 (typescript)
|
|
14
16
|
const address = 'session-peer://v1/reply?agent=claude&session=12345&transport=local';
|
|
15
17
|
console.log(reply(address)); // { to: '12345' }
|
|
16
18
|
console.log(envelope('Please review and reply.', true, address));
|
|
@@ -31,13 +31,13 @@ SSH, so a destination needs only a usable Python and a POSIX shell. Its
|
|
|
31
31
|
`install.sh --host` additionally pushes the program to
|
|
32
32
|
`$HOME/.local/share/session-peer` and links `$HOME/.local/bin/session-peer`.
|
|
33
33
|
|
|
34
|
-
The TypeScript client deliberately does not do that. In 0.2.1
|
|
34
|
+
The TypeScript client deliberately does not do that. In 0.2.1 through 0.3.2 the local client
|
|
35
35
|
runs `ssh -T -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=10`
|
|
36
36
|
and, before any message leaves the machine:
|
|
37
37
|
|
|
38
38
|
1. runs `<remote-bin> --version` with no message (15 s timeout);
|
|
39
39
|
2. requires stdout to equal exactly the client's own version line, for example
|
|
40
|
-
`session-peer 0.3.
|
|
40
|
+
`session-peer 0.3.2 (typescript)` (`VERSION_LINE` in `src/protocol.ts`),
|
|
41
41
|
otherwise refuses with a fixed code from `sshPreflightFailure` in `src/cli.ts`;
|
|
42
42
|
3. sends a `schemaVersion: 1` JSON request on stdin to
|
|
43
43
|
`<remote-bin> --stdio-request` and verifies the `schemaVersion: 1` response
|
|
@@ -209,7 +209,7 @@ A new, side-effect-free flag `<remote-bin> --capabilities` prints one JSON line
|
|
|
209
209
|
and sends nothing:
|
|
210
210
|
|
|
211
211
|
```json
|
|
212
|
-
{"schemaVersion":1,"implementation":"typescript","version":"0.3.
|
|
212
|
+
{"schemaVersion":1,"implementation":"typescript","version":"0.3.1",
|
|
213
213
|
"wire":{"min":1,"max":1},
|
|
214
214
|
"capabilities":["list","doctor","send.claude","send.codex","codexHome.inactiveOptIn"],
|
|
215
215
|
"runtime":{"node":"24.16.0","modules":"137","platform":"linux","arch":"x64"},
|
|
@@ -445,10 +445,14 @@ PATH entry, a shell profile or a service.
|
|
|
445
445
|
Record other implementations, but never modify them.
|
|
446
446
|
3. **Upload** the tarballs into a new `<root>/<version>-<id16>.staging-<random>`
|
|
447
447
|
directory, created exclusively (`mkdir` that fails if the path exists, mode
|
|
448
|
-
`0700`
|
|
448
|
+
`0700` on POSIX, the private DACL above on Windows). Windows creation
|
|
449
|
+
must fail on an existing path (for example, `CreateDirectoryW` with
|
|
450
|
+
`ERROR_ALREADY_EXISTS` treated as refusal); `.NET Directory.CreateDirectory`
|
|
451
|
+
alone is not exclusive. Apply the same rule to the activation lock.
|
|
452
|
+
Recompute SHA-256 remotely (`sha256sum`/`shasum -a 256`, or
|
|
449
453
|
`Get-FileHash -Algorithm SHA256`). Stop on mismatch.
|
|
450
454
|
4. **Install offline:**
|
|
451
|
-
`<node> <npm-cli.js> install --prefix <staging> --offline --ignore-scripts --no-audit --no-fund <
|
|
455
|
+
`<node> <npm-cli.js> install --prefix <staging> --offline --ignore-scripts --no-audit --no-fund <package tarball and every dependency tarball pinned by the exact release lockfile>`
|
|
452
456
|
with an empty, staging-local cache. Run it with `PATH` set to
|
|
453
457
|
`dirname(<node>)` followed by the system directories, so that any child
|
|
454
458
|
resolving `node` gets the identity Node. `--ignore-scripts` means no package
|
|
@@ -720,7 +724,7 @@ gaps:
|
|
|
720
724
|
|
|
721
725
|
The details and the deviations from this workflow are in
|
|
722
726
|
[VALIDATION.md](../../VALIDATION.md#remote-deployment-workflow-posix-cell-23-f5--2026-10-02-kst).
|
|
723
|
-
Rules added
|
|
727
|
+
Rules added after that Linux run remain **unvalidated on Linux**:
|
|
724
728
|
- the fresh-lock recovery of an unreceipted target;
|
|
725
729
|
- receipts that copy the marker's `runId`;
|
|
726
730
|
- `.receipts` trust checks;
|
|
@@ -757,37 +761,59 @@ proposed identity launcher (F6) exists.
|
|
|
757
761
|
destination with Node 24.16.0 passed real SSH version negotiation. These
|
|
758
762
|
were manual 0.1.x-era runs, not this workflow end to end.
|
|
759
763
|
|
|
764
|
+
### Windows destination checkpoint — 2026-10-07
|
|
765
|
+
|
|
766
|
+
A user-authorized Windows 10 x64 destination was exercised with published
|
|
767
|
+
0.3.1, Node 24.16.0 and PowerShell 5.1 under an administrator account, in a
|
|
768
|
+
new dedicated test prefix. Offline installation, self-locating wrapper,
|
|
769
|
+
native lock, activation and operator SSH doctor/nonexistent-target dry-run
|
|
770
|
+
checks passed. Operator checks preceded receipt publication and lock release.
|
|
771
|
+
See [the dated evidence and limits](../../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst).
|
|
772
|
+
This was a private operator test harness, not a shipped deploy helper; neither
|
|
773
|
+
the host nor the account was disposable. It does not qualify Windows-client
|
|
774
|
+
`--ssh-jump`.
|
|
775
|
+
|
|
760
776
|
### Not validated
|
|
761
777
|
|
|
762
|
-
-
|
|
763
|
-
x86_64/glibc cell was run once
|
|
764
|
-
|
|
765
|
-
no-replace behavior, the self-locating `.cmd` wrapper (`%~dp0`), reparse
|
|
766
|
-
point and DACL checks, and the `%LOCALAPPDATA%` layout.
|
|
778
|
+
- Other Windows account/runtime/architecture combinations and other POSIX
|
|
779
|
+
destinations. The historical Linux x86_64/glibc cell was run once; the
|
|
780
|
+
Windows checkpoint above has its own dated scope and remaining cells.
|
|
767
781
|
- POSIX root trust checks, `rename(2)` and `libc` detection on anything other
|
|
768
782
|
than the one Debian x86_64 glibc destination.
|
|
769
783
|
- Exercised once on the Linux x86_64 host only (with a test harness, not F6),
|
|
770
|
-
|
|
784
|
+
under its dated rules: failed-activation rollback, marker- and receipt-guarded
|
|
771
785
|
retention, lock contention, explicit break-lock with and without a receipt,
|
|
772
|
-
an unowned lock, and the per-file manifest.
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
786
|
+
an unowned lock, and the per-file manifest. Selected corresponding Windows
|
|
787
|
+
fixture cases passed at the 2026-10-07 checkpoint; the dated VALIDATION.md
|
|
788
|
+
section distinguishes native/local fixtures from operator SSH.
|
|
789
|
+
- Not exercised on Linux under the current rules: explicit recovery of an
|
|
790
|
+
unreceipted target under a fresh lock, corrupt/mismatched/orphan receipt
|
|
791
|
+
handling, `.receipts` trust checks and operator override for unconfirmable
|
|
792
|
+
lock owners. Those Windows fixture cells passed at the dated checkpoint.
|
|
793
|
+
General concurrent/adversarial race qualification remains open. The
|
|
776
794
|
identity launcher was only compared logically (Linux) and prototyped
|
|
777
795
|
(macOS).
|
|
778
796
|
- The POSIX empty-directory race window. It is documented as unguaranteed and
|
|
779
797
|
was not exercised.
|
|
780
798
|
- Linux arm64, Windows arm64 and macOS x64 native loads; glibc below 2.28 and
|
|
781
799
|
musl (expected to fail).
|
|
782
|
-
- Node 22
|
|
783
|
-
|
|
800
|
+
- Complete Node 22 installation/recovery qualification on Windows, arm64 or
|
|
801
|
+
macOS. Windows x64 Node 22.23.3 direct-CLI/native-lock smoke passed; Linux
|
|
802
|
+
x86_64 Node 22.23.3 was exercised under the earlier dated workflow.
|
|
784
803
|
- The compatibility contract and the proposed error codes: they are
|
|
785
804
|
unimplemented.
|
|
786
805
|
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
806
|
+
F5 now has bounded real-destination evidence on Linux x86_64 and Windows
|
|
807
|
+
10 x64. The 2026-10-07 Windows checkpoint used **published 0.3.1** with an
|
|
808
|
+
administrator account, PowerShell 5.1 and Node 24.16.0. The primary offline
|
|
809
|
+
provisioning workflow and operator SSH checks (doctor and refused dry-run;
|
|
810
|
+
no message delivery) passed, plus 31 native storage/local-wrapper fixtures.
|
|
811
|
+
Only the primary install has operator SSH evidence. **On Windows**, Node
|
|
812
|
+
22 has direct-CLI/native-lock smoke evidence only. Issue #23's last criterion
|
|
813
|
+
remains **partially validated**: current recovery rules have not been
|
|
814
|
+
requalified on Linux, and the other cells listed under "Not validated" above
|
|
815
|
+
remain not fully validated. Local stubs do not replace destination evidence. These
|
|
816
|
+
results do not qualify a shipped deploy helper or Windows-client jump.
|
|
791
817
|
|
|
792
818
|
## Follow-ups
|
|
793
819
|
|
package/docs/guide.ja.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**文書・ソースのバージョン: 0.3.2。** 以下のバージョン指定 npm コマンドを使う前に、npm レジストリまたはバージョンバッジで 0.3.2 が公開されているか確認してください。公開前はレビュー済みのソースチェックアウトまたはローカルビルド成果物を使います。ビルドと SSH の両端には同じレビュー済みバージョンが必要です。
|
|
8
|
+
|
|
9
|
+
0.3.2 の詳細ガイドです([0.3.1 の信頼性の修正](../PARITY.md#031-reliability-fixes))。0.3.0 は複数ホスト SSH、送信者情報と返信経路、更新確認、任意の `sp` 短縮名を追加しました([0.3.0 の変更点](../PARITY.md#030-remote-usability-and-maintenance))。前回の公開記録は [0.3.1 公開リリースの証拠](../VALIDATION.md#public-031--2026-10-04-kst) にあります。以下の 0.1.0 の説明は旧版との比較です。
|
|
8
10
|
|
|
9
11
|
## 目次
|
|
10
12
|
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
|
|
22
24
|
実行中の **Claude Code と Codex セッション**に、ローカルまたは SSH 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
|
|
23
25
|
|
|
24
|
-
**0.3.
|
|
26
|
+
**0.3.2 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
|
|
25
27
|
|
|
26
28
|
## 機能と範囲
|
|
27
29
|
|
|
@@ -38,7 +40,7 @@ Relay 通信、MCP、wake/resume、Antigravity、自動更新は未実装です
|
|
|
38
40
|
|
|
39
41
|
ビルド後の `node dist/cli.js list --json` は Claude/Codex をまとめて表示し、`list --agent codex --json` は既知の home を検索します。公開 npm **0.1.0** では引き続き agent と Codex 一覧の home を明示します。0.2.0 でも明示的なコマンド形式を利用できます。
|
|
40
42
|
|
|
41
|
-
対象は既定の `~/.codex`、`CODEX_HOME`、macOS Orca 直下のアカウント home、JSON 配列 `SESSION_PEER_CODEX_HOMES` のみです。`--codex-home` は Codex 一覧を固定して無関係な設定エラーを回避し、`--agent claude` は Codex 探索を省略します。同じ home の別名は統合し、異なる home の同じ UUID は保持します。送信には各行の `codexHome` を使ってください。任意 home の不在はエラーではなく、明示した home の不在・不正は読み取れた行を保持して終了コード 1 を返します。一覧は writer を選択せず、メッセージを提出しません。[一覧契約](../PARITY.md#source-unified-listing-contract--16--020)に順序・診断・`--all`・SSH を記載しています。0.2.0の Codex 送信は `--codex-home` 省略時に一意で安定した live writer を選択します。明示 home でも既知の競合 home をすべて検査します。非アクティブなキュー送信には保存済みスレッド、全候補の非アクティブ検証、および `--codex-home HOME --allow-inactive-codex-home` が必要で、wake/resume は実行しません。Dry-run は提出しません。JSON に診断 `codexHomeResolution` と、ネイティブ出力にある場合のみ `queueId` を追加しますが、消費確認ではありません。[選択契約](../PARITY.md#source-codex-home-selection--17--020)を参照してください。公開 **0.1.0** には明示 live home が必要で、非アクティブ許可オプションはありません。SSH の両端には同じ TypeScript クライアントのバージョン(0.3.
|
|
43
|
+
対象は既定の `~/.codex`、`CODEX_HOME`、macOS Orca 直下のアカウント home、JSON 配列 `SESSION_PEER_CODEX_HOMES` のみです。`--codex-home` は Codex 一覧を固定して無関係な設定エラーを回避し、`--agent claude` は Codex 探索を省略します。同じ home の別名は統合し、異なる home の同じ UUID は保持します。送信には各行の `codexHome` を使ってください。任意 home の不在はエラーではなく、明示した home の不在・不正は読み取れた行を保持して終了コード 1 を返します。一覧は writer を選択せず、メッセージを提出しません。[一覧契約](../PARITY.md#source-unified-listing-contract--16--020)に順序・診断・`--all`・SSH を記載しています。0.2.0の Codex 送信は `--codex-home` 省略時に一意で安定した live writer を選択します。明示 home でも既知の競合 home をすべて検査します。非アクティブなキュー送信には保存済みスレッド、全候補の非アクティブ検証、および `--codex-home HOME --allow-inactive-codex-home` が必要で、wake/resume は実行しません。Dry-run は提出しません。JSON に診断 `codexHomeResolution` と、ネイティブ出力にある場合のみ `queueId` を追加しますが、消費確認ではありません。[選択契約](../PARITY.md#source-codex-home-selection--17--020)を参照してください。公開 **0.1.0** には明示 live home が必要で、非アクティブ許可オプションはありません。SSH の両端には同じ TypeScript クライアントのバージョン(0.3.2)が必要です。
|
|
42
44
|
|
|
43
45
|
### 0.2.0 CLI の使いやすさ
|
|
44
46
|
|
|
@@ -59,14 +61,15 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
|
|
|
59
61
|
|
|
60
62
|
## インストール
|
|
61
63
|
|
|
62
|
-
|
|
64
|
+
Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
|
|
63
65
|
|
|
64
66
|
```sh
|
|
65
|
-
npm
|
|
67
|
+
npm view session-peer@0.3.2 version dist.integrity
|
|
68
|
+
npm install --global --ignore-scripts session-peer@0.3.2
|
|
66
69
|
session-peer --version
|
|
67
70
|
```
|
|
68
71
|
|
|
69
|
-
期待値は `session-peer 0.3.
|
|
72
|
+
期待値は `session-peer 0.3.2 (typescript)`。
|
|
70
73
|
|
|
71
74
|
1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
|
|
72
75
|
2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
|
|
@@ -85,7 +88,7 @@ npm run build
|
|
|
85
88
|
node dist/cli.js --version
|
|
86
89
|
npm pack --ignore-scripts
|
|
87
90
|
# 任意のグローバルインストール前に PATH の既存コマンドを確認
|
|
88
|
-
npm install --global --ignore-scripts ./session-peer-0.3.
|
|
91
|
+
npm install --global --ignore-scripts ./session-peer-0.3.2.tgz
|
|
89
92
|
session-peer --version
|
|
90
93
|
```
|
|
91
94
|
|
|
@@ -95,7 +98,7 @@ session-peer --version
|
|
|
95
98
|
|
|
96
99
|
インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
|
|
97
100
|
|
|
98
|
-
Windows PowerShell では `Get-Command session-peer -All` で既存コマンドを確認します。Python CLI を置換せずに試すには、`npm ci --ignore-scripts`、`npm run build`、`npm pack --ignore-scripts` の後、`npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.
|
|
101
|
+
Windows PowerShell では `Get-Command session-peer -All` で既存コマンドを確認します。Python CLI を置換せずに試すには、`npm ci --ignore-scripts`、`npm run build`、`npm pack --ignore-scripts` の後、`npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.2.tgz` を実行し、`& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version` で確認します。同じ prefix の `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` で削除します。
|
|
99
102
|
|
|
100
103
|
## 使い方
|
|
101
104
|
|
|
@@ -188,7 +191,7 @@ Python は開発時の互換検証基準のみです(v1.0.2、`47c23713d0a2a3c
|
|
|
188
191
|
[0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
|
|
189
192
|
|
|
190
193
|
```sh
|
|
191
|
-
npm view session-peer@0.3.
|
|
194
|
+
npm view session-peer@0.3.2 version dist.integrity
|
|
192
195
|
npm view session-peer dist-tags
|
|
193
196
|
```
|
|
194
197
|
|
|
@@ -230,7 +233,7 @@ session-peer update --check --channel preview --output-format text
|
|
|
230
233
|
実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
|
|
231
234
|
対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
|
|
232
235
|
(既定、Homebrew、nvm、nvm-windows、fnm。例:
|
|
233
|
-
`npm install --global --ignore-scripts session-peer@0.3.
|
|
236
|
+
`npm install --global --ignore-scripts session-peer@0.3.2`)、マニフェストで
|
|
234
237
|
`session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
|
|
235
238
|
です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
|
|
236
239
|
アウト(`source`)、それ以外(`unknown`)では `updateCommand: null` と `guidance` の文だけを
|
package/docs/guide.ko.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**문서·소스 버전: 0.3.2.** 아래 버전 지정 npm 명령을 사용하기 전에 npm 레지스트리 또는 버전 배지에서 0.3.2의 발행 여부를 확인하세요. 발행 전에는 검토된 소스 체크아웃이나 로컬 빌드 산출물을 사용합니다. 빌드와 SSH 양쪽에는 같은 검토된 버전이 필요합니다.
|
|
8
|
+
|
|
9
|
+
0.3.2 상세 가이드입니다([0.3.1 신뢰성 수정](../PARITY.md#031-reliability-fixes)). 0.3.0은 다중 호스트 SSH, 발신자 정보와 회신 경로, 업데이트 확인, 선택적 `sp` 단축 이름을 추가했습니다([0.3.0 변경 사항](../PARITY.md#030-remote-usability-and-maintenance)). 이전 발행 기록은 [0.3.1 공개 릴리스 증거](../VALIDATION.md#public-031--2026-10-04-kst)에 있습니다. 아래 0.1.0 설명은 이전 버전과의 비교입니다.
|
|
8
10
|
|
|
9
11
|
## 목차
|
|
10
12
|
|
|
@@ -22,7 +24,7 @@
|
|
|
22
24
|
실행 중인 **Claude Code·Codex 세션에 로컬 또는 SSH로 메시지를 전달**하는
|
|
23
25
|
TypeScript 클라이언트입니다. Python 없이 Node.js로 실행합니다.
|
|
24
26
|
|
|
25
|
-
**0.3.
|
|
27
|
+
**0.3.2 사용 안내입니다.** 패키지명은
|
|
26
28
|
`session-peer`, CLI 명령어는 **`session-peer`**입니다. Relay 서버나 호스팅
|
|
27
29
|
서비스를 제공하는 프로젝트가 아닙니다.
|
|
28
30
|
|
|
@@ -59,7 +61,7 @@ JSON 배열 `SESSION_PEER_CODEX_HOMES`입니다. `--codex-home`은 Codex 목록
|
|
|
59
61
|
JSON에는 정제된 `codexHomeResolution`과 네이티브 출력에 있을 때만 `queueId`가 추가되며,
|
|
60
62
|
둘 다 소비 확인은 아닙니다. [홈 선택 계약](../PARITY.md#source-codex-home-selection--17--020)을 참고하세요.
|
|
61
63
|
공개 **0.1.0**은 여전히 명시적 live 홈이 필요하고 비활성 허용 옵션이 없습니다.
|
|
62
|
-
SSH 양쪽에는 같은 TypeScript 클라이언트 버전(0.3.
|
|
64
|
+
SSH 양쪽에는 같은 TypeScript 클라이언트 버전(0.3.2)이 필요합니다.
|
|
63
65
|
|
|
64
66
|
### 0.2.0 CLI 사용성
|
|
65
67
|
|
|
@@ -86,15 +88,16 @@ macOS/Linux/Windows native와 Node **22.x의 22.13 이상 또는 24.x**가 필
|
|
|
86
88
|
|
|
87
89
|
## 설치
|
|
88
90
|
|
|
89
|
-
Node 22.x의 22.13 이상 또는 24.x
|
|
91
|
+
Node 22.x의 22.13 이상 또는 24.x를 사용하고 설치할 정확한 버전의 공개 여부를 확인하세요.
|
|
90
92
|
Python CLI도 같은 명령어를 사용하므로 기존 설치본이 있다면 먼저 PATH를 확인하세요.
|
|
91
93
|
|
|
92
94
|
```sh
|
|
93
|
-
npm
|
|
95
|
+
npm view session-peer@0.3.2 version dist.integrity
|
|
96
|
+
npm install --global --ignore-scripts session-peer@0.3.2
|
|
94
97
|
session-peer --version
|
|
95
98
|
```
|
|
96
99
|
|
|
97
|
-
예상 출력은 `session-peer 0.3.
|
|
100
|
+
예상 출력은 `session-peer 0.3.2 (typescript)`입니다.
|
|
98
101
|
|
|
99
102
|
1. `session-peer list --agent claude --json`으로 대상을 찾고 정확한 PID를 선택합니다.
|
|
100
103
|
2. `session-peer send --to CLAUDE_PID --message '확인 후 회신해 주세요.' --dry-run --json`으로 제출 없이 검증합니다.
|
|
@@ -114,7 +117,7 @@ npm run build
|
|
|
114
117
|
node dist/cli.js --version
|
|
115
118
|
npm pack --ignore-scripts
|
|
116
119
|
# 선택 사항: PATH에서 사용할 구현을 명시적으로 선택한 뒤 전역 설치
|
|
117
|
-
npm install --global --ignore-scripts ./session-peer-0.3.
|
|
120
|
+
npm install --global --ignore-scripts ./session-peer-0.3.2.tgz
|
|
118
121
|
session-peer --version
|
|
119
122
|
```
|
|
120
123
|
|
|
@@ -137,7 +140,7 @@ Python CLI를 덮어쓰지 않으려면 격리 prefix에 설치·제거할 수
|
|
|
137
140
|
npm ci --ignore-scripts
|
|
138
141
|
npm run build
|
|
139
142
|
npm pack --ignore-scripts
|
|
140
|
-
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.
|
|
143
|
+
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.2.tgz
|
|
141
144
|
& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
|
|
142
145
|
# 이후 제거: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
|
|
143
146
|
```
|
|
@@ -367,7 +370,7 @@ npm 자동 발행은 활성화하지 않았습니다. [MIT 라이선스](../LICE
|
|
|
367
370
|
[0.2.1 공개 기록](../VALIDATION.md#public-021--2026-09-29-kst)을 참고하고(이후 릴리스는 각자의 날짜별 기록을 추가합니다) 설치 전 정확한 버전과 현재 태그를 확인하세요.
|
|
368
371
|
|
|
369
372
|
```sh
|
|
370
|
-
npm view session-peer@0.3.
|
|
373
|
+
npm view session-peer@0.3.2 version dist.integrity
|
|
371
374
|
npm view session-peer dist-tags
|
|
372
375
|
```
|
|
373
376
|
|
|
@@ -411,7 +414,7 @@ dist-tag를 한 번 요청하고(3초 제한, 재시도 없음) `current`, `late
|
|
|
411
414
|
`up_to_date`, `ahead`), `managedBy`, `updateCommand`, `guidance`를 보고합니다. 명령은
|
|
412
415
|
실행 중인 CLI 경로로 설치 주체를 확실히 식별할 때만 제공합니다. 해당하는 경우는
|
|
413
416
|
자체 `session-peer` 실행기가 이 패키지를 가리키는 npm 전역 prefix(기본, Homebrew, nvm,
|
|
414
|
-
nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.3.
|
|
417
|
+
nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.3.2`),
|
|
415
418
|
매니페스트에 `session-peer`가 선언된 pnpm·Yarn·Bun 전역 저장소, Volta, npx 캐시입니다.
|
|
416
419
|
프로젝트 설치(`npm_project`, `pnpm_project`), 소스 체크아웃(`source`), 그 밖의
|
|
417
420
|
경우(`unknown`)에는 `updateCommand: null`과 `guidance` 문장만 돌려주므로, 어떤 명령도
|
package/docs/guide.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**Documentation and source version: 0.3.2.** Before using the version-pinned npm commands below, confirm that 0.3.2 is available in the npm registry or version badge. Before publication, use a reviewed source checkout or its locally built artifact. Builds and SSH endpoints must use the same reviewed version.
|
|
8
|
+
|
|
9
|
+
This guide covers 0.3.2 ([0.3.1 reliability fixes](../PARITY.md#031-reliability-fixes)). Version 0.3.0 introduced multi-host SSH, sender context and return routes, update checks and the optional `sp` shorthand ([0.3.0 changes](../PARITY.md#030-remote-usability-and-maintenance)). [Public 0.3.1 release evidence](../VALIDATION.md#public-031--2026-10-04-kst) records the previous publication. References to 0.1.0 below describe the older release.
|
|
8
10
|
|
|
9
11
|
## Contents
|
|
10
12
|
|
|
@@ -24,7 +26,7 @@ This guide covers 0.3.0, which adds multi-host SSH, sender context and return ro
|
|
|
24
26
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
25
27
|
This TypeScript client runs on Node.js without Python.
|
|
26
28
|
|
|
27
|
-
This guide describes **0.3.
|
|
29
|
+
This guide describes **0.3.2**. The npm package and CLI command are both **`session-peer`**. This
|
|
28
30
|
project does not provide a Relay server or hosted service.
|
|
29
31
|
|
|
30
32
|
## Quick start
|
|
@@ -33,8 +35,9 @@ Use Node **22.13+ within 22.x or 24.x**. Check which `session-peer` your PATH
|
|
|
33
35
|
selects if the Python CLI is already installed; both packages use that command.
|
|
34
36
|
|
|
35
37
|
```sh
|
|
36
|
-
npm
|
|
37
|
-
|
|
38
|
+
npm view session-peer@0.3.2 version dist.integrity
|
|
39
|
+
npm install --global --ignore-scripts session-peer@0.3.2
|
|
40
|
+
session-peer --version # session-peer 0.3.2 (typescript)
|
|
38
41
|
session-peer list --agent claude --json
|
|
39
42
|
session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
|
|
40
43
|
```
|
|
@@ -101,7 +104,7 @@ submits nothing. JSON adds sanitized `codexHomeResolution` and, when supplied by
|
|
|
101
104
|
native queue output, `queueId`; neither confirms consumption. See the
|
|
102
105
|
[selection contract](../PARITY.md#source-codex-home-selection--17--020).
|
|
103
106
|
Published **0.1.0** still requires an explicit live home and has no inactive opt-in.
|
|
104
|
-
On SSH, both ends need the same TypeScript client version (0.3.
|
|
107
|
+
On SSH, both ends need the same TypeScript client version (0.3.2).
|
|
105
108
|
|
|
106
109
|
## Requirements
|
|
107
110
|
|
|
@@ -125,11 +128,11 @@ npm run build
|
|
|
125
128
|
node dist/cli.js --version
|
|
126
129
|
npm pack --ignore-scripts
|
|
127
130
|
# Optional global install: first check which session-peer your PATH selects.
|
|
128
|
-
npm install --global --ignore-scripts ./session-peer-0.3.
|
|
131
|
+
npm install --global --ignore-scripts ./session-peer-0.3.2.tgz
|
|
129
132
|
session-peer --version
|
|
130
133
|
```
|
|
131
134
|
|
|
132
|
-
Expected: `session-peer 0.3.
|
|
135
|
+
Expected for version 0.3.2: `session-peer 0.3.2 (typescript)`. Keep the `./...tgz` path to
|
|
133
136
|
select the locally built artifact. Check the checkout version before using
|
|
134
137
|
these commands for a later release.
|
|
135
138
|
|
|
@@ -149,7 +152,7 @@ On Windows PowerShell, inspect competing commands with
|
|
|
149
152
|
npm ci --ignore-scripts
|
|
150
153
|
npm run build
|
|
151
154
|
npm pack --ignore-scripts
|
|
152
|
-
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.
|
|
155
|
+
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.2.tgz
|
|
153
156
|
& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
|
|
154
157
|
# Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
|
|
155
158
|
```
|
|
@@ -416,7 +419,7 @@ Later releases add their own dated records. Check the exact version and current
|
|
|
416
419
|
tags before installing:
|
|
417
420
|
|
|
418
421
|
```sh
|
|
419
|
-
npm view session-peer@0.3.
|
|
422
|
+
npm view session-peer@0.3.2 version dist.integrity
|
|
420
423
|
npm view session-peer dist-tags
|
|
421
424
|
```
|
|
422
425
|
|
|
@@ -468,7 +471,7 @@ and reports `current`, `latest`, `channel` (`latest` by default, or `preview`),
|
|
|
468
471
|
installation's owner is positively identified from the running CLI's path:
|
|
469
472
|
an npm global prefix whose own `session-peer` launcher points at this package
|
|
470
473
|
(default, Homebrew, nvm, nvm-windows and fnm prefixes), for example
|
|
471
|
-
`npm install --global --ignore-scripts session-peer@0.3.
|
|
474
|
+
`npm install --global --ignore-scripts session-peer@0.3.2`; a pnpm, Yarn or Bun
|
|
472
475
|
global store whose manifest declares `session-peer`; Volta; or the npx cache.
|
|
473
476
|
Project installs (`npm_project`, `pnpm_project`), source checkouts (`source`)
|
|
474
477
|
and anything else (`unknown`) get `updateCommand: null` and a `guidance`
|