session-peer 0.4.0 → 0.5.1

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.
@@ -2,6 +2,66 @@
2
2
 
3
3
  This document retains the original TS source proposal and dated design review for [#118](https://github.com/abruption/session-peer-ts/issues/118), based on the companion [Draft #20 at `963c3d7`](https://github.com/abruption/session-peer-skill/blob/963c3d748a11b1164013ee26c9c0ef285c52b285/docs/typescript-compatibility.md). Companion [design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the full static review of the exact candidates below on 2026-10-09. This design-only acceptance does not authorize runtime merge/release, successor skill metadata/publication, installation or pin changes, content authenticity, or live delivery support.
4
4
 
5
+ ## 0.5.1 finite row — 2026-10-27 KST release preparation
6
+
7
+ The 0.5.1 source candidate explicitly accepts the same four exact metadata
8
+ profiles as public 0.5.0: skill 0.1.0, 0.2.0, 0.2.1 and 0.3.0. Compiled default,
9
+ explicit `undefined`, explicit 0.5.1 and outer `inspectSkill` use this finite row.
10
+ The literal compatible result remains
11
+ `compatible / skill_contract_compatible / metadata_only`. Changed profiles and
12
+ unreviewed runtime identities such as 0.5.2 remain incompatible; malformed
13
+ runtime identities remain `unknown / skill_metadata_missing` without a
14
+ `verification` property. All historical rows remain explicit and unchanged.
15
+
16
+ The TOML dependency-correctness patch does not change this metadata parser or
17
+ its bounded reader, publish a new skill, adopt another installation pin or add
18
+ platform/ACK qualification. Runtime publication still requires its release gates;
19
+ these source fixtures are not proof of an actual npm publication. The existing
20
+ four-language skill 0.2.1 source/hash below remain unchanged.
21
+
22
+ ## 0.5.0 finite row — historical release preparation
23
+
24
+ The 0.5.0 source candidate explicitly carries forward the same four exact skill
25
+ profiles as public 0.4.0: 0.1.0, 0.2.0, 0.2.1 and 0.3.0. The 0.3.0 profile
26
+ retains its `runtime-min-version: 0.1.0`, `runtime-full-version: 0.4.0`,
27
+ `runtime-implementation: typescript` and `runtime-capability-policy: probe-help`;
28
+ there is no new skill metadata or range-based acceptance. Compiled/default,
29
+ explicit `undefined`, explicit 0.5.0 and outer `inspectSkill` use that finite row.
30
+ Historical rows, parser/reader behavior, mismatch/unknown envelopes and the
31
+ immutable complete-file review fixtures stay unchanged. Unreviewed 0.5.1 and
32
+ 0.6.0 identities remain incompatible, while malformed runtime identities remain
33
+ unknown with no verification field. Compatibility remains `metadata_only`, not
34
+ content authentication, feature qualification, send permission or ACK evidence.
35
+
36
+ This source change does not establish npm publication or install/update a skill.
37
+ The four-language guidance continues to use the published skill 0.2.1 source
38
+ `0f494cabd05901c03161dc91792dcf89f8e96631` and SHA-256
39
+ `8c3520f95e0d6807303be96bfa06df69887ddaf76be05f1905505d0a956820c3`.
40
+ Acceptance of the existing 0.3.0 metadata profile does not adopt a new installation
41
+ pin. Linux/Windows native observation and automatic ACK support are unaffected.
42
+
43
+ ## Public 0.4.0 guard verification — 2026-10-18 KST
44
+
45
+ The public 0.4.0 tarball from source
46
+ `dde3923efe116f87f38b1639b29b889d2b832e44` has verified registry integrity
47
+ `sha512-mMNJ118atoflhpFTkf2+DtO7MRf7FQnPK3lKWbq/vd8Xvb5DsjUtAgydIBOcd3Xj9BCYGqM50aFhzUr4dDGHSw==`.
48
+ An isolated, version-specific npm installation ran its actual bundled pure
49
+ validator against published skill 0.2.1 and the complete companion Draft #37
50
+ candidate at `a969260cd511b7b81631884ff856edaf0d0d457b` (22,973 raw UTF-8 bytes,
51
+ SHA-256 `7571c79fb7ac164002daf0bf3aa7c5ba40ca8d99f5610a04d7860eee7b27df68`).
52
+ Compiled default, explicit undefined, explicit 0.4.0 and outer `inspectSkill`
53
+ returned exactly compatible/skill_contract_compatible/metadata_only. Historical
54
+ 0.3.2–0.3.6 identities rejected the new profile, and unreviewed 0.3.7/0.4.1
55
+ identities remained incompatible. Supplying a historical identity to this new
56
+ helper is not execution of a historical CLI.
57
+
58
+ These are bounded metadata checks: candidate instructions were not executed,
59
+ and no native delivery, model or ACK test was added. The isolated installation
60
+ was removed. The candidate remains a separately approved skill-publication
61
+ step, not an installed skill or adopted pin. Existing published 0.2.1 source
62
+ and hash remain unchanged. The earlier fixture/checkpoint records below retain
63
+ their original exact bytes and scope.
64
+
5
65
  ## 0.4.0 finite row
6
66
 
7
67
  TS source/package 0.4.0 preserves the three reviewed profiles accepted by public 0.3.6 (skill 0.1.0, 0.2.0 and published 0.2.1) and adds exactly `0.3.0 / typescript / min 0.1.0 / full 0.4.0 / probe-help` for runtime 0.4.0 only. Compiled default, explicit `undefined`, explicit 0.4.0 and outer `inspectSkill` use this finite row. All historical runtime/profile verdicts remain unchanged; old runtime identities reject the new profile, and 0.3.7, 0.4.1 and other unreviewed runtime identities remain incompatible. Parser/reader behavior and malformed/unsupported envelopes are unchanged. This is a finite row, not a SemVer range or a skill publication.
package/docs/guide.ja.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- **文書・ソースのバージョン: 0.4.0。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.4.0 は互いの SSH 事前確認を拒否します。
7
+ **文書・ソースのバージョン: 0.5.1。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.5.1 は互いの SSH 事前確認を拒否します。
8
8
 
9
- **0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。
9
+ **0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.5.1 のソースは選択できない Linux arm64 の Codex 0.162.1 候補(固定された上流 `aarch64-unknown-linux-musl` 実行ファイル、スキーマ、注入テスト 1 回)を記録しますが、Linux 観測を有効化しません。Linux の native 観測は引き続き未対応です。
10
10
 
11
- 0.4.0 の詳細ガイドです([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 の説明は旧版との比較です。
11
+ 0.5.1 の詳細ガイドです([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 の説明は旧版との比較です。
12
12
 
13
13
  <a id="移行時の境界-033-候補"></a>
14
14
 
@@ -44,7 +44,7 @@
44
44
 
45
45
  実行中の **Claude Code と Codex セッション**に、ローカルまたは SSH 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
46
46
 
47
- **0.4.0 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
47
+ **0.5.1 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
48
48
 
49
49
  ## 機能と範囲
50
50
 
@@ -61,7 +61,7 @@ Relay 通信、MCP、wake/resume、Antigravity、自動更新は未実装です
61
61
 
62
62
  ビルド後の `node dist/cli.js list --json` は Claude/Codex をまとめて表示し、`list --agent codex --json` は既知の home を検索します。公開 npm **0.1.0** では引き続き agent と Codex 一覧の home を明示します。0.2.0 でも明示的なコマンド形式を利用できます。
63
63
 
64
- 対象は既定の `~/.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.4.0)が必要です。
64
+ 対象は既定の `~/.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.5.1)が必要です。
65
65
 
66
66
  ### 0.2.0 CLI の使いやすさ
67
67
 
@@ -84,15 +84,15 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
84
84
 
85
85
  Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
86
86
 
87
- **0.4.0 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
87
+ **0.5.1 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
88
88
 
89
89
  ```sh
90
- npm view session-peer@0.4.0 version dist.integrity
91
- npm install --global --ignore-scripts session-peer@0.4.0
90
+ npm view session-peer@0.5.1 version dist.integrity
91
+ npm install --global --ignore-scripts session-peer@0.5.1
92
92
  session-peer --version
93
93
  ```
94
94
 
95
- 期待値は `session-peer 0.4.0 (typescript)`。
95
+ 期待値は `session-peer 0.5.1 (typescript)`。
96
96
 
97
97
  1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
98
98
  2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
@@ -111,7 +111,7 @@ npm run build
111
111
  node dist/cli.js --version
112
112
  npm pack --ignore-scripts
113
113
  # 任意のグローバルインストール前に PATH の既存コマンドを確認
114
- npm install --global --ignore-scripts ./session-peer-0.4.0.tgz
114
+ npm install --global --ignore-scripts ./session-peer-0.5.1.tgz
115
115
  session-peer --version
116
116
  ```
117
117
 
@@ -121,7 +121,7 @@ session-peer --version
121
121
 
122
122
  インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
123
123
 
124
- 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.4.0.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` で削除します。
124
+ 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.5.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` で削除します。
125
125
 
126
126
  ## 使い方
127
127
 
@@ -212,13 +212,13 @@ Python は開発時の比較基準です(v1.1.0、`8ca77cf31254c8287a2593fe484
212
212
 
213
213
  ## npm リリース
214
214
 
215
- 公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.4.0 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
215
+ 公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.5.1 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
216
216
 
217
217
  0.2.1 は 2026-09-29 KST、0.2.0 は 2026-09-28 KST に公開・検証されました。
218
218
  [0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
219
219
 
220
220
  ```sh
221
- npm view session-peer@0.4.0 version dist.integrity
221
+ npm view session-peer@0.5.1 version dist.integrity
222
222
  npm view session-peer dist-tags
223
223
  ```
224
224
 
@@ -260,7 +260,7 @@ session-peer update --check --channel preview --output-format text
260
260
  実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
261
261
  対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
262
262
  (既定、Homebrew、nvm、nvm-windows、fnm。例:
263
- `npm install --global --ignore-scripts session-peer@0.4.0`)、マニフェストで
263
+ `npm install --global --ignore-scripts session-peer@0.5.1`)、マニフェストで
264
264
  `session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
265
265
  です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
266
266
  アウト(`source`)、それ以外(`unknown`)では `updateCommand: null` と `guidance` の文だけを
@@ -355,4 +355,4 @@ native 観測は、macOS arm64 の厳密な Codex 0.160.1/0.162.1 と既存の
355
355
 
356
356
  [Observation](api.md#unreleased-local-delivery-observation--72)
357
357
 
358
- Linux・Windows の native 注入観測は未対応です。対応する POSIX ledger では、運用者が明示的に確認した受領を `operator_confirmed` として記録できますが、自動 ACK 収集ではありません。0.4.0 の範囲は、検証済みの macOS 観測と明示的な運用者確認です。Linux・Windows 観測と receipt bootstrap は [#130](https://github.com/abruption/session-peer-ts/issues/130)、[#131](https://github.com/abruption/session-peer-ts/issues/131)、[#132](https://github.com/abruption/session-peer-ts/issues/132) の後続作業です。
358
+ Linux・Windows の native 注入観測は未対応です。 0.5.1 のソースは選択できない Linux arm64 の Codex 0.162.1 候補(固定された上流 `aarch64-unknown-linux-musl` 実行ファイル、スキーマ、注入テスト 1 回)を記録しますが、Linux 観測を有効化しません。Linux の native 観測は引き続き未対応です。対応する POSIX ledger では、運用者が明示的に確認した受領を `operator_confirmed` として記録できますが、自動 ACK 収集ではありません。0.4.0 の範囲は、検証済みの macOS 観測と明示的な運用者確認です。Linux・Windows 観測と receipt bootstrap は [#130](https://github.com/abruption/session-peer-ts/issues/130)、[#131](https://github.com/abruption/session-peer-ts/issues/131)、[#132](https://github.com/abruption/session-peer-ts/issues/132) の後続作業です。
package/docs/guide.ko.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- **문서·소스 기준 버전: 0.4.0.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6과 0.4.0은 서로의 SSH 사전 확인을 거부합니다.
7
+ **문서·소스 기준 버전: 0.5.1.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6과 0.5.1은 서로의 SSH 사전 확인을 거부합니다.
8
8
 
9
- **0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다.
9
+ **0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.5.1 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다.
10
10
 
11
- 이 가이드는 0.4.0을 다룹니다([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을 언급할 때는 이전 버전을 설명합니다.
11
+ 이 가이드는 0.5.1을 다룹니다([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을 언급할 때는 이전 버전을 설명합니다.
12
12
 
13
13
  <a id="마이그레이션-경계-033-후보"></a>
14
14
 
@@ -96,7 +96,7 @@ JSON에는 정제된 `codexHomeResolution`이 포함되며, 네이티브 응답
96
96
  `queueId`도 포함됩니다. 둘 다 메시지를 읽거나 처리했음을 확인하지 않습니다.
97
97
  [홈 선택 계약](../PARITY.md#source-codex-home-selection--17--020)을 참고하세요.
98
98
  공개 **0.1.0**은 여전히 실행 중인 홈을 명시해야 하며 비활성 세션 허용 옵션이 없습니다.
99
- SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.4.0)을 설치해야
99
+ SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.5.1)을 설치해야
100
100
  합니다.
101
101
 
102
102
  <a id="020-cli-사용성"></a>
@@ -136,20 +136,20 @@ Claude Code에는 받은 메시지함에 접근할 수 있는 실행 중 TUI(터
136
136
 
137
137
  Node 22.x의 22.13 이상 또는 24.x를 사용하세요. Python CLI도 같은 `session-peer`
138
138
  명령 이름을 쓰므로, 설치 전에 PATH(명령 검색 경로)에서 어떤 실행 파일을 찾는지
139
- 확인하세요. 아래 명령은 선택한 0.4.0을 npm으로 설치하는 예입니다.
139
+ 확인하세요. 아래 명령은 선택한 0.5.1을 npm으로 설치하는 예입니다.
140
140
  CLI 자체는 패키지를 설치하거나 업데이트하지 않습니다.
141
141
 
142
- **0.4.0 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
142
+ **0.5.1 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
143
143
 
144
144
  ```sh
145
- npm view session-peer@0.4.0 version dist.integrity
146
- npm install --global --ignore-scripts session-peer@0.4.0
147
- session-peer --version # session-peer 0.4.0 (typescript)
145
+ npm view session-peer@0.5.1 version dist.integrity
146
+ npm install --global --ignore-scripts session-peer@0.5.1
147
+ session-peer --version # session-peer 0.5.1 (typescript)
148
148
  session-peer list --agent claude --json
149
149
  session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
150
150
  ```
151
151
 
152
- 예상 결과는 `session-peer 0.4.0 (typescript)`입니다.
152
+ 예상 결과는 `session-peer 0.5.1 (typescript)`입니다.
153
153
 
154
154
  1. 세션을 조회하고 `CLAUDE_PID`를 대상으로 선택한 정확한 PID로 바꾸세요.
155
155
  2. `--dry-run`으로 검증합니다. 이 단계에서는 메시지를 제출하지 않습니다.
@@ -177,11 +177,11 @@ npm run build
177
177
  node dist/cli.js --version
178
178
  npm pack --ignore-scripts
179
179
  # Optional global install: first check which session-peer your PATH selects.
180
- npm install --global --ignore-scripts ./session-peer-0.4.0.tgz
180
+ npm install --global --ignore-scripts ./session-peer-0.5.1.tgz
181
181
  session-peer --version
182
182
  ```
183
183
 
184
- 0.4.0에서 예상되는 결과는 `session-peer 0.4.0 (typescript)`입니다. 로컬 빌드
184
+ 0.5.1에서 예상되는 결과는 `session-peer 0.5.1 (typescript)`입니다. 로컬 빌드
185
185
  산출물을 선택하려면 `./...tgz` 경로를 그대로 두세요. 이후 버전에 이 명령을 사용할
186
186
  때는 먼저 체크아웃한 소스의 버전을 확인하세요.
187
187
 
@@ -202,7 +202,7 @@ Python CLI를 덮어쓰지 않으려면 격리 prefix에 설치·제거할 수
202
202
  npm ci --ignore-scripts
203
203
  npm run build
204
204
  npm pack --ignore-scripts
205
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.4.0.tgz
205
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.1.tgz
206
206
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
207
207
  # Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
208
208
  ```
@@ -446,7 +446,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
446
446
  <a id="package-release"></a>
447
447
  ## npm 릴리스
448
448
 
449
- 아래 레지스트리 조회로 0.4.0의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
449
+ 아래 레지스트리 조회로 0.5.1의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
450
450
 
451
451
  0.3.2는 2026-10-07 KST에, 0.3.1은 2026-10-04 KST에 공개·검증했습니다.
452
452
  [0.3.2 공개 기록](../VALIDATION.md#public-032--2026-10-07-kst)과
@@ -457,7 +457,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
457
457
  설치 전에는 정확한 버전과 현재 npm 태그를 확인하세요.
458
458
 
459
459
  ```sh
460
- npm view session-peer@0.4.0 version dist.integrity
460
+ npm view session-peer@0.5.1 version dist.integrity
461
461
  npm view session-peer dist-tags
462
462
  ```
463
463
 
@@ -512,7 +512,7 @@ session-peer update --check --channel preview --output-format text
512
512
  `updateCommand`는 실행 중인 CLI 경로로 설치 주체를 확인할 수 있을 때 사용자에게 안내합니다.
513
513
  해당하는 경우는
514
514
  자체 `session-peer` 실행기가 이 패키지를 가리키는 npm 전역 prefix(기본, Homebrew, nvm,
515
- nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.4.0`),
515
+ nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.5.1`),
516
516
  매니페스트에 `session-peer`가 선언된 pnpm·Yarn·Bun 전역 저장소, Volta, npx 캐시입니다.
517
517
  프로젝트 설치(`npm_project`, `pnpm_project`), 소스 체크아웃(`source`), 그 밖의
518
518
  경우(`unknown`)에는 `updateCommand: null`과 `guidance` 문장만 돌려주므로, 관련 없는 현재
@@ -608,4 +608,4 @@ native 전송 관찰은 macOS arm64의 정확한 Codex 0.160.1/0.162.1과 이미
608
608
 
609
609
  [Observation](api.md#unreleased-local-delivery-observation--72)
610
610
 
611
- Linux·Windows의 native 주입 관측은 미지원입니다. 지원되는 POSIX ledger에서는 운영자가 명시적으로 확인한 수령 사실을 `operator_confirmed`로 기록할 수 있지만, 자동 ACK 수집은 아닙니다. 0.4.0 범위는 검증된 macOS 관측과 명시적 운영자 확인입니다. Linux·Windows 관측과 receipt bootstrap은 각각 [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131), [#132](https://github.com/abruption/session-peer-ts/issues/132)에서 후속 작업으로 관리합니다.
611
+ Linux·Windows의 native 주입 관측은 미지원입니다. 0.5.1 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다. 지원되는 POSIX ledger에서는 운영자가 명시적으로 확인한 수령 사실을 `operator_confirmed`로 기록할 수 있지만, 자동 ACK 수집은 아닙니다. 0.4.0 범위는 검증된 macOS 관측과 명시적 운영자 확인입니다. Linux·Windows 관측과 receipt bootstrap은 각각 [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131), [#132](https://github.com/abruption/session-peer-ts/issues/132)에서 후속 작업으로 관리합니다.
package/docs/guide.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- **Documentation and source version: 0.4.0.** Review the selected release and registry metadata before installation. Dated preparation and validation records are in [VALIDATION.md](../VALIDATION.md); release procedures are in [RELEASING.md](../RELEASING.md). SSH endpoints require the same TypeScript client version; 0.3.6 and 0.4.0 refuse each other’s SSH preflight.
7
+ **Documentation and source version: 0.5.1.** Review the selected release and registry metadata before installation. Dated preparation and validation records are in [VALIDATION.md](../VALIDATION.md); release procedures are in [RELEASING.md](../RELEASING.md). SSH endpoints require the same TypeScript client version; 0.3.6 and 0.5.1 refuse each other’s SSH preflight.
8
8
 
9
- **0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported.
9
+ **0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported. The 0.5.1 source records a non-selectable Linux arm64 Codex 0.162.1 candidate (pinned upstream `aarch64-unknown-linux-musl` executable, schema and one injection test); it does not enable Linux observation. Linux native observation remains unsupported.
10
10
 
11
- This guide covers version 0.4.0 ([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 a prior publication. References to 0.1.0 below describe the older release.
11
+ This guide covers version 0.5.1 ([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 a prior publication. References to 0.1.0 below describe the older release.
12
12
 
13
13
  <a id="migration-boundaries-033-candidate"></a>
14
14
 
@@ -81,7 +81,7 @@ Side Session remains experimental. Relay/MCP are outside this comparison.
81
81
  **Find and message running Claude Code and Codex sessions, locally or over SSH.**
82
82
  This TypeScript client runs on Node.js without Python.
83
83
 
84
- This guide describes **version 0.4.0**. The npm package and CLI command are both **`session-peer`**. This
84
+ This guide describes **version 0.5.1**. The npm package and CLI command are both **`session-peer`**. This
85
85
  project does not provide a Relay server or hosted service.
86
86
 
87
87
  ## Quick start
@@ -89,12 +89,12 @@ project does not provide a Relay server or hosted service.
89
89
  Use Node **22.13+ within 22.x or 24.x**. Check which `session-peer` your PATH
90
90
  selects if the Python CLI is already installed; both packages use that command.
91
91
 
92
- **Version 0.4.0 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](#build-from-source).
92
+ **Version 0.5.1 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](#build-from-source).
93
93
 
94
94
  ```sh
95
- npm view session-peer@0.4.0 version dist.integrity
96
- npm install --global --ignore-scripts session-peer@0.4.0
97
- session-peer --version # session-peer 0.4.0 (typescript)
95
+ npm view session-peer@0.5.1 version dist.integrity
96
+ npm install --global --ignore-scripts session-peer@0.5.1
97
+ session-peer --version # session-peer 0.5.1 (typescript)
98
98
  session-peer list --agent claude --json
99
99
  session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
100
100
  ```
@@ -161,7 +161,7 @@ submits nothing. JSON adds sanitized `codexHomeResolution` and, when supplied by
161
161
  native queue output, `queueId`; neither confirms consumption. See the
162
162
  [selection contract](../PARITY.md#source-codex-home-selection--17--020).
163
163
  Published **0.1.0** still requires an explicit live home and has no inactive opt-in.
164
- On SSH, both ends need the same TypeScript client version (0.4.0).
164
+ On SSH, both ends need the same TypeScript client version (0.5.1).
165
165
 
166
166
  ## Requirements
167
167
 
@@ -185,11 +185,11 @@ npm run build
185
185
  node dist/cli.js --version
186
186
  npm pack --ignore-scripts
187
187
  # Optional global install: first check which session-peer your PATH selects.
188
- npm install --global --ignore-scripts ./session-peer-0.4.0.tgz
188
+ npm install --global --ignore-scripts ./session-peer-0.5.1.tgz
189
189
  session-peer --version
190
190
  ```
191
191
 
192
- Expected for version 0.4.0: `session-peer 0.4.0 (typescript)`. Keep the `./...tgz` path to
192
+ Expected for version 0.5.1: `session-peer 0.5.1 (typescript)`. Keep the `./...tgz` path to
193
193
  select the locally built artifact. Check the checkout version before using
194
194
  these commands for a later release.
195
195
 
@@ -209,7 +209,7 @@ On Windows PowerShell, inspect competing commands with
209
209
  npm ci --ignore-scripts
210
210
  npm run build
211
211
  npm pack --ignore-scripts
212
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.4.0.tgz
212
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.1.tgz
213
213
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
214
214
  # Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
215
215
  ```
@@ -474,7 +474,7 @@ separate approval. Licensed under [MIT](../LICENSE).
474
474
 
475
475
  ## Package release
476
476
 
477
- Public **0.3.2** was verified on 2026-10-07 KST ([immutable checkpoint](../VALIDATION.md#public-032--2026-10-07-kst)). Check current 0.4.0 availability and npm tags with the registry queries below; dated preparation evidence does not establish a later publication outcome.
477
+ Public **0.3.2** was verified on 2026-10-07 KST ([immutable checkpoint](../VALIDATION.md#public-032--2026-10-07-kst)). Check current 0.5.1 availability and npm tags with the registry queries below; dated preparation evidence does not establish a later publication outcome.
478
478
 
479
479
  Version 0.2.1 was published and verified on 2026-09-29 KST and 0.2.0 on
480
480
  2026-09-28 KST; see the [0.2.1 public release record](../VALIDATION.md#public-021--2026-09-29-kst).
@@ -482,7 +482,7 @@ Later releases add their own dated records. Check the exact version and current
482
482
  tags before installing:
483
483
 
484
484
  ```sh
485
- npm view session-peer@0.4.0 version dist.integrity
485
+ npm view session-peer@0.5.1 version dist.integrity
486
486
  npm view session-peer dist-tags
487
487
  ```
488
488
 
@@ -534,7 +534,7 @@ and reports `current`, `latest`, `channel` (`latest` by default, or `preview`),
534
534
  installation's owner is positively identified from the running CLI's path:
535
535
  an npm global prefix whose own `session-peer` launcher points at this package
536
536
  (default, Homebrew, nvm, nvm-windows and fnm prefixes), for example
537
- `npm install --global --ignore-scripts session-peer@0.4.0`; a pnpm, Yarn or Bun
537
+ `npm install --global --ignore-scripts session-peer@0.5.1`; a pnpm, Yarn or Bun
538
538
  global store whose manifest declares `session-peer`; Volta; or the npx cache.
539
539
  Project installs (`npm_project`, `pnpm_project`), source checkouts (`source`)
540
540
  and anything else (`unknown`) get `updateCommand: null` and a `guidance`
@@ -635,4 +635,4 @@ Native observation supports exact Codex 0.160.1/0.162.1 on macOS arm64 with an a
635
635
 
636
636
  [Observation](api.md#unreleased-local-delivery-observation--72)
637
637
 
638
- Native delivery observation is unsupported on Linux and Windows. The supported POSIX ledger can record an explicitly verified receipt as `operator_confirmed`; this is not automatic ACK collection. The 0.4.0 scope is qualified macOS observation and explicit operator confirmation. Linux, Windows and receipt-bootstrap extensions are tracked separately in [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131) and [#132](https://github.com/abruption/session-peer-ts/issues/132).
638
+ Native delivery observation is unsupported on Linux and Windows. The 0.5.1 source records a non-selectable Linux arm64 Codex 0.162.1 candidate (pinned upstream `aarch64-unknown-linux-musl` executable, schema and one injection test); it does not enable Linux observation. Linux native observation remains unsupported. The supported POSIX ledger can record an explicitly verified receipt as `operator_confirmed`; this is not automatic ACK collection. The 0.4.0 scope is qualified macOS observation and explicit operator confirmation. Linux, Windows and receipt-bootstrap extensions are tracked separately in [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131) and [#132](https://github.com/abruption/session-peer-ts/issues/132).
@@ -4,11 +4,11 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- **文档和源码版本:0.4.0。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](../VALIDATION.md),发布流程见 [RELEASING.md](../RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.4.0 会拒绝彼此的 SSH 预检。
7
+ **文档和源码版本:0.5.1。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](../VALIDATION.md),发布流程见 [RELEASING.md](../RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.5.1 会拒绝彼此的 SSH 预检。
8
8
 
9
- **0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。
9
+ **0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.5.1 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。
10
10
 
11
- 这是 0.4.0 详细指南([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 的说明用于旧版本对比。
11
+ 这是 0.5.1 详细指南([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 的说明用于旧版本对比。
12
12
 
13
13
  <a id="迁移边界-033-候选"></a>
14
14
 
@@ -44,7 +44,7 @@
44
44
 
45
45
  向正在运行的 **Claude Code 和 Codex 会话**发送消息,支持本机和跨机器 SSH。这是运行于 Node.js 的 TypeScript 客户端,不需要 Python。
46
46
 
47
- **这是 0.4.0 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
47
+ **这是 0.5.1 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
48
48
 
49
49
  ## 功能与边界
50
50
 
@@ -61,7 +61,7 @@
61
61
 
62
62
  构建后,`node dist/cli.js list --json` 合并列出 Claude/Codex,`list --agent codex --json` 查找已知 home。公开 npm **0.1.0** 仍要求显式 agent,以及 Codex 列表所需的 home;0.2.0 也支持显式命令格式。
63
63
 
64
- 范围仅限默认 `~/.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.4.0)。
64
+ 范围仅限默认 `~/.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.5.1)。
65
65
 
66
66
  ### 0.2.0 CLI 易用性
67
67
 
@@ -83,15 +83,15 @@ macOS、Linux 或 Windows native;Node **22.x 中的 22.13 及以上,或 24.x
83
83
 
84
84
  使用 Node 22.x 的 22.13 及以上或 24.x,并确认要安装的确切版本是否已发布。Python CLI 也使用同一个命令名;若已有安装,请先检查 PATH。
85
85
 
86
- **安装 0.4.0:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](#从源码构建)。
86
+ **安装 0.5.1:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](#从源码构建)。
87
87
 
88
88
  ```sh
89
- npm view session-peer@0.4.0 version dist.integrity
90
- npm install --global --ignore-scripts session-peer@0.4.0
89
+ npm view session-peer@0.5.1 version dist.integrity
90
+ npm install --global --ignore-scripts session-peer@0.5.1
91
91
  session-peer --version
92
92
  ```
93
93
 
94
- 预期输出:`session-peer 0.4.0 (typescript)`。
94
+ 预期输出:`session-peer 0.5.1 (typescript)`。
95
95
 
96
96
  1. 用 `session-peer list --agent claude --json` 查找目标并选择准确 PID。
97
97
  2. 用 `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` 验证,不提交。
@@ -110,7 +110,7 @@ npm run build
110
110
  node dist/cli.js --version
111
111
  npm pack --ignore-scripts
112
112
  # 可选:全局安装前先检查 PATH 选择的现有命令
113
- npm install --global --ignore-scripts ./session-peer-0.4.0.tgz
113
+ npm install --global --ignore-scripts ./session-peer-0.5.1.tgz
114
114
  session-peer --version
115
115
  ```
116
116
 
@@ -120,7 +120,7 @@ session-peer --version
120
120
 
121
121
  安装前后用 `type -a session-peer` 和 `command -v session-peer` 检查实际执行项。其他实现也可能提供同名命令;请选择 PATH 上的一种,或显式运行 `node /absolute/path/dist/cli.js`。不要用 `--force` 覆盖其他管理器的文件。本包不会自动安装、删除或调整 Python 包、技能或服务。卸载使用 `npm uninstall --global session-peer`,随后再次检查 PATH。
122
122
 
123
- 在 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.4.0.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` 卸载。
123
+ 在 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.5.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` 卸载。
124
124
 
125
125
  ## 使用
126
126
 
@@ -211,14 +211,14 @@ Python 只用作开发时的比较基准(v1.1.0,`8ca77cf31254c8287a2593fe484
211
211
 
212
212
  ## npm 版本
213
213
 
214
- 公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.4.0 的当前可用性和 npm 标签;带日期的准备证据不能证明后续发布结果。
214
+ 公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.5.1 的当前可用性和 npm 标签;带日期的准备证据不能证明后续发布结果。
215
215
 
216
216
  0.2.1 已于 2026-09-29 KST、0.2.0 已于 2026-09-28 KST 公开并验证。请参阅
217
217
  [0.2.1 公开记录](../VALIDATION.md#public-021--2026-09-29-kst)(之后的版本各自追加带日期的记录),
218
218
  安装前核对准确版本与当前标签。
219
219
 
220
220
  ```sh
221
- npm view session-peer@0.4.0 version dist.integrity
221
+ npm view session-peer@0.5.1 version dist.integrity
222
222
  npm view session-peer dist-tags
223
223
  ```
224
224
 
@@ -257,7 +257,7 @@ dist-tag(3 秒超时,不重试),并报告 `current`、`latest`、`channe
257
257
  `ahead`)、`managedBy`、`updateCommand` 和 `guidance`。只有根据当前 CLI 路径能确切识别
258
258
  安装的管理方时才给出命令:其自身 `session-peer` 启动器指向本包的 npm 全局 prefix
259
259
  (默认、Homebrew、nvm、nvm-windows、fnm,例如
260
- `npm install --global --ignore-scripts session-peer@0.4.0`),清单中声明了
260
+ `npm install --global --ignore-scripts session-peer@0.5.1`),清单中声明了
261
261
  `session-peer` 的 pnpm、Yarn、Bun 全局存储,Volta,或 npx 缓存。项目安装
262
262
  (`npm_project`、`pnpm_project`)、源码检出(`source`)以及其他情况(`unknown`)只返回
263
263
  `updateCommand: null` 和一句 `guidance`,因此不会给出可能修改无关当前目录的命令。它只报告
@@ -339,4 +339,4 @@ native 观测仅支持 macOS arm64 上的精确 Codex 0.160.1/0.162.1 和已有
339
339
 
340
340
  [Observation](api.md#unreleased-local-delivery-observation--72)
341
341
 
342
- Linux、Windows 的 native 注入观察尚不支持。支持的 POSIX ledger 可将操作人员明确确认的收件事实记录为 `operator_confirmed`,但这不是自动 ACK 收集。0.4.0 范围是已验证的 macOS 观察和操作人员的明确确认。Linux、Windows 观察及 receipt bootstrap 分别作为 [#130](https://github.com/abruption/session-peer-ts/issues/130)、[#131](https://github.com/abruption/session-peer-ts/issues/131)、[#132](https://github.com/abruption/session-peer-ts/issues/132) 的后续工作。
342
+ Linux、Windows 的 native 注入观察尚不支持。 0.5.1 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。支持的 POSIX ledger 可将操作人员明确确认的收件事实记录为 `operator_confirmed`,但这不是自动 ACK 收集。0.4.0 范围是已验证的 macOS 观察和操作人员的明确确认。Linux、Windows 观察及 receipt bootstrap 分别作为 [#130](https://github.com/abruption/session-peer-ts/issues/130)、[#131](https://github.com/abruption/session-peer-ts/issues/131)、[#132](https://github.com/abruption/session-peer-ts/issues/132) 的后续工作。
package/docs/shorthand.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Optional `sp` shorthand
2
2
 
3
- This reference describes source/package version 0.4.0. 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.
3
+ This reference describes source/package version 0.5.1. 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
4
 
5
5
  [README](../README.md) · [User guide](guide.md)
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "session-peer",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -41,7 +41,7 @@
41
41
  "build": "tsc -p tsconfig.json",
42
42
  "test": "npm run build && npm run test:types && node --import ./test/fixtures/isolate-env.mjs --experimental-strip-types --test test/*.test.ts",
43
43
  "test:types": "tsc -p tsconfig.test.json",
44
- "test:windows": "npm run build && npm run test:types && node --import ./test/fixtures/isolate-env.mjs --import ./test/fixtures/windows-inspection-diagnostic.mjs --experimental-strip-types --test --test-concurrency=1 test/handoff-core.test.ts test/handoff-cli.test.ts test/handoff-delivery.test.ts test/metadata-observation.test.ts test/handoff-writer-probe.test.ts test/app-server.test.ts test/writer-uid.test.ts test/claude-records.test.ts test/reply-agent-binding.test.ts test/windows.test.ts test/windows-contract.test.ts test/windows-inspection.test.ts test/input-boundaries.test.ts test/discovery.test.ts test/codex-homes.test.ts test/diagnostics.test.ts test/cli-usability.test.ts test/skill-guidance.test.ts test/skill-metadata.test.ts test/ssh-hosts.test.ts test/ssh-response.test.ts test/ssh-handoff.test.ts test/replies.test.ts test/updates.test.ts",
44
+ "test:windows": "npm run build && npm run test:types && node --import ./test/fixtures/isolate-env.mjs --import ./test/fixtures/windows-inspection-diagnostic.mjs --experimental-strip-types --test --test-concurrency=1 test/handoff-core.test.ts test/handoff-cli.test.ts test/handoff-delivery.test.ts test/metadata-observation.test.ts test/handoff-writer-probe.test.ts test/app-server.test.ts test/writer-uid.test.ts test/claude-records.test.ts test/reply-agent-binding.test.ts test/windows.test.ts test/windows-contract.test.ts test/windows-inspection.test.ts test/windows-process-tree.test.ts test/windows-storage.test.ts test/input-boundaries.test.ts test/discovery.test.ts test/codex-homes.test.ts test/diagnostics.test.ts test/cli-usability.test.ts test/skill-guidance.test.ts test/skill-metadata.test.ts test/ssh-hosts.test.ts test/ssh-response.test.ts test/ssh-handoff.test.ts test/replies.test.ts test/updates.test.ts test/ssh-jump-windows.test.ts",
45
45
  "test:package": "npm run build && node --experimental-strip-types test/package-smoke.ts"
46
46
  },
47
47
  "devDependencies": {
@@ -50,6 +50,6 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "fs-ext-extra-prebuilt": "2.2.14",
53
- "smol-toml": "1.9.0"
53
+ "smol-toml": "1.9.1"
54
54
  }
55
55
  }