session-peer 0.3.1 → 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 CHANGED
@@ -1,8 +1,8 @@
1
1
  # Python compatibility and npm migration
2
2
 
3
- Updated 2026-10-03 KST. Python reference: **1.0.2**,
3
+ Updated 2026-10-07 KST. Python reference: **1.0.2**,
4
4
  [`47c2371`](https://github.com/abruption/session-peer/tree/47c23713d0a2a3c11ebde6186afd8c43489b8b65/session_peer_core).
5
- This matrix describes **TS 0.3.1**: the 0.2.0 unified listing, safe home selection,
5
+ This matrix describes the **TS 0.3.2 source**: 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
@@ -725,3 +725,7 @@ Python/TS co-installation is excluded; replacing an implementation respects its
725
725
  original manager. This TS change does not implement additional Python features.
726
726
  Package fixtures cover name equivalence, collisions, an in-place version update
727
727
  and removal on every supported shell. They do not establish live delivery or ACK.
728
+
729
+ ## 0.3.2 release scope
730
+
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.
package/README.ja.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
15
 
16
+ **文書・ソースのバージョン: 0.3.2。** 以下のバージョン指定 npm コマンドを使う前に、npm レジストリまたはバージョンバッジで 0.3.2 が公開されているか確認してください。公開前はレビュー済みのソースチェックアウトまたはローカルビルド成果物を使います。ビルドと SSH の両端には同じレビュー済みバージョンが必要です。
17
+
16
18
  **実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
17
19
  Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
18
20
 
@@ -51,12 +53,12 @@ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョン
51
53
  別の管理ツールのファイルを `--force` で上書きしないでください。
52
54
 
53
55
  ```sh
54
- npm view session-peer@0.3.1 version dist.integrity
55
- npm install --global --ignore-scripts session-peer@0.3.1
56
+ npm view session-peer@0.3.2 version dist.integrity
57
+ npm install --global --ignore-scripts session-peer@0.3.2
56
58
  session-peer --version
57
59
  ```
58
60
 
59
- 期待する出力: `session-peer 0.3.1 (typescript)`。分離インストール・ソースビルド・
61
+ 期待する出力: `session-peer 0.3.2 (typescript)`。分離インストール・ソースビルド・
60
62
  Windows・削除の手順は以下の詳細ガイドを参照してください。
61
63
 
62
64
  任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
@@ -65,12 +67,12 @@ Windows・削除の手順は以下の詳細ガイドを参照してください
65
67
  ### Update
66
68
 
67
69
  npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
68
- 正確なバージョンを指定してください。以下は古い npm 版を 0.3.1 に更新する例です。
70
+ 正確なバージョンを指定してください。以下は古い npm 版を 0.3.2 に更新する例です。
69
71
  CLI は更新をインストールせず、`session-peer update --check` は確認のみ行います。
70
72
 
71
73
  ```sh
72
74
  npm view session-peer dist-tags
73
- npm install --global --ignore-scripts session-peer@0.3.1
75
+ npm install --global --ignore-scripts session-peer@0.3.2
74
76
  session-peer --version
75
77
  ```
76
78
 
package/README.ko.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
15
 
16
+ **문서·소스 버전: 0.3.2.** 아래 버전 지정 npm 명령을 사용하기 전에 npm 레지스트리 또는 버전 배지에서 0.3.2의 발행 여부를 확인하세요. 발행 전에는 검토된 소스 체크아웃이나 로컬 빌드 산출물을 사용합니다. 빌드와 SSH 양쪽에는 같은 검토된 버전이 필요합니다.
17
+
16
18
  **실행 중인 Claude Code·Codex 세션을 찾고 로컬 또는 SSH로 메시지를 전달합니다.**
17
19
  Python 없이 Node.js로 실행하는 클라이언트입니다. 패키지와 명령 이름은 `session-peer`입니다.
18
20
 
@@ -51,12 +53,12 @@ SSH에는 기존 키·호스트 신뢰 설정과 양쪽의 **동일 버전 TypeS
51
53
  다른 설치 관리자의 파일을 `--force`로 덮어쓰지 마세요.
52
54
 
53
55
  ```sh
54
- npm view session-peer@0.3.1 version dist.integrity
55
- npm install --global --ignore-scripts session-peer@0.3.1
56
+ npm view session-peer@0.3.2 version dist.integrity
57
+ npm install --global --ignore-scripts session-peer@0.3.2
56
58
  session-peer --version
57
59
  ```
58
60
 
59
- 예상 출력: `session-peer 0.3.1 (typescript)`. 격리 설치·소스 빌드·Windows·제거
61
+ 예상 출력: `session-peer 0.3.2 (typescript)`. 격리 설치·소스 빌드·Windows·제거
60
62
  방법은 아래 상세 가이드에서 확인할 수 있습니다.
61
63
 
62
64
  선택적 `sp` 단축 이름은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로 켜지지 않습니다.
@@ -65,12 +67,12 @@ session-peer --version
65
67
  ### Update
66
68
 
67
69
  npm으로 설치한 클라이언트는 npm으로 갱신합니다. 태그와 대상 버전을 검토한 뒤
68
- 정확한 버전을 설치하세요. 아래 예시는 이전 npm 설치본을 0.3.1로 갱신합니다.
70
+ 정확한 버전을 설치하세요. 아래 예시는 이전 npm 설치본을 0.3.2로 갱신합니다.
69
71
  CLI는 업데이트를 설치하지 않으며 `session-peer update --check`는 확인만 합니다.
70
72
 
71
73
  ```sh
72
74
  npm view session-peer dist-tags
73
- npm install --global --ignore-scripts session-peer@0.3.1
75
+ npm install --global --ignore-scripts session-peer@0.3.2
74
76
  session-peer --version
75
77
  ```
76
78
 
package/README.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
15
 
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.
17
+
16
18
  **Find and message running Claude Code and Codex sessions, locally or over SSH.**
17
19
  A Node.js client that runs without Python. Package and command: `session-peer`.
18
20
 
@@ -51,12 +53,12 @@ in PowerShell before installing. Choose the intended PATH entry; do not use
51
53
  `--force` to overwrite another manager’s files.
52
54
 
53
55
  ```sh
54
- npm view session-peer@0.3.1 version dist.integrity
55
- npm install --global --ignore-scripts session-peer@0.3.1
56
+ npm view session-peer@0.3.2 version dist.integrity
57
+ npm install --global --ignore-scripts session-peer@0.3.2
56
58
  session-peer --version
57
59
  ```
58
60
 
59
- Expected: `session-peer 0.3.1 (typescript)`. For isolated installation, source
61
+ Expected: `session-peer 0.3.2 (typescript)`. For isolated installation, source
60
62
  builds, Windows and removal, see the detailed guide below.
61
63
 
62
64
  Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
@@ -66,12 +68,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
66
68
 
67
69
  Use npm for an npm-managed installation. Check the available tags and review
68
70
  the target version, then install that exact version; this example updates an
69
- older npm installation to 0.3.1. The CLI does not install updates;
71
+ older npm installation to 0.3.2. The CLI does not install updates;
70
72
  `session-peer update --check` only reports them.
71
73
 
72
74
  ```sh
73
75
  npm view session-peer dist-tags
74
- npm install --global --ignore-scripts session-peer@0.3.1
76
+ npm install --global --ignore-scripts session-peer@0.3.2
75
77
  session-peer --version
76
78
  ```
77
79
 
package/README.zh-CN.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
15
 
16
+ **文档和源码版本:0.3.2。** 使用以下固定版本 npm 命令前,请通过 npm 注册表或版本徽章确认 0.3.2 是否已发布。发布前,请使用已审核的源码检出版本或本地构建产物。构建和 SSH 两端需要相同的已审核版本。
17
+
16
18
  **发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
17
19
  这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
18
20
 
@@ -49,12 +51,12 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
49
51
  覆盖其他安装管理器的文件。
50
52
 
51
53
  ```sh
52
- npm view session-peer@0.3.1 version dist.integrity
53
- npm install --global --ignore-scripts session-peer@0.3.1
54
+ npm view session-peer@0.3.2 version dist.integrity
55
+ npm install --global --ignore-scripts session-peer@0.3.2
54
56
  session-peer --version
55
57
  ```
56
58
 
57
- 预期输出:`session-peer 0.3.1 (typescript)`。隔离安装、源码构建、Windows 和
59
+ 预期输出:`session-peer 0.3.2 (typescript)`。隔离安装、源码构建、Windows 和
58
60
  卸载步骤见下方详细指南。
59
61
 
60
62
  可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
@@ -63,11 +65,11 @@ session-peer --version
63
65
  ### Update
64
66
 
65
67
  使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
66
- 下面示例将旧 npm 安装更新至 0.3.1。CLI 不会安装更新,`session-peer update --check` 只做检查。
68
+ 下面示例将旧 npm 安装更新至 0.3.2。CLI 不会安装更新,`session-peer update --check` 只做检查。
67
69
 
68
70
  ```sh
69
71
  npm view session-peer dist-tags
70
- npm install --global --ignore-scripts session-peer@0.3.1
72
+ npm install --global --ignore-scripts session-peer@0.3.2
71
73
  session-peer --version
72
74
  ```
73
75
 
package/RELEASING.md CHANGED
@@ -7,10 +7,35 @@ remain independent. The npm Trusted Publisher for `abruption/session-peer-ts`,
7
7
  uses OIDC and no npm token. The protected GitHub environment requires a reviewer
8
8
  and permits deployments from `main` only.
9
9
 
10
- ## 0.3.1 stable release procedure
10
+ ## 0.3.2 release procedure
11
11
 
12
- 0.3.1 is a source candidate for the [reliability fixes](PARITY.md#031-reliability-fixes),
13
- not a claim of public publication. Previous stable 0.3.0 integrity is pinned:
12
+ The release preparation is based on reviewed main `488ddddac302ba2ad0841061dc8df9187ff6a983`; 0.4 feature branches are excluded. The required pre-staging baseline is **0.3.1**, with `latest=0.3.1` and `preview=0.1.0-preview.1`; these are preconditions, not a permanent statement of registry state. Check the registry and dated validation record for publication status. Previous stable integrity is pinned to:
13
+ `sha512-iZq06dbm6NavHuPZYMIxAnzQN5ksqm66yufpppddVWUYkuaG5TJvktbUXTSX7v3BBFnuybEJekI0KSaDo3Xfbg==`.
14
+ Previous stable attestation metadata: `https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.1`. Historical records below remain historical.
15
+
16
+ 1. Review and merge the 0.3.2 preparation PR, then require successful CI and release gate for the exact merged main SHA, including Windows Node 22/24. Check the current deployment qualification evidence in VALIDATION.md; pending F5 evidence is not a pass.
17
+ 2. Recheck package ownership/2FA, the npm environment reviewer/main-only policy, stage-only Trusted Publisher mapping, and authenticated pending stages. Require 0.3.2 absent, `latest=0.3.1`, unchanged preview tag/integrity and the pinned public 0.3.1 integrity/provenance.
18
+ 3. Obtain separate approval naming the exact merged 40-character main SHA, **0.3.2**, **stable-stage**, and promotion of `latest` to 0.3.2. Preparation approval and previous release approvals do not authorize staging or publication.
19
+ 4. Only after that approval, dispatch publish.yml with `mode=stable-stage`, `version=0.3.2`, `source_sha=<approved main SHA>` and `confirmation=session-peer@0.3.2 stable-stage`. Review the staged artifact and complete separate npm 2FA approval before publication.
20
+
21
+ 0.3.1 and 0.3.2 refuse each other's SSH version preflight. Upgrade both endpoints together only after the chosen source or publication is approved; never retry an unknown send outcome.
22
+
23
+ ## Public release checkpoint — 0.3.1 (2026-10-04 KST)
24
+
25
+ At this dated checkpoint, `session-peer@0.3.1` was public with `latest=0.3.1` and unchanged
26
+ `preview=0.1.0-preview.1`; see the [dated verification](VALIDATION.md#public-031--2026-10-04-kst).
27
+ Published source is `6b48092a0e42992d2d970dd2ff5cf457f62d3ff2` and publication
28
+ run is `37209205194`. The completed procedure below is historical: do not replay
29
+ its approval, stage 0.3.1 again or republish it. A later release needs a newly
30
+ reviewed version, baseline and exact source approval.
31
+
32
+ <a id="031-stable-release-procedure"></a>
33
+
34
+ ## Completed 0.3.1 stable release procedure
35
+
36
+ The reviewed 0.3.1 source candidate covered the [reliability fixes](PARITY.md#031-reliability-fixes).
37
+ The steps below are history; the public outcome is recorded above. Previous
38
+ stable 0.3.0 integrity was pinned:
14
39
  `sha512-mdtikUMrGmMrdVSvPXdJcZeouTeuixOTzGwFKPhN66ATZqTohu9HKbejgOwXJe0/zrO+nt9asCAzAEhiHWDYGA==`.
15
40
  The public attestation metadata URL is
16
41
  `https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.0`.
package/SECURITY.md CHANGED
@@ -14,7 +14,7 @@ homes, SQLite DBs, transcripts, browser profiles or .env files. Rotate exposed
14
14
  secrets with their provider; deleting a comment does not revoke a secret.
15
15
 
16
16
  Review is manual and best-effort, with no response or fix deadline. The project is
17
- a published npm client, with 0.3.0 release evidence in [VALIDATION.md](VALIDATION.md#public-030--2026-10-03-kst).
17
+ a published npm client, with 0.3.1 release evidence in [VALIDATION.md](VALIDATION.md#public-031--2026-10-04-kst).
18
18
  Reports on published versions and source commits are welcome; no maintenance
19
19
  window or backport promise exists. English and Korean reports are welcome. Disclosure
20
20
  is coordinated with the reporter; private reports are not automatically public.
package/VALIDATION.md CHANGED
@@ -1,11 +1,145 @@
1
- # Validation record — updated 2026-10-04 KST
2
-
3
- This dated record covers the 0.3.1 source candidate and public 0.3.0, 0.2.1 and 0.2.0 verification, historical 0.1.0
4
- public verification, candidate checks and live-agent observations. Older sections
1
+ # Validation record — updated 2026-10-07 KST
2
+
3
+ ## 0.3.2 preparation checkpoint — 2026-10-07 KST
4
+
5
+ This is an unpublished patch candidate based on main
6
+ `488ddddac302ba2ad0841061dc8df9187ff6a983`. The public stable version is
7
+ 0.3.1. The 0.4.0 handoff, app-server and observation drafts are not included.
8
+ Runtime changes in this candidate are limited to the version marker; remote
9
+ validation and deployment documentation do not enable Windows-client jump or
10
+ a deploy helper.
11
+
12
+ Local macOS arm64, Node 24.16.0 checks:
13
+
14
+ - `npm test`: 151 tests, 146 passed, zero failed, five Windows-only skips;
15
+ the command also builds the source and checks test types. Conformance used
16
+ the existing Python 1.0.2 reference checkout at `47c2371`; no reference repin.
17
+ - `npm run test:package`: reproducible package, fresh isolated installation,
18
+ native dependency loading, bash/zsh shorthand contract and A-to-B fixture
19
+ update/uninstall lifecycle passed.
20
+ - `node scripts/check-repository.mjs`: metadata, four README/guide contracts,
21
+ links/anchors and ignore rules passed.
22
+
23
+ These are candidate checks, not an exact-main Actions artifact or publication
24
+ verification. Public npm staging and release approvals remain separate.
25
+
26
+ ## Windows SSH destination F5 — 2026-10-07 KST
27
+
28
+ The dedicated-key SSH authentication, isolated installation and operator checks
29
+ below used **published 0.3.1**, not a claimed 0.3.2 release. Destination:
30
+ Windows 10 Pro x64 build 19045, PowerShell 5.1, Node 24.16.0 (ABI 137), bundled
31
+ npm 11.13.0, administrator account. All installation, caches, test fixtures and
32
+ child HOME/TEMP writes were confined to a newly created dedicated test prefix.
33
+ The account/host was not disposable and was not a non-administrator test.
34
+ Existing PATH, profiles, SSH server configuration and Python installation were
35
+ preserved.
36
+
37
+ Package SHA-256:
38
+ `ba8b85b03229bc99ca30d52251790d7e75b90551de924b99edce22570f7fa401`.
39
+ Registry integrity and all three dependency archives matched the lockfile at
40
+ `6b48092a0e42992d2d970dd2ff5cf457f62d3ff2`.
41
+ Operator-side signature audit verified four registry signatures and three
42
+ attestations; the package SLSA subject digest, source SHA, repository and
43
+ `publish.yml` matched. Upload bytes were checked again before offline install.
44
+
45
+ - Offline installation used absolute Node/npm paths, separate empty user/global
46
+ npm configuration files, empty cache and `--ignore-scripts`; installed lock
47
+ integrities matched the pinned dependency set.
48
+ - The self-locating `.cmd` wrapper returned the exact 0.3.1 banner in staging
49
+ and after `Directory.Move` activation. Native Windows file locking passed.
50
+ - Operator CLI over SSH used `--host`, `--remote-platform win32` and an
51
+ explicit `--remote-bin` pointing to the isolated wrapper. Both commands
52
+ passed the same-version `--version` preflight before `--stdio-request`.
53
+ Doctor returned `ok:true`, `diagnosticCompleted:true`,
54
+ `ready:false`, exit 0; nonexistent-target send dry-run
55
+ `no_reachable_target`, `status:refused`, `submitted:false`, exit 1. Local
56
+ wrapper dry-run exit 2 is separate evidence. No actual agent message sent.
57
+ - Operator checks preceded receipt publication and activation-lock release.
58
+
59
+ The private Windows storage/recovery fixture matrix returned **31 passed,
60
+ zero failed, three untested**. These are native storage and local-wrapper
61
+ fixtures; only the primary install additionally has operator SSH evidence.
62
+
63
+ | Exercised group | Result |
64
+ |---|---|
65
+ | Absent/empty/file/foreign classification; junction and foreign owner | Expected classifications/refusals |
66
+ | Matching receipt reuse; missing receipt recovery under a fresh lock | Passed; original marker runId retained in recovery receipt |
67
+ | Corrupt/mismatched/orphan receipt; unsafe receipt DACL/junction | Refused |
68
+ | Inconsistent marker; modified manifest; existing target activation | Refused |
69
+ | Lock contention; missing owner; wrong/unconfirmed owner; explicit override | Expected refusals and explicit-only recovery |
70
+ | Ended-run break followed by fresh-lock reverify; existing receipt preservation | Passed |
71
+ | Rollback without positive caller-unused evidence | Refused |
72
+ | Confirmed rollback, failed-verification rollback, caller rollback | Passed |
73
+ | Configured-install retention refusal; verified unused install+receipt removal | Passed |
74
+ | Copied Node24 path changes identity; staging never treated as final install | Passed |
75
+
76
+ The three untested matrix cells were F6 same-path runtime enforcement,
77
+ non-admin/other architectures, and a complete Node-22 installation/recovery
78
+ qualification. Node22 direct smoke below is separate. These fixtures do not
79
+ prove adversarial races or a production deploy helper. Final cleanup was
80
+ performed only after checking harness ownership and the saved fixture inventory.
81
+ The test prefix was removed; cleanup reported the existing Python launcher
82
+ unchanged. A separate post-cleanup SSH read verified prefix absence and the
83
+ same launcher SHA-256. Dedicated SSH authorization remains separate from
84
+ runtime installation; no private key or password is included in this record.
85
+
86
+ An additional Node 22.23.3 x64 (ABI 127) direct-CLI banner and native-lock
87
+ smoke passed against the same installed published package. The Node ZIP
88
+ matched the HTTPS-served official SHASUMS256; no GPG-signature check was
89
+ performed. This was not a second Node-22 installation/identity or recovery
90
+ matrix. Windows-client jump, non-admin, other architectures and F6
91
+ runtime-identity enforcement remain outside this qualification. The earlier
92
+ Linux run and its untested newer recovery rules remain historical evidence.
93
+
94
+
95
+ This dated record covers the 0.3.2 preparation checkpoint; public 0.3.1,
96
+ 0.3.0, 0.2.1 and 0.2.0 verification; historical 0.1.0 public verification;
97
+ earlier candidate checks and live-agent observations. Older sections
5
98
  describe their stated checkpoint rather than current feature availability.
6
99
  It does not claim complete Python parity.
7
100
  Python reference: v1.0.2, commit `47c23713d0a2a3c11ebde6186afd8c43489b8b65`.
8
101
 
102
+ ## Public 0.3.1 — 2026-10-04 KST
103
+
104
+ `session-peer@0.3.1` was published at `2026-10-04T14:32:10.826Z`
105
+ (23:32:10.826 KST). The public registry reports `latest=0.3.1` and unchanged
106
+ `preview=0.1.0-preview.1`.
107
+
108
+ - Published source: `6b48092a0e42992d2d970dd2ff5cf457f62d3ff2`, the #104 merge.
109
+ [Exact-main CI](https://github.com/abruption/session-peer-ts/actions/runs/37208760455)
110
+ and [CodeQL](https://github.com/abruption/session-peer-ts/actions/runs/37208760542)
111
+ passed. [Publication run](https://github.com/abruption/session-peer-ts/actions/runs/37209205194)
112
+ completed prepare/publish; GitHub records `abruption` approving environment `npm`.
113
+ - Stage ID: `5d846a99-18a7-4ec0-873e-b1b05056fb42`. The authenticated stage
114
+ download, retained Actions artifact, exact-source local pack and public tarball
115
+ are byte-identical: 190,315 bytes, 51 files. All 16 packaged Markdown files were
116
+ compared byte for byte with the published source. The source tree equals the
117
+ reviewed preparation head; commit identity is the merged SHA above.
118
+ - SHA-256: `ba8b85b03229bc99ca30d52251790d7e75b90551de924b99edce22570f7fa401`.
119
+ - Registry integrity:
120
+ `sha512-iZq06dbm6NavHuPZYMIxAnzQN5ksqm66yufpppddVWUYkuaG5TJvktbUXTSX7v3BBFnuybEJekI0KSaDo3Xfbg==`.
121
+ - Public publish/SLSA attestation subject digests match the package SHA-512.
122
+ Provenance binds the source SHA, repository, `.github/workflows/publish.yml`
123
+ and run `37209205194/attempts/1`. Public registry metadata names GitHub Actions
124
+ as Trusted Publisher and `abruption` as approver.
125
+ - `release.mjs artifact` and `verify` passed from the exact publication source
126
+ and artifact on macOS arm64, Node 24.16.0/npm 11.15.0. Verification includes
127
+ npm signature/attestation audit and a fresh public `--ignore-scripts` install,
128
+ `session-peer 0.3.1 (typescript)`, empty isolated Claude listing and clean removal.
129
+ Independent public-key/DSSE checks also passed for the subject digests and
130
+ signatures; npm's audit provides the package signature/attestation trust validation.
131
+
132
+ The 0.3.1 archive includes the reliability fixes and the migration wording
133
+ correction missing from 0.3.0. It retains dated preparation/public-history
134
+ records; this post-publication section is a later repository record, not a
135
+ same-version tarball replacement. No restaging or republication was performed.
136
+
137
+ SSH endpoints must use identical TS versions: 0.3.0 and 0.3.1 refuse each other
138
+ at preflight. Existing #20/#23 and update-notice Windows validation gaps remain.
139
+ Windows evidence is CI fixtures; the installation evidence above is local macOS.
140
+ The 0.2.1 demo's actual ACK remains historical. No fleet upgrade or GitHub tag/
141
+ Release creation is claimed. Draft #82 remains experimental and unmerged.
142
+
9
143
  ## 0.3.1 candidate checks — 2026-10-04 KST
10
144
 
11
145
  Source candidate on merged main `cb661ff4f323f637673d528f05992a2bb275fefc`
@@ -1,5 +1,5 @@
1
- export declare const VERSION = "0.3.1";
2
- export declare const VERSION_LINE = "session-peer 0.3.1 (typescript)";
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.1';
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
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.1` before importing it.
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.1
13
- console.log(VERSION_LINE); // session-peer 0.3.1 (typescript)
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 through 0.3.1 the local client
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.1 (typescript)` (`VERSION_LINE` in `src/protocol.ts`),
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
@@ -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`). Recompute SHA-256 remotely (`sha256sum`/`shasum -a 256`, or
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 <three tarballs>`
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 afterwards remain **unvalidated, on Linux too**:
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
- - The full workflow against a real **Windows** SSH destination. The Linux
763
- x86_64/glibc cell was run once (see above); other POSIX cells were not.
764
- - Windows: upload and hashing (`Get-FileHash`), `[System.IO.Directory]::Move`
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
- and not on Windows: failed-activation rollback, marker- and receipt-guarded
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
- - Not exercised anywhere: the explicit recovery of an unreceipted target under
774
- a fresh lock, corrupt, mismatched or orphan receipt handling, `.receipts`
775
- trust checks, and the operator override for unconfirmable lock owners. The
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 destinations under this workflow on Windows, arm64 or macOS (Linux
783
- x86_64 Node 22.23.3 was exercised).
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
- Because of these gaps, issue #23's last criterion ("validate the selected
788
- workflow with isolated POSIX and Windows destinations") is **not** met. The
789
- POSIX (Linux x86_64) cell of F5 is recorded. **The Windows cell is unmet.**
790
- Local stubs do not count toward either cell.
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
- 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.0 公開リリースの証拠](../VALIDATION.md#public-030--2026-10-03-kst) にあります。以下の 0.1.0 の説明は旧版との比較です。
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.1 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
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.1)が必要です。
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
 
@@ -62,12 +64,12 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
62
64
  Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
63
65
 
64
66
  ```sh
65
- npm view session-peer@0.3.1 version dist.integrity
66
- npm install --global --ignore-scripts session-peer@0.3.1
67
+ npm view session-peer@0.3.2 version dist.integrity
68
+ npm install --global --ignore-scripts session-peer@0.3.2
67
69
  session-peer --version
68
70
  ```
69
71
 
70
- 期待値は `session-peer 0.3.1 (typescript)`。
72
+ 期待値は `session-peer 0.3.2 (typescript)`。
71
73
 
72
74
  1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
73
75
  2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
@@ -86,7 +88,7 @@ npm run build
86
88
  node dist/cli.js --version
87
89
  npm pack --ignore-scripts
88
90
  # 任意のグローバルインストール前に PATH の既存コマンドを確認
89
- npm install --global --ignore-scripts ./session-peer-0.3.1.tgz
91
+ npm install --global --ignore-scripts ./session-peer-0.3.2.tgz
90
92
  session-peer --version
91
93
  ```
92
94
 
@@ -96,7 +98,7 @@ session-peer --version
96
98
 
97
99
  インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
98
100
 
99
- 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.1.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` で削除します。
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` で削除します。
100
102
 
101
103
  ## 使い方
102
104
 
@@ -189,7 +191,7 @@ Python は開発時の互換検証基準のみです(v1.0.2、`47c23713d0a2a3c
189
191
  [0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
190
192
 
191
193
  ```sh
192
- npm view session-peer@0.3.1 version dist.integrity
194
+ npm view session-peer@0.3.2 version dist.integrity
193
195
  npm view session-peer dist-tags
194
196
  ```
195
197
 
@@ -231,7 +233,7 @@ session-peer update --check --channel preview --output-format text
231
233
  実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
232
234
  対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
233
235
  (既定、Homebrew、nvm、nvm-windows、fnm。例:
234
- `npm install --global --ignore-scripts session-peer@0.3.1`)、マニフェストで
236
+ `npm install --global --ignore-scripts session-peer@0.3.2`)、マニフェストで
235
237
  `session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
236
238
  です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
237
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
- 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.0 공개 릴리스 증거](../VALIDATION.md#public-030--2026-10-03-kst)에 있습니다. 아래 0.1.0 설명은 이전 버전과의 비교입니다.
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.1 사용 안내입니다.** 패키지명은
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.1)이 필요합니다.
64
+ SSH 양쪽에는 같은 TypeScript 클라이언트 버전(0.3.2)이 필요합니다.
63
65
 
64
66
  ### 0.2.0 CLI 사용성
65
67
 
@@ -90,12 +92,12 @@ Node 22.x의 22.13 이상 또는 24.x를 사용하고 설치할 정확한 버전
90
92
  Python CLI도 같은 명령어를 사용하므로 기존 설치본이 있다면 먼저 PATH를 확인하세요.
91
93
 
92
94
  ```sh
93
- npm view session-peer@0.3.1 version dist.integrity
94
- npm install --global --ignore-scripts session-peer@0.3.1
95
+ npm view session-peer@0.3.2 version dist.integrity
96
+ npm install --global --ignore-scripts session-peer@0.3.2
95
97
  session-peer --version
96
98
  ```
97
99
 
98
- 예상 출력은 `session-peer 0.3.1 (typescript)`입니다.
100
+ 예상 출력은 `session-peer 0.3.2 (typescript)`입니다.
99
101
 
100
102
  1. `session-peer list --agent claude --json`으로 대상을 찾고 정확한 PID를 선택합니다.
101
103
  2. `session-peer send --to CLAUDE_PID --message '확인 후 회신해 주세요.' --dry-run --json`으로 제출 없이 검증합니다.
@@ -115,7 +117,7 @@ npm run build
115
117
  node dist/cli.js --version
116
118
  npm pack --ignore-scripts
117
119
  # 선택 사항: PATH에서 사용할 구현을 명시적으로 선택한 뒤 전역 설치
118
- npm install --global --ignore-scripts ./session-peer-0.3.1.tgz
120
+ npm install --global --ignore-scripts ./session-peer-0.3.2.tgz
119
121
  session-peer --version
120
122
  ```
121
123
 
@@ -138,7 +140,7 @@ Python CLI를 덮어쓰지 않으려면 격리 prefix에 설치·제거할 수
138
140
  npm ci --ignore-scripts
139
141
  npm run build
140
142
  npm pack --ignore-scripts
141
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.1.tgz
143
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.2.tgz
142
144
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
143
145
  # 이후 제거: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
144
146
  ```
@@ -368,7 +370,7 @@ npm 자동 발행은 활성화하지 않았습니다. [MIT 라이선스](../LICE
368
370
  [0.2.1 공개 기록](../VALIDATION.md#public-021--2026-09-29-kst)을 참고하고(이후 릴리스는 각자의 날짜별 기록을 추가합니다) 설치 전 정확한 버전과 현재 태그를 확인하세요.
369
371
 
370
372
  ```sh
371
- npm view session-peer@0.3.1 version dist.integrity
373
+ npm view session-peer@0.3.2 version dist.integrity
372
374
  npm view session-peer dist-tags
373
375
  ```
374
376
 
@@ -412,7 +414,7 @@ dist-tag를 한 번 요청하고(3초 제한, 재시도 없음) `current`, `late
412
414
  `up_to_date`, `ahead`), `managedBy`, `updateCommand`, `guidance`를 보고합니다. 명령은
413
415
  실행 중인 CLI 경로로 설치 주체를 확실히 식별할 때만 제공합니다. 해당하는 경우는
414
416
  자체 `session-peer` 실행기가 이 패키지를 가리키는 npm 전역 prefix(기본, Homebrew, nvm,
415
- nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.3.1`),
417
+ nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.3.2`),
416
418
  매니페스트에 `session-peer`가 선언된 pnpm·Yarn·Bun 전역 저장소, Volta, npx 캐시입니다.
417
419
  프로젝트 설치(`npm_project`, `pnpm_project`), 소스 체크아웃(`source`), 그 밖의
418
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
- This guide covers 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.0 release evidence](../VALIDATION.md#public-030--2026-10-03-kst) records the previous publication. References to 0.1.0 below describe the older release.
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.1 ([reliability fixes](../PARITY.md#031-reliability-fixes)
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.1**. The npm package and CLI command are both **`session-peer`**. This
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,9 +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 view session-peer@0.3.1 version dist.integrity
37
- npm install --global --ignore-scripts session-peer@0.3.1
38
- session-peer --version # session-peer 0.3.1 (typescript)
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)
39
41
  session-peer list --agent claude --json
40
42
  session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
41
43
  ```
@@ -102,7 +104,7 @@ submits nothing. JSON adds sanitized `codexHomeResolution` and, when supplied by
102
104
  native queue output, `queueId`; neither confirms consumption. See the
103
105
  [selection contract](../PARITY.md#source-codex-home-selection--17--020).
104
106
  Published **0.1.0** still requires an explicit live home and has no inactive opt-in.
105
- On SSH, both ends need the same TypeScript client version (0.3.1).
107
+ On SSH, both ends need the same TypeScript client version (0.3.2).
106
108
 
107
109
  ## Requirements
108
110
 
@@ -126,11 +128,11 @@ npm run build
126
128
  node dist/cli.js --version
127
129
  npm pack --ignore-scripts
128
130
  # Optional global install: first check which session-peer your PATH selects.
129
- npm install --global --ignore-scripts ./session-peer-0.3.1.tgz
131
+ npm install --global --ignore-scripts ./session-peer-0.3.2.tgz
130
132
  session-peer --version
131
133
  ```
132
134
 
133
- Expected: `session-peer 0.3.1 (typescript)`. Keep the `./...tgz` path to
135
+ Expected for version 0.3.2: `session-peer 0.3.2 (typescript)`. Keep the `./...tgz` path to
134
136
  select the locally built artifact. Check the checkout version before using
135
137
  these commands for a later release.
136
138
 
@@ -150,7 +152,7 @@ On Windows PowerShell, inspect competing commands with
150
152
  npm ci --ignore-scripts
151
153
  npm run build
152
154
  npm pack --ignore-scripts
153
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.1.tgz
155
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.2.tgz
154
156
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
155
157
  # Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
156
158
  ```
@@ -417,7 +419,7 @@ Later releases add their own dated records. Check the exact version and current
417
419
  tags before installing:
418
420
 
419
421
  ```sh
420
- npm view session-peer@0.3.1 version dist.integrity
422
+ npm view session-peer@0.3.2 version dist.integrity
421
423
  npm view session-peer dist-tags
422
424
  ```
423
425
 
@@ -469,7 +471,7 @@ and reports `current`, `latest`, `channel` (`latest` by default, or `preview`),
469
471
  installation's owner is positively identified from the running CLI's path:
470
472
  an npm global prefix whose own `session-peer` launcher points at this package
471
473
  (default, Homebrew, nvm, nvm-windows and fnm prefixes), for example
472
- `npm install --global --ignore-scripts session-peer@0.3.1`; a pnpm, Yarn or Bun
474
+ `npm install --global --ignore-scripts session-peer@0.3.2`; a pnpm, Yarn or Bun
473
475
  global store whose manifest declares `session-peer`; Volta; or the npx cache.
474
476
  Project installs (`npm_project`, `pnpm_project`), source checkouts (`source`)
475
477
  and anything else (`unknown`) get `updateCommand: null` and a `guidance`
@@ -4,7 +4,9 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- 这是 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.0 公开发布证据](../VALIDATION.md#public-030--2026-10-03-kst);下文 0.1.0 的说明用于旧版本对比。
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。这是运行于 Node.js 的 TypeScript 客户端,不需要 Python。
23
25
 
24
- **这是 0.3.1 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
26
+ **这是 0.3.2 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
25
27
 
26
28
  ## 功能与边界
27
29
 
@@ -38,7 +40,7 @@
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.1)。
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
 
@@ -61,12 +63,12 @@ macOS、Linux 或 Windows native;Node **22.x 中的 22.13 及以上,或 24.x
61
63
  使用 Node 22.x 的 22.13 及以上或 24.x,并确认要安装的确切版本是否已发布。Python CLI 也使用同一个命令名;若已有安装,请先检查 PATH。
62
64
 
63
65
  ```sh
64
- npm view session-peer@0.3.1 version dist.integrity
65
- npm install --global --ignore-scripts session-peer@0.3.1
66
+ npm view session-peer@0.3.2 version dist.integrity
67
+ npm install --global --ignore-scripts session-peer@0.3.2
66
68
  session-peer --version
67
69
  ```
68
70
 
69
- 预期输出:`session-peer 0.3.1 (typescript)`。
71
+ 预期输出:`session-peer 0.3.2 (typescript)`。
70
72
 
71
73
  1. 用 `session-peer list --agent claude --json` 查找目标并选择准确 PID。
72
74
  2. 用 `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` 验证,不提交。
@@ -85,7 +87,7 @@ npm run build
85
87
  node dist/cli.js --version
86
88
  npm pack --ignore-scripts
87
89
  # 可选:全局安装前先检查 PATH 选择的现有命令
88
- npm install --global --ignore-scripts ./session-peer-0.3.1.tgz
90
+ npm install --global --ignore-scripts ./session-peer-0.3.2.tgz
89
91
  session-peer --version
90
92
  ```
91
93
 
@@ -95,7 +97,7 @@ session-peer --version
95
97
 
96
98
  安装前后用 `type -a session-peer` 和 `command -v session-peer` 检查实际执行项。其他实现也可能提供同名命令;请选择 PATH 上的一种,或显式运行 `node /absolute/path/dist/cli.js`。不要用 `--force` 覆盖其他管理器的文件。本包不会自动安装、删除或调整 Python 包、技能或服务。卸载使用 `npm uninstall --global session-peer`,随后再次检查 PATH。
97
99
 
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.1.tgz` 安装到隔离目录。以 `& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version` 验证,并可用 `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` 卸载。
100
+ 在 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` 验证,并可用 `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` 卸载。
99
101
 
100
102
  ## 使用
101
103
 
@@ -189,7 +191,7 @@ Python 只用作开发时的兼容性基准(v1.0.2,`47c23713d0a2a3c11ebde618
189
191
  安装前核对准确版本与当前标签。
190
192
 
191
193
  ```sh
192
- npm view session-peer@0.3.1 version dist.integrity
194
+ npm view session-peer@0.3.2 version dist.integrity
193
195
  npm view session-peer dist-tags
194
196
  ```
195
197
 
@@ -228,7 +230,7 @@ dist-tag(3 秒超时,不重试),并报告 `current`、`latest`、`channe
228
230
  `ahead`)、`managedBy`、`updateCommand` 和 `guidance`。只有根据当前 CLI 路径能确切识别
229
231
  安装的管理方时才给出命令:其自身 `session-peer` 启动器指向本包的 npm 全局 prefix
230
232
  (默认、Homebrew、nvm、nvm-windows、fnm,例如
231
- `npm install --global --ignore-scripts session-peer@0.3.1`),清单中声明了
233
+ `npm install --global --ignore-scripts session-peer@0.3.2`),清单中声明了
232
234
  `session-peer` 的 pnpm、Yarn、Bun 全局存储,Volta,或 npx 缓存。项目安装
233
235
  (`npm_project`、`pnpm_project`)、源码检出(`source`)以及其他情况(`unknown`)只返回
234
236
  `updateCommand: null` 和一句 `guidance`,因此不会给出可能修改无关当前目录的命令。它只报告
package/docs/shorthand.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Optional `sp` shorthand
2
2
 
3
+ This reference describes source/package version 0.3.2. Check registry availability before using a version-pinned npm installation; before publication use a reviewed source artifact. The shorthand forwards to the explicitly selected CLI and does not install or upgrade it.
4
+
3
5
  [README](../README.md) · [User guide](guide.md)
4
6
 
5
7
  This feature ships with 0.3.0 and later ([#74](https://github.com/abruption/session-peer-ts/issues/74)).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "session-peer",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",