session-peer 0.3.2 → 0.3.3

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 CHANGED
@@ -1,17 +1,18 @@
1
1
  # Python compatibility and npm migration
2
2
 
3
- Updated 2026-10-07 KST. Python reference: **1.0.2**,
3
+ Updated 2026-10-09 KST. Python reference: **1.0.2**,
4
4
  [`47c2371`](https://github.com/abruption/session-peer/tree/47c23713d0a2a3c11ebde6186afd8c43489b8b65/session_peer_core).
5
- This matrix describes the **TS 0.3.2 source**: the 0.2.0 unified listing, safe home selection,
5
+ This matrix describes the **TS 0.3.3 source/package contract**: the 0.2.0 unified listing, safe home selection,
6
6
  read-only doctor, text/help/positional input, Unicode 14.0.0 name matching and
7
7
  separately managed TS skill guidance (#16/#17/#18/#19/#25), the
8
8
  [0.2.1 reliability and hardening](#021-reliability-and-hardening) changes, and the
9
9
  [0.3.0 remote usability and maintenance](#030-remote-usability-and-maintenance)
10
- changes with their known limitations. Historical **0.1.0**
10
+ changes with their known limitations, plus the [bounded ordinary SSH correction](#ordinary-ssh-response-correction--033-candidate) and [proposed skill guard](#typescript-skill-guard--033-candidate). At the 2026-10-09 KST preparation checkpoint, public npm `latest` was **0.3.2** and `preview` was `0.1.0-preview.1`. Historical **0.1.0**
11
11
  differences are called out explicitly. Public availability and tags must be
12
12
  checked in the registry; this document does not assert a publication outcome.
13
- SSH endpoints require the same version; builds from source between releases also
14
- require the same commit. `referenceVersion: "1.0.2"` identifies the comparison baseline,
13
+ SSH preflight enforces the exact same TS version banner. For builds from source
14
+ between releases, operators should also align reviewed commits; the wire does not
15
+ verify a source commit. `referenceVersion: "1.0.2"` identifies the comparison baseline,
15
16
  not complete parity. See [VALIDATION.md](VALIDATION.md) for dated evidence.
16
17
 
17
18
  ## Feature and command matrix
@@ -27,13 +28,13 @@ not a missing implementation. Issue links describe work, not available features.
27
28
  | `list` selection | Unified agent list; optional agent; bounded multiple Codex homes; partial discovery diagnostics | Source: combined Claude/Codex by default, optional agent/home filters, bounded multi-home inventory and partial diagnostics. Published 0.1.0 still requires an agent and explicit Codex home | Implemented in source for [#16](https://github.com/abruption/session-peer-ts/issues/16), 0.2.0; no Antigravity adapter |
28
29
  | Codex active queue | Saved UUID, unique live writer, real lock/owner checks, pre-submit revalidation | Source: same protections, full UUID, implicit unique-live selection or explicit home; all known candidates checked | Implemented in source for [#17](https://github.com/abruption/session-peer-ts/issues/17), 0.2.0 |
29
30
  | Implicit home / inactive queue | Select unique live home; explicit inactive opt-in under separate guards | Source: unique live selection; explicit saved inactive home with opt-in and verified inactive candidates. Public 0.1.0 has neither | Implemented in source for #17, 0.2.0; no wake/resume |
30
- | `doctor` | Readiness diagnostics; return-route check is opt-in | Source: read-only local/SSH metadata, per-agent/home results, capabilities and bounded TS skill compatibility. Published 0.1.0 has no doctor | Implemented in source for [#18](https://github.com/abruption/session-peer-ts/issues/18), 0.2.0; no return-route probing |
31
+ | `doctor` | Readiness diagnostics; return-route check is opt-in | Source: read-only local/SSH metadata, per-agent/home results, capabilities and bounded TS skill compatibility. Published 0.1.0 has no doctor | Implemented in source for [#18](https://github.com/abruption/session-peer-ts/issues/18), 0.2.0 base diagnostics; opt-in `doctor --check-return-route` added in 0.3.0 (#21) |
31
32
  | CLI input, help and names | Human text or JSON; positional or named/stdin message; Unicode casefold matching | 0.2.0: explicit JSON/text format, positional/named/stdin body, command help, exact Unicode 14.0.0 casefold with PID for ambiguity | Implemented; [#19](https://github.com/abruption/session-peer-ts/issues/19), 0.2.0. Published 0.1.0 help still says “preview”; source help now describes unified list |
32
33
  | From / Reply-To | Caller detection, automatic return-route metadata, structured URI resolution | 0.2.1 and earlier: From uses Codex environment UUID only; explicit `--reply-address`; local/SSH Reply-To URI parsing with conflict checks. 0.3.0: Claude/Codex sender detection, generated routes, `--reply-to`, same-user self normalization, Tailscale routing hint and `doctor --check-return-route` ([details](#sender-context-and-return-routes-unreleased-source)) | Implemented for [#21](https://github.com/abruption/session-peer-ts/issues/21); no Antigravity identity, no executable `Reply:` line, 0.3.0 |
33
34
  | SSH | Python source streamed to POSIX remote Python; multiple hosts/options/host metadata | Same-version installed TS CLI required; strict preflight; JSON stdin; explicit Windows PowerShell path. 0.3.0: ordered repeated `--host`, allowlisted `--ssh-opt`, typed single-hop `--ssh-jump` (POSIX clients), IPv6 literals and `sshUser`/`sshUserSource` ([details](#multi-host-ssh-and-connection-options-unreleased-source)) | Partial; [#20](https://github.com/abruption/session-peer-ts/issues/20) (no arbitrary options or multi-hop; `--ssh-jump` refused on Windows clients; Tailscale routing hint in #21), [#23](https://github.com/abruption/session-peer-ts/issues/23) deployment/version design ([proposed ADR](docs/design/remote-deployment.md)), 0.3.0 |
34
35
  | Updates | Cached advisory client/skill notices (on by default); GitHub release check; standalone self-update and remote push; package-manager guidance | 0.3.0: `update --check` reads npm dist-tags (`latest`/`preview`) with installation-manager guidance; no self-update or remote update; cached client notices are opt-in (`SESSION_PEER_UPDATE_NOTICE=1`), honor `--no-update-notice`/`SESSION_PEER_NO_UPDATE_NOTICE`; no skill notices. 0.2.1 only accepts `--no-update-notice` as a no-op | Partial for [#22](https://github.com/abruption/session-peer-ts/issues/22), 0.3.0; [update boundaries](#source-update-checks--22) |
35
36
  | Reusable execution API | Agent/transport capability adapters | Package root exposes pure protocol helpers only; no general typed execution API | Planned [#24](https://github.com/abruption/session-peer-ts/issues/24), Future — Agent integrations |
36
- | Skill guidance/setup | Companion `session-peer` skill targets Python | Separate `session-peer-ts` companion PR and exact-commit setup; baseline/version/help gates | Source [#25](https://github.com/abruption/session-peer-ts/issues/25), 0.2.0; no tag/publish |
37
+ | Skill guidance/setup | Companion `session-peer` skill targets Python | Separate `session-peer-ts` companion PR and exact-commit setup; baseline/version/help gates | Legacy metadata profile from [#25](https://github.com/abruption/session-peer-ts/issues/25); guidance refresh/guard coordination in [#118](https://github.com/abruption/session-peer-ts/issues/118) |
37
38
  | MCP | Optional extra, restricted destinations; separate wake permission | Unsupported | Planned [#26](https://github.com/abruption/session-peer-ts/issues/26), Future — Agent integrations |
38
39
  | Codex wake | Explicit opt-in; platform/version gates; may run a model and alter history | Unsupported; queued does not wake or prove consumption | Planned [#27](https://github.com/abruption/session-peer-ts/issues/27), Future — Agent integrations |
39
40
  | Antigravity | Experimental registered bridge generation/inbox contract | Unsupported | Planned [#28](https://github.com/abruption/session-peer-ts/issues/28), Future — Agent integrations |
@@ -41,7 +42,7 @@ not a missing implementation. Issue links describe work, not available features.
41
42
  | Relay server / hosted control service | Separate infrastructure and deployment | Not part of the TS CLI deliverable | Deliberately different scope; #29 must define client boundaries before implementation |
42
43
  | Wait / general ACK / exactly-once consumption | No general CLI wait/ACK or exactly-once consumption guarantee | No general CLI wait/ACK or exactly-once consumption guarantee | Shared limit, not a TS parity gap; paired-device deduplication is not end-to-end consumption |
43
44
 
44
- Source anchors at the baselines:
45
+ Historical 0.2.0 source anchors and the unchanged Python oracle:
45
46
  [TS CLI](https://github.com/abruption/session-peer-ts/blob/0edc4f8ae05256698f591b7402e89cd3d5858eef/src/cli.ts),
46
47
  [writer](https://github.com/abruption/session-peer-ts/blob/0edc4f8ae05256698f591b7402e89cd3d5858eef/src/writer.ts),
47
48
  [send](https://github.com/abruption/session-peer-ts/blob/0edc4f8ae05256698f591b7402e89cd3d5858eef/src/send.ts),
@@ -137,7 +138,7 @@ TS normal envelopes have `schemaVersion`, `host`, `command`, `ok`, `version`,
137
138
  | --- | --- | --- |
138
139
  | `list.sessions`, `discovery` | Unified/per-agent and per-home diagnostics; partial results can remain with `ok:false` | Source: Claude rows then Codex rows; readable homes survive failed homes/agents with `ok:false`, exit 1. Published 0.1.0 has only selected-agent/single-home results |
139
140
  | `send.status`, `submitted` | Submission/wake/transport-specific details; do not assume a uniform error shape | `validated:false`, `posted:true` (Claude), `queued:true` (Codex); caught refusal is `refused:false`, unknown is `unknown:null` |
140
- | `consumptionConfirmed` | False for native submission; queueing is not consumption | Always false on send results, including refusal/unknown |
141
+ | `consumptionConfirmed` | Optional and transport-specific; never infer a missing value as false or confirmation | Always false on send results, including refusal/unknown |
141
142
  | `target`, `chars`, `dryRun`, `codexHome` | Target and home details depend on agent; Codex target includes `id`/`name`, with separate `agent` | Success/dry-run target has `agent` plus `id` or `pid`/`name`; `chars` counts enveloped code points; `codexHome` only on Codex success/dry-run |
142
143
  | `queueId` | Present if native queue stdout supplies an ID | Source #17: optional bounded native confirmation ID on successful queue only; absent in public 0.1.0 |
143
144
  | `codexHomeResolution` | Resolution diagnostics on Codex success and some refusals | Source #17: sanitized resolution on success and failures after resolution begins; private owner fingerprints remain internal. Absent in public 0.1.0 |
@@ -161,6 +162,60 @@ Output sources: TS CLI/send above; Python
161
162
  [Codex queue/wake](https://github.com/abruption/session-peer/blob/47c23713d0a2a3c11ebde6186afd8c43489b8b65/session_peer_core/codex.py),
162
163
  [SSH errors](https://github.com/abruption/session-peer/blob/47c23713d0a2a3c11ebde6186afd8c43489b8b65/session_peer_core/ssh.py).
163
164
 
165
+ ## Ordinary CLI migration notes — #117
166
+
167
+ This comparison excludes Relay/MCP and paired-device transports. The existing
168
+ Python 1.0.2 oracle and `referenceVersion` stay unchanged. A separate fixed-source
169
+ review on 2026-10-09 uses published Python 1.0.3
170
+ [`0d252550`](https://github.com/abruption/session-peer/tree/0d252550ab40c26d1ac4a19193df6ca2f84d830b)
171
+ and TS 0.3.2 [`f335f073`](https://github.com/abruption/session-peer-ts/tree/f335f07352c842f2f6ceb12bd2ca6274b52f69f7)
172
+ for migration guidance, not byte/shape parity or a runtime-reference repin.
173
+
174
+ - Python's [Claude adapter](https://github.com/abruption/session-peer/blob/0d252550ab40c26d1ac4a19193df6ca2f84d830b/session_peer_core/adapters.py)
175
+ returns `ok`, `target`, `chars` and `dryRun`; ordinary Claude results can omit
176
+ `status`, `submitted` and `consumptionConfirmed`. TS emits `validated` with
177
+ `submitted:false` for dry-run and `posted` with `submitted:true` after inbox
178
+ submission, always with `consumptionConfirmed:false`. Claude `target.name`
179
+ may be null. Codex queue IDs are optional; none of these facts confirms ACK.
180
+ - Missing Claude session directories yield an empty list and discovery
181
+ `status:ok`; optional missing Codex homes yield `absent`, and no readable DB
182
+ with no errors yields `not_installed`. These are discovery states, not proof
183
+ that an agent executable or inbox is ready. Doctor completion is separate
184
+ from `ready`, and neither grants send authorization.
185
+ - Repeated SSH hosts produce ordered per-host results; an operational failure
186
+ during per-host dispatch makes exit 1. Command-wide refusals before dispatch
187
+ (for example duplicate hosts or an empty message) retain exit 2, including
188
+ when rendered as an array. A single host stays flat. Presence, `ok`, status and exit must be interpreted
189
+ separately. The shipped 0.3.2 SSH path can classify even complete stdout as
190
+ unknown after exit 255 or timeout: [#115](https://github.com/abruption/session-peer-ts/issues/115)
191
+ and [#116](https://github.com/abruption/session-peer-ts/issues/116) track the
192
+ correction and strict response parsing. This document does not claim those
193
+ fixes have shipped. Unknown never permits automatic resend or fallback.
194
+ - TS supports manager-owned npm update checks, not Python's standalone
195
+ self-update or remote maintenance. Client notices are off by default; opt-out
196
+ wins over opt-in, but explicit `update --check` still requests the registry.
197
+ Runtime, remote installation and skill maintenance remain separate.
198
+ - TS normalizes a self SSH Reply-To only for an explicit matching OS user and
199
+ a recognized exact local name, with no explicit SSH option. Conflicting
200
+ Claude/Codex sender evidence omits identity instead of choosing Claude first;
201
+ unusable Claude names fall back to PID. An explicit return-route check runs a
202
+ reverse SSH no-op only for a usable non-local destination. A self route instead
203
+ returns `verified`, `transport:local`, `self_route_normalized` without SSH; a
204
+ missing host fails before a probe. `verified` therefore means local
205
+ normalization or one successful SSH no-op, not receipt authentication, general
206
+ reverse access or agent consumption.
207
+ - Stronger TS storage, registry and output guards are intentional; migration
208
+ does not relax them to reproduce Python behavior. General native ACK/wait,
209
+ end-to-end deduplication and Side Session support are not public ordinary-CLI
210
+ features in either compared release. Historical wake tests for native Codex
211
+ 0.154.0 do not qualify a current native CLI.
212
+ - The separately pinned TS companion retains legacy metadata `0.1.0`.
213
+ Its repository tag and the Python skill version are different version trains.
214
+ [#118](https://github.com/abruption/session-peer-ts/issues/118) requires a
215
+ reviewed metadata profile, an actually published runtime guard, then separate
216
+ skill approval/publication before replacing the install pin. A Draft content
217
+ candidate is not an approved install source or proof of doctor compatibility.
218
+
164
219
  ## Transport, size and failure boundaries
165
220
 
166
221
  | Boundary | Python 1.0.2 | TS (source differences noted) |
@@ -185,12 +240,13 @@ Windows support, WSL/POSIX SSH and TS native Windows SSH are separate paths.
185
240
  `Get-Command session-peer -All` (PowerShell), then `session-peer --version`.
186
241
  Record the Python interpreter/venv or owning uv/pipx/package manager before
187
242
  changing PATH. Do not delete another manager's files or overwrite its shim.
188
- 2. **Install the chosen version explicitly after checking registry availability.** For 0.2.0:
189
- `npm install --global --ignore-scripts session-peer@0.2.0`.
243
+ 2. **Install the chosen version explicitly after checking registry availability.** The [public 0.3.2 record](VALIDATION.md#public-032--2026-10-07-kst) pins its source and artifact verified on 2026-10-07 KST. If 0.3.3 is unavailable in the registry, use a reviewed source build.
244
+ Check `npm view session-peer@0.3.3 version dist.integrity`, then use
245
+ `npm install --global --ignore-scripts session-peer@0.3.3`.
190
246
  Verify the resolved command/version again. An isolated npm prefix and explicit
191
247
  launcher path allow side-by-side evaluation. Install any desired skill
192
248
  separately using the exact reviewed commit, explicit agent and scope in the
193
- [README](README.md#agent-skill-explicit-installation). The original companion
249
+ [guide](docs/guide.md#agent-skill-explicit-installation). The original companion
194
250
  `session-peer` skill targets Python; use distinct `session-peer-ts` guidance.
195
251
  Check implementation and supported help; 0.1.0 development builds historically shared their version string with the public baseline.
196
252
  3. **Make selection and output explicit.** Replace bare `list` with
@@ -308,10 +364,11 @@ This patch is not in the immutable npm 0.3.0 archive.
308
364
 
309
365
  ## Source read-only doctor — #18 / 0.2.0
310
366
 
311
- Evidence date: 2026-09-28. `doctor --json [--agent claude|codex]` supports local
367
+ Historical base-doctor evidence date: 2026-09-28. Introduced in 0.2.0,
368
+ `doctor --json [--agent claude|codex]` supports local
312
369
  inspection and the existing version-checked SSH/stdin JSON transport. Published
313
370
  npm 0.1.0 does not contain this command. Both SSH endpoints must use the same
314
- 0.2.0 build; development checkouts should also match commits.
371
+ TS version; reviewed commit alignment for source builds remains the operator's responsibility, not a wire-level commit check.
315
372
 
316
373
  `ok:true`, exit 0 and `diagnosticCompleted:true` mean the diagnostic command
317
374
  completed, including when agents are unavailable. `ready` is a metadata
@@ -339,13 +396,16 @@ These are implementation capabilities, not evidence of agent readiness or ACK.
339
396
 
340
397
  `skills` inspects only `~/.agents/skills/session-peer-ts/SKILL.md` and
341
398
  `<explicit home, CODEX_HOME, or ~/.codex>/skills/session-peer-ts/SKILL.md`.
342
- No skill installation or reference traversal occurs. The #25 TS skill contract
399
+ No skill installation or reference traversal occurs. The legacy #25 TS skill contract
343
400
  requires metadata version/min/full `0.1.0`, implementation `typescript`, and
344
401
  capability policy `probe-help`; missing/malformed/incompatible metadata is
345
402
  reported separately and does not change agent readiness. This conservative
346
403
  metadata check does not certify instruction content. Generic Python
347
- `session-peer` skills are not inferred compatible. No `--check-reply-to` probe
348
- or general reply-observation API is implemented.
404
+ `session-peer` skills are not inferred compatible. Since 0.3.0, the separate
405
+ opt-in `doctor --check-return-route` can execute a bounded reverse SSH no-op
406
+ ([current behavior](#sender-context-and-return-routes--21--030)); base doctor
407
+ does not run that probe. `--check-reply-to` is not an alias and is unsupported.
408
+ Neither mode observes a reply or authenticates an ACK.
349
409
 
350
410
  Acceptance evidence: `test/diagnostics.test.ts` ports Python diagnostic cases for
351
411
  missing homes/tools, unsupported schema, per-home results, permission/unknown
@@ -387,7 +447,9 @@ name/PID selection with collisions, and text escaping on all CI platforms.
387
447
 
388
448
  Evidence date: 2026-09-28. TS CLI baseline for this work is `8289da7`; companion
389
449
  candidate is [`081cc3c1d16a394bd92824333f4bc61c36951799`](https://github.com/abruption/session-peer-skill/tree/081cc3c1d16a394bd92824333f4bc61c36951799/session-peer-ts).
390
- This is separately reviewed source, not a skill tag or npm release. Published
450
+ This paragraph records the 2026-09-28 source review, not current repository-tag
451
+ availability. Companion PR #14 was later merged; its separately pinned TS
452
+ metadata remains 0.1.0, and #118 owns any successor contract/pin. Published
391
453
  npm 0.1.0 remains unchanged. There is no runtime setup subcommand: user-invoked
392
454
  Skills CLI 1.7.0 is the reviewed setup path, with an exact commit, explicit agent,
393
455
  and explicit project/user scope chosen before running the documented command.
@@ -487,7 +549,14 @@ endpoints refuse each other at preflight; upgrade them together.
487
549
  is verified. No multi-hop and no arbitrary ssh options.
488
550
  - **#23 — Partial.** The remote deployment ADR is a proposal. Its POSIX cell
489
551
  was exercised by hand ([record](VALIDATION.md#remote-deployment-workflow-posix-cell-23-f5--2026-10-02-kst));
490
- the Windows cell and the newer receipt and recovery rules are unvalidated.
552
+ that dated Linux run did not exercise the later receipt/recovery rules.
553
+ The [2026-10-07 Windows record](VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst)
554
+ adds bounded published-0.3.1 qualification on Windows 10 x64, an administrator
555
+ account, PowerShell 5.1 and Node 24.16.0: offline provisioning, wrapper/native
556
+ locking, operator doctor and nonexistent-target dry-run, plus 31 local storage
557
+ fixtures. Node 22 has banner/native-lock smoke only, not the full matrix.
558
+ Non-admin, other architectures, F6 runtime-identity enforcement and the Linux
559
+ current-rule gaps remain open. No 0.3.2 live ACK or deploy helper is established.
491
560
  - **Update notices (#22).** The Windows refresh, refresh-failure and
492
561
  forged-`clientUpdate` (injection) cells are unverified; Windows CI covers only
493
562
  the array/flat shape and one text stderr line. Those cases have POSIX fixture
@@ -625,7 +694,7 @@ Scope: notices belong to the invoking client. With `--host`, the client adds
625
694
  `clientUpdate` (or its stderr line) to its own top-level output, including the
626
695
  verified result obtained over SSH; the `--stdio-request` receiver never reads,
627
696
  refreshes or produces a notice. The notice is computed once per invocation.
628
- Multi-host and failures (integration candidate with #20/#21):
697
+ Multi-host and failures (shipped 0.3.0 integration with #20/#21):
629
698
 
630
699
  - Repeated `--host` JSON array: request order and every element's exact shape are
631
700
  kept; no `clientUpdate` in elements and no wrapper object.
@@ -728,4 +797,25 @@ and removal on every supported shell. They do not establish live delivery or ACK
728
797
 
729
798
  ## 0.3.2 release scope
730
799
 
731
- The 0.3.2 source is prepared from the main line containing the published 0.3.1 fixes. Runtime behavior is unchanged apart from the version banner and exact-version SSH gate. Release tooling now pins public 0.3.1 and the existing preview integrity as the baseline for a separate 0.3.2 approval. Deployment and Windows qualification evidence is recorded in [VALIDATION.md](VALIDATION.md); this preparation does not claim that pending qualification gates passed. No 0.4 handoff/app-server/observation runtime is included.
800
+ The [public 0.3.2 record](VALIDATION.md#public-032--2026-10-07-kst) pins publication source `f335f07352c842f2f6ceb12bd2ca6274b52f69f7` and the artifact. Runtime behavior differs from 0.3.1 only in the version banner and exact-version SSH gate. Its dated preparation record describes the pre-publication checkpoint, not current availability. Windows destination qualification used published 0.3.1, with the limits above. No 0.4 handoff/app-server/observation runtime is included; Drafts and the joint design freeze are not shipped capabilities.
801
+
802
+
803
+ <a id="ordinary-ssh-response-correction--033-candidate"></a>
804
+
805
+ ## Ordinary SSH response correction — 0.3.3
806
+
807
+ The 0.3.3 correction for [#116](https://github.com/abruption/session-peer-ts/issues/116) and [#115](https://github.com/abruption/session-peer-ts/issues/115) validates bounded raw stdout with fatal UTF-8, one complete JSON object, decoded-key uniqueness, depth 64 and 65,536 nodes. Stdout has a 1 MiB byte cap; diagnostic stderr has an independent 4,096-byte retained budget. Overflow cannot turn a retained prefix into success.
808
+
809
+ Complete request-matched native facts survive a later SSH 255 or collection timeout. Native `ok/status/submitted/target/queueId` stay intact, while local exit 1 and client-owned `sshTransport` report transport failure. A peer-supplied `sshTransport` is discarded. Missing, partial, polluted, malformed or mismatched send responses remain `outcome_unknown`/`submitted:null`/`retryAllowed:false`. No retry, fallback or failover occurs, and submission is not ACK. Normal verified exit 0/1/2 behavior, nullable Claude names, optional queue IDs, per-host ordering and text/JSON output remain supported. Explicit Codex home/inactive selection context is checked; canonical remote aliases remain a destination trust boundary.
810
+
811
+ See [the response contract and fixture limits](docs/design/ordinary-ssh-responses.md). This 0.3.3 correction is not part of the immutable public 0.3.2 artifact, does not change the Python 1.0.2 oracle, and adds no 0.4.0 handoff/observer/ACK feature.
812
+
813
+ <a id="typescript-skill-guard--033-candidate"></a>
814
+
815
+ ## TypeScript skill guard — 0.3.3
816
+
817
+ Version 0.3.3 uses compiled `VERSION=0.3.3` on the production doctor inspection path. Its proposed finite matrix accepts the legacy profile (skill/minimum/full `0.1.0`) and the exact proposed successor (skill `0.2.0`, minimum `0.1.0`, full `0.3.2`, `typescript`, `probe-help`, root name `session-peer-ts`). Unsupported well-formed tuples are incompatible; malformed or conflicting metadata is unknown. Supported and incompatible tuple verdicts report `verification:metadata_only`; missing, permission and unknown results omit it. Whole-file reading is bounded at 65,536 bytes with a single overflow-detection byte, fatal UTF-8 and regular-file/change checks. This does not authenticate instruction content or authorize delivery.
818
+
819
+ See the [bounded grammar, matrix and reader evidence](docs/design/typescript-skill-compatibility.md). Companion [Draft #20 design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the 2026-10-09 static design review of exact #126 `ba18bb806a6ba503381259b4255211af3adc0336` and release Draft #129 `bfb3d6f1256ab076a76660e08a7bf1ad071a6c6c`; their reviewed design SHA-256 values are recorded in the linked guard design. No tests were rerun in that review. At this dated checkpoint, runtime and successor skill were unpublished. The earlier queued coordination request remains historical, without independently established consumption or approval. Design/fixture acceptance does not authorize runtime merge/release, final skill metadata/publication/installation/pin changes or claim public compatibility; the immutable npm 0.3.2 checker stays legacy-only. The guard runtime must actually publish before separate successor skill finalization/tag/publication/pin changes. Keep the existing `081cc3c1d16a394bd92824333f4bc61c36951799` install pin; managers own upgrades, and no postinstall is introduced.
820
+
821
+ At the 2026-10-09 KST preparation checkpoint, [#128](https://github.com/abruption/session-peer-ts/issues/128) integrated open PRs #125/#127 and Draft #126 for review; that preparation did not bypass their human merge gate or approve staging/publication. 0.3.2 and 0.3.3 refuse each other's SSH preflight. Windows jump-host #20, provisioning #23, the Python 1.0.2 oracle, and unshipped 0.4/native ACK boundaries remain unchanged.
package/README.ja.md CHANGED
@@ -1,3 +1,5 @@
1
+ <div align="center">
2
+
1
3
  # session-peer (TypeScript)
2
4
 
3
5
  [![npm バージョン](https://img.shields.io/npm/v/session-peer?logo=npm)](https://www.npmjs.com/package/session-peer)
@@ -13,11 +15,13 @@
13
15
 
14
16
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
17
 
16
- **文書・ソースのバージョン: 0.3.2。** 以下のバージョン指定 npm コマンドを使う前に、npm レジストリまたはバージョンバッジで 0.3.2 が公開されているか確認してください。公開前はレビュー済みのソースチェックアウトまたはローカルビルド成果物を使います。ビルドと SSH の両端には同じレビュー済みバージョンが必要です。
18
+ **文書・ソースのバージョン: 0.3.3。** 2026-10-09 KST の準備時点では 0.3.3 は未公開で、公開 npm `latest` は **0.3.2**、`preview` は `0.1.0-preview.1` でした。以下の 0.3.3 npm 例を使う前に、レジストリで現在の公開状況を確認してください。利用できない場合はレビュー済みソースまたはローカルビルド成果物を使います。ビルドと SSH の両端は同じレビュー済みバージョンが必要で、0.3.2 と 0.3.3 は互いの SSH 事前確認を拒否します。
17
19
 
18
20
  **実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
19
21
  Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
20
22
 
23
+ </div>
24
+
21
25
  ## Demo
22
26
 
23
27
  ![TypeScript session-peer 0.2.1 による実際の Codex・Claude Code 間の要求と返信](https://raw.githubusercontent.com/abruption/session-peer-ts/main/docs/assets/session-peer-ts-v0.2.1-roundtrip.gif)
@@ -52,13 +56,15 @@ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョン
52
56
  `Get-Command session-peer -All` で PATH を確認してください。利用する実装を選び、
53
57
  別の管理ツールのファイルを `--force` で上書きしないでください。
54
58
 
59
+ **0.3.3 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
60
+
55
61
  ```sh
56
- npm view session-peer@0.3.2 version dist.integrity
57
- npm install --global --ignore-scripts session-peer@0.3.2
62
+ npm view session-peer@0.3.3 version dist.integrity
63
+ npm install --global --ignore-scripts session-peer@0.3.3
58
64
  session-peer --version
59
65
  ```
60
66
 
61
- 期待する出力: `session-peer 0.3.2 (typescript)`。分離インストール・ソースビルド・
67
+ 期待する出力: `session-peer 0.3.3 (typescript)`。分離インストール・ソースビルド・
62
68
  Windows・削除の手順は以下の詳細ガイドを参照してください。
63
69
 
64
70
  任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
@@ -67,12 +73,12 @@ Windows・削除の手順は以下の詳細ガイドを参照してください
67
73
  ### Update
68
74
 
69
75
  npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
70
- 正確なバージョンを指定してください。以下は古い npm 版を 0.3.2 に更新する例です。
76
+ 正確なバージョンを指定してください。以下は承認・公開後に古い npm 版を 0.3.3 に更新する例です。
71
77
  CLI は更新をインストールせず、`session-peer update --check` は確認のみ行います。
72
78
 
73
79
  ```sh
74
80
  npm view session-peer dist-tags
75
- npm install --global --ignore-scripts session-peer@0.3.2
81
+ npm install --global --ignore-scripts session-peer@0.3.3
76
82
  session-peer --version
77
83
  ```
78
84
 
package/README.ko.md CHANGED
@@ -1,3 +1,5 @@
1
+ <div align="center">
2
+
1
3
  # session-peer (TypeScript)
2
4
 
3
5
  [![npm 버전](https://img.shields.io/npm/v/session-peer?logo=npm)](https://www.npmjs.com/package/session-peer)
@@ -7,77 +9,94 @@
7
9
  [![Node 지원](https://img.shields.io/node/v/session-peer?logo=node.js)](https://www.npmjs.com/package/session-peer)
8
10
  [![MIT 라이선스](https://img.shields.io/npm/l/session-peer)](LICENSE)
9
11
 
10
- <sub>npm 다운로드 통계는 패키지 공개보다 늦게 반영될 수 있습니다.</sub>
12
+ <sub>npm 다운로드 통계는 패키지 공개 후에도 반영이 늦을 수 있습니다.</sub>
11
13
 
12
14
  [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-CN.md)
13
15
 
14
- <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
16
+ **실행 중인 Claude Code와 Codex 세션을 찾아 로컬 또는 SSH(보안 원격 접속)로 메시지를 전달합니다.**
17
+ Python을 설치하지 않아도 Node.js에서 실행되는 TypeScript 클라이언트입니다. 패키지명과 CLI 명령은 모두 `session-peer`입니다.
15
18
 
16
- **문서·소스 버전: 0.3.2.** 아래 버전 지정 npm 명령을 사용하기 전에 npm 레지스트리 또는 버전 배지에서 0.3.2의 발행 여부를 확인하세요. 발행 전에는 검토된 소스 체크아웃이나 로컬 빌드 산출물을 사용합니다. 빌드와 SSH 양쪽에는 같은 검토된 버전이 필요합니다.
19
+ </div>
20
+
21
+ <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
17
22
 
18
- **실행 중인 Claude Code·Codex 세션을 찾고 로컬 또는 SSH로 메시지를 전달합니다.**
19
- Python 없이 Node.js로 실행하는 클라이언트입니다. 패키지와 명령 이름은 `session-peer`입니다.
23
+ **문서·소스 기준 버전: 0.3.3.** 2026-10-09 KST 준비 시점에는 0.3.3이 미발행이었고 공개 npm `latest`는 **0.3.2**, `preview`는 `0.1.0-preview.1`이었습니다. 아래 0.3.3 npm 예시를 사용하기 전에 레지스트리에서 현재 제공 여부를 확인하세요. 제공되지 않으면 검토한 소스 체크아웃이나 로컬 빌드 산출물을 사용하세요. 빌드와 SSH 양쪽은 같은 검토 버전이 필요하며, 0.3.2와 0.3.3은 서로의 SSH 사전 확인을 거부합니다.
20
24
 
21
- ## Demo
25
+ <a id="demo"></a>
26
+ ## 시연
22
27
 
23
- ![TypeScript session-peer 0.2.1의 실제 Codex·Claude Code 요청과 회신](https://raw.githubusercontent.com/abruption/session-peer-ts/main/docs/assets/session-peer-ts-v0.2.1-roundtrip.gif)
28
+ ![TypeScript session-peer 0.2.1로 Codex에서 Claude Code에 보낸 실제 요청과 회신](https://raw.githubusercontent.com/abruption/session-peer-ts/main/docs/assets/session-peer-ts-v0.2.1-roundtrip.gif)
24
29
 
25
- npm 0.2.1로 로컬 요청과 명시적인 `ACK DEMO-READY` 회신을 확인했습니다. CLI·메시지 발췌를 식별자 제거와 타이밍 편집 후 재구성한 것으로, 화면 녹화가 아닙니다. 제출만으로 ACK를 의미하지 않습니다.
30
+ npm 0.2.1을 사용해 실제 로컬 요청을 보내고 명시적인 `ACK DEMO-READY` 회신을 받았습니다. 명령줄 도구(CLI)와 메시지 일부를 다시 구성했으며, 식별자는 가리고 시점 정보는 편집했습니다. 화면 녹화는 아닙니다. 메시지를 제출한 것만으로는 ACK(수신 확인 응답)가 아닙니다.
26
31
 
27
- 설치 후 세션을 조회하고, 선택한 정확한 PID로 `CLAUDE_PID`를 바꾸세요:
32
+ 설치한 뒤 세션을 조회하고, `CLAUDE_PID`를 선택한 세션의 정확한 PID(프로세스 ID)로 바꾸세요.
28
33
 
29
34
  ```sh
30
35
  session-peer list --agent claude --json
31
- session-peer send --to CLAUDE_PID --message 'API 계약을 검토하고 회신해 주세요.' --dry-run --json
36
+ session-peer send --to CLAUDE_PID --message 'Please review the API contract and reply.' --dry-run --json
32
37
  ```
33
38
 
34
- `--dry-run`은 제출 없이 검증합니다. 실제 전달할 때는 같은 명령에서
35
- `--dry-run`을 제거해 한 번 실행하세요. 확인이 필요하면 명시적인 회신을 요청하세요.
36
- **`posted` / `queued`는 제출이며 소비·ACK 확인이 아닙니다.** `unknown`
37
- (`submitted:null`), 회신 부재 또는 대상 종료를 이유로 자동 재시도하지 마세요.
38
- `consumptionConfirmed`는 항상 false이며, 실제 회신은 수신 TUI에서 확인합니다.
39
-
40
- ## Quick Start
41
-
42
- macOS/Linux/Windows, **Node 22.x의 22.13 이상 또는 24.x**, 플랫폼에 맞는
43
- 네이티브 사전 빌드 의존성(x64/arm64)이 필요합니다. Claude는 실행 중 TUI의 inbox,
44
- Codex는 CLI와 검증 가능한 writer가 필요합니다(macOS/Linux는 `lsof`·`ps`도 필요).
45
- SSH에는 기존 키·호스트 신뢰 설정과 양쪽의 **동일 버전 TypeScript 클라이언트**가
46
- 필요합니다. 플랫폼 요구사항과 명시적 비활성 큐 제출은 상세 가이드를 참고하세요.
47
-
48
- ### Install
49
-
50
- [Python CLI](https://github.com/abruption/session-peer)도 같은 명령을 사용합니다.
51
- 설치 전 macOS/Linux는 `type -a session-peer`, PowerShell은
52
- `Get-Command session-peer -All`로 PATH를 확인하세요. 사용할 구현을 선택하고
53
- 다른 설치 관리자의 파일을 `--force`로 덮어쓰지 마세요.
39
+ `--dry-run`은 메시지를 보내지 않고 요청만 검증합니다. 실제로 전달할 때는 같은
40
+ 명령에서 `--dry-run`을 빼고 한 번 실행하세요. 수신 확인이 필요하면 메시지에
41
+ 명시적인 회신을 요청하세요. **`posted` / `queued`는 제출 또는 큐 수락을 뜻할
42
+ 뿐, 수신 측의 소비(읽기·처리)나 ACK를 확인한 결과가 아닙니다.** `unknown`
43
+ (`submitted:null`)은 제출 여부가 불확실하므로 자동 재시도하지 마세요. 회신이
44
+ 없거나 대상 세션이 종료된 경우에도 자동 재시도하지 마세요. `consumptionConfirmed`는
45
+ 항상 `false`이며, 실제 회신은 수신 측 TUI(터미널 사용자 인터페이스)에서 직접 확인하세요.
46
+
47
+ <a id="quick-start"></a>
48
+ ## 빠른 시작
49
+
50
+ macOS, Linux, Windows와 **Node 22.x의 22.13 이상 또는 24.x**가 필요합니다.
51
+ 운영체제와 아키텍처(x64/arm64)에 맞는 네이티브 사전 빌드 의존성도 필요합니다.
52
+ Claude Code에는 실행 중인 TUI의 받은 메시지함이, Codex에는 CLI와 메시지를 기록하는
53
+ 안정된 writer 프로세스가 필요합니다(macOS/Linux에서는 `lsof`와 `ps`도 필요합니다).
54
+ SSH를 사용하려면 기존 키와 호스트 신뢰 설정이 있어야 하며, 양쪽에서 **같은 버전의
55
+ TypeScript 클라이언트**를 사용해야 합니다. 운영체제별 요구사항은
56
+ [사용자 가이드](docs/guide.ko.md#요구사항)를, 비활성 Codex 세션에 메시지를 대기열로
57
+ 보내는 조건은 [통합 목록 설명](docs/guide.ko.md#unified-listing-in-020)을 참고하세요.
58
+
59
+ <a id="install"></a>
60
+ ### 설치
61
+
62
+ [Python CLI](https://github.com/abruption/session-peer)도 별도로 구현·배포되지만,
63
+ `session-peer`라는 같은 명령 이름을 사용합니다. 설치 전에 macOS/Linux에서는 `type -a session-peer`,
64
+ PowerShell에서는 `Get-Command session-peer -All`로 PATH(명령 검색 경로)에서 어떤
65
+ 실행 파일을 찾는지 확인하세요. 사용할 구현을 선택하고 다른 패키지 관리자가 설치한
66
+ 파일을 `--force`로 덮어쓰지 마세요. 설치와 갱신은 사용자가 npm으로 직접 수행합니다.
67
+
68
+ **0.3.3 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
54
69
 
55
70
  ```sh
56
- npm view session-peer@0.3.2 version dist.integrity
57
- npm install --global --ignore-scripts session-peer@0.3.2
71
+ npm view session-peer@0.3.3 version dist.integrity
72
+ npm install --global --ignore-scripts session-peer@0.3.3
58
73
  session-peer --version
59
74
  ```
60
75
 
61
- 예상 출력: `session-peer 0.3.2 (typescript)`. 격리 설치·소스 빌드·Windows·제거
62
- 방법은 아래 상세 가이드에서 확인할 수 있습니다.
76
+ 예상 결과는 `session-peer 0.3.3 (typescript)`입니다. 별도 경로에 설치하거나,
77
+ 소스에서 빌드하거나, Windows에서 설치·제거하는 방법은 [사용자 가이드](docs/guide.ko.md#설치)를 참고하세요.
63
78
 
64
- 선택적 `sp` 단축 이름은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로 켜지지 않습니다.
65
- [명시적 활성화·충돌·해제 안내(영문)](docs/shorthand.md)를 참고하세요.
79
+ 선택 사항인 `sp` 단축 명령은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로
80
+ 활성화되지 않습니다. [직접 활성화하고 이름 충돌을 확인하는 방법(영문)](docs/shorthand.md)을
81
+ 참고하세요.
66
82
 
67
- ### Update
83
+ <a id="update"></a>
84
+ ### 업데이트
68
85
 
69
- npm으로 설치한 클라이언트는 npm으로 갱신합니다. 태그와 대상 버전을 검토한 뒤
70
- 정확한 버전을 설치하세요. 아래 예시는 이전 npm 설치본을 0.3.2로 갱신합니다.
71
- CLI는 업데이트를 설치하지 않으며 `session-peer update --check`는 확인만 합니다.
86
+ npm으로 설치한 클라이언트는 사용자가 직접 npm으로 업데이트합니다. 사용 가능한 배포 태그
87
+ (dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 승인·발행 이후 이전 npm 설치본을 0.3.3으로
88
+ 업데이트합니다. `session-peer` CLI는 업데이트를 설치하지 않습니다. `session-peer
89
+ update --check`는 새 버전이 있는지 확인할 뿐입니다.
72
90
 
73
91
  ```sh
74
92
  npm view session-peer dist-tags
75
- npm install --global --ignore-scripts session-peer@0.3.2
93
+ npm install --global --ignore-scripts session-peer@0.3.3
76
94
  session-peer --version
77
95
  ```
78
96
 
79
- 동반 스킬의 설치·업데이트는 별도입니다. npm 설치가 스킬을 설치하지 않습니다.
80
- 상세 가이드의 고정 커밋 기반 스킬 설치 안내를 확인하세요.
97
+ 함께 제공되는 스킬은 별도로 설치하고 업데이트해야 합니다. npm 패키지를 설치해도
98
+ 스킬은 설치되지 않습니다. 고정 커밋을 기준으로 스킬을 설치하는 방법은 사용자
99
+ 가이드에서 확인하세요.
81
100
 
82
101
  <!-- Preserve links to the former detailed sections; their contents are in the guide. -->
83
102
  <a id="주요-기능과-범위"></a>
@@ -97,22 +116,26 @@ session-peer --version
97
116
  <a id="020-읽기-전용-진단"></a>
98
117
  <a id="에이전트-스킬-명시적-설치"></a>
99
118
 
100
- ## Docs
119
+ <a id="docs"></a>
120
+ ## 문서
101
121
 
102
- - [사용자 가이드](docs/guide.ko.md) — CLI 옵션, 탐색, Codex 홈, SSH, 회신, 설치 변형과 스킬 설정.
122
+ - [사용자 가이드](docs/guide.ko.md) — CLI 옵션, 탐색, Codex 홈, SSH, 회신, 여러 설치 방법과 스킬 설정.
103
123
  - [API 참조(영문)](docs/api.md).
104
- - [호환성·이주·기능 계획](PARITY.md).
105
- - [릴리스 증거·플랫폼 검증](VALIDATION.md).
124
+ - [호환성·마이그레이션·계획된 기능](PARITY.md).
125
+ - [릴리스 검증 기록·플랫폼 검증](VALIDATION.md).
106
126
  - [개발·기여 안내](CONTRIBUTING.md).
107
127
  - [릴리스 절차](RELEASING.md).
108
128
 
109
- ## License
129
+ <a id="license"></a>
130
+ ## 라이선스
110
131
 
111
- [MIT 라이선스](LICENSE)를 따릅니다.
132
+ [MIT 라이선스](LICENSE)로 배포합니다.
112
133
 
113
- ## Support and security
134
+ <a id="support-and-security"></a>
135
+ ## 지원 및 보안
114
136
 
115
- 사용 질문과 재현 가능한 버그는 [이슈](https://github.com/abruption/session-peer-ts/issues)로 알려 주세요.
116
- 취약점은 [비공개 신고](https://github.com/abruption/session-peer-ts/security/advisories/new) 또는
117
- [support@abruption.dev](mailto:support@abruption.dev?subject=%5Bsession-peer-ts%5D%20Security)로 보내 주세요.
118
- [SECURITY.md](SECURITY.md)를 확인하고 자격증명·메시지·개인 경로는 제거하세요.
137
+ 사용법에 관한 질문과 재현 가능한 버그는 [이슈](https://github.com/abruption/session-peer-ts/issues)에
138
+ 등록해 주세요. 보안 취약점은 [비공개 신고](https://github.com/abruption/session-peer-ts/security/advisories/new)
139
+ 또는 [support@abruption.dev](mailto:support@abruption.dev?subject=%5Bsession-peer-ts%5D%20Security)로
140
+ 알려 주세요. [SECURITY.md](SECURITY.md)를 읽고, 신고할 때 자격 증명·메시지·개인 경로를
141
+ 가려 주세요.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <div align="center">
2
+
1
3
  # session-peer (TypeScript)
2
4
 
3
5
  [![npm version](https://img.shields.io/npm/v/session-peer?logo=npm)](https://www.npmjs.com/package/session-peer)
@@ -13,11 +15,13 @@
13
15
 
14
16
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
17
 
16
- **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.
18
+ **Documentation and source version: 0.3.3.** At the 2026-10-09 KST preparation checkpoint, 0.3.3 was unpublished, public npm `latest` was **0.3.2**, and `preview` was `0.1.0-preview.1`. Check the registry for current availability before using the 0.3.3 npm examples; if unavailable, use a reviewed source checkout or its locally built artifact. Builds and SSH endpoints need the same reviewed version; 0.3.2 and 0.3.3 refuse each other's SSH preflight.
17
19
 
18
20
  **Find and message running Claude Code and Codex sessions, locally or over SSH.**
19
21
  A Node.js client that runs without Python. Package and command: `session-peer`.
20
22
 
23
+ </div>
24
+
21
25
  ## Demo
22
26
 
23
27
  ![Actual Codex to Claude Code request and reply with TypeScript session-peer 0.2.1](https://raw.githubusercontent.com/abruption/session-peer-ts/main/docs/assets/session-peer-ts-v0.2.1-roundtrip.gif)
@@ -52,13 +56,15 @@ Check `type -a session-peer` on macOS/Linux or `Get-Command session-peer -All`
52
56
  in PowerShell before installing. Choose the intended PATH entry; do not use
53
57
  `--force` to overwrite another manager’s files.
54
58
 
59
+ **Version 0.3.3 installation:** check registry availability and review the chosen release before running the npm install/update examples. If that version is unavailable, use the [reviewed source build](docs/guide.md#build-from-source).
60
+
55
61
  ```sh
56
- npm view session-peer@0.3.2 version dist.integrity
57
- npm install --global --ignore-scripts session-peer@0.3.2
62
+ npm view session-peer@0.3.3 version dist.integrity
63
+ npm install --global --ignore-scripts session-peer@0.3.3
58
64
  session-peer --version
59
65
  ```
60
66
 
61
- Expected: `session-peer 0.3.2 (typescript)`. For isolated installation, source
67
+ Expected: `session-peer 0.3.3 (typescript)`. For isolated installation, source
62
68
  builds, Windows and removal, see the detailed guide below.
63
69
 
64
70
  Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
@@ -68,12 +74,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
68
74
 
69
75
  Use npm for an npm-managed installation. Check the available tags and review
70
76
  the target version, then install that exact version; this example updates an
71
- older npm installation to 0.3.2. The CLI does not install updates;
77
+ older npm installation to 0.3.3 after approved publication. The CLI does not install updates;
72
78
  `session-peer update --check` only reports them.
73
79
 
74
80
  ```sh
75
81
  npm view session-peer dist-tags
76
- npm install --global --ignore-scripts session-peer@0.3.2
82
+ npm install --global --ignore-scripts session-peer@0.3.3
77
83
  session-peer --version
78
84
  ```
79
85
 
package/README.zh-CN.md CHANGED
@@ -1,3 +1,5 @@
1
+ <div align="center">
2
+
1
3
  # session-peer (TypeScript)
2
4
 
3
5
  [![npm 版本](https://img.shields.io/npm/v/session-peer?logo=npm)](https://www.npmjs.com/package/session-peer)
@@ -13,11 +15,13 @@
13
15
 
14
16
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
17
 
16
- **文档和源码版本:0.3.2。** 使用以下固定版本 npm 命令前,请通过 npm 注册表或版本徽章确认 0.3.2 是否已发布。发布前,请使用已审核的源码检出版本或本地构建产物。构建和 SSH 两端需要相同的已审核版本。
18
+ **文档和源码版本:0.3.3。** 在 2026-10-09 KST 准备时点,0.3.3 尚未发布,公开 npm `latest` 为 **0.3.2**,`preview` 为 `0.1.0-preview.1`。使用以下 0.3.3 npm 示例前,请查询注册表中的当前可用性;如不可用,请使用已审核的源码或本地构建产物。构建和 SSH 两端必须使用相同的已审核版本;0.3.2 与 0.3.3 会拒绝彼此的 SSH 预检。
17
19
 
18
20
  **发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
19
21
  这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
20
22
 
23
+ </div>
24
+
21
25
  ## Demo
22
26
 
23
27
  ![TypeScript session-peer 0.2.1 的实际 Codex 与 Claude Code 请求和回复](https://raw.githubusercontent.com/abruption/session-peer-ts/main/docs/assets/session-peer-ts-v0.2.1-roundtrip.gif)
@@ -50,13 +54,15 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
50
54
  `Get-Command session-peer -All` 检查 PATH。选择所需实现,不要用 `--force`
51
55
  覆盖其他安装管理器的文件。
52
56
 
57
+ **安装 0.3.3:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
58
+
53
59
  ```sh
54
- npm view session-peer@0.3.2 version dist.integrity
55
- npm install --global --ignore-scripts session-peer@0.3.2
60
+ npm view session-peer@0.3.3 version dist.integrity
61
+ npm install --global --ignore-scripts session-peer@0.3.3
56
62
  session-peer --version
57
63
  ```
58
64
 
59
- 预期输出:`session-peer 0.3.2 (typescript)`。隔离安装、源码构建、Windows 和
65
+ 预期输出:`session-peer 0.3.3 (typescript)`。隔离安装、源码构建、Windows 和
60
66
  卸载步骤见下方详细指南。
61
67
 
62
68
  可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
@@ -65,11 +71,11 @@ session-peer --version
65
71
  ### Update
66
72
 
67
73
  使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
68
- 下面示例将旧 npm 安装更新至 0.3.2。CLI 不会安装更新,`session-peer update --check` 只做检查。
74
+ 下面示例在批准发布后将旧 npm 安装更新至 0.3.3。CLI 不会安装更新,`session-peer update --check` 只做检查。
69
75
 
70
76
  ```sh
71
77
  npm view session-peer dist-tags
72
- npm install --global --ignore-scripts session-peer@0.3.2
78
+ npm install --global --ignore-scripts session-peer@0.3.3
73
79
  session-peer --version
74
80
  ```
75
81