session-peer 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PARITY.md +17 -3
- package/README.ja.md +7 -7
- package/README.ko.md +7 -7
- package/README.md +7 -7
- package/README.zh-CN.md +7 -7
- package/RELEASING.md +18 -0
- package/VALIDATION.md +99 -1
- package/dist/cli.js +3 -1
- package/dist/protocol.d.ts +2 -2
- package/dist/protocol.js +1 -1
- package/dist/skill-metadata.js +6 -4
- package/docs/api.md +4 -4
- package/docs/design/typescript-skill-compatibility.md +19 -8
- package/docs/guide.ja.md +19 -19
- package/docs/guide.ko.md +21 -21
- package/docs/guide.md +20 -21
- package/docs/guide.zh-CN.md +19 -19
- package/docs/shorthand.md +1 -1
- package/package.json +1 -1
package/PARITY.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Python compatibility and npm migration
|
|
2
2
|
|
|
3
|
-
Updated 2026-10-
|
|
3
|
+
Updated 2026-10-12 KST. Python reference: **1.0.2**,
|
|
4
4
|
[`47c2371`](https://github.com/abruption/session-peer/tree/47c23713d0a2a3c11ebde6186afd8c43489b8b65/session_peer_core).
|
|
5
|
-
This matrix describes the **TS 0.3.
|
|
5
|
+
This matrix describes the **TS 0.3.4 source/package contract**: the 0.2.0 unified listing, safe home selection,
|
|
6
6
|
read-only doctor, text/help/positional input, Unicode 14.0.0 name matching and
|
|
7
7
|
separately managed TS skill guidance (#16/#17/#18/#19/#25), the
|
|
8
8
|
[0.2.1 reliability and hardening](#021-reliability-and-hardening) changes, and the
|
|
@@ -15,6 +15,12 @@ between releases, operators should also align reviewed commits; the wire does no
|
|
|
15
15
|
verify a source commit. `referenceVersion: "1.0.2"` identifies the comparison baseline,
|
|
16
16
|
not complete parity. See [VALIDATION.md](VALIDATION.md) for dated evidence.
|
|
17
17
|
|
|
18
|
+
## 0.3.4 patch preparation — 2026-10-12 KST
|
|
19
|
+
|
|
20
|
+
[PR #134](https://github.com/abruption/session-peer-ts/pull/134) corrects Windows-destination PowerShell forwarding of native exit codes for version preflight and wire requests. A missing native exit fails with 1; complete validated abnormal responses retain independent submission facts. Strict response limits, exact-version SSH, host-key checks and no automatic resend remain unchanged. This is not delivery or ACK evidence.
|
|
21
|
+
|
|
22
|
+
The four guides pin independently published TS skill 0.2.0 source `8482cf644507c682915e35c85aa3384c53864906`. The 0.3.4 candidate accepts only the same two exact reviewed profiles as public 0.3.3; 0.3.5 and unreviewed versions remain incompatible. Python reference 1.0.2 is unchanged. Draft 0.4 handoff/app-server/observation and Side Session are excluded.
|
|
23
|
+
|
|
18
24
|
## Feature and command matrix
|
|
19
25
|
|
|
20
26
|
**Implemented** means the stated bounded behavior exists. **Partial** means a
|
|
@@ -810,12 +816,20 @@ Complete request-matched native facts survive a later SSH 255 or collection time
|
|
|
810
816
|
|
|
811
817
|
See [the response contract and fixture limits](docs/design/ordinary-ssh-responses.md). This 0.3.3 correction is not part of the immutable public 0.3.2 artifact, does not change the Python 1.0.2 oracle, and adds no 0.4.0 handoff/observer/ACK feature.
|
|
812
818
|
|
|
819
|
+
## Published TypeScript companion skill — #118 follow-up
|
|
820
|
+
|
|
821
|
+
Evidence recheck: 2026-10-12 KST. Public TS runtime 0.3.3 at `c0ed30273b9e9c0049df86ae3c38486a94289527` accepts the legacy skill 0.1.0 profile and the exact published skill 0.2.0 profile (`typescript`, minimum `0.1.0`, full `0.3.2`, `probe-help`). Public 0.3.2 remains legacy-only. The companion [release `session-peer-ts-v0.2.0`](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0) is pinned by the four guides to source [`8482cf644507c682915e35c85aa3384c53864906`](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts). The annotated tag object `de7d619aebdfb4a8fe86893dc70728f646032e8d` peels to that source; its 12,835-byte `SKILL.md` has SHA-256 `00c6fc343fdbeb8f6dc1b1ee1b730f04cef71bbfb08205a7be3559202f1d8804`. Those tag/file identities were independently rechecked for this follow-up.
|
|
822
|
+
|
|
823
|
+
`compatible / skill_contract_compatible / metadata_only` is a bounded metadata verdict, not a content signature, send permission or delivery/ACK result. Minimum is the baseline CLI compatibility floor; full is the documented published feature coverage reference. Optional operations still need actual version/help and platform/native prerequisites. Runtime and skill management remain separate, without postinstall. The Python 1.0.2 reference and Python skill are unchanged.
|
|
824
|
+
|
|
825
|
+
This source/package uses compiled `VERSION=0.3.4` and accepts these same two exact profiles through the default inspector; valid unreviewed runtimes such as `0.3.5` remain incompatible. At the earlier PR #134 checkpoint, compiled `VERSION` was `0.3.3` and the 0.3.4 row was tested through explicit validator arguments. That checkpoint is historical. Source support neither broadens compatibility to arbitrary future versions nor establishes runtime or skill publication. See the [finite matrix and retained dated review](docs/design/typescript-skill-compatibility.md). The dated candidate checkpoint below remains historical.
|
|
826
|
+
|
|
813
827
|
<a id="typescript-skill-guard--033-candidate"></a>
|
|
814
828
|
|
|
815
829
|
## TypeScript skill guard — 0.3.3
|
|
816
830
|
|
|
817
831
|
Version 0.3.3 uses compiled `VERSION=0.3.3` on the production doctor inspection path. Its proposed finite matrix accepts the legacy profile (skill/minimum/full `0.1.0`) and the exact proposed successor (skill `0.2.0`, minimum `0.1.0`, full `0.3.2`, `typescript`, `probe-help`, root name `session-peer-ts`). Unsupported well-formed tuples are incompatible; malformed or conflicting metadata is unknown. Supported and incompatible tuple verdicts report `verification:metadata_only`; missing, permission and unknown results omit it. Whole-file reading is bounded at 65,536 bytes with a single overflow-detection byte, fatal UTF-8 and regular-file/change checks. This does not authenticate instruction content or authorize delivery.
|
|
818
832
|
|
|
819
|
-
See the [bounded grammar, matrix and reader evidence](docs/design/typescript-skill-compatibility.md). Companion [Draft #20 design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the 2026-10-09 static design review of exact #126 `ba18bb806a6ba503381259b4255211af3adc0336` and release Draft #129 `bfb3d6f1256ab076a76660e08a7bf1ad071a6c6c`; their reviewed design SHA-256 values are recorded in the linked guard design. No tests were rerun in that review. At this dated checkpoint, runtime and successor skill were unpublished. The earlier queued coordination request remains historical, without independently established consumption or approval. Design/fixture acceptance does not authorize runtime merge/release, final skill metadata/publication/installation/pin changes or claim public compatibility; the immutable npm 0.3.2 checker stays legacy-only. The guard runtime must actually publish before separate successor skill finalization/tag/publication/pin changes.
|
|
833
|
+
See the [bounded grammar, matrix and reader evidence](docs/design/typescript-skill-compatibility.md). Companion [Draft #20 design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the 2026-10-09 static design review of exact #126 `ba18bb806a6ba503381259b4255211af3adc0336` and release Draft #129 `bfb3d6f1256ab076a76660e08a7bf1ad071a6c6c`; their reviewed design SHA-256 values are recorded in the linked guard design. No tests were rerun in that review. At this dated checkpoint, runtime and successor skill were unpublished. The earlier queued coordination request remains historical, without independently established consumption or approval. Design/fixture acceptance does not authorize runtime merge/release, final skill metadata/publication/installation/pin changes or claim public compatibility; the immutable npm 0.3.2 checker stays legacy-only. The guard runtime must actually publish before separate successor skill finalization/tag/publication/pin changes. At that checkpoint the install pin remained `081cc3c1d16a394bd92824333f4bc61c36951799`; managers own upgrades, and no postinstall is introduced.
|
|
820
834
|
|
|
821
835
|
At the 2026-10-09 KST preparation checkpoint, [#128](https://github.com/abruption/session-peer-ts/issues/128) integrated open PRs #125/#127 and Draft #126 for review; that preparation did not bypass their human merge gate or approve staging/publication. 0.3.2 and 0.3.3 refuse each other's SSH preflight. Windows jump-host #20, provisioning #23, the Python 1.0.2 oracle, and unshipped 0.4/native ACK boundaries remain unchanged.
|
package/README.ja.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
|
|
17
17
|
|
|
18
|
-
**文書・ソースのバージョン: 0.3.
|
|
18
|
+
**文書・ソースのバージョン: 0.3.4。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](VALIDATION.md)、リリース手順は [RELEASING.md](RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.3 と 0.3.4 は互いの SSH 事前確認を拒否します。
|
|
19
19
|
|
|
20
20
|
**実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
|
|
21
21
|
Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
|
|
@@ -56,15 +56,15 @@ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョン
|
|
|
56
56
|
`Get-Command session-peer -All` で PATH を確認してください。利用する実装を選び、
|
|
57
57
|
別の管理ツールのファイルを `--force` で上書きしないでください。
|
|
58
58
|
|
|
59
|
-
**0.3.
|
|
59
|
+
**0.3.4 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
|
-
npm view session-peer@0.3.
|
|
63
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
62
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
63
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
64
64
|
session-peer --version
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
期待する出力: `session-peer 0.3.
|
|
67
|
+
期待する出力: `session-peer 0.3.4 (typescript)`。分離インストール・ソースビルド・
|
|
68
68
|
Windows・削除の手順は以下の詳細ガイドを参照してください。
|
|
69
69
|
|
|
70
70
|
任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
|
|
@@ -73,12 +73,12 @@ Windows・削除の手順は以下の詳細ガイドを参照してください
|
|
|
73
73
|
### Update
|
|
74
74
|
|
|
75
75
|
npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
|
|
76
|
-
|
|
76
|
+
正確なバージョンを指定してください。以下は古い npm 版を選択した 0.3.4 に更新する例です。
|
|
77
77
|
CLI は更新をインストールせず、`session-peer update --check` は確認のみ行います。
|
|
78
78
|
|
|
79
79
|
```sh
|
|
80
80
|
npm view session-peer dist-tags
|
|
81
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
81
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
82
82
|
session-peer --version
|
|
83
83
|
```
|
|
84
84
|
|
package/README.ko.md
CHANGED
|
@@ -20,7 +20,7 @@ Python을 설치하지 않아도 Node.js에서 실행되는 TypeScript 클라이
|
|
|
20
20
|
|
|
21
21
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
|
|
22
22
|
|
|
23
|
-
**문서·소스 기준 버전: 0.3.
|
|
23
|
+
**문서·소스 기준 버전: 0.3.4.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](VALIDATION.md), 릴리스 절차는 [RELEASING.md](RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.3과 0.3.4는 서로의 SSH 사전 확인을 거부합니다.
|
|
24
24
|
|
|
25
25
|
<a id="demo"></a>
|
|
26
26
|
## 시연
|
|
@@ -65,15 +65,15 @@ PowerShell에서는 `Get-Command session-peer -All`로 PATH(명령 검색 경로
|
|
|
65
65
|
실행 파일을 찾는지 확인하세요. 사용할 구현을 선택하고 다른 패키지 관리자가 설치한
|
|
66
66
|
파일을 `--force`로 덮어쓰지 마세요. 설치와 갱신은 사용자가 npm으로 직접 수행합니다.
|
|
67
67
|
|
|
68
|
-
**0.3.
|
|
68
|
+
**0.3.4 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
|
|
69
69
|
|
|
70
70
|
```sh
|
|
71
|
-
npm view session-peer@0.3.
|
|
72
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
71
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
72
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
73
73
|
session-peer --version
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
예상 결과는 `session-peer 0.3.
|
|
76
|
+
예상 결과는 `session-peer 0.3.4 (typescript)`입니다. 별도 경로에 설치하거나,
|
|
77
77
|
소스에서 빌드하거나, Windows에서 설치·제거하는 방법은 [사용자 가이드](docs/guide.ko.md#설치)를 참고하세요.
|
|
78
78
|
|
|
79
79
|
선택 사항인 `sp` 단축 명령은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로
|
|
@@ -84,13 +84,13 @@ session-peer --version
|
|
|
84
84
|
### 업데이트
|
|
85
85
|
|
|
86
86
|
npm으로 설치한 클라이언트는 사용자가 직접 npm으로 업데이트합니다. 사용 가능한 배포 태그
|
|
87
|
-
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는
|
|
87
|
+
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.3.4로
|
|
88
88
|
업데이트합니다. `session-peer` CLI는 업데이트를 설치하지 않습니다. `session-peer
|
|
89
89
|
update --check`는 새 버전이 있는지 확인할 뿐입니다.
|
|
90
90
|
|
|
91
91
|
```sh
|
|
92
92
|
npm view session-peer dist-tags
|
|
93
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
93
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
94
94
|
session-peer --version
|
|
95
95
|
```
|
|
96
96
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
|
|
17
17
|
|
|
18
|
-
**Documentation and source version: 0.3.
|
|
18
|
+
**Documentation and source version: 0.3.4.** 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.3 and 0.3.4 refuse each other’s SSH preflight.
|
|
19
19
|
|
|
20
20
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
21
21
|
A Node.js client that runs without Python. Package and command: `session-peer`.
|
|
@@ -56,15 +56,15 @@ Check `type -a session-peer` on macOS/Linux or `Get-Command session-peer -All`
|
|
|
56
56
|
in PowerShell before installing. Choose the intended PATH entry; do not use
|
|
57
57
|
`--force` to overwrite another manager’s files.
|
|
58
58
|
|
|
59
|
-
**Version 0.3.
|
|
59
|
+
**Version 0.3.4 installation:** check registry availability and review the chosen release before running the npm install/update examples. If that version is unavailable, use the [reviewed source build](docs/guide.md#build-from-source).
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
|
-
npm view session-peer@0.3.
|
|
63
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
62
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
63
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
64
64
|
session-peer --version
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
Expected: `session-peer 0.3.
|
|
67
|
+
Expected: `session-peer 0.3.4 (typescript)`. For isolated installation, source
|
|
68
68
|
builds, Windows and removal, see the detailed guide below.
|
|
69
69
|
|
|
70
70
|
Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
|
|
@@ -74,12 +74,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
|
|
|
74
74
|
|
|
75
75
|
Use npm for an npm-managed installation. Check the available tags and review
|
|
76
76
|
the target version, then install that exact version; this example updates an
|
|
77
|
-
older npm installation to 0.3.
|
|
77
|
+
older npm installation to the selected 0.3.4 release. The CLI does not install updates;
|
|
78
78
|
`session-peer update --check` only reports them.
|
|
79
79
|
|
|
80
80
|
```sh
|
|
81
81
|
npm view session-peer dist-tags
|
|
82
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
82
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
83
83
|
session-peer --version
|
|
84
84
|
```
|
|
85
85
|
|
package/README.zh-CN.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
|
|
17
17
|
|
|
18
|
-
**文档和源码版本:0.3.
|
|
18
|
+
**文档和源码版本:0.3.4。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.3 与 0.3.4 会拒绝彼此的 SSH 预检。
|
|
19
19
|
|
|
20
20
|
**发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
|
|
21
21
|
这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
|
|
@@ -54,15 +54,15 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
|
|
|
54
54
|
`Get-Command session-peer -All` 检查 PATH。选择所需实现,不要用 `--force`
|
|
55
55
|
覆盖其他安装管理器的文件。
|
|
56
56
|
|
|
57
|
-
**安装 0.3.
|
|
57
|
+
**安装 0.3.4:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
npm view session-peer@0.3.
|
|
61
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
60
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
61
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
62
62
|
session-peer --version
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
预期输出:`session-peer 0.3.
|
|
65
|
+
预期输出:`session-peer 0.3.4 (typescript)`。隔离安装、源码构建、Windows 和
|
|
66
66
|
卸载步骤见下方详细指南。
|
|
67
67
|
|
|
68
68
|
可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
|
|
@@ -71,11 +71,11 @@ session-peer --version
|
|
|
71
71
|
### Update
|
|
72
72
|
|
|
73
73
|
使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
|
|
74
|
-
|
|
74
|
+
下面示例将旧 npm 安装更新至所选的 0.3.4。CLI 不会安装更新,`session-peer update --check` 只做检查。
|
|
75
75
|
|
|
76
76
|
```sh
|
|
77
77
|
npm view session-peer dist-tags
|
|
78
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
78
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
79
79
|
session-peer --version
|
|
80
80
|
```
|
|
81
81
|
|
package/RELEASING.md
CHANGED
|
@@ -9,6 +9,24 @@ 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.3.4 stable preparation — 2026-10-12 KST
|
|
13
|
+
|
|
14
|
+
The patch integrates [PR #134](https://github.com/abruption/session-peer-ts/pull/134), merged as `c210ee963741f77153df10038c28e228ea7a902f`: Windows native exit forwarding and independently published TS skill guidance. Draft #106–#109 and #82 are excluded. Preparation is not staging or publication approval.
|
|
15
|
+
|
|
16
|
+
Read-only registry baseline at this checkpoint: `latest=0.3.3`, `preview=0.1.0-preview.1`, and 0.3.4 absent. Previous stable integrity:
|
|
17
|
+
`sha512-5OQ7eUlR5Oy3RHFRoR3FuBkV7LT72dfjfBEbWRCY5wYP7Dz8TmN2jlRPpo2SFHPAwosFc0WIt8Iis/vyHckxRg==`.
|
|
18
|
+
Previous stable attestation metadata: `https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.3`.
|
|
19
|
+
The immutable public 0.3.3 source is `c0ed30273b9e9c0049df86ae3c38486a94289527`. Historical records below are retained.
|
|
20
|
+
|
|
21
|
+
1. Review and merge this preparation, then require successful exact-main CI/release gate, CodeQL and Windows Node 22/24 for the resulting 40-character main SHA.
|
|
22
|
+
2. Fresh authenticated reads must verify ownership, pending npm stages, stage-only Trusted Publisher mapping/permissions, package MFA and protected GitHub npm environment/reviewer/main-only restrictions. Recheck registry tags, previous integrity, provenance content/source and target absence. This preparation performs no authenticated publication settings audit; prior approvals/exceptions do not carry forward.
|
|
23
|
+
3. Build and validate the exact-source archive, reproducible packing, isolated installation/removal and every packaged Markdown document. Apply the [artifact documentation gate](#documentation-gate-for-the-next-release); installation examples and runtime/banner/archive must agree on 0.3.4. Preserve historical/fixture and real-effect evidence boundaries.
|
|
24
|
+
4. Obtain separate approval naming the exact merged main SHA, `session-peer@0.3.4`, `stable-stage` and eventual `latest` promotion to 0.3.4.
|
|
25
|
+
5. Only then dispatch `publish.yml` with `source_sha=<approved SHA>`, `version=0.3.4`, `mode=stable-stage`, `confirmation=session-peer@0.3.4 stable-stage`. Review the retained Actions artifact before protected environment approval. Verify staged bytes and provenance, then obtain separate final npm 2FA approval. Never retry an uncertain upload or broaden publisher permissions.
|
|
26
|
+
6. After publication, verify public integrity/provenance/signatures and isolated version/install/removal, and append a dated public record. Leave preview unchanged. Tags/GitHub Releases/fleet installation require their own decisions.
|
|
27
|
+
|
|
28
|
+
SSH endpoints must both use exactly 0.3.4 when testing this package; public 0.3.3 refuses its banner. Managers/operators own upgrades. No implicit provisioning, postinstall, automatic resend, delivery/ACK support or 0.4 feature promotion is introduced. TS skill metadata/full0.3.2, published pin8482cf6 and Python1.0.2 reference remain independent and unchanged.
|
|
29
|
+
|
|
12
30
|
## 0.3.3 candidate preparation — #128 (2026-10-09 KST)
|
|
13
31
|
|
|
14
32
|
This dated checkpoint records preparation only. The candidate integrated reviewed
|
package/VALIDATION.md
CHANGED
|
@@ -1,4 +1,102 @@
|
|
|
1
|
-
# Validation record — updated 2026-10-
|
|
1
|
+
# Validation record — updated 2026-10-12 KST
|
|
2
|
+
|
|
3
|
+
## 0.3.4 artifact documentation correction — 2026-10-12 KST
|
|
4
|
+
|
|
5
|
+
The approved-source prepare run [38193012263](https://github.com/abruption/session-peer-ts/actions/runs/38193012263) at `1c99b39138c26a5ec08245f78f133d058bc354f0` passed tests/packaging and produced the same bytes as the local archive, SHA-256 `a0026b157ca9444931243cb60416ac24ad773bd118425852650e6671a545d773`. Independent packaged-document review then found stale current-description text in the skill design and PARITY: the package compiled VERSION was 0.3.4, but those paragraphs still said 0.3.3 and marked the added row as an unreleased proposal without clearly restricting it to PR #134 history.
|
|
6
|
+
|
|
7
|
+
The artifact documentation gate therefore failed. The workflow was cancelled before protected environment approval: prepare succeeded, publish was cancelled, and no npm upload or public publication occurred. The rejected archive and Actions manifest are retained for comparison; they were not edited in place. The correction describes current source/package VERSION 0.3.4 while explicitly retaining the original PR #134 checkpoint as history. Runtime logic, finite profile values, metadata/pins, release baseline and all other packaged documents are unchanged.
|
|
8
|
+
|
|
9
|
+
A new reviewed source and artifact require fresh exact-source staging approval. The earlier approved SHA and settings-read exception remain external historical records, not authority to stage changed bytes. No new publication result is claimed here.
|
|
10
|
+
|
|
11
|
+
## 0.3.4 preparation checkpoint — 2026-10-12 KST
|
|
12
|
+
|
|
13
|
+
Base main: `c210ee963741f77153df10038c28e228ea7a902f`, merged [PR #134](https://github.com/abruption/session-peer-ts/pull/134). Exact base main CLI [38191285491](https://github.com/abruption/session-peer-ts/actions/runs/38191285491) and CodeQL [38191285293](https://github.com/abruption/session-peer-ts/actions/runs/38191285293) completed successfully, including Windows Node 22/24. Draft 0.4 PR #106–#109 and experimental #82 are excluded. This is preparation, not approval to stage or publish.
|
|
14
|
+
|
|
15
|
+
Candidate source/package/banner/installation examples are 0.3.4. The registry read at this checkpoint was `latest=0.3.3`, `preview=0.1.0-preview.1`, 0.3.4 absent; previous stable integrity is the public value recorded below. This read does not establish authenticated pending stages, package MFA or Trusted Publisher settings.
|
|
16
|
+
|
|
17
|
+
Local macOS arm64, Node 24.16.0/npm 11.15.0:
|
|
18
|
+
|
|
19
|
+
- `npm ci --ignore-scripts`, `npm run build`, `npm run test:types`: PASS.
|
|
20
|
+
- `npm test`: 190 total, 185 PASS, 0 FAIL, 5 Windows-only SKIP. The first preparation run had 183 PASS/2 FAIL/5 SKIP because two update-notice regexes retained the old current/latest pair. Updating those expectations to 0.3.4/0.3.5 produced the successful final run; no production logic was changed to satisfy them.
|
|
21
|
+
- Python conformance uses the existing verified `47c23713d0a2a3c11ebde6186afd8c43489b8b65` reference. The Python1.0.2 parity pin is unchanged.
|
|
22
|
+
- `npm run test:package`: PASS, reproducible package and isolated installation/removal, bash/zsh shorthand contract and lifecycle. No global installation.
|
|
23
|
+
- `node scripts/check-repository.mjs`, `git diff --check`: PASS. `npm audit`: zero vulnerabilities.
|
|
24
|
+
|
|
25
|
+
The physical Windows 24-case synthetic fixture evidence below belongs to the PR #134 correction at version 0.3.3, not to a new physical 0.3.4 installation, live queue/injection or ACK experiment. Preparation will additionally validate its exact committed artifact and current-head CI before review completion; their source/hash results belong in the PR record and are not fabricated here. Publication/environment approval/final npm2FA/tag/fleet operations are not performed by these checks.
|
|
26
|
+
|
|
27
|
+
## Public 0.3.3 checkpoint — rechecked 2026-10-12 KST
|
|
28
|
+
|
|
29
|
+
The earlier candidate/preparation sections below are dated history, not the
|
|
30
|
+
current publication state. npm `latest` is `0.3.3`, `preview` is
|
|
31
|
+
`0.1.0-preview.1`, and the public 0.3.3 metadata exposes integrity
|
|
32
|
+
`sha512-5OQ7eUlR5Oy3RHFRoR3FuBkV7LT72dfjfBEbWRCY5wYP7Dz8TmN2jlRPpo2SFHPAwosFc0WIt8Iis/vyHckxRg==`
|
|
33
|
+
and its registry attestation URL. The existing publication workflow
|
|
34
|
+
[37907833518](https://github.com/abruption/session-peer-ts/actions/runs/37907833518)
|
|
35
|
+
completed successfully at source `c0ed30273b9e9c0049df86ae3c38486a94289527`.
|
|
36
|
+
This follow-up read checks metadata/run identity; it does not redo signature or
|
|
37
|
+
provenance authentication and does not publish anything.
|
|
38
|
+
|
|
39
|
+
## Windows SSH patch verification — #133, 2026-10-12 KST
|
|
40
|
+
|
|
41
|
+
An isolated patch checkout based on public 0.3.3 source
|
|
42
|
+
`c0ed30273b9e9c0049df86ae3c38486a94289527` forwards the native
|
|
43
|
+
`$LASTEXITCODE` from both encoded PowerShell commands. A missing native exit
|
|
44
|
+
fails with 1. The strict response validator, version/host-key guards and
|
|
45
|
+
one-request/no-resend behavior are unchanged. A separate explicit, unreleased
|
|
46
|
+
0.3.4 skill matrix row is tested with validator arguments; package/compiled
|
|
47
|
+
runtime version stays 0.3.3.
|
|
48
|
+
|
|
49
|
+
Physical destination: Windows 10 x64 (10.0.19045), PowerShell 5.1.19041.6456,
|
|
50
|
+
Node 24.16.0. The client was macOS arm64 / Node 24.16.0. Existing key/trust
|
|
51
|
+
and fixed BatchMode/StrictHostKeyChecking were used, without configuration
|
|
52
|
+
changes. All 24 SSH fixture scenarios passed:
|
|
53
|
+
|
|
54
|
+
- Six synthetic native outcomes, each tested with a legacy launcher control,
|
|
55
|
+
explicit exit forwarding and the corrected complete local CLI: success/0,
|
|
56
|
+
refusal/1, refusal/2, complete success/255, malformed/2 and missing stdout/0.
|
|
57
|
+
- Native refusal/2 now yields client exit2 with refused/submitted:false.
|
|
58
|
+
Complete success/255 retains queued/submitted:true and the fixture queueId,
|
|
59
|
+
with sshTransport failure, client exit1, consumptionConfirmed:false and
|
|
60
|
+
retryAllowed:false. Malformed/missing outputs remain unknown/submitted:null.
|
|
61
|
+
- Nonzero exact-banner preflight (legacy/control/CLI) and mismatched-version
|
|
62
|
+
preflight make zero request calls. Mixed ordered results through two aliases
|
|
63
|
+
of the **same** destination retain success/refusal and call once per entry.
|
|
64
|
+
- Missing native executable with no LASTEXITCODE returns1 rather than0.
|
|
65
|
+
|
|
66
|
+
Raw legacy/forward controls produced identical decoded stdout for the six outcomes;
|
|
67
|
+
only exit forwarding changed. Message data remained in stdin, not the encoded
|
|
68
|
+
command or native argv. The disposable native executable emitted synthetic
|
|
69
|
+
metadata: no actual agent session, Codex queue, model, injection or ACK was
|
|
70
|
+
invoked. Only the owned remote test directory was written and removed;
|
|
71
|
+
absence was independently verified. This is Windows-destination evidence,
|
|
72
|
+
not Windows-client jump support or two-machine/native-agent qualification.
|
|
73
|
+
|
|
74
|
+
The new portable command/framing regression passed 5/5 with the existing
|
|
75
|
+
SSH-response CLI suite. Actual PowerShell regression coverage is also added
|
|
76
|
+
to the existing Windows-native contract suite; CI results belong to the PR
|
|
77
|
+
head. The first local full-suite attempt used the physical-harness temporary
|
|
78
|
+
root, whose type:module package boundary invalidated CommonJS fixture scripts
|
|
79
|
+
(149 passed, 36 failed, five skipped). That test-environment error was corrected
|
|
80
|
+
by separating the test root; it is not reported as an all-green run.
|
|
81
|
+
The next full run exposed two existing exact-command expectations that needed
|
|
82
|
+
the new exit-forwarding suffix; those expectations still assert the complete
|
|
83
|
+
quoted/hardened command. The final `npm test` passed 190 tests: 185 passed,
|
|
84
|
+
zero failed, five Windows-only skips, including successful build and type
|
|
85
|
+
checks. `test:package` passed reproducible packing, isolated installation and
|
|
86
|
+
removal, and bash/zsh shorthand contract/lifecycle checks. Repository/link and
|
|
87
|
+
diff checks passed, and npm audit reported zero vulnerabilities. Conformance
|
|
88
|
+
used the existing Python 1.0.2 reference at
|
|
89
|
+
`47c23713d0a2a3c11ebde6186afd8c43489b8b65`; the entrypoint, core and compatibility
|
|
90
|
+
fixture (19 files) were byte-compared with the exact upstream archive before
|
|
91
|
+
execution. No reference repin was made.
|
|
92
|
+
|
|
93
|
+
Initial PR CI `38187131255` passed the added real-PowerShell exit regression on
|
|
94
|
+
Windows Node 22 but failed the following existing SSH contract's absolute
|
|
95
|
+
call-count assertion: it inherited the new subtest's log entries. The fixture
|
|
96
|
+
now explicitly initializes that existing subtest's own SSH call log; its exact
|
|
97
|
+
request-count assertions are preserved. This was test isolation, not a runtime
|
|
98
|
+
failure or a CI rerun treated as an unchanged-head success. Final PR-head CI
|
|
99
|
+
results are recorded in the PR after the correction.
|
|
2
100
|
|
|
3
101
|
## 0.3.3 candidate preparation — 2026-10-09 KST
|
|
4
102
|
|
package/dist/cli.js
CHANGED
|
@@ -252,7 +252,9 @@ async function remote(options, ssh, target, resolved, message, returnTo) {
|
|
|
252
252
|
if (!windows)
|
|
253
253
|
return `${quote(binary)} ${flag}`;
|
|
254
254
|
// PowerShell also closes single-quoted strings on U+2018-U+201B.
|
|
255
|
-
|
|
255
|
+
// PowerShell otherwise maps every native nonzero exit to 1. A failed
|
|
256
|
+
// invocation has no native exit code and must not accidentally exit 0.
|
|
257
|
+
const code = `& '${binary.replace(/['\u2018-\u201b]/g, '$&$&')}' ${flag}; if ($null -eq $LASTEXITCODE) { exit 1 }; exit $LASTEXITCODE`;
|
|
256
258
|
return `powershell.exe -NoProfile -NonInteractive -EncodedCommand ${Buffer.from(code, 'utf16le').toString('base64')}`;
|
|
257
259
|
};
|
|
258
260
|
// OpenSSH keeps the first value obtained, so the fixed hardening options
|
package/dist/protocol.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const VERSION = "0.3.
|
|
2
|
-
export declare const VERSION_LINE = "session-peer 0.3.
|
|
1
|
+
export declare const VERSION = "0.3.4";
|
|
2
|
+
export declare const VERSION_LINE = "session-peer 0.3.4 (typescript)";
|
|
3
3
|
export declare function host(value: string): string;
|
|
4
4
|
export declare function reply(value: string): {
|
|
5
5
|
to: string;
|
package/dist/protocol.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isIPv6 } from 'node:net';
|
|
2
2
|
import { Refusal } from './discovery.js';
|
|
3
3
|
import { uuid } from './writer.js';
|
|
4
|
-
export const VERSION = '0.3.
|
|
4
|
+
export const VERSION = '0.3.4';
|
|
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,10 +9,12 @@ 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
|
-
// Finite
|
|
13
|
-
//
|
|
14
|
-
//
|
|
15
|
-
const matrix = {
|
|
12
|
+
// Finite reviewed profiles: public 0.3.2 is legacy-only; public 0.3.3 accepts
|
|
13
|
+
// both profiles. The explicit 0.3.4 row is an unreleased patch proposal, not
|
|
14
|
+
// generic future-version support. Compiled VERSION is 0.3.4 in this candidate.
|
|
15
|
+
const matrix = {
|
|
16
|
+
'0.3.2': ['0.1.0'], '0.3.3': ['0.1.0', '0.2.0'], '0.3.4': ['0.1.0', '0.2.0']
|
|
17
|
+
};
|
|
16
18
|
const profiles = {
|
|
17
19
|
'0.1.0': ['0.1.0', 'typescript', '0.1.0', '0.1.0', 'probe-help'],
|
|
18
20
|
'0.2.0': ['0.2.0', 'typescript', '0.1.0', '0.3.2', '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.3.
|
|
3
|
+
This reference describes source/package version **0.3.4**. 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.3.
|
|
8
|
+
locally with `npm install --ignore-scripts session-peer@0.3.4` 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.3.
|
|
15
|
-
console.log(VERSION_LINE); // session-peer 0.3.
|
|
14
|
+
console.log(VERSION); // 0.3.4
|
|
15
|
+
console.log(VERSION_LINE); // session-peer 0.3.4 (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));
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
# TypeScript skill metadata guard
|
|
1
|
+
# TypeScript skill metadata guard
|
|
2
2
|
|
|
3
|
-
This
|
|
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
5
|
## Separate version meanings
|
|
6
6
|
|
|
7
7
|
The skill repository tag, Python skill revision, TS skill revision, and npm runtime version are independent. `runtime-min-version` describes the skill's baseline CLI compatibility floor; `runtime-full-version` describes its documented published CLI feature coverage reference. Neither is a security recommendation, a doctor-acceptance rule, permission to send, or evidence of platform/native compatibility. Optional operations still need their actual resolved TS executable's version/help and prerequisites.
|
|
8
8
|
|
|
9
|
-
The finite
|
|
9
|
+
The finite runtime/profile matrix is:
|
|
10
10
|
|
|
11
11
|
| Inspecting runtime | Skill version | Implementation | Minimum | Full | Policy | Verdict |
|
|
12
12
|
|---|---|---|---|---|---|---|
|
|
13
13
|
| `0.3.2` | `0.1.0` | `typescript` | `0.1.0` | `0.1.0` | `probe-help` | compatible |
|
|
14
14
|
| `0.3.2` | `0.2.0` | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | incompatible |
|
|
15
|
-
| `0.3.3` (
|
|
16
|
-
| `0.3.3` (
|
|
15
|
+
| `0.3.3` (published) | `0.1.0` | `typescript` | `0.1.0` | `0.1.0` | `probe-help` | compatible, published guard |
|
|
16
|
+
| `0.3.3` (published) | `0.2.0` | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | compatible, published guard |
|
|
17
|
+
| `0.3.4` (source/package) | `0.1.0` | `typescript` | `0.1.0` | `0.1.0` | `probe-help` | compatible, compiled guard |
|
|
18
|
+
| `0.3.4` (source/package) | `0.2.0` | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | compatible, compiled guard |
|
|
17
19
|
| Other valid runtime/profile | Any | Any | Any | Any | Any | incompatible |
|
|
18
20
|
| Unavailable/malformed runtime identity | Any | Any | Any | Any | Any | unknown |
|
|
19
21
|
|
|
20
|
-
All compatible rows also require exactly one `name: session-peer-ts`. Inspection uses this runtime
|
|
22
|
+
All compatible rows also require exactly one `name: session-peer-ts`. Inspection uses this runtime’s compiled `VERSION`, without executing a binary. Public 0.3.3 accepts both reviewed profiles, while the immutable public 0.3.2 artifact remains legacy-only. This source/package uses compiled `VERSION=0.3.4` and preserves the two exact reviewed profiles; valid unreviewed runtimes such as 0.3.5 remain incompatible. At the earlier PR #134 checkpoint, compiled `VERSION` was 0.3.3 and the added 0.3.4 row was exercised through explicit validator arguments. That checkpoint is historical; source support does not establish registry publication. Tests exercise exact profiles, mismatches and unreviewed runtimes. Every later runtime/profile row needs explicit review; minimum/full arithmetic does not replace this finite matrix.
|
|
21
23
|
|
|
22
24
|
## Limited grammar and results
|
|
23
25
|
|
|
@@ -35,7 +37,7 @@ Values are unescaped single/double-quoted strings or plain ASCII tokens beginnin
|
|
|
35
37
|
| Well-formed but unsupported name, tuple, or valid runtime | incompatible / skill_contract_mismatch | metadata_only |
|
|
36
38
|
| Exact supported runtime/profile/name | compatible / skill_contract_compatible | metadata_only |
|
|
37
39
|
|
|
38
|
-
The proposed **G04** expectation is fixed as exactly `{ status: 'unknown', code: 'skill_metadata_missing' }`, with no `verification` property, when the inspecting runtime identity is unavailable or malformed, including ambiguous non-scalar identity evidence. Its precondition is healthy bounded legacy/successor metadata: a readable regular file within the byte budget, valid UTF-8, stable file/path evidence, and valid frontmatter/name/profile. Earlier reader failures retain their own envelopes. The existing [`test/skill-metadata.test.ts`](https://github.com/abruption/session-peer-ts/blob/3cd52c166638e4833798e979a55ac71a0405d740/test/skill-metadata.test.ts) test `finite runtime/profile matrix preserves public 0.3.2 and checks the 0.3.3 candidate proposal` asserts this exact object for both profiles with explicit `null`, `{}`, `0`, `''`, `'0.3.3-preview.1'`, and `'00.3.3'` runtime arguments. An omitted or explicitly `undefined` helper argument uses the compiled `VERSION` default and is not an unavailable-identity fixture; the candidate test asserts both omitted and explicit `undefined` arguments use that compiled default. A valid but unsupported stable runtime (for example, `0.3.
|
|
40
|
+
The proposed **G04** expectation is fixed as exactly `{ status: 'unknown', code: 'skill_metadata_missing' }`, with no `verification` property, when the inspecting runtime identity is unavailable or malformed, including ambiguous non-scalar identity evidence. Its precondition is healthy bounded legacy/successor metadata: a readable regular file within the byte budget, valid UTF-8, stable file/path evidence, and valid frontmatter/name/profile. Earlier reader failures retain their own envelopes. The existing [`test/skill-metadata.test.ts`](https://github.com/abruption/session-peer-ts/blob/3cd52c166638e4833798e979a55ac71a0405d740/test/skill-metadata.test.ts) test `finite runtime/profile matrix preserves public 0.3.2 and checks the 0.3.3 candidate proposal` asserts this exact object for both profiles with explicit `null`, `{}`, `0`, `''`, `'0.3.3-preview.1'`, and `'00.3.3'` runtime arguments. An omitted or explicitly `undefined` helper argument uses the compiled `VERSION` default and is not an unavailable-identity fixture; the candidate test asserts both omitted and explicit `undefined` arguments use that compiled default. A valid but unsupported stable runtime (for example, `0.3.5` in this patch candidate) instead returns exactly `{ status: 'incompatible', code: 'skill_contract_mismatch', verification: 'metadata_only' }`. This documents the TS proposal's G04 expectation covered by the exact static design acceptance below; it does not establish runtime publication or live delivery.
|
|
39
41
|
|
|
40
42
|
The proposed **G07** result for missing, duplicated, or syntactically malformed required frontmatter name/map/scalar evidence is exactly `{ status: 'unknown', code: 'skill_metadata_missing' }`, with no `verification` property. This applies after bounded regular-file evidence, valid UTF-8, and file/path stability have been established; earlier reader failures retain their own envelopes. A well-formed unsupported name or scalar remains `incompatible / skill_contract_mismatch / metadata_only`. The static grammar fixtures and `root name forbids continuations across comments or map boundaries while ignored fields retain their scope` establish this distinction. Both profiles are tested with plain/quoted names before or after metadata, one/two/four-space continuations, blank/comment-separated continuations, orphan indentation, and exact outer inspection results. Controls preserve comments, CRLF, unrelated field content, instruction bodies, and well-formed unsupported name results. This documents the TS proposal's G07 expectation covered by the exact static design acceptance below; it does not establish runtime publication or live delivery.
|
|
41
43
|
|
|
@@ -70,4 +72,13 @@ This was read-only source, test and document review with CI-status confirmation;
|
|
|
70
72
|
|
|
71
73
|
At the earlier 2026-10-09 coordination checkpoint, a dry-run found an inactive companion session and queued nothing, and a later authorized request was queued without established consumption or a review response. Those attempts remain historical evidence only; the immutable acceptance record above supplies the subsequent design review. Final skill metadata/publication/pin changes still require their own approval.
|
|
72
74
|
|
|
73
|
-
|
|
75
|
+
The rollout requirement at that checkpoint was that, after separate merge/release authorization, the guard runtime must actually be published and its exact source/artifact/profile evidence recorded **before** finalizing and separately publishing successor skill metadata. Only then may the reviewed immutable skill pin and four-language guidance/PARITY change together. At that preparation checkpoint, the proposal did not modify the companion/Python repository or existing skill pin, Python runtime/reference/parity, global installation, PATH, or metadata release. No postinstall or automatic deployment is introduced. Unshipped 0.4 handoff/ACK/observation and unsupported wake/Antigravity/Relay/MCP remain outside this work.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## Published skill follow-up — 2026-10-12 KST
|
|
79
|
+
|
|
80
|
+
The dated proposal/review above preceded publication. Public npm 0.3.3 uses source [`c0ed30273b9e9c0049df86ae3c38486a94289527`](https://github.com/abruption/session-peer-ts/tree/c0ed30273b9e9c0049df86ae3c38486a94289527), independently of the skill revision. The companion [release `session-peer-ts-v0.2.0`](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0) points to immutable source [`8482cf644507c682915e35c85aa3384c53864906`](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts). Its annotated tag object is `de7d619aebdfb4a8fe86893dc70728f646032e8d`. The final `SKILL.md` is 12,835 bytes with SHA-256 `00c6fc343fdbeb8f6dc1b1ee1b730f04cef71bbfb08205a7be3559202f1d8804`; the tag target and file bytes were rechecked against that exact source for this follow-up.
|
|
81
|
+
|
|
82
|
+
Final metadata is skill `0.2.0`, implementation `typescript`, minimum `0.1.0`, full `0.3.2`, policy `probe-help`. Four-language guidance now pins that published source. This publication checkpoint does not turn `metadata_only` into instruction authenticity, execution authority, full platform qualification, consumption or ACK. Python metadata and the Python 1.0.2 parity/reference pin remain unchanged.
|
|
83
|
+
|
|
84
|
+
The 0.3.4 source/package preserves both exact published profiles through its compiled default. PR #134 initially checked that row only through explicit validator arguments with compiled VERSION 0.3.3; the subsequent 0.3.4 preparation changed the runtime version. No skill metadata change, new skill publication, installation or future-range compatibility is included.
|
package/docs/guide.ja.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
**文書・ソースのバージョン: 0.3.
|
|
7
|
+
**文書・ソースのバージョン: 0.3.4。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.3 と 0.3.4 は互いの SSH 事前確認を拒否します。
|
|
8
8
|
|
|
9
|
-
0.3.
|
|
9
|
+
0.3.4 の詳細ガイドです([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
10
|
|
|
11
11
|
<a id="移行時の境界-033-候補"></a>
|
|
12
12
|
|
|
13
|
-
## 移行時の境界 (0.3.
|
|
13
|
+
## 移行時の境界 (0.3.4)
|
|
14
14
|
|
|
15
15
|
[0.3.2 の公開記録](../VALIDATION.md#public-032--2026-10-07-kst)はリリースのソースと成果物を固定しています。SSH の事前確認は TS のバージョン表示の完全一致を検査しますが、コミットハッシュは検査しません。ソースビルドのレビュー済みコミットは運用者が別途揃える必要があります。
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
- `--host` を繰り返すと要求順の配列を返します。ホスト別の実行中の失敗は終了コード 1 に集約しますが、実行前のコマンド全体の拒否(重複ホストや空のメッセージなど)は配列出力でも終了コード 2 を維持します。公開 0.3.2 は SSH の終了 255 やタイムアウト後に完全な応答の証拠も失う場合があります。0.3.3 は要求に一致する完全な事実を保持し、ローカル終了コード 1 と `sshTransport` を返します。不完全・不正な証拠は unknown のままです。unknown の場合は自動再送しません。
|
|
20
20
|
- 0.2.0 で導入した基本 doctor は Codex を実行せず inbox に提出しません。0.3.0 以降の明示的な `--check-return-route` は、利用できる非ローカル宛先に対してのみ、時間を制限した逆方向 SSH の無操作コマンドを実行します。自分自身への経路は SSH なしで `verified`、`transport:local`、`self_route_normalized` を返し、ホストがない場合は接続確認前に失敗します。`--check-reply-to` は未対応です。verified はローカル経路の正規化または 1 回の SSH 無操作コマンドの成功であり、ACK の認証や一般的な逆方向アクセスの保証ではありません。
|
|
21
21
|
- 同じ端末の Reply-To をローカルに正規化するには、明示した OS ユーザーの一致、認識できる正確なローカル名、明示的な SSH オプションがないことが必要です。送信者の証拠が競合した場合は識別情報を省き、Claude の名前が使えない場合は PID を使います。
|
|
22
|
-
- npm、Python、リモートホスト、スキルは別管理です。TS は自己更新やリモート更新を提供しません。通知は既定で無効で、無効化指定が優先します。明示的な `update --check`
|
|
22
|
+
- npm、Python、リモートホスト、スキルは別管理です。TS は自己更新やリモート更新を提供しません。通知は既定で無効で、無効化指定が優先します。明示的な `update --check` はレジストリを照会します。公開 TS 0.3.3 は、レビュー済みの旧 `0.1.0` と公開済み `0.2.0` スキルの厳密なプロファイルを受け入れます。この 0.3.4 候補も同じ有限判定表を維持します。インストール節では、別途公開されたスキルのソースを固定しています。
|
|
23
23
|
- 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
24
|
|
|
25
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 はこの比較の対象外です。
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
実行中の **Claude Code と Codex セッション**に、ローカルまたは SSH 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
|
|
42
42
|
|
|
43
|
-
**0.3.
|
|
43
|
+
**0.3.4 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
|
|
44
44
|
|
|
45
45
|
## 機能と範囲
|
|
46
46
|
|
|
@@ -57,7 +57,7 @@ Relay 通信、MCP、wake/resume、Antigravity、自動更新は未実装です
|
|
|
57
57
|
|
|
58
58
|
ビルド後の `node dist/cli.js list --json` は Claude/Codex をまとめて表示し、`list --agent codex --json` は既知の home を検索します。公開 npm **0.1.0** では引き続き agent と Codex 一覧の home を明示します。0.2.0 でも明示的なコマンド形式を利用できます。
|
|
59
59
|
|
|
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.
|
|
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.4)が必要です。
|
|
61
61
|
|
|
62
62
|
### 0.2.0 CLI の使いやすさ
|
|
63
63
|
|
|
@@ -80,15 +80,15 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
|
|
|
80
80
|
|
|
81
81
|
Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
|
|
82
82
|
|
|
83
|
-
**0.3.
|
|
83
|
+
**0.3.4 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
|
|
84
84
|
|
|
85
85
|
```sh
|
|
86
|
-
npm view session-peer@0.3.
|
|
87
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
86
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
87
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
88
88
|
session-peer --version
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
期待値は `session-peer 0.3.
|
|
91
|
+
期待値は `session-peer 0.3.4 (typescript)`。
|
|
92
92
|
|
|
93
93
|
1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
|
|
94
94
|
2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
|
|
@@ -107,7 +107,7 @@ npm run build
|
|
|
107
107
|
node dist/cli.js --version
|
|
108
108
|
npm pack --ignore-scripts
|
|
109
109
|
# 任意のグローバルインストール前に PATH の既存コマンドを確認
|
|
110
|
-
npm install --global --ignore-scripts ./session-peer-0.3.
|
|
110
|
+
npm install --global --ignore-scripts ./session-peer-0.3.4.tgz
|
|
111
111
|
session-peer --version
|
|
112
112
|
```
|
|
113
113
|
|
|
@@ -117,7 +117,7 @@ session-peer --version
|
|
|
117
117
|
|
|
118
118
|
インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
|
|
119
119
|
|
|
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.
|
|
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.4.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
121
|
|
|
122
122
|
## 使い方
|
|
123
123
|
|
|
@@ -208,13 +208,13 @@ Python は開発時の互換検証基準のみです(v1.0.2、`47c23713d0a2a3c
|
|
|
208
208
|
|
|
209
209
|
## npm リリース
|
|
210
210
|
|
|
211
|
-
公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.3.
|
|
211
|
+
公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.3.4 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
|
|
212
212
|
|
|
213
213
|
0.2.1 は 2026-09-29 KST、0.2.0 は 2026-09-28 KST に公開・検証されました。
|
|
214
214
|
[0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
|
|
215
215
|
|
|
216
216
|
```sh
|
|
217
|
-
npm view session-peer@0.3.
|
|
217
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
218
218
|
npm view session-peer dist-tags
|
|
219
219
|
```
|
|
220
220
|
|
|
@@ -256,7 +256,7 @@ session-peer update --check --channel preview --output-format text
|
|
|
256
256
|
実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
|
|
257
257
|
対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
|
|
258
258
|
(既定、Homebrew、nvm、nvm-windows、fnm。例:
|
|
259
|
-
`npm install --global --ignore-scripts session-peer@0.3.
|
|
259
|
+
`npm install --global --ignore-scripts session-peer@0.3.4`)、マニフェストで
|
|
260
260
|
`session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
|
|
261
261
|
です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
|
|
262
262
|
アウト(`source`)、それ以外(`unknown`)では `updateCommand: null` と `guidance` の文だけを
|
|
@@ -310,18 +310,18 @@ stderr の 1 行を出します。ホストの数にかかわらず、更新は
|
|
|
310
310
|
|
|
311
311
|
## エージェントスキルの明示的な導入
|
|
312
312
|
|
|
313
|
-
別の `session-peer-ts`
|
|
313
|
+
別の `session-peer-ts` スキルは [スキル 0.2.0](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0) として公開されています。バージョンは npm ランタイムとは独立しており、一方をインストールしても他方はインストールされません。Python の `session-peer` スキルも別に維持します。
|
|
314
314
|
|
|
315
|
-
[固定したスキルのソース](https://github.com/abruption/session-peer-skill/tree/
|
|
315
|
+
[固定したスキルのソース](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts)を確認してから、エージェントと導入範囲を選択してください。
|
|
316
316
|
以下の例は **Codex、現在のプロジェクト** を指定します。そのプロジェクトのディレクトリで実行してください。
|
|
317
317
|
Claude Code では `--agent claude-code` を使用します。ユーザー単位の場合は add/list/remove の
|
|
318
318
|
すべてに `--global` を付けてください。既存の `session-peer-ts` を置き換える前にローカルの変更を確認してください。
|
|
319
319
|
Codex の `.agents/skills` は、このパスを探索する他のクライアントと共有されます。
|
|
320
320
|
|
|
321
|
-
0.3.3
|
|
321
|
+
公開 TS 0.3.3 はスキル 0.2.0 の厳密なプロファイル(`typescript`、最小 `0.1.0`、文書化した機能の参照 `0.3.2`、`probe-help`)と旧 0.1.0 プロファイルを受け入れます。公開 0.3.2 は 0.2.0 プロファイルを拒否するため、新しいスキルを使う前に元の管理ツールでランタイムを更新してください。`verification:metadata_only` を伴う `compatible` は範囲を限定したメタデータ検査であり、内容の認証、送信許可、配信・ACK の証拠ではありません。最小バージョンは基本 CLI の互換下限、全機能の参照は文書が扱う公開機能の参照バージョンです。任意機能には実際の実行ファイルの version/help とプラットフォーム・ネイティブツールの前提条件が必要です。ランタイムとスキルはそれぞれの管理ツールで別々に更新し、postinstall は追加しません。[有限の判定表と読み取りの制限](design/typescript-skill-compatibility.md)を参照してください。
|
|
322
322
|
|
|
323
323
|
```sh
|
|
324
|
-
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/
|
|
324
|
+
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts --skill session-peer-ts --agent codex --copy --yes
|
|
325
325
|
npx -y skills@1.7.0 list --agent codex --json
|
|
326
326
|
npx -y skills@1.7.0 remove session-peer-ts --agent codex --yes
|
|
327
327
|
```
|
package/docs/guide.ko.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
**문서·소스 기준 버전: 0.3.
|
|
7
|
+
**문서·소스 기준 버전: 0.3.4.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.3과 0.3.4는 서로의 SSH 사전 확인을 거부합니다.
|
|
8
8
|
|
|
9
|
-
이 가이드는 0.3.
|
|
9
|
+
이 가이드는 0.3.4를 다룹니다([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
10
|
|
|
11
11
|
<a id="마이그레이션-경계-033-후보"></a>
|
|
12
12
|
|
|
13
|
-
## 마이그레이션 경계 (0.3.
|
|
13
|
+
## 마이그레이션 경계 (0.3.4)
|
|
14
14
|
|
|
15
15
|
[0.3.2 공개 기록](../VALIDATION.md#public-032--2026-10-07-kst)은 릴리스 소스와 산출물을 고정합니다. SSH 사전 확인은 정확히 같은 TS 버전 표시를 검사하며 커밋 해시는 검사하지 않습니다. 소스 빌드의 검토 커밋 일치는 운영자가 별도로 확인해야 합니다.
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
- 반복 `--host`는 요청 순서대로 배열을 반환합니다. 호스트별 실행 단계의 실패는 종료코드 1로 집계하지만, 실행 전 명령 전체 거부(호스트 중복이나 빈 메시지 등)는 배열 출력에서도 종료코드 2를 유지합니다. 공개 0.3.2는 SSH 종료 255나 시간 초과 후 완전한 응답의 근거도 잃을 수 있습니다. 0.3.3은 요청에 맞는 완전한 사실을 보존하며 로컬 종료코드 1과 `sshTransport`를 반환합니다. 불완전하거나 잘못된 근거는 unknown으로 남습니다. unknown이면 자동 재전송하지 않습니다.
|
|
20
20
|
- 0.2.0에 도입된 기본 doctor는 Codex를 실행하거나 inbox에 제출하지 않습니다. 0.3.0부터 명시적 `--check-return-route`는 사용할 수 있는 비로컬 대상에 한해 제한된 역방향 SSH 무동작 명령을 실행합니다. 자기 경로는 SSH 없이 `verified`, `transport:local`, `self_route_normalized`를 반환하며, 호스트가 없으면 접속 확인 전에 실패합니다. `--check-reply-to`는 지원하지 않습니다. verified는 로컬 경로 정규화 또는 한 번의 SSH 무동작 명령 성공을 의미하며, ACK 인증이나 일반적인 역방향 접근 보장이 아닙니다.
|
|
21
21
|
- 같은 기기의 Reply-To를 로컬로 바꾸려면 명시된 OS 사용자가 일치하고 정확한 로컬 이름으로 확인되며 명시적 SSH 옵션이 없어야 합니다. 발신자 근거가 충돌하면 신원을 생략하고, Claude 이름을 사용할 수 없으면 PID를 사용합니다.
|
|
22
|
-
- npm, Python, 원격 호스트, 스킬은 각각 별도로 관리합니다. TS는 자체·원격 업데이트를 제공하지 않습니다. 알림은 기본 꺼짐이며 비활성화 설정이 우선합니다. 명시적 `update --check`는 레지스트리를 조회합니다.
|
|
22
|
+
- npm, Python, 원격 호스트, 스킬은 각각 별도로 관리합니다. TS는 자체·원격 업데이트를 제공하지 않습니다. 알림은 기본 꺼짐이며 비활성화 설정이 우선합니다. 명시적 `update --check`는 레지스트리를 조회합니다. 공개 TS 0.3.3은 검토된 기존 `0.1.0` 및 공개된 `0.2.0` 스킬의 정확한 프로필을 허용하며, 이 0.3.4 후보도 같은 유한 판정표를 유지합니다. 설치 절에는 별도로 공개된 스킬 소스를 고정했습니다.
|
|
23
23
|
- 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
24
|
|
|
25
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는 이 비교 범위에서 제외합니다.
|
|
@@ -92,7 +92,7 @@ JSON에는 정제된 `codexHomeResolution`이 포함되며, 네이티브 응답
|
|
|
92
92
|
`queueId`도 포함됩니다. 둘 다 메시지를 읽거나 처리했음을 확인하지 않습니다.
|
|
93
93
|
[홈 선택 계약](../PARITY.md#source-codex-home-selection--17--020)을 참고하세요.
|
|
94
94
|
공개 **0.1.0**은 여전히 실행 중인 홈을 명시해야 하며 비활성 세션 허용 옵션이 없습니다.
|
|
95
|
-
SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.3.
|
|
95
|
+
SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.3.4)을 설치해야
|
|
96
96
|
합니다.
|
|
97
97
|
|
|
98
98
|
<a id="020-cli-사용성"></a>
|
|
@@ -132,20 +132,20 @@ Claude Code에는 받은 메시지함에 접근할 수 있는 실행 중 TUI(터
|
|
|
132
132
|
|
|
133
133
|
Node 22.x의 22.13 이상 또는 24.x를 사용하세요. Python CLI도 같은 `session-peer`
|
|
134
134
|
명령 이름을 쓰므로, 설치 전에 PATH(명령 검색 경로)에서 어떤 실행 파일을 찾는지
|
|
135
|
-
확인하세요. 아래 명령은 0.3.
|
|
135
|
+
확인하세요. 아래 명령은 선택한 0.3.4를 npm으로 설치하는 예입니다.
|
|
136
136
|
CLI 자체는 패키지를 설치하거나 업데이트하지 않습니다.
|
|
137
137
|
|
|
138
|
-
**0.3.
|
|
138
|
+
**0.3.4 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
|
|
139
139
|
|
|
140
140
|
```sh
|
|
141
|
-
npm view session-peer@0.3.
|
|
142
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
143
|
-
session-peer --version # session-peer 0.3.
|
|
141
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
142
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
143
|
+
session-peer --version # session-peer 0.3.4 (typescript)
|
|
144
144
|
session-peer list --agent claude --json
|
|
145
145
|
session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
예상 결과는 `session-peer 0.3.
|
|
148
|
+
예상 결과는 `session-peer 0.3.4 (typescript)`입니다.
|
|
149
149
|
|
|
150
150
|
1. 세션을 조회하고 `CLAUDE_PID`를 대상으로 선택한 정확한 PID로 바꾸세요.
|
|
151
151
|
2. `--dry-run`으로 검증합니다. 이 단계에서는 메시지를 제출하지 않습니다.
|
|
@@ -173,11 +173,11 @@ npm run build
|
|
|
173
173
|
node dist/cli.js --version
|
|
174
174
|
npm pack --ignore-scripts
|
|
175
175
|
# Optional global install: first check which session-peer your PATH selects.
|
|
176
|
-
npm install --global --ignore-scripts ./session-peer-0.3.
|
|
176
|
+
npm install --global --ignore-scripts ./session-peer-0.3.4.tgz
|
|
177
177
|
session-peer --version
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
0.3.
|
|
180
|
+
0.3.4에서 예상되는 결과는 `session-peer 0.3.4 (typescript)`입니다. 로컬 빌드
|
|
181
181
|
산출물을 선택하려면 `./...tgz` 경로를 그대로 두세요. 이후 버전에 이 명령을 사용할
|
|
182
182
|
때는 먼저 체크아웃한 소스의 버전을 확인하세요.
|
|
183
183
|
|
|
@@ -198,7 +198,7 @@ Python CLI를 덮어쓰지 않으려면 격리 prefix에 설치·제거할 수
|
|
|
198
198
|
npm ci --ignore-scripts
|
|
199
199
|
npm run build
|
|
200
200
|
npm pack --ignore-scripts
|
|
201
|
-
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.
|
|
201
|
+
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.4.tgz
|
|
202
202
|
& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
|
|
203
203
|
# Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
|
|
204
204
|
```
|
|
@@ -441,7 +441,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
|
|
|
441
441
|
<a id="package-release"></a>
|
|
442
442
|
## npm 릴리스
|
|
443
443
|
|
|
444
|
-
아래 레지스트리 조회로 0.3.
|
|
444
|
+
아래 레지스트리 조회로 0.3.4의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
|
|
445
445
|
|
|
446
446
|
0.3.2는 2026-10-07 KST에, 0.3.1은 2026-10-04 KST에 공개·검증했습니다.
|
|
447
447
|
[0.3.2 공개 기록](../VALIDATION.md#public-032--2026-10-07-kst)과
|
|
@@ -452,7 +452,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
|
|
|
452
452
|
설치 전에는 정확한 버전과 현재 npm 태그를 확인하세요.
|
|
453
453
|
|
|
454
454
|
```sh
|
|
455
|
-
npm view session-peer@0.3.
|
|
455
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
456
456
|
npm view session-peer dist-tags
|
|
457
457
|
```
|
|
458
458
|
|
|
@@ -507,7 +507,7 @@ session-peer update --check --channel preview --output-format text
|
|
|
507
507
|
`updateCommand`는 실행 중인 CLI 경로로 설치 주체를 확인할 수 있을 때 사용자에게 안내합니다.
|
|
508
508
|
해당하는 경우는
|
|
509
509
|
자체 `session-peer` 실행기가 이 패키지를 가리키는 npm 전역 prefix(기본, Homebrew, nvm,
|
|
510
|
-
nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.3.
|
|
510
|
+
nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.3.4`),
|
|
511
511
|
매니페스트에 `session-peer`가 선언된 pnpm·Yarn·Bun 전역 저장소, Volta, npx 캐시입니다.
|
|
512
512
|
프로젝트 설치(`npm_project`, `pnpm_project`), 소스 체크아웃(`source`), 그 밖의
|
|
513
513
|
경우(`unknown`)에는 `updateCommand: null`과 `guidance` 문장만 돌려주므로, 관련 없는 현재
|
|
@@ -562,18 +562,18 @@ HTTP, 자격 증명 불가). npm 설정과 `.npmrc`는 읽지 않습니다.
|
|
|
562
562
|
<a id="agent-skill-explicit-installation"></a>
|
|
563
563
|
## 에이전트 스킬: 명시적 설치
|
|
564
564
|
|
|
565
|
-
별도 `session-peer-ts`
|
|
565
|
+
별도 `session-peer-ts` 스킬은 [스킬 0.2.0](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0)으로 공개되었습니다. 스킬 버전은 npm 런타임과 독립적이며, 어느 한쪽을 설치해도 다른 쪽은 설치되지 않습니다. Python의 `session-peer` 스킬도 별도로 유지합니다.
|
|
566
566
|
|
|
567
|
-
[고정된 스킬 소스](https://github.com/abruption/session-peer-skill/tree/
|
|
567
|
+
[고정된 스킬 소스](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts)를 검토한 뒤 에이전트와 설치 범위를 선택하세요.
|
|
568
568
|
아래 예시는 **Codex, 현재 프로젝트**를 선택합니다. 해당 프로젝트 디렉터리에서 실행하세요.
|
|
569
569
|
Claude Code는 `--agent claude-code`를 사용합니다. 사용자 범위는 add/list/remove 모두에
|
|
570
570
|
`--global`을 동일하게 추가하세요. 기존 `session-peer-ts` 사본을 교체하기 전에 로컬 수정 사항을
|
|
571
571
|
확인하세요. Codex의 `.agents/skills` 디렉터리는 이 경로를 탐색하는 다른 클라이언트와 공유됩니다.
|
|
572
572
|
|
|
573
|
-
0.3.3은
|
|
573
|
+
공개 TS 0.3.3은 스킬 0.2.0의 정확한 프로필(`typescript`, 최소 `0.1.0`, 문서화된 기능 기준 `0.3.2`, `probe-help`)과 기존 0.1.0 프로필을 허용합니다. 공개 0.3.2는 0.2.0 프로필을 거부하므로 새 스킬을 사용하기 전에 기존 설치 관리자로 런타임을 업데이트하세요. `verification:metadata_only`를 포함한 `compatible`은 제한된 메타데이터 검사 결과이며, 내용 인증·전송 허가·전달 또는 ACK의 근거가 아닙니다. 최소 버전은 기본 CLI 호환 하한이고, 전체 기능 기준은 문서가 다루는 공개 기능의 참조 버전입니다. 선택 기능은 실제 실행 파일의 version/help와 플랫폼·네이티브 도구 조건을 따로 확인해야 합니다. 런타임과 스킬은 각 관리자로 별도 업데이트하며 postinstall은 추가하지 않습니다. [유한 판정표와 읽기 제한](design/typescript-skill-compatibility.md)을 참고하세요.
|
|
574
574
|
|
|
575
575
|
```sh
|
|
576
|
-
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/
|
|
576
|
+
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts --skill session-peer-ts --agent codex --copy --yes
|
|
577
577
|
npx -y skills@1.7.0 list --agent codex --json
|
|
578
578
|
npx -y skills@1.7.0 remove session-peer-ts --agent codex --yes
|
|
579
579
|
```
|
package/docs/guide.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
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.
|
|
7
|
+
**Documentation and source version: 0.3.4.** 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.3 and 0.3.4 refuse each other’s SSH preflight.
|
|
8
8
|
|
|
9
|
-
This guide covers version 0.3.
|
|
9
|
+
This guide covers version 0.3.4 ([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
10
|
|
|
11
11
|
<a id="migration-boundaries-033-candidate"></a>
|
|
12
12
|
|
|
13
|
-
## Migration boundaries (0.3.
|
|
13
|
+
## Migration boundaries (0.3.4)
|
|
14
14
|
|
|
15
15
|
The [public 0.3.2 record](../VALIDATION.md#public-032--2026-10-07-kst) fixes the
|
|
16
16
|
release source and artifact. SSH preflight checks the exact TS version banner,
|
|
@@ -40,8 +40,7 @@ not a commit hash; operators must align reviewed source commits separately.
|
|
|
40
40
|
omits identity; an unusable Claude name falls back to PID.
|
|
41
41
|
- npm, Python, remote hosts and skills have separate owners. TS has no self- or
|
|
42
42
|
remote updater; notices default off and opt-out wins. Explicit `update --check`
|
|
43
|
-
still queries the registry.
|
|
44
|
-
#118's Draft successor is not an install pin or a compatible published guard.
|
|
43
|
+
still queries the registry. Public TS 0.3.3 accepts both exact reviewed legacy `0.1.0` and published `0.2.0` skill profiles; this 0.3.4 candidate preserves that finite matrix. The installation section pins the independently published skill source.
|
|
45
44
|
- Windows qualification used published 0.3.1 on Windows 10 x64, an administrator
|
|
46
45
|
account, PowerShell 5.1 and Node 24.16.0: offline provisioning, wrapper/native
|
|
47
46
|
locking, operator doctor/nonexistent-target dry-run and 31 local fixtures.
|
|
@@ -74,7 +73,7 @@ Relay/MCP are outside this migration comparison.
|
|
|
74
73
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
75
74
|
This TypeScript client runs on Node.js without Python.
|
|
76
75
|
|
|
77
|
-
This guide describes **version 0.3.
|
|
76
|
+
This guide describes **version 0.3.4**. The npm package and CLI command are both **`session-peer`**. This
|
|
78
77
|
project does not provide a Relay server or hosted service.
|
|
79
78
|
|
|
80
79
|
## Quick start
|
|
@@ -82,12 +81,12 @@ project does not provide a Relay server or hosted service.
|
|
|
82
81
|
Use Node **22.13+ within 22.x or 24.x**. Check which `session-peer` your PATH
|
|
83
82
|
selects if the Python CLI is already installed; both packages use that command.
|
|
84
83
|
|
|
85
|
-
**Version 0.3.
|
|
84
|
+
**Version 0.3.4 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).
|
|
86
85
|
|
|
87
86
|
```sh
|
|
88
|
-
npm view session-peer@0.3.
|
|
89
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
90
|
-
session-peer --version # session-peer 0.3.
|
|
87
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
88
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
89
|
+
session-peer --version # session-peer 0.3.4 (typescript)
|
|
91
90
|
session-peer list --agent claude --json
|
|
92
91
|
session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
|
|
93
92
|
```
|
|
@@ -154,7 +153,7 @@ submits nothing. JSON adds sanitized `codexHomeResolution` and, when supplied by
|
|
|
154
153
|
native queue output, `queueId`; neither confirms consumption. See the
|
|
155
154
|
[selection contract](../PARITY.md#source-codex-home-selection--17--020).
|
|
156
155
|
Published **0.1.0** still requires an explicit live home and has no inactive opt-in.
|
|
157
|
-
On SSH, both ends need the same TypeScript client version (0.3.
|
|
156
|
+
On SSH, both ends need the same TypeScript client version (0.3.4).
|
|
158
157
|
|
|
159
158
|
## Requirements
|
|
160
159
|
|
|
@@ -178,11 +177,11 @@ npm run build
|
|
|
178
177
|
node dist/cli.js --version
|
|
179
178
|
npm pack --ignore-scripts
|
|
180
179
|
# Optional global install: first check which session-peer your PATH selects.
|
|
181
|
-
npm install --global --ignore-scripts ./session-peer-0.3.
|
|
180
|
+
npm install --global --ignore-scripts ./session-peer-0.3.4.tgz
|
|
182
181
|
session-peer --version
|
|
183
182
|
```
|
|
184
183
|
|
|
185
|
-
Expected for version 0.3.
|
|
184
|
+
Expected for version 0.3.4: `session-peer 0.3.4 (typescript)`. Keep the `./...tgz` path to
|
|
186
185
|
select the locally built artifact. Check the checkout version before using
|
|
187
186
|
these commands for a later release.
|
|
188
187
|
|
|
@@ -202,7 +201,7 @@ On Windows PowerShell, inspect competing commands with
|
|
|
202
201
|
npm ci --ignore-scripts
|
|
203
202
|
npm run build
|
|
204
203
|
npm pack --ignore-scripts
|
|
205
|
-
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.
|
|
204
|
+
npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.4.tgz
|
|
206
205
|
& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
|
|
207
206
|
# Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
|
|
208
207
|
```
|
|
@@ -465,7 +464,7 @@ separate approval. Licensed under [MIT](../LICENSE).
|
|
|
465
464
|
|
|
466
465
|
## Package release
|
|
467
466
|
|
|
468
|
-
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.
|
|
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.4 availability and npm tags with the registry queries below; dated preparation evidence does not establish a later publication outcome.
|
|
469
468
|
|
|
470
469
|
Version 0.2.1 was published and verified on 2026-09-29 KST and 0.2.0 on
|
|
471
470
|
2026-09-28 KST; see the [0.2.1 public release record](../VALIDATION.md#public-021--2026-09-29-kst).
|
|
@@ -473,7 +472,7 @@ Later releases add their own dated records. Check the exact version and current
|
|
|
473
472
|
tags before installing:
|
|
474
473
|
|
|
475
474
|
```sh
|
|
476
|
-
npm view session-peer@0.3.
|
|
475
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
477
476
|
npm view session-peer dist-tags
|
|
478
477
|
```
|
|
479
478
|
|
|
@@ -525,7 +524,7 @@ and reports `current`, `latest`, `channel` (`latest` by default, or `preview`),
|
|
|
525
524
|
installation's owner is positively identified from the running CLI's path:
|
|
526
525
|
an npm global prefix whose own `session-peer` launcher points at this package
|
|
527
526
|
(default, Homebrew, nvm, nvm-windows and fnm prefixes), for example
|
|
528
|
-
`npm install --global --ignore-scripts session-peer@0.3.
|
|
527
|
+
`npm install --global --ignore-scripts session-peer@0.3.4`; a pnpm, Yarn or Bun
|
|
529
528
|
global store whose manifest declares `session-peer`; Volta; or the npx cache.
|
|
530
529
|
Project installs (`npm_project`, `pnpm_project`), source checkouts (`source`)
|
|
531
530
|
and anything else (`unknown`) get `updateCommand: null` and a `guidance`
|
|
@@ -584,19 +583,19 @@ holds only public version data. `SESSION_PEER_UPDATE_REGISTRY` selects a mirror
|
|
|
584
583
|
|
|
585
584
|
## Agent skill: explicit installation
|
|
586
585
|
|
|
587
|
-
The separate `session-peer-ts` companion skill is
|
|
586
|
+
The separate `session-peer-ts` companion skill is published as [skill 0.2.0](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0). Its version is independent of npm; installing either does not install the other. The Python `session-peer` skill remains separate.
|
|
588
587
|
|
|
589
|
-
Review the [exact skill source](https://github.com/abruption/session-peer-skill/tree/
|
|
588
|
+
Review the [exact skill source](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts),
|
|
590
589
|
then choose the agent and scope. This example selects **Codex, current project**;
|
|
591
590
|
run from that project directory. For Claude Code use `--agent claude-code`.
|
|
592
591
|
For user scope add `--global` consistently to add/list/remove. Inspect any existing
|
|
593
592
|
`session-peer-ts` copy for local edits before approving its replacement. Codex's
|
|
594
593
|
`.agents/skills` directory is shared with other clients that discover that path.
|
|
595
594
|
|
|
596
|
-
|
|
595
|
+
Public TS 0.3.3 accepts the exact skill 0.2.0 profile (`typescript`, minimum `0.1.0`, full `0.3.2`, `probe-help`) and the legacy 0.1.0 profile. Public 0.3.2 rejects the 0.2.0 profile; upgrade the runtime through its owner before using the newer skill. `compatible` with `verification:metadata_only` is a bounded metadata check, not content authentication, permission to send, or delivery/ACK evidence. Minimum is the baseline CLI compatibility floor; full is the documented published feature coverage reference. Optional operations still require the resolved executable’s version/help and platform/native prerequisites. Runtime and skill upgrades remain separate and manager-owned; no postinstall is introduced. See the [finite matrix and reader boundaries](design/typescript-skill-compatibility.md).
|
|
597
596
|
|
|
598
597
|
```sh
|
|
599
|
-
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/
|
|
598
|
+
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts --skill session-peer-ts --agent codex --copy --yes
|
|
600
599
|
npx -y skills@1.7.0 list --agent codex --json
|
|
601
600
|
npx -y skills@1.7.0 remove session-peer-ts --agent codex --yes
|
|
602
601
|
```
|
package/docs/guide.zh-CN.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
6
6
|
|
|
7
|
-
**文档和源码版本:0.3.
|
|
7
|
+
**文档和源码版本:0.3.4。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](../VALIDATION.md),发布流程见 [RELEASING.md](../RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.3 与 0.3.4 会拒绝彼此的 SSH 预检。
|
|
8
8
|
|
|
9
|
-
这是 0.3.
|
|
9
|
+
这是 0.3.4 详细指南([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
10
|
|
|
11
11
|
<a id="迁移边界-033-候选"></a>
|
|
12
12
|
|
|
13
|
-
## 迁移边界 (0.3.
|
|
13
|
+
## 迁移边界 (0.3.4)
|
|
14
14
|
|
|
15
15
|
[0.3.2 公开记录](../VALIDATION.md#public-032--2026-10-07-kst)固定了发布源码和产物。SSH 预检验证 TS 版本标识完全一致,不检查提交哈希;源码构建使用的已审核提交需要由操作人员另行对齐。
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
- 重复 `--host` 返回按请求顺序排列的数组。主机分别执行期间发生的失败汇总为退出码 1;执行前的命令整体拒绝(如主机重复或消息为空)在数组输出中仍保持退出码 2。公开 0.3.2 在 SSH 退出 255 或超时后,也可能丢失完整响应的证据。0.3.3 保留与请求匹配的完整事实,并返回本地退出码 1 和 `sshTransport`。不完整或无效证据仍为 unknown。unknown 时不得自动重发。
|
|
20
20
|
- 0.2.0 引入的基础 doctor 不执行 Codex,也不向 inbox 提交。0.3.0 起,显式 `--check-return-route` 仅对可用的非本地目标执行有时间限制的反向 SSH 无操作命令。同机自身路由无需 SSH 即返回 `verified`、`transport:local`、`self_route_normalized`;缺少主机时在任何探测前失败。`--check-reply-to` 不受支持。verified 表示本地路由归一化或一次 SSH 无操作命令成功,不是 ACK 认证或通用反向访问保证。
|
|
21
21
|
- 将同机 Reply-To 归一化为本地路径,必须明确指定匹配的 OS 用户、使用可识别的准确本机名称,且没有显式 SSH 选项。发送者证据冲突时省略身份;Claude 名称不可用时使用 PID。
|
|
22
|
-
- npm、Python、远程主机、技能分别管理。TS 不提供自身更新或远程更新。通知默认关闭,禁用设置优先。显式 `update --check`
|
|
22
|
+
- npm、Python、远程主机、技能分别管理。TS 不提供自身更新或远程更新。通知默认关闭,禁用设置优先。显式 `update --check` 仍会查询注册表。公开 TS 0.3.3 接受经过审核的旧 `0.1.0` 和已发布 `0.2.0` 技能的精确配置;此 0.3.4 候选保留相同的有限判定表。安装部分固定了独立发布的技能源码。
|
|
23
23
|
- Windows 验证使用公开 0.3.1、Windows 10 x64、管理员账号、PowerShell 5.1 和 Node 24.16.0。验证范围包括离线安装、包装器与原生锁、操作端 doctor 和不存在目标的 dry-run,以及 31 项本地 fixture。Node 22 仅确认版本标识和原生锁。非管理员、其他架构、F6 运行时校验、此前 Linux 实验的最新规则仍未验证。这不是 0.3.2 实机 ACK 或部署辅助工具的验证。
|
|
24
24
|
|
|
25
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 不在此次迁移对比范围内。
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
向正在运行的 **Claude Code 和 Codex 会话**发送消息,支持本机和跨机器 SSH。这是运行于 Node.js 的 TypeScript 客户端,不需要 Python。
|
|
42
42
|
|
|
43
|
-
**这是 0.3.
|
|
43
|
+
**这是 0.3.4 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
|
|
44
44
|
|
|
45
45
|
## 功能与边界
|
|
46
46
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
构建后,`node dist/cli.js list --json` 合并列出 Claude/Codex,`list --agent codex --json` 查找已知 home。公开 npm **0.1.0** 仍要求显式 agent,以及 Codex 列表所需的 home;0.2.0 也支持显式命令格式。
|
|
59
59
|
|
|
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.
|
|
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.4)。
|
|
61
61
|
|
|
62
62
|
### 0.2.0 CLI 易用性
|
|
63
63
|
|
|
@@ -79,15 +79,15 @@ macOS、Linux 或 Windows native;Node **22.x 中的 22.13 及以上,或 24.x
|
|
|
79
79
|
|
|
80
80
|
使用 Node 22.x 的 22.13 及以上或 24.x,并确认要安装的确切版本是否已发布。Python CLI 也使用同一个命令名;若已有安装,请先检查 PATH。
|
|
81
81
|
|
|
82
|
-
**安装 0.3.
|
|
82
|
+
**安装 0.3.4:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](#从源码构建)。
|
|
83
83
|
|
|
84
84
|
```sh
|
|
85
|
-
npm view session-peer@0.3.
|
|
86
|
-
npm install --global --ignore-scripts session-peer@0.3.
|
|
85
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
86
|
+
npm install --global --ignore-scripts session-peer@0.3.4
|
|
87
87
|
session-peer --version
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
预期输出:`session-peer 0.3.
|
|
90
|
+
预期输出:`session-peer 0.3.4 (typescript)`。
|
|
91
91
|
|
|
92
92
|
1. 用 `session-peer list --agent claude --json` 查找目标并选择准确 PID。
|
|
93
93
|
2. 用 `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` 验证,不提交。
|
|
@@ -106,7 +106,7 @@ npm run build
|
|
|
106
106
|
node dist/cli.js --version
|
|
107
107
|
npm pack --ignore-scripts
|
|
108
108
|
# 可选:全局安装前先检查 PATH 选择的现有命令
|
|
109
|
-
npm install --global --ignore-scripts ./session-peer-0.3.
|
|
109
|
+
npm install --global --ignore-scripts ./session-peer-0.3.4.tgz
|
|
110
110
|
session-peer --version
|
|
111
111
|
```
|
|
112
112
|
|
|
@@ -116,7 +116,7 @@ session-peer --version
|
|
|
116
116
|
|
|
117
117
|
安装前后用 `type -a session-peer` 和 `command -v session-peer` 检查实际执行项。其他实现也可能提供同名命令;请选择 PATH 上的一种,或显式运行 `node /absolute/path/dist/cli.js`。不要用 `--force` 覆盖其他管理器的文件。本包不会自动安装、删除或调整 Python 包、技能或服务。卸载使用 `npm uninstall --global session-peer`,随后再次检查 PATH。
|
|
118
118
|
|
|
119
|
-
在 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.
|
|
119
|
+
在 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.4.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` 卸载。
|
|
120
120
|
|
|
121
121
|
## 使用
|
|
122
122
|
|
|
@@ -207,14 +207,14 @@ Python 只用作开发时的兼容性基准(v1.0.2,`47c23713d0a2a3c11ebde618
|
|
|
207
207
|
|
|
208
208
|
## npm 版本
|
|
209
209
|
|
|
210
|
-
公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.3.
|
|
210
|
+
公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.3.4 的当前可用性和 npm 标签;带日期的准备证据不能证明后续发布结果。
|
|
211
211
|
|
|
212
212
|
0.2.1 已于 2026-09-29 KST、0.2.0 已于 2026-09-28 KST 公开并验证。请参阅
|
|
213
213
|
[0.2.1 公开记录](../VALIDATION.md#public-021--2026-09-29-kst)(之后的版本各自追加带日期的记录),
|
|
214
214
|
安装前核对准确版本与当前标签。
|
|
215
215
|
|
|
216
216
|
```sh
|
|
217
|
-
npm view session-peer@0.3.
|
|
217
|
+
npm view session-peer@0.3.4 version dist.integrity
|
|
218
218
|
npm view session-peer dist-tags
|
|
219
219
|
```
|
|
220
220
|
|
|
@@ -253,7 +253,7 @@ dist-tag(3 秒超时,不重试),并报告 `current`、`latest`、`channe
|
|
|
253
253
|
`ahead`)、`managedBy`、`updateCommand` 和 `guidance`。只有根据当前 CLI 路径能确切识别
|
|
254
254
|
安装的管理方时才给出命令:其自身 `session-peer` 启动器指向本包的 npm 全局 prefix
|
|
255
255
|
(默认、Homebrew、nvm、nvm-windows、fnm,例如
|
|
256
|
-
`npm install --global --ignore-scripts session-peer@0.3.
|
|
256
|
+
`npm install --global --ignore-scripts session-peer@0.3.4`),清单中声明了
|
|
257
257
|
`session-peer` 的 pnpm、Yarn、Bun 全局存储,Volta,或 npx 缓存。项目安装
|
|
258
258
|
(`npm_project`、`pnpm_project`)、源码检出(`source`)以及其他情况(`unknown`)只返回
|
|
259
259
|
`updateCommand: null` 和一句 `guidance`,因此不会给出可能修改无关当前目录的命令。它只报告
|
|
@@ -295,18 +295,18 @@ npm 版本,Python 版 `session-peer` 的发布是独立的版本序列,从
|
|
|
295
295
|
|
|
296
296
|
## 显式安装代理技能
|
|
297
297
|
|
|
298
|
-
独立的 `session-peer-ts`
|
|
298
|
+
独立的 `session-peer-ts` 技能已发布为[技能 0.2.0](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0)。技能版本与 npm 运行时独立,安装其中一个不会安装另一个。Python 的 `session-peer` 技能也独立保留。
|
|
299
299
|
|
|
300
|
-
先检查[固定提交的技能源码](https://github.com/abruption/session-peer-skill/tree/
|
|
300
|
+
先检查[固定提交的技能源码](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts),再选择代理和安装范围。
|
|
301
301
|
以下示例选择 **Codex、当前项目**;请在该项目目录中运行。
|
|
302
302
|
Claude Code 使用 `--agent claude-code`。用户范围安装应在 add/list/remove 中一致添加 `--global`。
|
|
303
303
|
批准替换已有的 `session-peer-ts` 副本前,请检查本地修改。
|
|
304
304
|
Codex 的 `.agents/skills` 目录与其他扫描该路径的客户端共享。
|
|
305
305
|
|
|
306
|
-
0.3.3
|
|
306
|
+
公开 TS 0.3.3 接受技能 0.2.0 的精确配置(`typescript`、最低 `0.1.0`、文档功能参考 `0.3.2`、`probe-help`)以及旧 0.1.0 配置。公开 0.3.2 拒绝 0.2.0 配置,因此使用新技能前,应通过原安装管理工具升级运行时。带有 `verification:metadata_only` 的 `compatible` 仅表示有界元数据检查,不代表内容认证、发送授权、投递或 ACK 证据。最低版本是基础 CLI 兼容下限,完整功能版本是文档所涵盖的公开功能参考版本。可选操作仍需检查实际执行文件的 version/help 以及平台和原生工具条件。运行时与技能由各自管理工具独立升级,不引入 postinstall。请参阅[有限判定表与读取边界](design/typescript-skill-compatibility.md)。
|
|
307
307
|
|
|
308
308
|
```sh
|
|
309
|
-
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/
|
|
309
|
+
npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts --skill session-peer-ts --agent codex --copy --yes
|
|
310
310
|
npx -y skills@1.7.0 list --agent codex --json
|
|
311
311
|
npx -y skills@1.7.0 remove session-peer-ts --agent codex --yes
|
|
312
312
|
```
|
package/docs/shorthand.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Optional `sp` shorthand
|
|
2
2
|
|
|
3
|
-
This reference describes source/package version 0.3.
|
|
3
|
+
This reference describes source/package version 0.3.4. 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
|
|