session-peer 0.6.0 → 0.6.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.
- package/CONTRIBUTING.md +11 -5
- package/PARITY.md +1 -1
- package/README.ja.md +8 -8
- package/README.ko.md +8 -8
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/RELEASING.md +43 -0
- package/VALIDATION.md +36 -1
- package/dist/handoff-operations.js +65 -31
- package/dist/protocol.d.ts +2 -2
- package/dist/protocol.js +1 -1
- package/dist/skill-metadata.js +4 -3
- package/docs/api.md +7 -7
- package/docs/design/typescript-skill-compatibility.md +19 -0
- package/docs/guide.ja.md +15 -15
- package/docs/guide.ko.md +17 -17
- package/docs/guide.md +16 -16
- package/docs/guide.zh-CN.md +15 -15
- package/docs/shorthand.md +1 -1
- package/package.json +1 -1
package/CONTRIBUTING.md
CHANGED
|
@@ -99,8 +99,14 @@ do not authorize npm publication, production deployment or service restarts.
|
|
|
99
99
|
CI exercises release packaging without publishing. The manual publishing
|
|
100
100
|
workflow has separate confirmation and environment-approval gates; see
|
|
101
101
|
RELEASING.md before dispatching it. Never add publish credentials to PR tests.
|
|
102
|
-
Dependabot
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
Dependabot version updates for npm and GitHub Actions run weekly. Minor/patch
|
|
103
|
+
updates are grouped; major upgrades remain separate reviewed PRs. Auto-merge is
|
|
104
|
+
not enabled. GitHub vulnerability alerts and security-update settings are separate.
|
|
105
|
+
Keep lockfile, audit, native-load and platform tests for dependency updates.
|
|
106
|
+
The existing audit workflow still runs npm audit and registry signature checks.
|
|
107
|
+
|
|
108
|
+
The `secret-scan` workflow uses a checksum-pinned MIT Gitleaks CLI, not the
|
|
109
|
+
licensed Gitleaks GitHub Action. It scans full fetched Git history on PRs, main
|
|
110
|
+
pushes, weekly schedules and manual dispatch. Output is redacted and no secret
|
|
111
|
+
reports are uploaded. Treat a finding as requiring investigation; never blanket
|
|
112
|
+
allowlist credentials or assume a clean scan proves no past exposure.
|
package/PARITY.md
CHANGED
|
@@ -90,7 +90,7 @@ the installation pin; runtime publication is not companion-skill publication.
|
|
|
90
90
|
<a id="current-scoped-feature-matrix"></a>
|
|
91
91
|
## Current scoped feature matrix
|
|
92
92
|
|
|
93
|
-
Current source/package version: **0.6.
|
|
93
|
+
Current source/package version: **0.6.1**.
|
|
94
94
|
|
|
95
95
|
Reviewed **2026-10-29 KST** against TS **0.5.1** source
|
|
96
96
|
[`90481b148584926ea328ed956327f3050d9be9cb`](https://github.com/abruption/session-peer-ts/tree/90481b148584926ea328ed956327f3050d9be9cb)
|
package/README.ja.md
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**文書・ソースのバージョン: 0.6.
|
|
17
|
+
**文書・ソースのバージョン: 0.6.1。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](VALIDATION.md)、リリース手順は [RELEASING.md](RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.6.1 は互いの SSH 事前確認を拒否します。
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.6.
|
|
19
|
+
**0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.6.1 のソースは選択できない Linux arm64 の Codex 0.162.1 候補(固定された上流 `aarch64-unknown-linux-musl` 実行ファイル、スキーマ、注入テスト 1 回)を記録しますが、Linux 観測を有効化しません。Linux の native 観測は引き続き未対応です。
|
|
20
20
|
|
|
21
21
|
**実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
|
|
22
22
|
Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
|
|
@@ -61,15 +61,15 @@ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョン
|
|
|
61
61
|
`Get-Command session-peer -All` で PATH を確認してください。利用する実装を選び、
|
|
62
62
|
別の管理ツールのファイルを `--force` で上書きしないでください。
|
|
63
63
|
|
|
64
|
-
**0.6.
|
|
64
|
+
**0.6.1 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
|
|
65
65
|
|
|
66
66
|
```sh
|
|
67
|
-
npm view session-peer@0.6.
|
|
68
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
67
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
68
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
69
69
|
session-peer --version
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
期待する出力: `session-peer 0.6.
|
|
72
|
+
期待する出力: `session-peer 0.6.1 (typescript)`。分離インストール・ソースビルド・
|
|
73
73
|
Windows・削除の手順は以下の詳細ガイドを参照してください。
|
|
74
74
|
|
|
75
75
|
任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
|
|
@@ -78,12 +78,12 @@ Windows・削除の手順は以下の詳細ガイドを参照してください
|
|
|
78
78
|
### Update
|
|
79
79
|
|
|
80
80
|
npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
|
|
81
|
-
正確なバージョンを指定してください。以下は古い npm 版を選択した 0.6.
|
|
81
|
+
正確なバージョンを指定してください。以下は古い npm 版を選択した 0.6.1 に更新する例です。
|
|
82
82
|
CLI は更新をインストールせず、`session-peer update --check` は確認のみ行います。
|
|
83
83
|
|
|
84
84
|
```sh
|
|
85
85
|
npm view session-peer dist-tags
|
|
86
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
86
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
87
87
|
session-peer --version
|
|
88
88
|
```
|
|
89
89
|
|
package/README.ko.md
CHANGED
|
@@ -23,9 +23,9 @@ Python을 설치하지 않아도 Node.js에서 실행되는 TypeScript 클라이
|
|
|
23
23
|
|
|
24
24
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
25
25
|
|
|
26
|
-
**문서·소스 기준 버전: 0.6.
|
|
26
|
+
**문서·소스 기준 버전: 0.6.1.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](VALIDATION.md), 릴리스 절차는 [RELEASING.md](RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6 버전과 0.6.1 버전은 서로의 SSH 사전 확인을 거부합니다.
|
|
27
27
|
|
|
28
|
-
**0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.6.
|
|
28
|
+
**0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.6.1 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다.
|
|
29
29
|
|
|
30
30
|
<a id="demo"></a>
|
|
31
31
|
## 시연
|
|
@@ -70,15 +70,15 @@ PowerShell에서는 `Get-Command session-peer -All`로 PATH(명령 검색 경로
|
|
|
70
70
|
실행 파일을 찾는지 확인하세요. 사용할 구현을 선택하고 다른 패키지 관리자가 설치한
|
|
71
71
|
파일을 `--force`로 덮어쓰지 마세요. 설치와 갱신은 사용자가 npm으로 직접 수행합니다.
|
|
72
72
|
|
|
73
|
-
**0.6.
|
|
73
|
+
**0.6.1 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
|
|
74
74
|
|
|
75
75
|
```sh
|
|
76
|
-
npm view session-peer@0.6.
|
|
77
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
76
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
77
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
78
78
|
session-peer --version
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
예상 결과는 `session-peer 0.6.
|
|
81
|
+
예상 결과는 `session-peer 0.6.1 (typescript)`입니다. 별도 경로에 설치하거나,
|
|
82
82
|
소스에서 빌드하거나, Windows에서 설치·제거하는 방법은 [사용자 가이드](docs/guide.ko.md#설치)를 참고하세요.
|
|
83
83
|
|
|
84
84
|
선택 사항인 `sp` 단축 명령은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로
|
|
@@ -89,13 +89,13 @@ session-peer --version
|
|
|
89
89
|
### 업데이트
|
|
90
90
|
|
|
91
91
|
npm으로 설치한 클라이언트는 사용자가 직접 npm으로 업데이트합니다. 사용 가능한 배포 태그
|
|
92
|
-
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.6.
|
|
92
|
+
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.6.1 버전으로
|
|
93
93
|
업데이트합니다. `session-peer` CLI는 업데이트를 설치하지 않습니다. `session-peer
|
|
94
94
|
update --check`는 새 버전이 있는지 확인할 뿐입니다.
|
|
95
95
|
|
|
96
96
|
```sh
|
|
97
97
|
npm view session-peer dist-tags
|
|
98
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
98
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
99
99
|
session-peer --version
|
|
100
100
|
```
|
|
101
101
|
|
package/README.md
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**Documentation and source version: 0.6.
|
|
17
|
+
**Documentation and source version: 0.6.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.6.1 refuse each other’s SSH preflight.
|
|
18
18
|
|
|
19
|
-
**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.6.
|
|
19
|
+
**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.6.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.
|
|
20
20
|
|
|
21
21
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
22
22
|
A Node.js client that runs without Python. Package and command: `session-peer`.
|
|
@@ -61,15 +61,15 @@ Check `type -a session-peer` on macOS/Linux or `Get-Command session-peer -All`
|
|
|
61
61
|
in PowerShell before installing. Choose the intended PATH entry; do not use
|
|
62
62
|
`--force` to overwrite another manager’s files.
|
|
63
63
|
|
|
64
|
-
**Version 0.6.
|
|
64
|
+
**Version 0.6.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](docs/guide.md#build-from-source).
|
|
65
65
|
|
|
66
66
|
```sh
|
|
67
|
-
npm view session-peer@0.6.
|
|
68
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
67
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
68
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
69
69
|
session-peer --version
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
Expected: `session-peer 0.6.
|
|
72
|
+
Expected: `session-peer 0.6.1 (typescript)`. For isolated installation, source
|
|
73
73
|
builds, Windows and removal, see the detailed guide below.
|
|
74
74
|
|
|
75
75
|
Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
|
|
@@ -79,12 +79,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
|
|
|
79
79
|
|
|
80
80
|
Use npm for an npm-managed installation. Check the available tags and review
|
|
81
81
|
the target version, then install that exact version; this example updates an
|
|
82
|
-
older npm installation to the selected 0.6.
|
|
82
|
+
older npm installation to the selected 0.6.1 release. The CLI does not install updates;
|
|
83
83
|
`session-peer update --check` only reports them.
|
|
84
84
|
|
|
85
85
|
```sh
|
|
86
86
|
npm view session-peer dist-tags
|
|
87
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
87
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
88
88
|
session-peer --version
|
|
89
89
|
```
|
|
90
90
|
|
package/README.zh-CN.md
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**文档和源码版本:0.6.
|
|
17
|
+
**文档和源码版本:0.6.1。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.6.1 会拒绝彼此的 SSH 预检。
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.6.
|
|
19
|
+
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.6.1 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。
|
|
20
20
|
|
|
21
21
|
**发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
|
|
22
22
|
这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
|
|
@@ -59,15 +59,15 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
|
|
|
59
59
|
`Get-Command session-peer -All` 检查 PATH。选择所需实现,不要用 `--force`
|
|
60
60
|
覆盖其他安装管理器的文件。
|
|
61
61
|
|
|
62
|
-
**安装 0.6.
|
|
62
|
+
**安装 0.6.1:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
npm view session-peer@0.6.
|
|
66
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
65
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
66
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
67
67
|
session-peer --version
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
预期输出:`session-peer 0.6.
|
|
70
|
+
预期输出:`session-peer 0.6.1 (typescript)`。隔离安装、源码构建、Windows 和
|
|
71
71
|
卸载步骤见下方详细指南。
|
|
72
72
|
|
|
73
73
|
可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
|
|
@@ -76,11 +76,11 @@ session-peer --version
|
|
|
76
76
|
### Update
|
|
77
77
|
|
|
78
78
|
使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
|
|
79
|
-
下面示例将旧 npm 安装更新至所选的 0.6.
|
|
79
|
+
下面示例将旧 npm 安装更新至所选的 0.6.1。CLI 不会安装更新,`session-peer update --check` 只做检查。
|
|
80
80
|
|
|
81
81
|
```sh
|
|
82
82
|
npm view session-peer dist-tags
|
|
83
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
83
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
84
84
|
session-peer --version
|
|
85
85
|
```
|
|
86
86
|
|
package/RELEASING.md
CHANGED
|
@@ -9,6 +9,49 @@ the historical 0.3.2 settings-read exception is recorded below. The workflow
|
|
|
9
9
|
uses OIDC and no npm token. The protected GitHub environment requires a reviewer
|
|
10
10
|
and permits deployments from `main` only.
|
|
11
11
|
|
|
12
|
+
## 0.6.1 preparation — 2026-11-09 KST
|
|
13
|
+
|
|
14
|
+
Issue [#188](https://github.com/abruption/session-peer-ts/issues/188) tracks
|
|
15
|
+
preparation from merged main `a86eb11242f922a5f8959516bf8cb2f9b4b41e5a`
|
|
16
|
+
([#179](https://github.com/abruption/session-peer-ts/pull/179), including
|
|
17
|
+
[#181](https://github.com/abruption/session-peer-ts/pull/181)). The patch adds
|
|
18
|
+
bounded internal owner-validation diagnostics and test-only evidence capture.
|
|
19
|
+
Dependabot and redacted secret scanning are repository maintenance; their
|
|
20
|
+
configuration is not installed as a CLI feature. The runtime has no default
|
|
21
|
+
diagnostic file I/O. Explicit observers can add work within the unchanged
|
|
22
|
+
operation budget. Owner/storage predicates, the 800-ms probe limit, at-most-one
|
|
23
|
+
submission and unknown/no-resend behavior remain unchanged.
|
|
24
|
+
|
|
25
|
+
[#180](https://github.com/abruption/session-peer-ts/issues/180) remains open.
|
|
26
|
+
The historical macOS failures were not naturally reproduced in the instrumented
|
|
27
|
+
runs, so this release must not claim a causal repair, harmless flakiness or a
|
|
28
|
+
new platform/native/ACK qualification. The candidate adds only an explicit
|
|
29
|
+
0.6.1 doctor row for the same four exact skill profiles; grammar, reader,
|
|
30
|
+
existing rows, skill bodies and immutable installation pins are unchanged.
|
|
31
|
+
Both SSH endpoints must use the same exact runtime version: 0.6.0 and 0.6.1 do
|
|
32
|
+
not pass one another's version preflight.
|
|
33
|
+
|
|
34
|
+
Public registry metadata checked for preparation reports latest=0.6.0,
|
|
35
|
+
preview=0.1.0-preview.1 and 0.6.1 absent. The public 0.6.0 integrity is
|
|
36
|
+
`sha512-/EsNpj+Gq4siicBVH8u5UTGbUICQhipyGOY2khG+BW1ken9Z23s/zacOn+tJu//DUuq+G0yc7wwFJbgQHC6+AA==`;
|
|
37
|
+
its provenance endpoint is
|
|
38
|
+
`https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.6.0`.
|
|
39
|
+
This public metadata read is not an authenticated ownership, pending-stage,
|
|
40
|
+
Trusted Publisher or publish-MFA audit. Historical settings-read exceptions and
|
|
41
|
+
approvals do not carry forward.
|
|
42
|
+
|
|
43
|
+
Preparation does not authorize publication. Before any dispatch, require final
|
|
44
|
+
PR reviews, exact merged-main macOS/Ubuntu/Windows Node 22/24, CodeQL and release
|
|
45
|
+
gate success; reproducible source-bound archive, packaged Markdown identity and
|
|
46
|
+
isolated lifecycle checks; fresh ownership, pending-stage, stage-only Trusted
|
|
47
|
+
Publisher, publish-MFA and protected-environment checks. Obtain a separate
|
|
48
|
+
approval naming the exact merged main SHA, archive digest, `session-peer@0.6.1`,
|
|
49
|
+
`stable-stage` and eventual latest promotion. GitHub npm environment and final
|
|
50
|
+
npm stage 2FA approvals remain separate. Do not automatically retry an uncertain
|
|
51
|
+
upload. Tags and GitHub Release publication also require separate authorization.
|
|
52
|
+
No workflow dispatch, staging, tag, release, package publication or global/fleet
|
|
53
|
+
installation is performed as part of this preparation.
|
|
54
|
+
|
|
12
55
|
## 0.6.0 preparation — 2026-11-03 KST
|
|
13
56
|
|
|
14
57
|
This is release preparation, not a publication record or authorization to
|
package/VALIDATION.md
CHANGED
|
@@ -1,4 +1,39 @@
|
|
|
1
|
-
# Validation record — updated 2026-11-
|
|
1
|
+
# Validation record — updated 2026-11-09 KST
|
|
2
|
+
|
|
3
|
+
## 0.6.1 preparation scope — 2026-11-09 KST
|
|
4
|
+
|
|
5
|
+
The release candidate for [#188](https://github.com/abruption/session-peer-ts/issues/188)
|
|
6
|
+
starts from merged main `a86eb11242f922a5f8959516bf8cb2f9b4b41e5a`, including
|
|
7
|
+
[#179](https://github.com/abruption/session-peer-ts/pull/179) and
|
|
8
|
+
[#181](https://github.com/abruption/session-peer-ts/pull/181). It carries internal
|
|
9
|
+
owner-probe instrumentation, explicit test-only ordered capture and repository
|
|
10
|
+
update/secret-scan configuration. It does not claim to fix the still-unverified
|
|
11
|
+
historical failures in [#180](https://github.com/abruption/session-peer-ts/issues/180).
|
|
12
|
+
Normal passing, expected negative and artificially injected outcomes are kept
|
|
13
|
+
separate. No timeout, assertion, owner/storage guard or platform refusal is
|
|
14
|
+
weakened. The explicit 0.6.1 metadata row retains the same four exact profiles;
|
|
15
|
+
no companion body or immutable installation pin changes.
|
|
16
|
+
|
|
17
|
+
The predecessor branch `b609755193637c0c1542cd91bd10dc480f5dfc2a` passed all 13
|
|
18
|
+
generated checks. macOS Node 22 and 24 each had 672 total, 660 pass, 0 fail,
|
|
19
|
+
11 platform skips and 1 existing TODO; original targets passed with zero
|
|
20
|
+
recorded capture drops. These are predecessor results, not validation of this
|
|
21
|
+
version-bumped candidate. Current candidate checks and archive identity are
|
|
22
|
+
recorded in the release PR and source-bound manifest after actual execution.
|
|
23
|
+
Final merged-main validation and approvals remain separate future gates.
|
|
24
|
+
|
|
25
|
+
The version-bumped candidate passed local macOS arm64 Node 24.22.1 build/types
|
|
26
|
+
and the full suite: 672 total, 660 pass, 0 fail, 11 platform skips and 1 existing
|
|
27
|
+
TODO, using pinned Python reference `8ca77cf31254c8287a2593fe484bb30a7dba2727`.
|
|
28
|
+
Repository/version/link checks and `git diff --check` passed. The read-only public
|
|
29
|
+
0.6.0 tarball SHA-256 matches its prior record:
|
|
30
|
+
`23a422252fb945c07f06184207b07c80ec280360cd29c97949c2c941398336f4`;
|
|
31
|
+
its SHA-512 matches current registry integrity. This is not a fresh signature,
|
|
32
|
+
provenance trust or authenticated npm policy audit. Package lifecycle, final
|
|
33
|
+
PR-head CI/reviews and merged-main gates are recorded separately after execution.
|
|
34
|
+
|
|
35
|
+
No authenticated npm policy audit, staging, publication, native/model/session
|
|
36
|
+
input, fleet installation or operational change is implied by preparation.
|
|
2
37
|
|
|
3
38
|
## 0.6.0 preparation scope — 2026-11-03 KST
|
|
4
39
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Opt-in integration only. Default CLI imports this without opening storage or
|
|
2
2
|
// starting an observer/collector. Production receipt bootstrap is unqualified.
|
|
3
3
|
import { homedir, hostname } from 'node:os';
|
|
4
|
+
import { channel } from 'node:diagnostics_channel';
|
|
4
5
|
import { dirname, isAbsolute, join, parse, resolve } from 'node:path';
|
|
5
6
|
import { closeSync, constants, fstatSync, lstatSync, mkdirSync, openSync, readSync, realpathSync } from 'node:fs';
|
|
6
7
|
import { HandoffLedger, payloadDigest } from './handoff-ledger.js';
|
|
@@ -14,6 +15,68 @@ import { HomeRefusal } from './writer.js';
|
|
|
14
15
|
import { run, UnknownOutcome } from './process.js';
|
|
15
16
|
import { currentPlatform, selectNativeProfile, validateNativeProfiles } from './native-profiles.js';
|
|
16
17
|
import { codexStoragePin } from './codex-storage.js';
|
|
18
|
+
// Internal observations only: no I/O or public protocol changes. Never publish
|
|
19
|
+
// paths, identifiers, generations, native output or arguments on this channel.
|
|
20
|
+
const ownerProbeChannel = channel('session-peer.handoff.owner-probe');
|
|
21
|
+
async function retainedOwnerProbe(scope, budget, ownerArgs, phase, stopped, signal) {
|
|
22
|
+
const observed = ownerProbeChannel.hasSubscribers, started = observed ? performance.now() : 0;
|
|
23
|
+
let timeoutMs = 0;
|
|
24
|
+
const report = (outcome, result) => {
|
|
25
|
+
if (!observed)
|
|
26
|
+
return;
|
|
27
|
+
ownerProbeChannel.publish(Object.freeze({ schemaVersion: 1, phase, outcome,
|
|
28
|
+
elapsedMs: Math.max(0, Math.round((performance.now() - started) * 1000) / 1000),
|
|
29
|
+
timeoutMs: Math.max(0, timeoutMs), spawned: result?.spawned ?? false,
|
|
30
|
+
code: result?.code ?? null, interrupted: result?.interrupted ?? false, stopReason: result?.stopReason ?? null }));
|
|
31
|
+
};
|
|
32
|
+
if (stopped()) {
|
|
33
|
+
report('stopped');
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
if (signal?.aborted) {
|
|
37
|
+
report('aborted');
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
if (budget.observationRemainingMs() < 1) {
|
|
41
|
+
report('budget_exhausted');
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
const worker = fileURLToPath(new URL('./handoff-writer-probe.js', import.meta.url));
|
|
45
|
+
timeoutMs = Math.min(800, budget.observationRemainingMs());
|
|
46
|
+
let result;
|
|
47
|
+
try {
|
|
48
|
+
result = await run(process.execPath, [worker, scope.home, scope.threadId, ...ownerArgs], { timeout: timeoutMs, limit: 4096, env: { ...process.env, NODE_OPTIONS: undefined, NODE_PATH: undefined } });
|
|
49
|
+
}
|
|
50
|
+
catch (error) {
|
|
51
|
+
report('process_error');
|
|
52
|
+
throw error;
|
|
53
|
+
}
|
|
54
|
+
if (stopped()) {
|
|
55
|
+
report('stopped', result);
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
if (signal?.aborted) {
|
|
59
|
+
report('aborted', result);
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
if (result.code !== 0 || result.interrupted) {
|
|
63
|
+
report(result.stopReason ?? (result.interrupted ? 'interrupted' : 'nonzero_exit'), result);
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
try {
|
|
67
|
+
const value = JSON.parse(result.stdout);
|
|
68
|
+
const valid = value.schemaVersion === 1 && value.ok === true &&
|
|
69
|
+
Object.keys(value).every(key => ['schemaVersion', 'ok', 'generation'].includes(key)) && /^[0-9a-f]{64}$/.test(value.generation);
|
|
70
|
+
const matched = valid && value.generation === scope.generation;
|
|
71
|
+
report(matched ? 'matched' : valid ? 'generation_mismatch' :
|
|
72
|
+
value.schemaVersion === 1 && value.ok === false ? 'unverified_reply' : 'invalid_reply', result);
|
|
73
|
+
return matched;
|
|
74
|
+
}
|
|
75
|
+
catch {
|
|
76
|
+
report('invalid_reply', result);
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
17
80
|
function unmanaged(path) {
|
|
18
81
|
// A managed v2 context has one collector writer. New legacy CLI paths must
|
|
19
82
|
// refuse before even creating an old lock file; historical v1 stays intact.
|
|
@@ -170,21 +233,7 @@ export async function handoffSend(options, handoffOptions) {
|
|
|
170
233
|
const authorize = async () => { if (stopped)
|
|
171
234
|
throw new Refusal('stopped_by_operator', 130); budget.beforeEffect(); handoff = await persist(() => { if (stopped)
|
|
172
235
|
throw new Refusal('stopped_by_operator', 130); return ledger.commitEffect(handoff.correlationId, original, budget); }); fenced = true; ownWait(); };
|
|
173
|
-
const verifyOwner =
|
|
174
|
-
if (stopped || signal?.aborted || budget.observationRemainingMs() < 1)
|
|
175
|
-
return false;
|
|
176
|
-
const worker = fileURLToPath(new URL('./handoff-writer-probe.js', import.meta.url));
|
|
177
|
-
const result = await run(process.execPath, [worker, target.home, target.threadId, ...ownerArgs], { timeout: Math.min(800, budget.observationRemainingMs()), limit: 4096, env: { ...process.env, NODE_OPTIONS: undefined, NODE_PATH: undefined } });
|
|
178
|
-
if (signal?.aborted || stopped || result.code !== 0 || result.interrupted)
|
|
179
|
-
return false;
|
|
180
|
-
try {
|
|
181
|
-
const value = JSON.parse(result.stdout);
|
|
182
|
-
return value.schemaVersion === 1 && value.ok === true && Object.keys(value).every(key => ['schemaVersion', 'ok', 'generation'].includes(key)) && /^[0-9a-f]{64}$/.test(value.generation) && value.generation === target.generation;
|
|
183
|
-
}
|
|
184
|
-
catch {
|
|
185
|
-
return false;
|
|
186
|
-
}
|
|
187
|
-
};
|
|
236
|
+
const verifyOwner = (target, signal) => retainedOwnerProbe(target, budget, ownerArgs, 'send', () => stopped, signal);
|
|
188
237
|
const finish = (value, exitCode) => ({ value: { ...value, ...(handoff ? { handoff } : {}) }, exitCode });
|
|
189
238
|
if (handoffOptions.waitFor)
|
|
190
239
|
process.on('SIGINT', stop);
|
|
@@ -370,22 +419,7 @@ export async function waitForHandoff(ledger, id, goal, budget) {
|
|
|
370
419
|
const ownWait = () => { if (operationId)
|
|
371
420
|
handoff = ledger.operationStatus(id, operationId); };
|
|
372
421
|
const ownerArgs = ownerProbeArgs(context?.qualification);
|
|
373
|
-
const verifyOwner =
|
|
374
|
-
if (stopped || signal.aborted || budget.observationRemainingMs() < 1)
|
|
375
|
-
return false;
|
|
376
|
-
const worker = fileURLToPath(new URL('./handoff-writer-probe.js', import.meta.url));
|
|
377
|
-
const result = await run(process.execPath, [worker, scope.home, scope.threadId, ...ownerArgs], { timeout: Math.min(800, budget.observationRemainingMs()), limit: 4096, env: { ...process.env, NODE_OPTIONS: undefined, NODE_PATH: undefined } });
|
|
378
|
-
if (stopped || signal.aborted || result.code !== 0 || result.interrupted)
|
|
379
|
-
return false;
|
|
380
|
-
try {
|
|
381
|
-
const value = JSON.parse(result.stdout);
|
|
382
|
-
return value.schemaVersion === 1 && value.ok === true && Object.keys(value).every(key => ['schemaVersion', 'ok', 'generation'].includes(key)) &&
|
|
383
|
-
/^[0-9a-f]{64}$/.test(value.generation) && value.generation === scope.generation;
|
|
384
|
-
}
|
|
385
|
-
catch {
|
|
386
|
-
return false;
|
|
387
|
-
}
|
|
388
|
-
};
|
|
422
|
+
const verifyOwner = (scope, signal) => retainedOwnerProbe(scope, budget, ownerArgs, 'wait', () => stopped, signal);
|
|
389
423
|
process.on('SIGINT', stop);
|
|
390
424
|
try {
|
|
391
425
|
handoff = await persist(() => ledger.beginWait(id, goal, budget, { observationSupported: context !== undefined }));
|
package/dist/protocol.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const VERSION = "0.6.
|
|
2
|
-
export declare const VERSION_LINE = "session-peer 0.6.
|
|
1
|
+
export declare const VERSION = "0.6.1";
|
|
2
|
+
export declare const VERSION_LINE = "session-peer 0.6.1 (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.6.
|
|
4
|
+
export const VERSION = '0.6.1';
|
|
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/dist/skill-metadata.js
CHANGED
|
@@ -9,8 +9,8 @@ const verdict = (compatible) => ({ status: compatible ? 'compatible' : 'incompat
|
|
|
9
9
|
code: compatible ? 'skill_contract_compatible' : 'skill_contract_mismatch', verification: 'metadata_only' });
|
|
10
10
|
export const SKILL_METADATA_LIMIT = 65536;
|
|
11
11
|
const keys = ['version', 'runtime-implementation', 'runtime-min-version', 'runtime-full-version', 'runtime-capability-policy'];
|
|
12
|
-
// Preserve each published runtime/profile result. The 0.6.
|
|
13
|
-
// carries forward only the four exact profiles accepted by public 0.
|
|
12
|
+
// Preserve each published runtime/profile result. The 0.6.1 preparation row
|
|
13
|
+
// carries forward only the four exact profiles accepted by public 0.6.0.
|
|
14
14
|
// Metadata compatibility does not authenticate content or publish/install a skill.
|
|
15
15
|
// Every later runtime/profile requires separate review; no version ranges.
|
|
16
16
|
const matrix = {
|
|
@@ -20,7 +20,8 @@ const matrix = {
|
|
|
20
20
|
'0.5.0': ['0.1.0', '0.2.0', '0.2.1', '0.3.0'],
|
|
21
21
|
'0.5.1': ['0.1.0', '0.2.0', '0.2.1', '0.3.0'],
|
|
22
22
|
'0.5.2': ['0.1.0', '0.2.0', '0.2.1', '0.3.0'],
|
|
23
|
-
'0.6.0': ['0.1.0', '0.2.0', '0.2.1', '0.3.0']
|
|
23
|
+
'0.6.0': ['0.1.0', '0.2.0', '0.2.1', '0.3.0'],
|
|
24
|
+
'0.6.1': ['0.1.0', '0.2.0', '0.2.1', '0.3.0']
|
|
24
25
|
};
|
|
25
26
|
const profiles = {
|
|
26
27
|
'0.1.0': ['0.1.0', 'typescript', '0.1.0', '0.1.0', 'probe-help'],
|
package/docs/api.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# API reference
|
|
2
2
|
|
|
3
|
-
This reference describes source/package version **0.6.
|
|
3
|
+
This reference describes source/package version **0.6.1**. Check registry availability and review the selected release before installation. Dated release evidence is recorded in [VALIDATION.md](../VALIDATION.md); before publication use a reviewed source artifact.
|
|
4
4
|
|
|
5
5
|
[Back to README](../README.md) · [User guide](guide.md)
|
|
6
6
|
|
|
7
7
|
The package exposes a small ESM API with TypeScript declarations. Install it
|
|
8
|
-
locally with `npm install --ignore-scripts session-peer@0.6.
|
|
8
|
+
locally with `npm install --ignore-scripts session-peer@0.6.1` before importing it.
|
|
9
9
|
Importing the package does not execute the CLI or submit a message.
|
|
10
10
|
|
|
11
11
|
```js
|
|
12
12
|
import { VERSION, VERSION_LINE, reply, envelope } from 'session-peer';
|
|
13
13
|
|
|
14
|
-
console.log(VERSION); // 0.6.
|
|
15
|
-
console.log(VERSION_LINE); // session-peer 0.6.
|
|
14
|
+
console.log(VERSION); // 0.6.1
|
|
15
|
+
console.log(VERSION_LINE); // session-peer 0.6.1 (typescript)
|
|
16
16
|
const address = 'session-peer://v1/reply?agent=claude&session=12345&transport=local';
|
|
17
17
|
console.log(reply(address)); // { to: '12345' }
|
|
18
18
|
console.log(envelope('Please review and reply.', true, address));
|
|
@@ -214,7 +214,7 @@ message/transcript scan manufactures ACK. Ordinary generated Reply-To stays v1.
|
|
|
214
214
|
|
|
215
215
|
POSIX opt-in `send --host HOST` performs an exact-version preflight and a
|
|
216
216
|
no-effect preparation before one destination-side send. Both ends must contain
|
|
217
|
-
the same reviewed 0.6.
|
|
217
|
+
the same reviewed 0.6.1 implementation. This workflow was introduced in
|
|
218
218
|
0.4.0; a 0.3.x banner does not establish the capability. Initialize the destination's private ledger explicitly; no command
|
|
219
219
|
auto-installs a handler or initializes missing history. The origin does not
|
|
220
220
|
create a local receipt collector. Reconcile with `handoff status`/`wait` on the
|
|
@@ -316,7 +316,7 @@ requested evidence goal. After any possible RPC write, no legacy fallback or
|
|
|
316
316
|
second submission occurs.
|
|
317
317
|
|
|
318
318
|
Selection is by the exact host platform/architecture and native version.
|
|
319
|
-
The 0.6.
|
|
319
|
+
The 0.6.1 source records a Linux arm64 Codex 0.162.1 candidate (pinned musl
|
|
320
320
|
executable, procfs storage binding, `/proc/locks` writer-owner check) but does
|
|
321
321
|
not activate it. Linux and any other unlisted platform/version have no
|
|
322
322
|
profile, so required delivery refuses before effect and best-effort uses the
|
|
@@ -396,7 +396,7 @@ a completed milestone. Exact evidence and limits are in [VALIDATION](../VALIDATI
|
|
|
396
396
|
|
|
397
397
|
## 0.4.0 implementation scope
|
|
398
398
|
|
|
399
|
-
The 0.6.
|
|
399
|
+
The 0.6.1 source preserves this supported handoff scope; its Linux and Windows
|
|
400
400
|
groundwork does not enable additional platform or ACK support.
|
|
401
401
|
|
|
402
402
|
The 0.4.0 implementation includes the qualified macOS arm64 observer and explicit
|
|
@@ -2,6 +2,25 @@
|
|
|
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.6.1 finite row — 2026-11-09 KST release preparation
|
|
6
|
+
|
|
7
|
+
The candidate explicitly carries forward the four exact profiles accepted by
|
|
8
|
+
public 0.6.0: skill 0.1.0, 0.2.0, 0.2.1 and 0.3.0 with unchanged metadata.
|
|
9
|
+
Compiled default, explicit `undefined`, explicit 0.6.1 and outer `inspectSkill`
|
|
10
|
+
use this finite row. Matching metadata remains exactly
|
|
11
|
+
`compatible / skill_contract_compatible / metadata_only`; changed profiles and
|
|
12
|
+
unreviewed runtime identities such as 0.6.2 or 0.7.0 remain incompatible.
|
|
13
|
+
Malformed 0.6.1-preview.1 and 00.6.1 remain
|
|
14
|
+
`unknown / skill_metadata_missing` with no `verification` property.
|
|
15
|
+
|
|
16
|
+
All historical rows, parser/reader behavior and immutable complete-skill
|
|
17
|
+
fixtures remain unchanged. This row does not publish/install a skill, change
|
|
18
|
+
its independent source pin, authenticate content or qualify native delivery,
|
|
19
|
+
receipt/ACK support or a platform. The dated 0.6.0 section below records its
|
|
20
|
+
then-unreviewed 0.6.1 rejection; that historical artifact is not rewritten.
|
|
21
|
+
A new helper accepting an explicit runtime string is not execution of an older
|
|
22
|
+
published CLI. This section records candidate preparation, not public 0.6.1.
|
|
23
|
+
|
|
5
24
|
## 0.6.0 finite row — 2026-11-03 KST release preparation
|
|
6
25
|
|
|
7
26
|
The 0.6.0 source preparation adds one explicit runtime row accepting exactly the
|
package/docs/guide.ja.md
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
12
12
|
|
|
13
|
-
**文書・ソースのバージョン: 0.6.
|
|
13
|
+
**文書・ソースのバージョン: 0.6.1。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.6.1 は互いの SSH 事前確認を拒否します。
|
|
14
14
|
|
|
15
|
-
**0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.6.
|
|
15
|
+
**0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.6.1 のソースは選択できない Linux arm64 の Codex 0.162.1 候補(固定された上流 `aarch64-unknown-linux-musl` 実行ファイル、スキーマ、注入テスト 1 回)を記録しますが、Linux 観測を有効化しません。Linux の native 観測は引き続き未対応です。
|
|
16
16
|
|
|
17
|
-
0.6.
|
|
17
|
+
0.6.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 の説明は旧版との比較です。
|
|
18
18
|
|
|
19
19
|
<a id="移行時の境界-033-候補"></a>
|
|
20
20
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
実行中の **Claude Code と Codex セッション**に、ローカルまたは SSH 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
|
|
52
52
|
|
|
53
|
-
**0.6.
|
|
53
|
+
**0.6.1 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
|
|
54
54
|
|
|
55
55
|
## 機能と範囲
|
|
56
56
|
|
|
@@ -67,7 +67,7 @@ Relay 通信、MCP、wake/resume、Antigravity、自動更新は未実装です
|
|
|
67
67
|
|
|
68
68
|
ビルド後の `node dist/cli.js list --json` は Claude/Codex をまとめて表示し、`list --agent codex --json` は既知の home を検索します。公開 npm **0.1.0** では引き続き agent と Codex 一覧の home を明示します。0.2.0 でも明示的なコマンド形式を利用できます。
|
|
69
69
|
|
|
70
|
-
対象は既定の `~/.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.6.
|
|
70
|
+
対象は既定の `~/.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.6.1)が必要です。
|
|
71
71
|
|
|
72
72
|
### 0.2.0 CLI の使いやすさ
|
|
73
73
|
|
|
@@ -116,15 +116,15 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
|
|
|
116
116
|
|
|
117
117
|
Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
|
|
118
118
|
|
|
119
|
-
**0.6.
|
|
119
|
+
**0.6.1 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
|
|
120
120
|
|
|
121
121
|
```sh
|
|
122
|
-
npm view session-peer@0.6.
|
|
123
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
122
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
123
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
124
124
|
session-peer --version
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
期待値は `session-peer 0.6.
|
|
127
|
+
期待値は `session-peer 0.6.1 (typescript)`。
|
|
128
128
|
|
|
129
129
|
1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
|
|
130
130
|
2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
|
|
@@ -143,7 +143,7 @@ npm run build
|
|
|
143
143
|
node dist/cli.js --version
|
|
144
144
|
npm pack --ignore-scripts
|
|
145
145
|
# 任意のグローバルインストール前に PATH の既存コマンドを確認
|
|
146
|
-
npm install --global --ignore-scripts ./session-peer-0.6.
|
|
146
|
+
npm install --global --ignore-scripts ./session-peer-0.6.1.tgz
|
|
147
147
|
session-peer --version
|
|
148
148
|
```
|
|
149
149
|
|
|
@@ -153,7 +153,7 @@ session-peer --version
|
|
|
153
153
|
|
|
154
154
|
インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
|
|
155
155
|
|
|
156
|
-
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.6.
|
|
156
|
+
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.6.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` で削除します。
|
|
157
157
|
|
|
158
158
|
## 使い方
|
|
159
159
|
|
|
@@ -244,13 +244,13 @@ Python は開発時の比較基準です(v1.1.0、`8ca77cf31254c8287a2593fe484
|
|
|
244
244
|
|
|
245
245
|
## npm リリース
|
|
246
246
|
|
|
247
|
-
公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.6.
|
|
247
|
+
公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.6.1 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
|
|
248
248
|
|
|
249
249
|
0.2.1 は 2026-09-29 KST、0.2.0 は 2026-09-28 KST に公開・検証されました。
|
|
250
250
|
[0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
|
|
251
251
|
|
|
252
252
|
```sh
|
|
253
|
-
npm view session-peer@0.6.
|
|
253
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
254
254
|
npm view session-peer dist-tags
|
|
255
255
|
```
|
|
256
256
|
|
|
@@ -292,7 +292,7 @@ session-peer update --check --channel preview --output-format text
|
|
|
292
292
|
実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
|
|
293
293
|
対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
|
|
294
294
|
(既定、Homebrew、nvm、nvm-windows、fnm。例:
|
|
295
|
-
`npm install --global --ignore-scripts session-peer@0.6.
|
|
295
|
+
`npm install --global --ignore-scripts session-peer@0.6.1`)、マニフェストで
|
|
296
296
|
`session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
|
|
297
297
|
です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
|
|
298
298
|
アウト(`source`)、それ以外(`unknown`)では `updateCommand: null` と `guidance` の文だけを
|
|
@@ -387,4 +387,4 @@ native 観測は、macOS arm64 の厳密な Codex 0.160.1/0.162.1 と既存の
|
|
|
387
387
|
|
|
388
388
|
[Observation](api.md#unreleased-local-delivery-observation--72)
|
|
389
389
|
|
|
390
|
-
Linux・Windows の native 注入観測は未対応です。 0.6.
|
|
390
|
+
Linux・Windows の native 注入観測は未対応です。 0.6.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
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
12
12
|
|
|
13
|
-
**문서·소스 기준 버전: 0.6.
|
|
13
|
+
**문서·소스 기준 버전: 0.6.1.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6 버전과 0.6.1 버전은 서로의 SSH 사전 확인을 거부합니다.
|
|
14
14
|
|
|
15
|
-
**0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.6.
|
|
15
|
+
**0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.6.1 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다.
|
|
16
16
|
|
|
17
|
-
이 가이드는 0.6.
|
|
17
|
+
이 가이드는 0.6.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을 언급할 때는 이전 버전을 설명합니다.
|
|
18
18
|
|
|
19
19
|
<a id="마이그레이션-경계-033-후보"></a>
|
|
20
20
|
|
|
@@ -102,7 +102,7 @@ JSON에는 정제된 `codexHomeResolution`이 포함되며, 네이티브 응답
|
|
|
102
102
|
`queueId`도 포함됩니다. 둘 다 메시지를 읽거나 처리했음을 확인하지 않습니다.
|
|
103
103
|
[홈 선택 계약](../PARITY.md#source-codex-home-selection--17--020)을 참고하세요.
|
|
104
104
|
공개 **0.1.0**은 여전히 실행 중인 홈을 명시해야 하며 비활성 세션 허용 옵션이 없습니다.
|
|
105
|
-
SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.6.
|
|
105
|
+
SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.6.1)을 설치해야
|
|
106
106
|
합니다.
|
|
107
107
|
|
|
108
108
|
<a id="020-cli-사용성"></a>
|
|
@@ -168,20 +168,20 @@ Claude Code에는 받은 메시지함에 접근할 수 있는 실행 중 TUI(터
|
|
|
168
168
|
|
|
169
169
|
Node 22.x의 22.13 이상 또는 24.x를 사용하세요. Python CLI도 같은 `session-peer`
|
|
170
170
|
명령 이름을 쓰므로, 설치 전에 PATH(명령 검색 경로)에서 어떤 실행 파일을 찾는지
|
|
171
|
-
확인하세요. 아래 명령은 선택한 0.6.
|
|
171
|
+
확인하세요. 아래 명령은 선택한 0.6.1 버전을 npm으로 설치하는 예입니다.
|
|
172
172
|
CLI 자체는 패키지를 설치하거나 업데이트하지 않습니다.
|
|
173
173
|
|
|
174
|
-
**0.6.
|
|
174
|
+
**0.6.1 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
|
|
175
175
|
|
|
176
176
|
```sh
|
|
177
|
-
npm view session-peer@0.6.
|
|
178
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
179
|
-
session-peer --version # session-peer 0.6.
|
|
177
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
178
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
179
|
+
session-peer --version # session-peer 0.6.1 (typescript)
|
|
180
180
|
session-peer list --agent claude --json
|
|
181
181
|
session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
예상 결과는 `session-peer 0.6.
|
|
184
|
+
예상 결과는 `session-peer 0.6.1 (typescript)`입니다.
|
|
185
185
|
|
|
186
186
|
1. 세션을 조회하고 `CLAUDE_PID`를 대상으로 선택한 정확한 PID로 바꾸세요.
|
|
187
187
|
2. `--dry-run`으로 검증합니다. 이 단계에서는 메시지를 제출하지 않습니다.
|
|
@@ -209,11 +209,11 @@ npm run build
|
|
|
209
209
|
node dist/cli.js --version
|
|
210
210
|
npm pack --ignore-scripts
|
|
211
211
|
# Optional global install: first check which session-peer your PATH selects.
|
|
212
|
-
npm install --global --ignore-scripts ./session-peer-0.6.
|
|
212
|
+
npm install --global --ignore-scripts ./session-peer-0.6.1.tgz
|
|
213
213
|
session-peer --version
|
|
214
214
|
```
|
|
215
215
|
|
|
216
|
-
0.6.
|
|
216
|
+
0.6.1에서 예상되는 결과는 `session-peer 0.6.1 (typescript)`입니다. 로컬 빌드
|
|
217
217
|
산출물을 선택하려면 `./...tgz` 경로를 그대로 두세요. 이후 버전에 이 명령을 사용할
|
|
218
218
|
때는 먼저 체크아웃한 소스의 버전을 확인하세요.
|
|
219
219
|
|
|
@@ -234,7 +234,7 @@ Python CLI를 덮어쓰지 않으려면 격리 prefix에 설치·제거할 수
|
|
|
234
234
|
npm ci --ignore-scripts
|
|
235
235
|
npm run build
|
|
236
236
|
npm pack --ignore-scripts
|
|
237
|
-
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.6.
|
|
237
|
+
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.6.1.tgz
|
|
238
238
|
& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
|
|
239
239
|
# Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
|
|
240
240
|
```
|
|
@@ -477,7 +477,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
|
|
|
477
477
|
<a id="package-release"></a>
|
|
478
478
|
## npm 릴리스
|
|
479
479
|
|
|
480
|
-
아래 레지스트리 조회로 0.6.
|
|
480
|
+
아래 레지스트리 조회로 0.6.1의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
|
|
481
481
|
|
|
482
482
|
0.3.2는 2026-10-07 KST에, 0.3.1은 2026-10-04 KST에 공개·검증했습니다.
|
|
483
483
|
[0.3.2 공개 기록](../VALIDATION.md#public-032--2026-10-07-kst)과
|
|
@@ -488,7 +488,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
|
|
|
488
488
|
설치 전에는 정확한 버전과 현재 npm 태그를 확인하세요.
|
|
489
489
|
|
|
490
490
|
```sh
|
|
491
|
-
npm view session-peer@0.6.
|
|
491
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
492
492
|
npm view session-peer dist-tags
|
|
493
493
|
```
|
|
494
494
|
|
|
@@ -543,7 +543,7 @@ session-peer update --check --channel preview --output-format text
|
|
|
543
543
|
`updateCommand`는 실행 중인 CLI 경로로 설치 주체를 확인할 수 있을 때 사용자에게 안내합니다.
|
|
544
544
|
해당하는 경우는
|
|
545
545
|
자체 `session-peer` 실행기가 이 패키지를 가리키는 npm 전역 prefix(기본, Homebrew, nvm,
|
|
546
|
-
nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.6.
|
|
546
|
+
nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.6.1`),
|
|
547
547
|
매니페스트에 `session-peer`가 선언된 pnpm·Yarn·Bun 전역 저장소, Volta, npx 캐시입니다.
|
|
548
548
|
프로젝트 설치(`npm_project`, `pnpm_project`), 소스 체크아웃(`source`), 그 밖의
|
|
549
549
|
경우(`unknown`)에는 `updateCommand: null`과 `guidance` 문장만 돌려주므로, 관련 없는 현재
|
|
@@ -639,4 +639,4 @@ native 전송 관찰은 macOS arm64의 정확한 Codex 0.160.1/0.162.1과 이미
|
|
|
639
639
|
|
|
640
640
|
[Observation](api.md#unreleased-local-delivery-observation--72)
|
|
641
641
|
|
|
642
|
-
Linux·Windows의 native 주입 관측은 미지원입니다. 0.6.
|
|
642
|
+
Linux·Windows의 native 주입 관측은 미지원입니다. 0.6.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
|
@@ -10,11 +10,11 @@ See the [dated feature comparison and porting decisions](../PARITY.md#current-sc
|
|
|
10
10
|
|
|
11
11
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
12
12
|
|
|
13
|
-
**Documentation and source version: 0.6.
|
|
13
|
+
**Documentation and source version: 0.6.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.6.1 refuse each other’s SSH preflight.
|
|
14
14
|
|
|
15
|
-
**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.6.
|
|
15
|
+
**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.6.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.
|
|
16
16
|
|
|
17
|
-
This guide covers version 0.6.
|
|
17
|
+
This guide covers version 0.6.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.
|
|
18
18
|
|
|
19
19
|
<a id="migration-boundaries-033-candidate"></a>
|
|
20
20
|
|
|
@@ -87,7 +87,7 @@ Side Session remains experimental. Relay/MCP are outside this comparison.
|
|
|
87
87
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
88
88
|
This TypeScript client runs on Node.js without Python.
|
|
89
89
|
|
|
90
|
-
This guide describes **version 0.6.
|
|
90
|
+
This guide describes **version 0.6.1**. The npm package and CLI command are both **`session-peer`**. This
|
|
91
91
|
project does not provide a Relay server or hosted service.
|
|
92
92
|
|
|
93
93
|
## Quick start
|
|
@@ -95,12 +95,12 @@ project does not provide a Relay server or hosted service.
|
|
|
95
95
|
Use Node **22.13+ within 22.x or 24.x**. Check which `session-peer` your PATH
|
|
96
96
|
selects if the Python CLI is already installed; both packages use that command.
|
|
97
97
|
|
|
98
|
-
**Version 0.6.
|
|
98
|
+
**Version 0.6.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).
|
|
99
99
|
|
|
100
100
|
```sh
|
|
101
|
-
npm view session-peer@0.6.
|
|
102
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
103
|
-
session-peer --version # session-peer 0.6.
|
|
101
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
102
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
103
|
+
session-peer --version # session-peer 0.6.1 (typescript)
|
|
104
104
|
session-peer list --agent claude --json
|
|
105
105
|
session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
|
|
106
106
|
```
|
|
@@ -167,7 +167,7 @@ submits nothing. JSON adds sanitized `codexHomeResolution` and, when supplied by
|
|
|
167
167
|
native queue output, `queueId`; neither confirms consumption. See the
|
|
168
168
|
[selection contract](../PARITY.md#source-codex-home-selection--17--020).
|
|
169
169
|
Published **0.1.0** still requires an explicit live home and has no inactive opt-in.
|
|
170
|
-
On SSH, both ends need the same TypeScript client version (0.6.
|
|
170
|
+
On SSH, both ends need the same TypeScript client version (0.6.1).
|
|
171
171
|
|
|
172
172
|
### Claude profiles on macOS
|
|
173
173
|
|
|
@@ -217,11 +217,11 @@ npm run build
|
|
|
217
217
|
node dist/cli.js --version
|
|
218
218
|
npm pack --ignore-scripts
|
|
219
219
|
# Optional global install: first check which session-peer your PATH selects.
|
|
220
|
-
npm install --global --ignore-scripts ./session-peer-0.6.
|
|
220
|
+
npm install --global --ignore-scripts ./session-peer-0.6.1.tgz
|
|
221
221
|
session-peer --version
|
|
222
222
|
```
|
|
223
223
|
|
|
224
|
-
Expected for version 0.6.
|
|
224
|
+
Expected for version 0.6.1: `session-peer 0.6.1 (typescript)`. Keep the `./...tgz` path to
|
|
225
225
|
select the locally built artifact. Check the checkout version before using
|
|
226
226
|
these commands for a later release.
|
|
227
227
|
|
|
@@ -241,7 +241,7 @@ On Windows PowerShell, inspect competing commands with
|
|
|
241
241
|
npm ci --ignore-scripts
|
|
242
242
|
npm run build
|
|
243
243
|
npm pack --ignore-scripts
|
|
244
|
-
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.6.
|
|
244
|
+
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.6.1.tgz
|
|
245
245
|
& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
|
|
246
246
|
# Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
|
|
247
247
|
```
|
|
@@ -506,7 +506,7 @@ separate approval. Licensed under [MIT](../LICENSE).
|
|
|
506
506
|
|
|
507
507
|
## Package release
|
|
508
508
|
|
|
509
|
-
Public **0.3.2** was verified on 2026-10-07 KST ([immutable checkpoint](../VALIDATION.md#public-032--2026-10-07-kst)). Check current 0.6.
|
|
509
|
+
Public **0.3.2** was verified on 2026-10-07 KST ([immutable checkpoint](../VALIDATION.md#public-032--2026-10-07-kst)). Check current 0.6.1 availability and npm tags with the registry queries below; dated preparation evidence does not establish a later publication outcome.
|
|
510
510
|
|
|
511
511
|
Version 0.2.1 was published and verified on 2026-09-29 KST and 0.2.0 on
|
|
512
512
|
2026-09-28 KST; see the [0.2.1 public release record](../VALIDATION.md#public-021--2026-09-29-kst).
|
|
@@ -514,7 +514,7 @@ Later releases add their own dated records. Check the exact version and current
|
|
|
514
514
|
tags before installing:
|
|
515
515
|
|
|
516
516
|
```sh
|
|
517
|
-
npm view session-peer@0.6.
|
|
517
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
518
518
|
npm view session-peer dist-tags
|
|
519
519
|
```
|
|
520
520
|
|
|
@@ -566,7 +566,7 @@ and reports `current`, `latest`, `channel` (`latest` by default, or `preview`),
|
|
|
566
566
|
installation's owner is positively identified from the running CLI's path:
|
|
567
567
|
an npm global prefix whose own `session-peer` launcher points at this package
|
|
568
568
|
(default, Homebrew, nvm, nvm-windows and fnm prefixes), for example
|
|
569
|
-
`npm install --global --ignore-scripts session-peer@0.6.
|
|
569
|
+
`npm install --global --ignore-scripts session-peer@0.6.1`; a pnpm, Yarn or Bun
|
|
570
570
|
global store whose manifest declares `session-peer`; Volta; or the npx cache.
|
|
571
571
|
Project installs (`npm_project`, `pnpm_project`), source checkouts (`source`)
|
|
572
572
|
and anything else (`unknown`) get `updateCommand: null` and a `guidance`
|
|
@@ -667,4 +667,4 @@ Native observation supports exact Codex 0.160.1/0.162.1 on macOS arm64 with an a
|
|
|
667
667
|
|
|
668
668
|
[Observation](api.md#unreleased-local-delivery-observation--72)
|
|
669
669
|
|
|
670
|
-
Native delivery observation is unsupported on Linux and Windows. The 0.6.
|
|
670
|
+
Native delivery observation is unsupported on Linux and Windows. The 0.6.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).
|
package/docs/guide.zh-CN.md
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
12
12
|
|
|
13
|
-
**文档和源码版本:0.6.
|
|
13
|
+
**文档和源码版本:0.6.1。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](../VALIDATION.md),发布流程见 [RELEASING.md](../RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.6.1 会拒绝彼此的 SSH 预检。
|
|
14
14
|
|
|
15
|
-
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.6.
|
|
15
|
+
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.6.1 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。
|
|
16
16
|
|
|
17
|
-
这是 0.6.
|
|
17
|
+
这是 0.6.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 的说明用于旧版本对比。
|
|
18
18
|
|
|
19
19
|
<a id="迁移边界-033-候选"></a>
|
|
20
20
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
向正在运行的 **Claude Code 和 Codex 会话**发送消息,支持本机和跨机器 SSH。这是运行于 Node.js 的 TypeScript 客户端,不需要 Python。
|
|
52
52
|
|
|
53
|
-
**这是 0.6.
|
|
53
|
+
**这是 0.6.1 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
|
|
54
54
|
|
|
55
55
|
## 功能与边界
|
|
56
56
|
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
构建后,`node dist/cli.js list --json` 合并列出 Claude/Codex,`list --agent codex --json` 查找已知 home。公开 npm **0.1.0** 仍要求显式 agent,以及 Codex 列表所需的 home;0.2.0 也支持显式命令格式。
|
|
69
69
|
|
|
70
|
-
范围仅限默认 `~/.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.6.
|
|
70
|
+
范围仅限默认 `~/.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.6.1)。
|
|
71
71
|
|
|
72
72
|
### 0.2.0 CLI 易用性
|
|
73
73
|
|
|
@@ -115,15 +115,15 @@ macOS、Linux 或 Windows native;Node **22.x 中的 22.13 及以上,或 24.x
|
|
|
115
115
|
|
|
116
116
|
使用 Node 22.x 的 22.13 及以上或 24.x,并确认要安装的确切版本是否已发布。Python CLI 也使用同一个命令名;若已有安装,请先检查 PATH。
|
|
117
117
|
|
|
118
|
-
**安装 0.6.
|
|
118
|
+
**安装 0.6.1:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](#从源码构建)。
|
|
119
119
|
|
|
120
120
|
```sh
|
|
121
|
-
npm view session-peer@0.6.
|
|
122
|
-
npm install --global --ignore-scripts session-peer@0.6.
|
|
121
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
122
|
+
npm install --global --ignore-scripts session-peer@0.6.1
|
|
123
123
|
session-peer --version
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
预期输出:`session-peer 0.6.
|
|
126
|
+
预期输出:`session-peer 0.6.1 (typescript)`。
|
|
127
127
|
|
|
128
128
|
1. 用 `session-peer list --agent claude --json` 查找目标并选择准确 PID。
|
|
129
129
|
2. 用 `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` 验证,不提交。
|
|
@@ -142,7 +142,7 @@ npm run build
|
|
|
142
142
|
node dist/cli.js --version
|
|
143
143
|
npm pack --ignore-scripts
|
|
144
144
|
# 可选:全局安装前先检查 PATH 选择的现有命令
|
|
145
|
-
npm install --global --ignore-scripts ./session-peer-0.6.
|
|
145
|
+
npm install --global --ignore-scripts ./session-peer-0.6.1.tgz
|
|
146
146
|
session-peer --version
|
|
147
147
|
```
|
|
148
148
|
|
|
@@ -152,7 +152,7 @@ session-peer --version
|
|
|
152
152
|
|
|
153
153
|
安装前后用 `type -a session-peer` 和 `command -v session-peer` 检查实际执行项。其他实现也可能提供同名命令;请选择 PATH 上的一种,或显式运行 `node /absolute/path/dist/cli.js`。不要用 `--force` 覆盖其他管理器的文件。本包不会自动安装、删除或调整 Python 包、技能或服务。卸载使用 `npm uninstall --global session-peer`,随后再次检查 PATH。
|
|
154
154
|
|
|
155
|
-
在 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.6.
|
|
155
|
+
在 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.6.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` 卸载。
|
|
156
156
|
|
|
157
157
|
## 使用
|
|
158
158
|
|
|
@@ -243,14 +243,14 @@ Python 只用作开发时的比较基准(v1.1.0,`8ca77cf31254c8287a2593fe484
|
|
|
243
243
|
|
|
244
244
|
## npm 版本
|
|
245
245
|
|
|
246
|
-
公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.6.
|
|
246
|
+
公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.6.1 的当前可用性和 npm 标签;带日期的准备证据不能证明后续发布结果。
|
|
247
247
|
|
|
248
248
|
0.2.1 已于 2026-09-29 KST、0.2.0 已于 2026-09-28 KST 公开并验证。请参阅
|
|
249
249
|
[0.2.1 公开记录](../VALIDATION.md#public-021--2026-09-29-kst)(之后的版本各自追加带日期的记录),
|
|
250
250
|
安装前核对准确版本与当前标签。
|
|
251
251
|
|
|
252
252
|
```sh
|
|
253
|
-
npm view session-peer@0.6.
|
|
253
|
+
npm view session-peer@0.6.1 version dist.integrity
|
|
254
254
|
npm view session-peer dist-tags
|
|
255
255
|
```
|
|
256
256
|
|
|
@@ -289,7 +289,7 @@ dist-tag(3 秒超时,不重试),并报告 `current`、`latest`、`channe
|
|
|
289
289
|
`ahead`)、`managedBy`、`updateCommand` 和 `guidance`。只有根据当前 CLI 路径能确切识别
|
|
290
290
|
安装的管理方时才给出命令:其自身 `session-peer` 启动器指向本包的 npm 全局 prefix
|
|
291
291
|
(默认、Homebrew、nvm、nvm-windows、fnm,例如
|
|
292
|
-
`npm install --global --ignore-scripts session-peer@0.6.
|
|
292
|
+
`npm install --global --ignore-scripts session-peer@0.6.1`),清单中声明了
|
|
293
293
|
`session-peer` 的 pnpm、Yarn、Bun 全局存储,Volta,或 npx 缓存。项目安装
|
|
294
294
|
(`npm_project`、`pnpm_project`)、源码检出(`source`)以及其他情况(`unknown`)只返回
|
|
295
295
|
`updateCommand: null` 和一句 `guidance`,因此不会给出可能修改无关当前目录的命令。它只报告
|
|
@@ -371,4 +371,4 @@ native 观测仅支持 macOS arm64 上的精确 Codex 0.160.1/0.162.1 和已有
|
|
|
371
371
|
|
|
372
372
|
[Observation](api.md#unreleased-local-delivery-observation--72)
|
|
373
373
|
|
|
374
|
-
Linux、Windows 的 native 注入观察尚不支持。 0.6.
|
|
374
|
+
Linux、Windows 的 native 注入观察尚不支持。 0.6.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.6.
|
|
3
|
+
This reference describes source/package version 0.6.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
|
|