session-peer 0.3.6 → 0.5.0

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.
Files changed (52) hide show
  1. package/CONTRIBUTING.md +6 -4
  2. package/PARITY.md +431 -6
  3. package/README.ja.md +14 -8
  4. package/README.ko.md +14 -8
  5. package/README.md +14 -8
  6. package/README.zh-CN.md +14 -8
  7. package/RELEASING.md +109 -0
  8. package/VALIDATION.md +806 -1
  9. package/dist/app-server.d.ts +207 -0
  10. package/dist/app-server.js +1044 -0
  11. package/dist/cli.js +229 -39
  12. package/dist/handoff-ledger.d.ts +103 -0
  13. package/dist/handoff-ledger.js +791 -0
  14. package/dist/handoff-observer-probe.d.ts +1 -0
  15. package/dist/handoff-observer-probe.js +170 -0
  16. package/dist/handoff-operations.d.ts +29 -0
  17. package/dist/handoff-operations.js +496 -0
  18. package/dist/handoff-writer-probe.d.ts +1 -0
  19. package/dist/handoff-writer-probe.js +146 -0
  20. package/dist/handoff.d.ts +112 -0
  21. package/dist/handoff.js +261 -0
  22. package/dist/help.js +18 -0
  23. package/dist/linux-native-probe.d.ts +1 -0
  24. package/dist/linux-native-probe.js +51 -0
  25. package/dist/linux-proc.d.ts +55 -0
  26. package/dist/linux-proc.js +150 -0
  27. package/dist/metadata-observation.d.ts +49 -0
  28. package/dist/metadata-observation.js +250 -0
  29. package/dist/native-profiles.d.ts +25 -0
  30. package/dist/native-profiles.js +62 -0
  31. package/dist/output.js +7 -1
  32. package/dist/process.d.ts +28 -0
  33. package/dist/process.js +284 -2
  34. package/dist/protocol.d.ts +2 -2
  35. package/dist/protocol.js +1 -1
  36. package/dist/send.d.ts +18 -1
  37. package/dist/send.js +91 -6
  38. package/dist/skill-metadata.js +7 -4
  39. package/dist/ssh-response.d.ts +11 -0
  40. package/dist/ssh-response.js +78 -2
  41. package/dist/ssh.d.ts +2 -1
  42. package/dist/ssh.js +37 -2
  43. package/dist/windows.d.ts +28 -0
  44. package/dist/windows.js +149 -1
  45. package/docs/api.md +255 -4
  46. package/docs/design/typescript-skill-compatibility.md +55 -2
  47. package/docs/guide.ja.md +36 -16
  48. package/docs/guide.ko.md +39 -19
  49. package/docs/guide.md +46 -20
  50. package/docs/guide.zh-CN.md +36 -16
  51. package/docs/shorthand.md +1 -1
  52. package/package.json +2 -2
package/docs/guide.ja.md CHANGED
@@ -4,13 +4,15 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- **文書・ソースのバージョン: 0.3.6。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.5 と 0.3.6 は互いの SSH 事前確認を拒否します。
7
+ **文書・ソースのバージョン: 0.5.0。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.5.0 は互いの SSH 事前確認を拒否します。
8
8
 
9
- 0.3.6 の詳細ガイドです([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 の説明は旧版との比較です。
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.0 のソースは選択できない Linux arm64 の Codex 0.162.1 候補(固定された上流 `aarch64-unknown-linux-musl` 実行ファイル、スキーマ、注入テスト 1 回)を記録しますが、Linux 観測を有効化しません。Linux の native 観測は引き続き未対応です。
10
+
11
+ 0.5.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 の説明は旧版との比較です。
10
12
 
11
13
  <a id="移行時の境界-033-候補"></a>
12
14
 
13
- ## 移行時の境界 (0.3.6)
15
+ ## 移行時の境界 (0.4.0)
14
16
 
15
17
  [0.3.2 の公開記録](../VALIDATION.md#public-032--2026-10-07-kst)はリリースのソースと成果物を固定しています。SSH の事前確認は TS のバージョン表示の完全一致を検査しますが、コミットハッシュは検査しません。ソースビルドのレビュー済みコミットは運用者が別途揃える必要があります。
16
18
 
@@ -22,8 +24,10 @@
22
24
  - npm、Python、リモートホスト、スキルは別管理です。TS は自己更新やリモート更新を提供しません。通知は既定で無効で、無効化指定が優先します。明示的な `update --check` はレジストリを照会します。公開 TS 0.3.5 は公開スキル `0.2.1` と旧 `0.1.0`・`0.2.0` の厳密なプロファイルを受け入れます。公開 TS 0.3.2・0.3.3・0.3.4 は `0.2.1` を拒否します。導入の節には独立して公開されたスキルのソースを固定しています。
23
25
  - Windows の検証は公開 0.3.1、Windows 10 x64、管理者アカウント、PowerShell 5.1、Node 24.16.0 で行いました。オフライン導入、ラッパー・ネイティブロック、運用者の doctor・存在しない宛先の dry-run、ローカル fixture 31 件を検証しました。Node 22 はバージョン表示とネイティブロックの確認のみです。非管理者、他のアーキテクチャ、F6 のランタイム検査、以前の Linux 実験の最新規則は未検証です。0.3.2 の実機 ACK やデプロイ補助ツールの検証ではありません。
24
26
 
25
- [移行の詳細](../PARITY.md#ordinary-cli-migration-notes--117)と [Windows の検証記録](../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst)を参照してください。Python 1.0.2 のテスト基準は維持します。比較対象の公開 CLI はどちらも一般のネイティブ ACK/wait、エンドツーエンドの重複防止、Side Session を提供しません。Relay/MCP はこの比較の対象外です。
27
+ [移行の詳細](../PARITY.md#ordinary-cli-migration-notes--117)と [Windows の検証記録](../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst)を参照してください。上の日付付き移行比較は当時の公開版を対象にしています。0.4.0 ソースの開発時の比較基準は Python 1.1.0 ですが、公開 npm 0.3.3 の従来の 1.0.2 表示は変わりません。Python 1.1.0 には実験的なローカル Claude の受領確認専用 ACK 経路があります。これは TS 実装の自動 ACK、元の送信者側の SSH 受領確認収集、Windows handoff 対応を意味しません。どちらの基準もエンドツーエンドの消費を保証せず、Side Session は実験段階です。Relay/MCP は比較対象外です。
28
+
26
29
 
30
+ [0.4.0 handoff 設計と実装の範囲](../PARITY.md#handoff-v1-design-candidate--69)
27
31
 
28
32
  ## 目次
29
33
 
@@ -40,7 +44,7 @@
40
44
 
41
45
  実行中の **Claude Code と Codex セッション**に、ローカルまたは SSH 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
42
46
 
43
- **0.3.6 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
47
+ **0.5.0 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
44
48
 
45
49
  ## 機能と範囲
46
50
 
@@ -57,7 +61,7 @@ Relay 通信、MCP、wake/resume、Antigravity、自動更新は未実装です
57
61
 
58
62
  ビルド後の `node dist/cli.js list --json` は Claude/Codex をまとめて表示し、`list --agent codex --json` は既知の home を検索します。公開 npm **0.1.0** では引き続き agent と Codex 一覧の home を明示します。0.2.0 でも明示的なコマンド形式を利用できます。
59
63
 
60
- 対象は既定の `~/.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.6)が必要です。
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.0)が必要です。
61
65
 
62
66
  ### 0.2.0 CLI の使いやすさ
63
67
 
@@ -80,15 +84,15 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
80
84
 
81
85
  Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
82
86
 
83
- **0.3.6 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
87
+ **0.5.0 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
84
88
 
85
89
  ```sh
86
- npm view session-peer@0.3.6 version dist.integrity
87
- npm install --global --ignore-scripts session-peer@0.3.6
90
+ npm view session-peer@0.5.0 version dist.integrity
91
+ npm install --global --ignore-scripts session-peer@0.5.0
88
92
  session-peer --version
89
93
  ```
90
94
 
91
- 期待値は `session-peer 0.3.6 (typescript)`。
95
+ 期待値は `session-peer 0.5.0 (typescript)`。
92
96
 
93
97
  1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
94
98
  2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
@@ -107,7 +111,7 @@ npm run build
107
111
  node dist/cli.js --version
108
112
  npm pack --ignore-scripts
109
113
  # 任意のグローバルインストール前に PATH の既存コマンドを確認
110
- npm install --global --ignore-scripts ./session-peer-0.3.6.tgz
114
+ npm install --global --ignore-scripts ./session-peer-0.5.0.tgz
111
115
  session-peer --version
112
116
  ```
113
117
 
@@ -117,7 +121,7 @@ session-peer --version
117
121
 
118
122
  インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
119
123
 
120
- 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.6.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.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` で削除します。
121
125
 
122
126
  ## 使い方
123
127
 
@@ -202,19 +206,19 @@ npm run test:package
202
206
  npm audit
203
207
  ```
204
208
 
205
- Python は開発時の互換検証基準のみです(v1.0.2、`47c23713d0a2a3c11ebde6186afd8c43489b8b65`)。実行時依存ではありません。POSIX 契約テストには C コンパイラーと lsof も必要です。CI は三つの OS で Node 22/24 を使います。macOS/Linux は固定した基準に対する全契約・パッケージ検査、Windows x64 はビルド・型検査、ネイティブ Claude inbox、保持/未保持ロック、writer 所有権と提出直前の競合、CLI queue 結果、隔離した模擬 SSH 宛先での実 PowerShell/.cmd フレーミング、パッケージのインストール・ネイティブ読込・削除と audit を実行します。これらは fixture 検査で、Windows では POSIX/Python 参照スイートを実行しません。Windows x64/Node 24 の実機 ACK は別の一回限りの証拠です。SQLite・Unix inbox・実 lock の fixture と、専用実 TUI の証拠 [VALIDATION.md](../VALIDATION.md) は別です。fixture 成功は ACK ではありません。パッケージ内容、反復 pack ハッシュ、新規インストール、アンインストールも検証します。ネイティブ依存の通常の install script は実行せず、検証した prebuilt 経路は `--ignore-scripts` を使います。SQLite 読み取り専用接続も WAL 共有メモリー管理に関与し得るため、スナップショットではありません。
209
+ Python は開発時の比較基準です(v1.1.0、`8ca77cf31254c8287a2593fe484bb30a7dba2727`)。実行時依存ではありません。検証範囲は通常の一覧・探索結果であり、送信や handoff 全体の相互運用性を証明するものではありません。POSIX 契約テストには C コンパイラーと lsof も必要です。CI は三つの OS で Node 22/24 を使います。macOS/Linux は固定した基準に対する全契約・パッケージ検査、Windows x64 はビルド・型検査、ネイティブ Claude inbox、保持/未保持ロック、writer 所有権と提出直前の競合、CLI queue 結果、隔離した模擬 SSH 宛先での実 PowerShell/.cmd フレーミング、パッケージのインストール・ネイティブ読込・削除と audit を実行します。これらは fixture 検査で、Windows では POSIX/Python 参照スイートを実行しません。Windows x64/Node 24 の実機 ACK は別の一回限りの証拠です。SQLite・Unix inbox・実 lock の fixture と、専用実 TUI の証拠 [VALIDATION.md](../VALIDATION.md) は別です。fixture 成功は ACK ではありません。パッケージ内容、反復 pack ハッシュ、新規インストール、アンインストールも検証します。ネイティブ依存の通常の install script は実行せず、検証した prebuilt 経路は `--ignore-scripts` を使います。SQLite 読み取り専用接続も WAL 共有メモリー管理に関与し得るため、スナップショットではありません。
206
210
 
207
211
  [CONTRIBUTING.md](../CONTRIBUTING.md)、[RELEASING.md](../RELEASING.md)、[SECURITY.md](../SECURITY.md) を参照してください。今後のリリースの公開には別途承認が必要で、自動 npm 公開はありません。[MIT](../LICENSE) ライセンスです。
208
212
 
209
213
  ## npm リリース
210
214
 
211
- 公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.3.6 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
215
+ 公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.5.0 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
212
216
 
213
217
  0.2.1 は 2026-09-29 KST、0.2.0 は 2026-09-28 KST に公開・検証されました。
214
218
  [0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
215
219
 
216
220
  ```sh
217
- npm view session-peer@0.3.6 version dist.integrity
221
+ npm view session-peer@0.5.0 version dist.integrity
218
222
  npm view session-peer dist-tags
219
223
  ```
220
224
 
@@ -256,7 +260,7 @@ session-peer update --check --channel preview --output-format text
256
260
  実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
257
261
  対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
258
262
  (既定、Homebrew、nvm、nvm-windows、fnm。例:
259
- `npm install --global --ignore-scripts session-peer@0.3.6`)、マニフェストで
263
+ `npm install --global --ignore-scripts session-peer@0.5.0`)、マニフェストで
260
264
  `session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
261
265
  です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
262
266
  アウト(`source`)、それ以外(`unknown`)では `updateCommand: null` と `guidance` の文だけを
@@ -336,3 +340,19 @@ npm `--ignore-scripts` は利用でき、postinstall は Skills CLI を呼び出
336
340
 
337
341
  任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
338
342
  [明示的な有効化・衝突・解除(英語)](shorthand.md)を参照してください。
343
+
344
+
345
+ <a id="unreleased-handoff"></a>
346
+
347
+ ## 非公開 handoff と配送観測(0.4.0)
348
+
349
+ 0.4.0 には opt-in private POSIX handoff ledger が含まれます。必須の証拠が unsupported の場合は提出前に拒否し、best-effort の提出は ACK を証明しません。自動受領確認の接続設定、Windows ledger、元の送信者側の SSH 受領確認収集は未対応です。POSIX SSH opt-in は明示的に初期化した宛先 ledger で送信しない準備を行い、対象・home・generation を固定して一度だけ送信します。[宛先側 SSH の説明](api.md#unreleased-destination-side-ssh-handoff)を参照してください。模擬 SSH fixture と実ネットワーク検証は区別します。
350
+
351
+ [CLI](api.md#unreleased-opt-in-handoff-cli--040-work)
352
+
353
+
354
+ native 観測は、macOS arm64 の厳密な Codex 0.160.1/0.162.1 と既存のメタデータ保存先に限って配送を観測します。検証根拠が保存された提出は、別の `handoff wait` で native 状態を読み取り専用で観測できます。この操作は非公開 ledger に待機・終了記録を保存しますが、native 提出は繰り返しません。各待機は自分の期限だけで判定し、他の待機と過去の終了結果を保持します。専用の新規 Codex 0.162.1・Claude Code 2.1.296 セッションによる実機根拠と合成テストを区別します。queued/posted、注入、ターン終了、通常の返信は受領確認 ACK ではありません。自動 ACK と Windows handoff は未対応です。
355
+
356
+ [Observation](api.md#unreleased-local-delivery-observation--72)
357
+
358
+ Linux・Windows の native 注入観測は未対応です。 0.5.0 のソースは選択できない 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,13 +4,15 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- **문서·소스 기준 버전: 0.3.6.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.5와 0.3.6는 서로의 SSH 사전 확인을 거부합니다.
7
+ **문서·소스 기준 버전: 0.5.0.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6과 0.5.0은 서로의 SSH 사전 확인을 거부합니다.
8
8
 
9
- 이 가이드는 0.3.6를 다룹니다([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을 언급할 때는 이전 버전을 설명합니다.
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.0 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다.
10
+
11
+ 이 가이드는 0.5.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을 언급할 때는 이전 버전을 설명합니다.
10
12
 
11
13
  <a id="마이그레이션-경계-033-후보"></a>
12
14
 
13
- ## 마이그레이션 경계 (0.3.6)
15
+ ## 마이그레이션 경계 (0.4.0)
14
16
 
15
17
  [0.3.2 공개 기록](../VALIDATION.md#public-032--2026-10-07-kst)은 릴리스 소스와 산출물을 고정합니다. SSH 사전 확인은 정확히 같은 TS 버전 표시를 검사하며 커밋 해시는 검사하지 않습니다. 소스 빌드의 검토 커밋 일치는 운영자가 별도로 확인해야 합니다.
16
18
 
@@ -22,8 +24,10 @@
22
24
  - npm, Python, 원격 호스트, 스킬은 각각 별도로 관리합니다. TS는 자체·원격 업데이트를 제공하지 않습니다. 알림은 기본 꺼짐이며 비활성화 설정이 우선합니다. 명시적 `update --check`는 레지스트리를 조회합니다. 공개 TS 0.3.5는 공개 스킬 `0.2.1`과 기존 `0.1.0`·`0.2.0`의 정확한 프로필을 허용하며, 공개 TS 0.3.2·0.3.3·0.3.4는 `0.2.1`을 거부합니다. 설치 절에는 별도로 공개된 스킬 소스를 고정했습니다.
23
25
  - Windows 검증은 공개 0.3.1, Windows 10 x64, 관리자 계정, PowerShell 5.1, Node 24.16.0에서 수행했습니다. 오프라인 설치, 래퍼·네이티브 잠금, 운영자의 doctor·없는 대상 dry-run과 로컬 fixture 31개가 검증됐습니다. Node 22는 버전 표시·네이티브 잠금 확인만 수행했습니다. 비관리자, 다른 아키텍처, F6 런타임 검사, 이전 Linux 실험의 최신 규칙 검증은 남아 있습니다. 이는 0.3.2 실기 ACK나 배포 도우미 검증이 아닙니다.
24
26
 
25
- [마이그레이션 상세](../PARITY.md#ordinary-cli-migration-notes--117)와 [Windows 검증 기록](../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst)을 참고하세요. Python 1.0.2 테스트 기준은 유지합니다. 비교 대상 공개 CLI 모두 일반 네이티브 ACK/wait, 종단 간 중복 방지, Side Session을 제공하지 않습니다. Relay/MCP는 이 비교 범위에서 제외합니다.
27
+ [마이그레이션 상세](../PARITY.md#ordinary-cli-migration-notes--117)와 [Windows 검증 기록](../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst)을 참고하세요. 위 날짜별 마이그레이션 비교는 당시 공개 버전을 기준으로 합니다. 0.4.0 소스의 개발 비교 기준은 Python 1.1.0이며, 공개 npm 0.3.3의 기존 1.0.2 표시는 바뀌지 않습니다. Python 1.1.0에는 실험적인 로컬 Claude 수신 확인 전용 ACK 경로가 있습니다. 이것이 TS 구현의 자동 ACK·원래 발신자의 SSH 수신 확인 수집기·Windows handoff 지원을 뜻하지는 않습니다. 어느 기준도 종단 간 소비를 보장하지 않으며 Side Session은 실험 범위입니다. Relay/MCP는 이 비교에서 제외합니다.
28
+
26
29
 
30
+ [0.4.0 handoff 설계와 구현 범위](../PARITY.md#handoff-v1-design-candidate--69)
27
31
 
28
32
  ## 목차
29
33
 
@@ -92,7 +96,7 @@ JSON에는 정제된 `codexHomeResolution`이 포함되며, 네이티브 응답
92
96
  `queueId`도 포함됩니다. 둘 다 메시지를 읽거나 처리했음을 확인하지 않습니다.
93
97
  [홈 선택 계약](../PARITY.md#source-codex-home-selection--17--020)을 참고하세요.
94
98
  공개 **0.1.0**은 여전히 실행 중인 홈을 명시해야 하며 비활성 세션 허용 옵션이 없습니다.
95
- SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.3.6)을 설치해야
99
+ SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.5.0)을 설치해야
96
100
  합니다.
97
101
 
98
102
  <a id="020-cli-사용성"></a>
@@ -132,20 +136,20 @@ Claude Code에는 받은 메시지함에 접근할 수 있는 실행 중 TUI(터
132
136
 
133
137
  Node 22.x의 22.13 이상 또는 24.x를 사용하세요. Python CLI도 같은 `session-peer`
134
138
  명령 이름을 쓰므로, 설치 전에 PATH(명령 검색 경로)에서 어떤 실행 파일을 찾는지
135
- 확인하세요. 아래 명령은 선택한 0.3.6를 npm으로 설치하는 예입니다.
139
+ 확인하세요. 아래 명령은 선택한 0.5.0을 npm으로 설치하는 예입니다.
136
140
  CLI 자체는 패키지를 설치하거나 업데이트하지 않습니다.
137
141
 
138
- **0.3.6 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
142
+ **0.5.0 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
139
143
 
140
144
  ```sh
141
- npm view session-peer@0.3.6 version dist.integrity
142
- npm install --global --ignore-scripts session-peer@0.3.6
143
- session-peer --version # session-peer 0.3.6 (typescript)
145
+ npm view session-peer@0.5.0 version dist.integrity
146
+ npm install --global --ignore-scripts session-peer@0.5.0
147
+ session-peer --version # session-peer 0.5.0 (typescript)
144
148
  session-peer list --agent claude --json
145
149
  session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
146
150
  ```
147
151
 
148
- 예상 결과는 `session-peer 0.3.6 (typescript)`입니다.
152
+ 예상 결과는 `session-peer 0.5.0 (typescript)`입니다.
149
153
 
150
154
  1. 세션을 조회하고 `CLAUDE_PID`를 대상으로 선택한 정확한 PID로 바꾸세요.
151
155
  2. `--dry-run`으로 검증합니다. 이 단계에서는 메시지를 제출하지 않습니다.
@@ -173,11 +177,11 @@ npm run build
173
177
  node dist/cli.js --version
174
178
  npm pack --ignore-scripts
175
179
  # Optional global install: first check which session-peer your PATH selects.
176
- npm install --global --ignore-scripts ./session-peer-0.3.6.tgz
180
+ npm install --global --ignore-scripts ./session-peer-0.5.0.tgz
177
181
  session-peer --version
178
182
  ```
179
183
 
180
- 0.3.6에서 예상되는 결과는 `session-peer 0.3.6 (typescript)`입니다. 로컬 빌드
184
+ 0.5.0에서 예상되는 결과는 `session-peer 0.5.0 (typescript)`입니다. 로컬 빌드
181
185
  산출물을 선택하려면 `./...tgz` 경로를 그대로 두세요. 이후 버전에 이 명령을 사용할
182
186
  때는 먼저 체크아웃한 소스의 버전을 확인하세요.
183
187
 
@@ -198,7 +202,7 @@ Python CLI를 덮어쓰지 않으려면 격리 prefix에 설치·제거할 수
198
202
  npm ci --ignore-scripts
199
203
  npm run build
200
204
  npm pack --ignore-scripts
201
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.6.tgz
205
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.0.tgz
202
206
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
203
207
  # Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
204
208
  ```
@@ -419,8 +423,9 @@ npm run test:package
419
423
  npm audit
420
424
  ```
421
425
 
422
- Python은 개발 시 TypeScript 구현과 동작이 일치하는지 대조하는 기준 구현(conformance oracle)입니다(v1.0.2 커밋
423
- `47c23713d0a2a3c11ebde6186afd8c43489b8b65`)일 뿐 런타임 의존성이 아닙니다. POSIX 계약 테스트에는
426
+ Python은 개발 시 동작을 대조하는 기준 구현입니다(v1.1.0 커밋
427
+ `8ca77cf31254c8287a2593fe484bb30a7dba2727`). 런타임 의존성이 아닙니다.
428
+ 검증 범위는 일반 목록·탐색 결과이며, 전체 전송·handoff 상호운용성을 입증하지 않습니다. POSIX 계약 테스트에는
424
429
  C 컴파일러와 lsof도 필요합니다. CI(지속적 통합)는 세 OS에서 Node 22/24를 사용합니다.
425
430
  macOS/Linux는 고정된 참조 기준으로 전체 계약·패키지 검사를 실행하고, Windows는
426
431
  x64에서 빌드·타입 검사, 네이티브 Claude 받은 메시지함·잠금 점유/해제, writer 소유권·재검증
@@ -441,7 +446,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
441
446
  <a id="package-release"></a>
442
447
  ## npm 릴리스
443
448
 
444
- 아래 레지스트리 조회로 0.3.6의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
449
+ 아래 레지스트리 조회로 0.5.0의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
445
450
 
446
451
  0.3.2는 2026-10-07 KST에, 0.3.1은 2026-10-04 KST에 공개·검증했습니다.
447
452
  [0.3.2 공개 기록](../VALIDATION.md#public-032--2026-10-07-kst)과
@@ -452,7 +457,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
452
457
  설치 전에는 정확한 버전과 현재 npm 태그를 확인하세요.
453
458
 
454
459
  ```sh
455
- npm view session-peer@0.3.6 version dist.integrity
460
+ npm view session-peer@0.5.0 version dist.integrity
456
461
  npm view session-peer dist-tags
457
462
  ```
458
463
 
@@ -507,7 +512,7 @@ session-peer update --check --channel preview --output-format text
507
512
  `updateCommand`는 실행 중인 CLI 경로로 설치 주체를 확인할 수 있을 때 사용자에게 안내합니다.
508
513
  해당하는 경우는
509
514
  자체 `session-peer` 실행기가 이 패키지를 가리키는 npm 전역 prefix(기본, Homebrew, nvm,
510
- nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.3.6`),
515
+ nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.5.0`),
511
516
  매니페스트에 `session-peer`가 선언된 pnpm·Yarn·Bun 전역 저장소, Volta, npx 캐시입니다.
512
517
  프로젝트 설치(`npm_project`, `pnpm_project`), 소스 체크아웃(`source`), 그 밖의
513
518
  경우(`unknown`)에는 `updateCommand: null`과 `guidance` 문장만 돌려주므로, 관련 없는 현재
@@ -589,3 +594,18 @@ npm `--ignore-scripts`로 설치해도 되며, 설치 후 Skills CLI를 호출
589
594
 
590
595
  선택적 `sp` 단축 이름은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로 켜지지 않습니다.
591
596
  [명시적 활성화와 이름 충돌 안내(영문)](shorthand.md)를 참고하세요.
597
+
598
+ <a id="unreleased-handoff"></a>
599
+
600
+ ## 비공개 handoff와 전송 관측 (0.4.0)
601
+
602
+ 0.4.0에는 opt-in private POSIX handoff ledger가 포함됩니다. 필수 증거 채널이 unsupported이면 제출 전에 거절하며, best-effort 제출은 ACK를 증명하지 않습니다. 자동 수신 확인 연결 설정, Windows ledger 및 원래 발신자의 SSH 수신 확인 수집기는 미지원입니다. POSIX SSH opt-in은 명시적으로 초기화한 목적지 ledger에서 전송 없는 준비 단계로 대상·home·generation을 고정한 뒤 한 번만 전송합니다. [목적지 SSH 설명](api.md#unreleased-destination-side-ssh-handoff)을 참고하세요. 가짜 SSH fixture는 실제 네트워크 검증과 구분합니다.
603
+
604
+ [CLI](api.md#unreleased-opt-in-handoff-cli--040-work)
605
+
606
+
607
+ native 전송 관찰은 macOS arm64의 정확한 Codex 0.160.1/0.162.1과 이미 생성된 메타데이터 저장소에 한정됩니다. 검증 근거가 보존된 전송은 별도 `handoff wait`로 native 상태를 읽기 전용으로 관찰할 수 있습니다. 이 작업은 비공개 ledger에 대기·종료 기록을 저장하며, native 전송을 반복하지 않습니다. 각 대기는 자신의 마감 시각으로만 판단하고 다른 대기와 기존 종료 결과를 보존합니다. 새로 만든 Codex 0.162.1·Claude Code 2.1.296 테스트 세션의 실기 근거와 합성 테스트는 구분합니다. queued/posted, 실제 주입, 턴 종료, 일반 응답은 수령 확인 ACK와 다릅니다. 자동 ACK와 Windows handoff는 미지원입니다.
608
+
609
+ [Observation](api.md#unreleased-local-delivery-observation--72)
610
+
611
+ Linux·Windows의 native 주입 관측은 미지원입니다. 0.5.0 소스는 선택할 수 없는 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,13 +4,15 @@
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.3.6.** 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.5 and 0.3.6 refuse each other’s SSH preflight.
7
+ **Documentation and source version: 0.5.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.5.0 refuse each other’s SSH preflight.
8
8
 
9
- This guide covers version 0.3.6 ([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.
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.0 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
+
11
+ This guide covers version 0.5.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.
10
12
 
11
13
  <a id="migration-boundaries-033-candidate"></a>
12
14
 
13
- ## Migration boundaries (0.3.6)
15
+ ## Migration boundaries (0.4.0)
14
16
 
15
17
  The [public 0.3.2 record](../VALIDATION.md#public-032--2026-10-07-kst) fixes the
16
18
  release source and artifact. SSH preflight checks the exact TS version banner,
@@ -50,10 +52,16 @@ not a commit hash; operators must align reviewed source commits separately.
50
52
 
51
53
  See [migration details](../PARITY.md#ordinary-cli-migration-notes--117) and
52
54
  [Windows qualification](../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst).
53
- The Python 1.0.2 test reference stays pinned; neither compared public CLI
54
- provides general native ACK/wait, end-to-end deduplication or Side Session.
55
- Relay/MCP are outside this migration comparison.
55
+ The dated migration comparison above uses the historical public versions.
56
+ The 0.4.0 source uses Python 1.1.0 as its development
57
+ comparison baseline; public npm 0.3.3 retains its historical 1.0.2 marker.
58
+ Python 1.1.0 includes an experimental local Claude receipt-only ACK path.
59
+ That does not establish automated ACK or original-sender SSH collectors in this TS
60
+ implementation. Neither baseline provides an end-to-end consumption guarantee;
61
+ Side Session remains experimental. Relay/MCP are outside this comparison.
62
+
56
63
 
64
+ [0.4.0 handoff design and implementation scope](../PARITY.md#handoff-v1-design-candidate--69)
57
65
 
58
66
  ## Contents
59
67
 
@@ -73,7 +81,7 @@ Relay/MCP are outside this migration comparison.
73
81
  **Find and message running Claude Code and Codex sessions, locally or over SSH.**
74
82
  This TypeScript client runs on Node.js without Python.
75
83
 
76
- This guide describes **version 0.3.6**. The npm package and CLI command are both **`session-peer`**. This
84
+ This guide describes **version 0.5.0**. The npm package and CLI command are both **`session-peer`**. This
77
85
  project does not provide a Relay server or hosted service.
78
86
 
79
87
  ## Quick start
@@ -81,12 +89,12 @@ project does not provide a Relay server or hosted service.
81
89
  Use Node **22.13+ within 22.x or 24.x**. Check which `session-peer` your PATH
82
90
  selects if the Python CLI is already installed; both packages use that command.
83
91
 
84
- **Version 0.3.6 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.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).
85
93
 
86
94
  ```sh
87
- npm view session-peer@0.3.6 version dist.integrity
88
- npm install --global --ignore-scripts session-peer@0.3.6
89
- session-peer --version # session-peer 0.3.6 (typescript)
95
+ npm view session-peer@0.5.0 version dist.integrity
96
+ npm install --global --ignore-scripts session-peer@0.5.0
97
+ session-peer --version # session-peer 0.5.0 (typescript)
90
98
  session-peer list --agent claude --json
91
99
  session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
92
100
  ```
@@ -153,7 +161,7 @@ submits nothing. JSON adds sanitized `codexHomeResolution` and, when supplied by
153
161
  native queue output, `queueId`; neither confirms consumption. See the
154
162
  [selection contract](../PARITY.md#source-codex-home-selection--17--020).
155
163
  Published **0.1.0** still requires an explicit live home and has no inactive opt-in.
156
- On SSH, both ends need the same TypeScript client version (0.3.6).
164
+ On SSH, both ends need the same TypeScript client version (0.5.0).
157
165
 
158
166
  ## Requirements
159
167
 
@@ -177,11 +185,11 @@ npm run build
177
185
  node dist/cli.js --version
178
186
  npm pack --ignore-scripts
179
187
  # Optional global install: first check which session-peer your PATH selects.
180
- npm install --global --ignore-scripts ./session-peer-0.3.6.tgz
188
+ npm install --global --ignore-scripts ./session-peer-0.5.0.tgz
181
189
  session-peer --version
182
190
  ```
183
191
 
184
- Expected for version 0.3.6: `session-peer 0.3.6 (typescript)`. Keep the `./...tgz` path to
192
+ Expected for version 0.5.0: `session-peer 0.5.0 (typescript)`. Keep the `./...tgz` path to
185
193
  select the locally built artifact. Check the checkout version before using
186
194
  these commands for a later release.
187
195
 
@@ -201,7 +209,7 @@ On Windows PowerShell, inspect competing commands with
201
209
  npm ci --ignore-scripts
202
210
  npm run build
203
211
  npm pack --ignore-scripts
204
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.6.tgz
212
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.0.tgz
205
213
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
206
214
  # Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
207
215
  ```
@@ -441,8 +449,10 @@ npm run test:package
441
449
  npm audit
442
450
  ```
443
451
 
444
- Python is only the development conformance oracle (v1.0.2 commit
445
- `47c23713d0a2a3c11ebde6186afd8c43489b8b65`), never a runtime dependency. Tests also
452
+ Python is only the development comparison oracle (v1.1.0 commit
453
+ `8ca77cf31254c8287a2593fe484bb30a7dba2727`), never a runtime dependency.
454
+ The tested projection covers ordinary list/discovery; it does not establish full
455
+ send/handoff interoperability. Tests also
446
456
  need a C compiler and lsof for the POSIX contract suite. CI uses Node 22/24 on
447
457
  macOS, Linux and Windows. macOS/Linux run the full contract suite and package
448
458
  checks against the pinned reference. Windows x64 runs build/type checks, native
@@ -464,7 +474,7 @@ separate approval. Licensed under [MIT](../LICENSE).
464
474
 
465
475
  ## Package release
466
476
 
467
- Public **0.3.2** was verified on 2026-10-07 KST ([immutable checkpoint](../VALIDATION.md#public-032--2026-10-07-kst)). Check current 0.3.6 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.0 availability and npm tags with the registry queries below; dated preparation evidence does not establish a later publication outcome.
468
478
 
469
479
  Version 0.2.1 was published and verified on 2026-09-29 KST and 0.2.0 on
470
480
  2026-09-28 KST; see the [0.2.1 public release record](../VALIDATION.md#public-021--2026-09-29-kst).
@@ -472,7 +482,7 @@ Later releases add their own dated records. Check the exact version and current
472
482
  tags before installing:
473
483
 
474
484
  ```sh
475
- npm view session-peer@0.3.6 version dist.integrity
485
+ npm view session-peer@0.5.0 version dist.integrity
476
486
  npm view session-peer dist-tags
477
487
  ```
478
488
 
@@ -524,7 +534,7 @@ and reports `current`, `latest`, `channel` (`latest` by default, or `preview`),
524
534
  installation's owner is positively identified from the running CLI's path:
525
535
  an npm global prefix whose own `session-peer` launcher points at this package
526
536
  (default, Homebrew, nvm, nvm-windows and fnm prefixes), for example
527
- `npm install --global --ignore-scripts session-peer@0.3.6`; a pnpm, Yarn or Bun
537
+ `npm install --global --ignore-scripts session-peer@0.5.0`; a pnpm, Yarn or Bun
528
538
  global store whose manifest declares `session-peer`; Volta; or the npx cache.
529
539
  Project installs (`npm_project`, `pnpm_project`), source checkouts (`source`)
530
540
  and anything else (`unknown`) get `updateCommand: null` and a `guidance`
@@ -610,3 +620,19 @@ install a runtime. See [compatibility and validation](../PARITY.md#source-ts-ski
610
620
 
611
621
  Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
612
622
  never enabled automatically. See [explicit activation and collisions](shorthand.md).
623
+
624
+
625
+ <a id="unreleased-handoff"></a>
626
+
627
+ ## Private handoff and delivery observation (0.4.0)
628
+
629
+ 0.4.0 includes an opt-in private POSIX handoff ledger. Required unsupported evidence refuses before submission; best-effort unsupported evidence never proves ACK. Automated receipt bootstrap, Windows ledger and original-sender SSH collectors remain unsupported. POSIX SSH opt-in uses an explicitly initialized destination ledger: no-effect preparation pins target/home/generation before one send. See [destination-side SSH details](api.md#unreleased-destination-side-ssh-handoff); fake-SSH fixtures are distinct from real network qualification.
630
+
631
+ [CLI](api.md#unreleased-opt-in-handoff-cli--040-work)
632
+
633
+
634
+ Native observation supports exact Codex 0.160.1/0.162.1 on macOS arm64 with an already-warm metadata store. Retained qualified intents can start an independent `handoff wait`: native observation is read-only, while the operation persists private wait/terminal records. No native submission is repeated. Each operation owns its cutoff and preserves other pending or terminal waits. Dedicated new 0.162.1 Codex and Claude Code 2.1.296 sessions supplied local evidence; synthetic tests remain separate. Queued/posted, injection, turn completion and plain reply are distinct from receipt ACK. Automated ACK and Windows handoff remain unsupported.
635
+
636
+ [Observation](api.md#unreleased-local-delivery-observation--72)
637
+
638
+ Native delivery observation is unsupported on Linux and Windows. The 0.5.0 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).