session-peer 0.3.3 → 0.3.5
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 +28 -4
- 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 +45 -0
- package/VALIDATION.md +125 -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 +11 -5
- package/docs/api.md +4 -4
- package/docs/design/typescript-skill-compatibility.md +73 -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
|
@@ -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 source
|
|
9
|
+
The published 0.3.4 checkpoint at [`afed4a5a8945012faf1b23d52cffecb70470a5b3`](https://github.com/abruption/session-peer-ts/tree/afed4a5a8945012faf1b23d52cffecb70470a5b3) has the following finite runtime/profile matrix. The current 0.3.5 source/package extension is documented in the successor-rollout section below; it does not change that immutable published artifact:
|
|
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. The immutable published 0.3.4 source/package uses compiled `VERSION=0.3.4` and preserves the two exact reviewed profiles; its guard rejects unreviewed runtimes such as 0.3.5. The 0.3.5 source/package adds its reviewed finite row and compiled default as documented below, without changing that published artifact. 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.4`) 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.
|
|
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 the published 0.3.4 checkpoint; `0.3.6` in the 0.3.5 source/package row) 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,67 @@ 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.
|
|
85
|
+
|
|
86
|
+
<a id="draft-successor-profile-planning--139"></a>
|
|
87
|
+
|
|
88
|
+
## 0.3.5 source support and successor rollout — #139
|
|
89
|
+
|
|
90
|
+
[#139](https://github.com/abruption/session-peer-ts/issues/139) tracks the separate successor profile and rollout for updated TS skill documentation. The 0.3.5 source/package adds exactly the skill 0.2.1 profile below while retaining legacy 0.1.0 and published 0.2.0. Its complete candidate bytes/profile were reviewed for guard preparation as recorded below; final skill publication wording, immutable release and installation pin remain separate. Source/package support does not itself establish npm or skill publication.
|
|
91
|
+
|
|
92
|
+
At the original [Draft #140 checkpoint `b917769`](https://github.com/abruption/session-peer-ts/tree/b917769047db41dedcb4aa1367a1b89915beb000), compiled VERSION was 0.3.4 and candidate 0.3.5 support was exercised only through helper arguments. [PR #144](https://github.com/abruption/session-peer-ts/pull/144) integrated that implementation and the compiled-default/full-file tests; its merge source is `5409d0acd4b559c09920a63c5fd7f11fd10f5737`. The current compiled VERSION is 0.3.5. Public 0.3.4 remains immutable, and no successor skill installation pin is approved.
|
|
93
|
+
|
|
94
|
+
| Inspecting source/package runtime | Skill version | Implementation | Minimum | Full | Policy | Verdict |
|
|
95
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
96
|
+
| `0.3.5` (source/package) | `0.1.0` | `typescript` | `0.1.0` | `0.1.0` | `probe-help` | compatible / skill_contract_compatible / metadata_only |
|
|
97
|
+
| `0.3.5` (source/package) | `0.2.0` | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | compatible / skill_contract_compatible / metadata_only |
|
|
98
|
+
| `0.3.5` (source/package) | `0.2.1` | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | compatible / skill_contract_compatible / metadata_only |
|
|
99
|
+
| Published `0.3.2`, `0.3.3`, or `0.3.4` | Proposed `0.2.1` profile above | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | incompatible / skill_contract_mismatch / metadata_only |
|
|
100
|
+
| Unreviewed `0.3.6`, `0.4.0`, or other future runtime | Any of these profiles | Any | Any | Any | Any | incompatible / skill_contract_mismatch / metadata_only |
|
|
101
|
+
|
|
102
|
+
The minimum/full values retain their existing meanings; neither implies acceptance by earlier inspectors or introduces a version range. Compatible results require the existing exact name, grammar and bounded stable-file evidence. Reader errors, malformed metadata and unavailable runtime identity retain their existing envelopes. An explicit runtime argument is test evidence, not evidence that that runtime was built, installed or published.
|
|
103
|
+
|
|
104
|
+
Companion [PR #33](https://github.com/abruption/session-peer-skill/pull/33), merged at [`eb239fb358336d85b49bab2c80e4ea39037d1374`](https://github.com/abruption/session-peer-skill/tree/eb239fb358336d85b49bab2c80e4ea39037d1374), updates TS documentation for published runtime `0.3.4` while preserving the `0.2.0` frontmatter. Its newer main-file bytes are not a replacement for the immutable `session-peer-ts-v0.2.0` release or an approved new TS skill installation pin. Companion [issue #31](https://github.com/abruption/session-peer-skill/issues/31) concerns the distinct, unshipped `0.4` scope; this profile extension does not adopt or publish that feature scope.
|
|
105
|
+
|
|
106
|
+
The required rollout order remains:
|
|
107
|
+
|
|
108
|
+
1. Review the exact candidate profile and fixtures, then obtain separate authorization to merge and actually publish its supporting TS runtime. Record that runtime's exact version, source and artifact evidence.
|
|
109
|
+
2. Obtain separate skill approval, finalize its metadata and content, and publish an immutable TS skill tag/source. A runtime helper fixture alone cannot authorize this step.
|
|
110
|
+
3. Update the four-language TS guides and PARITY together to the reviewed, published immutable skill source.
|
|
111
|
+
|
|
112
|
+
Until those steps complete, the existing skill source pin `8482cf644507c682915e35c85aa3384c53864906` and its published metadata remain unchanged. The original Draft #140 did not change the runtime version. The 0.3.5 source/package activates the reviewed finite profile through its compiled version; Python skill/runtime/reference/parity, installation, PATH, postinstall behavior, delivery/ACK support and operational settings remain unchanged. It does not authorize merge, tags, runtime/skill publication or a live experiment.
|
|
113
|
+
|
|
114
|
+
## 0.3.5 preparation boundary — 2026-10-13 KST
|
|
115
|
+
|
|
116
|
+
The candidate is based on main `afed4a5a8945012faf1b23d52cffecb70470a5b3` plus unmerged Draft #140 `b917769047db41dedcb4aa1367a1b89915beb000`. The initial companion inactive-session dry-run was refused without submission. After user activation, a stable-writer dry-run passed and one review request was queued under correlation `STS-035-SKILL-PROFILE-REVIEW-20261013-A`; consumption, review and agreement remain unconfirmed. Profile numbers and complete successor bytes require explicit companion agreement before the rollout can close. Issue #139 therefore remains open. Public skill 0.2.0 source `8482cf644507c682915e35c85aa3384c53864906`, SHA-256 `00c6fc343fdbeb8f6dc1b1ee1b730f04cef71bbfb08205a7be3559202f1d8804`, remains the installation pin. Draft #106–#109, Side Session #82 and steering #142 are excluded. Release preparation is not runtime or skill publication approval.
|
|
117
|
+
|
|
118
|
+
## Conditional successor-profile review — 2026-10-13 KST
|
|
119
|
+
|
|
120
|
+
The companion reply under `STS-035-SKILL-PROFILE-REVIEW-20261013-A` reported `conditional_profile_direction_accepted` for Draft #140 exact head `b917769047db41dedcb4aa1367a1b89915beb000`. Its reported source/test/document hashes were independently rechecked against that commit:
|
|
121
|
+
|
|
122
|
+
| File at the reviewed dependency head | SHA-256 |
|
|
123
|
+
| --- | --- |
|
|
124
|
+
| `src/skill-metadata.ts` | `2a6e2a572d563cd57ebda825aca5d278dd786fbaea12a33caa258b8e436d4e60` |
|
|
125
|
+
| `test/skill-metadata.test.ts` | `93b5c50a2da9df14939f404c67f9bb2dc07ea790816c4eee2bf1b759780f9052` |
|
|
126
|
+
| `docs/design/typescript-skill-compatibility.md` | `cbda1b7038d32e8b0f948cdb2c57c7486cb7b37be6e5fd416a097615f5f743a5` |
|
|
127
|
+
|
|
128
|
+
That review did not test the release candidate compiled default or accept full successor instruction bytes. The preparation now adds direct literal-result assertions for omitted runtime, explicit `undefined` and outer `inspectSkill` against each of the three profiles with compiled `VERSION=0.3.5`; it still requires exact-head companion review and complete SKILL candidate bytes/hash. This is conditional direction, not full design/content freeze, publication support or merge/release authorization. Existing published pin and runtime-first rollout requirements remain.
|
|
129
|
+
|
|
130
|
+
## Exact complete successor candidate review — 2026-10-13 KST
|
|
131
|
+
|
|
132
|
+
Companion [Draft #35](https://github.com/abruption/session-peer-skill/pull/35) at exact source [`9db5420b45568dd08fc43d406dbf9ad1952f7891`](https://github.com/abruption/session-peer-skill/blob/9db5420b45568dd08fc43d406dbf9ad1952f7891/session-peer-ts/SKILL.md) supplies the complete proposed skill 0.2.1. It is **13,930 raw UTF-8 bytes**, SHA-256 `96d5a0d049f8a4d193703af3583b198a91079d44ae373de34e94a54e2296a4d6`. TS setup document SHA-256 is `b9f34cf06840c63c1d26dd835c512ce4b6e457063d1808eb73bc7e9f5ebc70e7`; compatibility document SHA-256 is `495420a268841c8da6f9bc68039e65dc52cb95aba52e33ab906710826eeb2b43`. These exact downloaded bytes and hashes were verified independently, not inferred from the message.
|
|
133
|
+
|
|
134
|
+
A read-only full-content comparison with companion base `eb239fb358336d85b49bab2c80e4ea39037d1374` found only revision metadata and candidate/doctor/adoption introduction changes; the subsequent CLI, help, platform, permission, security, no-ACK and unknown/no-resend instructions are unchanged. The candidate distinguishes minimum/full from doctor acceptance, retains the published 0.2.0 pin, and requires actual guard publication plus separate skill approval before adoption. The companion accepted the release-default source/fixture amendment at TS `08c507ca1c2a3805b189ee05bfdd32b0d3d2dacb` for design only.
|
|
135
|
+
|
|
136
|
+
The complete bytes are mirrored in `test/fixtures/ts-skill-0.2.1-candidate.md`, excluded from npm distribution and not an installation pin. The test checks full-file length/hash and fatal UTF-8, compiled-default/undefined/explicit 0.3.5 and outer `inspectSkill` acceptance, and rejection by explicit historical 0.3.2/0.3.3/0.3.4 and future 0.3.6/0.4.0 rows. Reading this fixture never executes the instruction body.
|
|
137
|
+
|
|
138
|
+
TS accepts these exact candidate bytes/profile for **design/content review of the proposed guard preparation**, contingent on the documented tests and human review gates. This is not a joint final publication freeze, content authentication, installation approval or runtime/skill release permission. Final skill wording after actual runtime publication changes the bytes and requires a new exact-head/hash review. That final artifact, immutable install pin and synchronized four-language guidance remain separate later steps.
|
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.5。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.4 と 0.3.5 は互いの SSH 事前確認を拒否します。
|
|
8
8
|
|
|
9
|
-
0.3.
|
|
9
|
+
0.3.5 の詳細ガイドです([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.5)
|
|
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` スキルの厳密なプロファイルを受け入れます。TS 0.3.5 のソース・パッケージはこれらを維持し、厳密なスキル 0.2.1 プロファイルを一つ追加します。完全な候補スキルのプロファイルと内容は、この受け入れ検査の準備としてレビュー済みです。後継スキルの最終的な公開とソース固定は、対応するランタイムの実際の公開後に別途行います。インストール節では、別途公開されたスキルのソースを固定しています。
|
|
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.5 の利用ガイドです。**パッケージ名は `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.5)が必要です。
|
|
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.5 のインストール:** 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.5 version dist.integrity
|
|
87
|
+
npm install --global --ignore-scripts session-peer@0.3.5
|
|
88
88
|
session-peer --version
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
期待値は `session-peer 0.3.
|
|
91
|
+
期待値は `session-peer 0.3.5 (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.5.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.5.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.5 の現在の公開状況と 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.5 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.5`)、マニフェストで
|
|
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.5.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.4와 0.3.5는 서로의 SSH 사전 확인을 거부합니다.
|
|
8
8
|
|
|
9
|
-
이 가이드는 0.3.
|
|
9
|
+
이 가이드는 0.3.5를 다룹니다([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.5)
|
|
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` 스킬의 정확한 프로필을 허용하며, TS 0.3.5 소스·패키지는 이 프로필을 유지하면서 정확한 스킬 0.2.1 프로필을 추가합니다. 전체 후보의 프로필과 내용은 검토했으며, 후속 스킬의 최종 발행과 고정 설치 pin 적용은 지원 런타임이 실제 공개된 뒤 별도로 진행합니다. 설치 절에는 별도로 공개된 스킬 소스를 고정했습니다.
|
|
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.5)을 설치해야
|
|
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.5를 npm으로 설치하는 예입니다.
|
|
136
136
|
CLI 자체는 패키지를 설치하거나 업데이트하지 않습니다.
|
|
137
137
|
|
|
138
|
-
**0.3.
|
|
138
|
+
**0.3.5 설치:** 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.5 version dist.integrity
|
|
142
|
+
npm install --global --ignore-scripts session-peer@0.3.5
|
|
143
|
+
session-peer --version # session-peer 0.3.5 (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.5 (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.5.tgz
|
|
177
177
|
session-peer --version
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
0.3.
|
|
180
|
+
0.3.5에서 예상되는 결과는 `session-peer 0.3.5 (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.5.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.5의 현재 제공 여부와 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.5 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.5`),
|
|
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.5.** 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.4 and 0.3.5 refuse each other’s SSH preflight.
|
|
8
8
|
|
|
9
|
-
This guide covers version 0.3.
|
|
9
|
+
This guide covers version 0.3.5 ([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.5)
|
|
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; TS 0.3.5 source/package preserves those profiles and adds the exact skill 0.2.1 profile. The complete candidate profile/content has been reviewed for guard preparation; final successor skill publication and immutable installation-pin adoption remain separate steps after actual supporting-runtime publication. 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.5**. 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.5 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.5 version dist.integrity
|
|
88
|
+
npm install --global --ignore-scripts session-peer@0.3.5
|
|
89
|
+
session-peer --version # session-peer 0.3.5 (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.5).
|
|
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.5.tgz
|
|
182
181
|
session-peer --version
|
|
183
182
|
```
|
|
184
183
|
|
|
185
|
-
Expected for version 0.3.
|
|
184
|
+
Expected for version 0.3.5: `session-peer 0.3.5 (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.5.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.5 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.5 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.5`; 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
|
```
|