session-peer 0.5.1 → 0.5.2

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/docs/guide.ko.md CHANGED
@@ -1,14 +1,20 @@
1
1
  # 사용자 가이드 — session-peer (TypeScript)
2
2
 
3
+ 일반 Codex 큐는 `auth.json`이 있는 로그인 home 등에서 클라우드 정책 적용 여부를 분류할 수 없으면 `codex_cloud_storage_unverified`로 거부합니다. 자격정보·캐시 내용은 읽지 않으며, 별도로 검증하는 owned app-server 경로에는 실제 저장소 바인딩 증거가 필요합니다.
4
+
5
+ 이 소스는 Codex home·시스템·macOS 관리 설정과 큐 실행 프로세스 및 대상 프로세스의 실제 작업 경로에 적용되는 프로젝트 설정을 검사합니다. [저장소 검증 범위와 거부 조건](api.md#codex-storage-configuration)을 확인하세요. Windows Codex 전송과 dry-run은 로컬 저장소 검사 방식이 검증될 때까지 큐 제출 전에 거부합니다. doctor와 dry-run은 Codex를 실행하지 않으며 로더 버전은 미확인으로 남깁니다.
6
+
7
+ 현재 기능 차이와 포팅 결정은 [날짜가 명시된 비교표](../PARITY.md#current-scoped-feature-matrix)에서 확인하세요. TypeScript의 공개 기능과 별도로 고정한 Python 비교 기준을 구분합니다.
8
+
3
9
  [README로 돌아가기](../README.ko.md)
4
10
 
5
11
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
12
 
7
- **문서·소스 기준 버전: 0.5.1.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6과 0.5.1은 서로의 SSH 사전 확인을 거부합니다.
13
+ **문서·소스 기준 버전: 0.5.2.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](../VALIDATION.md), 릴리스 절차는 [RELEASING.md](../RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6 버전과 0.5.2 버전은 서로의 SSH 사전 확인을 거부합니다.
8
14
 
9
- **0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.5.1 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다.
15
+ **0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.5.2 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다.
10
16
 
11
- 이 가이드는 0.5.1을 다룹니다([0.3.1 신뢰성 수정](../PARITY.md#031-reliability-fixes)). 0.3.0에는 여러 호스트를 통한 SSH 전송, 발신자 정보와 회신 경로, 업데이트 확인, 선택 기능인 `sp` 단축 명령이 추가됐습니다([0.3.0 변경 사항](../PARITY.md#030-remote-usability-and-maintenance)). [0.3.1 공개 릴리스 기록](../VALIDATION.md#public-031--2026-10-04-kst)은 이전 버전의 발행 내역입니다. 아래에서 0.1.0을 언급할 때는 이전 버전을 설명합니다.
17
+ 이 가이드는 0.5.2 버전을 다룹니다([0.3.1 신뢰성 수정](../PARITY.md#031-reliability-fixes)). 0.3.0에는 여러 호스트를 통한 SSH 전송, 발신자 정보와 회신 경로, 업데이트 확인, 선택 기능인 `sp` 단축 명령이 추가됐습니다([0.3.0 변경 사항](../PARITY.md#030-remote-usability-and-maintenance)). [0.3.1 공개 릴리스 기록](../VALIDATION.md#public-031--2026-10-04-kst)은 이전 버전의 발행 내역입니다. 아래에서 0.1.0을 언급할 때는 이전 버전을 설명합니다.
12
18
 
13
19
  <a id="마이그레이션-경계-033-후보"></a>
14
20
 
@@ -96,7 +102,7 @@ JSON에는 정제된 `codexHomeResolution`이 포함되며, 네이티브 응답
96
102
  `queueId`도 포함됩니다. 둘 다 메시지를 읽거나 처리했음을 확인하지 않습니다.
97
103
  [홈 선택 계약](../PARITY.md#source-codex-home-selection--17--020)을 참고하세요.
98
104
  공개 **0.1.0**은 여전히 실행 중인 홈을 명시해야 하며 비활성 세션 허용 옵션이 없습니다.
99
- SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.5.1)을 설치해야
105
+ SSH를 사용할 때는 발신·수신 양쪽에 같은 TypeScript 클라이언트 버전(0.5.2)을 설치해야
100
106
  합니다.
101
107
 
102
108
  <a id="020-cli-사용성"></a>
@@ -136,20 +142,20 @@ Claude Code에는 받은 메시지함에 접근할 수 있는 실행 중 TUI(터
136
142
 
137
143
  Node 22.x의 22.13 이상 또는 24.x를 사용하세요. Python CLI도 같은 `session-peer`
138
144
  명령 이름을 쓰므로, 설치 전에 PATH(명령 검색 경로)에서 어떤 실행 파일을 찾는지
139
- 확인하세요. 아래 명령은 선택한 0.5.1을 npm으로 설치하는 예입니다.
145
+ 확인하세요. 아래 명령은 선택한 0.5.2 버전을 npm으로 설치하는 예입니다.
140
146
  CLI 자체는 패키지를 설치하거나 업데이트하지 않습니다.
141
147
 
142
- **0.5.1 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
148
+ **0.5.2 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](#소스에서-빌드)를 사용하세요.
143
149
 
144
150
  ```sh
145
- npm view session-peer@0.5.1 version dist.integrity
146
- npm install --global --ignore-scripts session-peer@0.5.1
147
- session-peer --version # session-peer 0.5.1 (typescript)
151
+ npm view session-peer@0.5.2 version dist.integrity
152
+ npm install --global --ignore-scripts session-peer@0.5.2
153
+ session-peer --version # session-peer 0.5.2 (typescript)
148
154
  session-peer list --agent claude --json
149
155
  session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
150
156
  ```
151
157
 
152
- 예상 결과는 `session-peer 0.5.1 (typescript)`입니다.
158
+ 예상 결과는 `session-peer 0.5.2 (typescript)`입니다.
153
159
 
154
160
  1. 세션을 조회하고 `CLAUDE_PID`를 대상으로 선택한 정확한 PID로 바꾸세요.
155
161
  2. `--dry-run`으로 검증합니다. 이 단계에서는 메시지를 제출하지 않습니다.
@@ -177,11 +183,11 @@ npm run build
177
183
  node dist/cli.js --version
178
184
  npm pack --ignore-scripts
179
185
  # Optional global install: first check which session-peer your PATH selects.
180
- npm install --global --ignore-scripts ./session-peer-0.5.1.tgz
186
+ npm install --global --ignore-scripts ./session-peer-0.5.2.tgz
181
187
  session-peer --version
182
188
  ```
183
189
 
184
- 0.5.1에서 예상되는 결과는 `session-peer 0.5.1 (typescript)`입니다. 로컬 빌드
190
+ 0.5.2에서 예상되는 결과는 `session-peer 0.5.2 (typescript)`입니다. 로컬 빌드
185
191
  산출물을 선택하려면 `./...tgz` 경로를 그대로 두세요. 이후 버전에 이 명령을 사용할
186
192
  때는 먼저 체크아웃한 소스의 버전을 확인하세요.
187
193
 
@@ -202,7 +208,7 @@ Python CLI를 덮어쓰지 않으려면 격리 prefix에 설치·제거할 수
202
208
  npm ci --ignore-scripts
203
209
  npm run build
204
210
  npm pack --ignore-scripts
205
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.1.tgz
211
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.2.tgz
206
212
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
207
213
  # Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
208
214
  ```
@@ -319,8 +325,7 @@ session-peer list --host alpha --host user@[2001:db8::1] \
319
325
  Python 없이 SSH 대상 머신을 준비하는 방법(버전별 전용 설치 디렉터리, 무결성 검증,
320
326
  소유권과 롤백 규칙)과 패키지 버전과 분리된 프로토콜 호환성 계약에 대한 설계 제안은
321
327
  [원격 배포 ADR](design/remote-deployment.md)(ADR: 아키텍처 결정 기록)에 있습니다.
322
- 0.4는 아직 발행되지 않았습니다. 위 내용은 다음 버전을 위한 설계 제안으로 공개된
323
- 0.3.2에는 포함되지 않았으며, 아직 구현되지 않았습니다.
328
+ 이 ADR은 아직 구현되지 않은 설계 제안입니다.
324
329
  따라서 위에서 설명한 SSH 양쪽의 동일 버전 요구 사항은 그대로 적용됩니다.
325
330
 
326
331
  <a id="replies"></a>
@@ -446,7 +451,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
446
451
  <a id="package-release"></a>
447
452
  ## npm 릴리스
448
453
 
449
- 아래 레지스트리 조회로 0.5.1의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
454
+ 아래 레지스트리 조회로 0.5.2의 현재 제공 여부와 npm 태그를 확인하세요. 날짜가 기록된 준비 근거는 이후 발행 결과를 입증하지 않습니다.
450
455
 
451
456
  0.3.2는 2026-10-07 KST에, 0.3.1은 2026-10-04 KST에 공개·검증했습니다.
452
457
  [0.3.2 공개 기록](../VALIDATION.md#public-032--2026-10-07-kst)과
@@ -457,7 +462,7 @@ Windows x64/Node 24에서 실제 TUI로 확인한 ACK는 별도의 일회성 증
457
462
  설치 전에는 정확한 버전과 현재 npm 태그를 확인하세요.
458
463
 
459
464
  ```sh
460
- npm view session-peer@0.5.1 version dist.integrity
465
+ npm view session-peer@0.5.2 version dist.integrity
461
466
  npm view session-peer dist-tags
462
467
  ```
463
468
 
@@ -512,7 +517,7 @@ session-peer update --check --channel preview --output-format text
512
517
  `updateCommand`는 실행 중인 CLI 경로로 설치 주체를 확인할 수 있을 때 사용자에게 안내합니다.
513
518
  해당하는 경우는
514
519
  자체 `session-peer` 실행기가 이 패키지를 가리키는 npm 전역 prefix(기본, Homebrew, nvm,
515
- nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.5.1`),
520
+ nvm-windows, fnm. 예: `npm install --global --ignore-scripts session-peer@0.5.2`),
516
521
  매니페스트에 `session-peer`가 선언된 pnpm·Yarn·Bun 전역 저장소, Volta, npx 캐시입니다.
517
522
  프로젝트 설치(`npm_project`, `pnpm_project`), 소스 체크아웃(`source`), 그 밖의
518
523
  경우(`unknown`)에는 `updateCommand: null`과 `guidance` 문장만 돌려주므로, 관련 없는 현재
@@ -608,4 +613,4 @@ native 전송 관찰은 macOS arm64의 정확한 Codex 0.160.1/0.162.1과 이미
608
613
 
609
614
  [Observation](api.md#unreleased-local-delivery-observation--72)
610
615
 
611
- Linux·Windows의 native 주입 관측은 미지원입니다. 0.5.1 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다. 지원되는 POSIX ledger에서는 운영자가 명시적으로 확인한 수령 사실을 `operator_confirmed`로 기록할 수 있지만, 자동 ACK 수집은 아닙니다. 0.4.0 범위는 검증된 macOS 관측과 명시적 운영자 확인입니다. Linux·Windows 관측과 receipt bootstrap은 각각 [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131), [#132](https://github.com/abruption/session-peer-ts/issues/132)에서 후속 작업으로 관리합니다.
616
+ Linux·Windows의 native 주입 관측은 미지원입니다. 0.5.2 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다. 지원되는 POSIX ledger에서는 운영자가 명시적으로 확인한 수령 사실을 `operator_confirmed`로 기록할 수 있지만, 자동 ACK 수집은 아닙니다. 0.4.0 범위는 검증된 macOS 관측과 명시적 운영자 확인입니다. Linux·Windows 관측과 receipt bootstrap은 각각 [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131), [#132](https://github.com/abruption/session-peer-ts/issues/132)에서 후속 작업으로 관리합니다.
package/docs/guide.md CHANGED
@@ -1,14 +1,20 @@
1
1
  # User guide — session-peer (TypeScript)
2
2
 
3
+ Ordinary Codex queue submission also refuses cloud-unclassifiable contexts, including signed-in file-auth homes with `auth.json`, with `codex_cloud_storage_unverified`. Credential/cache contents are not read; the separately qualified owned app-server route still requires actual storage binding.
4
+
5
+ This source classifies Codex storage configuration across home, system, managed macOS and physical queue/consumer project contexts. See the [storage guard scope and refusals](api.md#codex-storage-configuration). Windows Codex send/dry-run refuse before queue submission until its local storage adapter is qualified. Doctor and dry-run do not execute Codex and leave its loader version unverified.
6
+
7
+ See the [dated feature comparison and porting decisions](../PARITY.md#current-scoped-feature-matrix) for shipped TypeScript behavior and the separately pinned Python comparison baseline.
8
+
3
9
  [Back to README](../README.md)
4
10
 
5
11
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
12
 
7
- **Documentation and source version: 0.5.1.** Review the selected release and registry metadata before installation. Dated preparation and validation records are in [VALIDATION.md](../VALIDATION.md); release procedures are in [RELEASING.md](../RELEASING.md). SSH endpoints require the same TypeScript client version; 0.3.6 and 0.5.1 refuse each other’s SSH preflight.
13
+ **Documentation and source version: 0.5.2.** Review the selected release and registry metadata before installation. Dated preparation and validation records are in [VALIDATION.md](../VALIDATION.md); release procedures are in [RELEASING.md](../RELEASING.md). SSH endpoints require the same TypeScript client version; 0.3.6 and 0.5.2 refuse each other’s SSH preflight.
8
14
 
9
- **0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported. The 0.5.1 source records a non-selectable Linux arm64 Codex 0.162.1 candidate (pinned upstream `aarch64-unknown-linux-musl` executable, schema and one injection test); it does not enable Linux observation. Linux native observation remains unsupported.
15
+ **0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported. The 0.5.2 source records a non-selectable Linux arm64 Codex 0.162.1 candidate (pinned upstream `aarch64-unknown-linux-musl` executable, schema and one injection test); it does not enable Linux observation. Linux native observation remains unsupported.
10
16
 
11
- This guide covers version 0.5.1 ([0.3.1 reliability fixes](../PARITY.md#031-reliability-fixes)). Version 0.3.0 introduced multi-host SSH, sender context and return routes, update checks and the optional `sp` shorthand ([0.3.0 changes](../PARITY.md#030-remote-usability-and-maintenance)). [Public 0.3.1 release evidence](../VALIDATION.md#public-031--2026-10-04-kst) records a prior publication. References to 0.1.0 below describe the older release.
17
+ This guide covers version 0.5.2 ([0.3.1 reliability fixes](../PARITY.md#031-reliability-fixes)). Version 0.3.0 introduced multi-host SSH, sender context and return routes, update checks and the optional `sp` shorthand ([0.3.0 changes](../PARITY.md#030-remote-usability-and-maintenance)). [Public 0.3.1 release evidence](../VALIDATION.md#public-031--2026-10-04-kst) records a prior publication. References to 0.1.0 below describe the older release.
12
18
 
13
19
  <a id="migration-boundaries-033-candidate"></a>
14
20
 
@@ -81,7 +87,7 @@ Side Session remains experimental. Relay/MCP are outside this comparison.
81
87
  **Find and message running Claude Code and Codex sessions, locally or over SSH.**
82
88
  This TypeScript client runs on Node.js without Python.
83
89
 
84
- This guide describes **version 0.5.1**. The npm package and CLI command are both **`session-peer`**. This
90
+ This guide describes **version 0.5.2**. The npm package and CLI command are both **`session-peer`**. This
85
91
  project does not provide a Relay server or hosted service.
86
92
 
87
93
  ## Quick start
@@ -89,12 +95,12 @@ project does not provide a Relay server or hosted service.
89
95
  Use Node **22.13+ within 22.x or 24.x**. Check which `session-peer` your PATH
90
96
  selects if the Python CLI is already installed; both packages use that command.
91
97
 
92
- **Version 0.5.1 installation:** check registry availability and review the chosen release before running the npm install/update examples. If that version is unavailable, use the [reviewed source build](#build-from-source).
98
+ **Version 0.5.2 installation:** check registry availability and review the chosen release before running the npm install/update examples. If that version is unavailable, use the [reviewed source build](#build-from-source).
93
99
 
94
100
  ```sh
95
- npm view session-peer@0.5.1 version dist.integrity
96
- npm install --global --ignore-scripts session-peer@0.5.1
97
- session-peer --version # session-peer 0.5.1 (typescript)
101
+ npm view session-peer@0.5.2 version dist.integrity
102
+ npm install --global --ignore-scripts session-peer@0.5.2
103
+ session-peer --version # session-peer 0.5.2 (typescript)
98
104
  session-peer list --agent claude --json
99
105
  session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
100
106
  ```
@@ -161,7 +167,7 @@ submits nothing. JSON adds sanitized `codexHomeResolution` and, when supplied by
161
167
  native queue output, `queueId`; neither confirms consumption. See the
162
168
  [selection contract](../PARITY.md#source-codex-home-selection--17--020).
163
169
  Published **0.1.0** still requires an explicit live home and has no inactive opt-in.
164
- On SSH, both ends need the same TypeScript client version (0.5.1).
170
+ On SSH, both ends need the same TypeScript client version (0.5.2).
165
171
 
166
172
  ## Requirements
167
173
 
@@ -185,11 +191,11 @@ npm run build
185
191
  node dist/cli.js --version
186
192
  npm pack --ignore-scripts
187
193
  # Optional global install: first check which session-peer your PATH selects.
188
- npm install --global --ignore-scripts ./session-peer-0.5.1.tgz
194
+ npm install --global --ignore-scripts ./session-peer-0.5.2.tgz
189
195
  session-peer --version
190
196
  ```
191
197
 
192
- Expected for version 0.5.1: `session-peer 0.5.1 (typescript)`. Keep the `./...tgz` path to
198
+ Expected for version 0.5.2: `session-peer 0.5.2 (typescript)`. Keep the `./...tgz` path to
193
199
  select the locally built artifact. Check the checkout version before using
194
200
  these commands for a later release.
195
201
 
@@ -209,7 +215,7 @@ On Windows PowerShell, inspect competing commands with
209
215
  npm ci --ignore-scripts
210
216
  npm run build
211
217
  npm pack --ignore-scripts
212
- npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.1.tgz
218
+ npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.2.tgz
213
219
  & "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version
214
220
  # Later: npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer
215
221
  ```
@@ -474,7 +480,7 @@ separate approval. Licensed under [MIT](../LICENSE).
474
480
 
475
481
  ## Package release
476
482
 
477
- Public **0.3.2** was verified on 2026-10-07 KST ([immutable checkpoint](../VALIDATION.md#public-032--2026-10-07-kst)). Check current 0.5.1 availability and npm tags with the registry queries below; dated preparation evidence does not establish a later publication outcome.
483
+ Public **0.3.2** was verified on 2026-10-07 KST ([immutable checkpoint](../VALIDATION.md#public-032--2026-10-07-kst)). Check current 0.5.2 availability and npm tags with the registry queries below; dated preparation evidence does not establish a later publication outcome.
478
484
 
479
485
  Version 0.2.1 was published and verified on 2026-09-29 KST and 0.2.0 on
480
486
  2026-09-28 KST; see the [0.2.1 public release record](../VALIDATION.md#public-021--2026-09-29-kst).
@@ -482,7 +488,7 @@ Later releases add their own dated records. Check the exact version and current
482
488
  tags before installing:
483
489
 
484
490
  ```sh
485
- npm view session-peer@0.5.1 version dist.integrity
491
+ npm view session-peer@0.5.2 version dist.integrity
486
492
  npm view session-peer dist-tags
487
493
  ```
488
494
 
@@ -534,7 +540,7 @@ and reports `current`, `latest`, `channel` (`latest` by default, or `preview`),
534
540
  installation's owner is positively identified from the running CLI's path:
535
541
  an npm global prefix whose own `session-peer` launcher points at this package
536
542
  (default, Homebrew, nvm, nvm-windows and fnm prefixes), for example
537
- `npm install --global --ignore-scripts session-peer@0.5.1`; a pnpm, Yarn or Bun
543
+ `npm install --global --ignore-scripts session-peer@0.5.2`; a pnpm, Yarn or Bun
538
544
  global store whose manifest declares `session-peer`; Volta; or the npx cache.
539
545
  Project installs (`npm_project`, `pnpm_project`), source checkouts (`source`)
540
546
  and anything else (`unknown`) get `updateCommand: null` and a `guidance`
@@ -635,4 +641,4 @@ Native observation supports exact Codex 0.160.1/0.162.1 on macOS arm64 with an a
635
641
 
636
642
  [Observation](api.md#unreleased-local-delivery-observation--72)
637
643
 
638
- Native delivery observation is unsupported on Linux and Windows. The 0.5.1 source records a non-selectable Linux arm64 Codex 0.162.1 candidate (pinned upstream `aarch64-unknown-linux-musl` executable, schema and one injection test); it does not enable Linux observation. Linux native observation remains unsupported. The supported POSIX ledger can record an explicitly verified receipt as `operator_confirmed`; this is not automatic ACK collection. The 0.4.0 scope is qualified macOS observation and explicit operator confirmation. Linux, Windows and receipt-bootstrap extensions are tracked separately in [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131) and [#132](https://github.com/abruption/session-peer-ts/issues/132).
644
+ Native delivery observation is unsupported on Linux and Windows. The 0.5.2 source records a non-selectable Linux arm64 Codex 0.162.1 candidate (pinned upstream `aarch64-unknown-linux-musl` executable, schema and one injection test); it does not enable Linux observation. Linux native observation remains unsupported. The supported POSIX ledger can record an explicitly verified receipt as `operator_confirmed`; this is not automatic ACK collection. The 0.4.0 scope is qualified macOS observation and explicit operator confirmation. Linux, Windows and receipt-bootstrap extensions are tracked separately in [#130](https://github.com/abruption/session-peer-ts/issues/130), [#131](https://github.com/abruption/session-peer-ts/issues/131) and [#132](https://github.com/abruption/session-peer-ts/issues/132).
@@ -1,14 +1,20 @@
1
1
  # 用户指南 — session-peer (TypeScript)
2
2
 
3
+ 普通 Codex 队列也会拒绝无法判定云端策略适用范围的上下文,包括存在 `auth.json` 的登录 home,并返回 `codex_cloud_storage_unverified`。不会读取凭据或缓存内容;另行验证的 owned app-server 路径仍需实际存储绑定证据。
4
+
5
+ 此源码检查 Codex home、系统配置、macOS 管理配置,以及队列进程和目标进程实际工作目录所适用的项目配置。详见[存储检查范围与拒绝条件](api.md#codex-storage-configuration)。Windows 的 Codex 发送和 dry-run 在本地存储检查方式通过验证前会拒绝队列提交。doctor 和 dry-run 不执行 Codex,加载器版本仍标为未验证。
6
+
7
+ 当前功能差异与移植决策见[注明日期的对照表](../PARITY.md#current-scoped-feature-matrix)。表中区分 TypeScript 已发布的功能与单独固定的 Python 比较基准。
8
+
3
9
  [返回 README](../README.zh-CN.md)
4
10
 
5
11
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
12
 
7
- **文档和源码版本:0.5.1。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](../VALIDATION.md),发布流程见 [RELEASING.md](../RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.5.1 会拒绝彼此的 SSH 预检。
13
+ **文档和源码版本:0.5.2。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](../VALIDATION.md),发布流程见 [RELEASING.md](../RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.5.2 会拒绝彼此的 SSH 预检。
8
14
 
9
- **0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.5.1 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。
15
+ **0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.5.2 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。
10
16
 
11
- 这是 0.5.1 详细指南([0.3.1 可靠性修复](../PARITY.md#031-reliability-fixes))。0.3.0 新增了多主机 SSH、发送者信息与回复路由、更新检查以及可选的 `sp` 简写([0.3.0 变更](../PARITY.md#030-remote-usability-and-maintenance))。此前的发布记录见 [0.3.1 公开发布证据](../VALIDATION.md#public-031--2026-10-04-kst);下文 0.1.0 的说明用于旧版本对比。
17
+ 这是 0.5.2 详细指南([0.3.1 可靠性修复](../PARITY.md#031-reliability-fixes))。0.3.0 新增了多主机 SSH、发送者信息与回复路由、更新检查以及可选的 `sp` 简写([0.3.0 变更](../PARITY.md#030-remote-usability-and-maintenance))。此前的发布记录见 [0.3.1 公开发布证据](../VALIDATION.md#public-031--2026-10-04-kst);下文 0.1.0 的说明用于旧版本对比。
12
18
 
13
19
  <a id="迁移边界-033-候选"></a>
14
20
 
@@ -44,7 +50,7 @@
44
50
 
45
51
  向正在运行的 **Claude Code 和 Codex 会话**发送消息,支持本机和跨机器 SSH。这是运行于 Node.js 的 TypeScript 客户端,不需要 Python。
46
52
 
47
- **这是 0.5.1 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
53
+ **这是 0.5.2 使用指南。**包名为 `session-peer`,CLI 命令为 **`session-peer`**。本项目不提供 Relay 服务器或托管服务。
48
54
 
49
55
  ## 功能与边界
50
56
 
@@ -61,7 +67,7 @@
61
67
 
62
68
  构建后,`node dist/cli.js list --json` 合并列出 Claude/Codex,`list --agent codex --json` 查找已知 home。公开 npm **0.1.0** 仍要求显式 agent,以及 Codex 列表所需的 home;0.2.0 也支持显式命令格式。
63
69
 
64
- 范围仅限默认 `~/.codex`、`CODEX_HOME`、macOS Orca 下的直接账户 home,以及 JSON 数组 `SESSION_PEER_CODEX_HOMES`。`--codex-home` 固定 Codex 列表并绕过无关配置错误;`--agent claude` 完全跳过 Codex 探索。同一 home 的别名合并,不同 home 的相同 UUID 保留。发送时使用每行的 `codexHome`。可选 home 缺失不是错误;显式 home 缺失或无效会保留成功读取的行,并返回退出码 1。列表不会选择 writer 或提交消息。[列表契约](../PARITY.md#source-unified-listing-contract--16--020)说明排序、诊断、`--all` 和 SSH 行为。0.2.0的 Codex 发送在省略 `--codex-home` 时选择唯一且稳定的 live writer;显式 home 仍会检查所有已知竞争 home。非活动队列提交需要已保存的线程、所有候选均确认非活动,以及 `--codex-home HOME --allow-inactive-codex-home`,不会执行 wake/resume。Dry-run 不提交。JSON 新增诊断 `codexHomeResolution`,且仅在原生输出提供时包含 `queueId`;两者均不代表消费确认。请参阅[选择契约](../PARITY.md#source-codex-home-selection--17--020)。公开 **0.1.0** 仍需要显式 live home,且没有非活动许可选项。SSH 两端需要相同的 TypeScript 客户端版本(0.5.1)。
70
+ 范围仅限默认 `~/.codex`、`CODEX_HOME`、macOS Orca 下的直接账户 home,以及 JSON 数组 `SESSION_PEER_CODEX_HOMES`。`--codex-home` 固定 Codex 列表并绕过无关配置错误;`--agent claude` 完全跳过 Codex 探索。同一 home 的别名合并,不同 home 的相同 UUID 保留。发送时使用每行的 `codexHome`。可选 home 缺失不是错误;显式 home 缺失或无效会保留成功读取的行,并返回退出码 1。列表不会选择 writer 或提交消息。[列表契约](../PARITY.md#source-unified-listing-contract--16--020)说明排序、诊断、`--all` 和 SSH 行为。0.2.0的 Codex 发送在省略 `--codex-home` 时选择唯一且稳定的 live writer;显式 home 仍会检查所有已知竞争 home。非活动队列提交需要已保存的线程、所有候选均确认非活动,以及 `--codex-home HOME --allow-inactive-codex-home`,不会执行 wake/resume。Dry-run 不提交。JSON 新增诊断 `codexHomeResolution`,且仅在原生输出提供时包含 `queueId`;两者均不代表消费确认。请参阅[选择契约](../PARITY.md#source-codex-home-selection--17--020)。公开 **0.1.0** 仍需要显式 live home,且没有非活动许可选项。SSH 两端需要相同的 TypeScript 客户端版本(0.5.2)。
65
71
 
66
72
  ### 0.2.0 CLI 易用性
67
73
 
@@ -83,15 +89,15 @@ macOS、Linux 或 Windows native;Node **22.x 中的 22.13 及以上,或 24.x
83
89
 
84
90
  使用 Node 22.x 的 22.13 及以上或 24.x,并确认要安装的确切版本是否已发布。Python CLI 也使用同一个命令名;若已有安装,请先检查 PATH。
85
91
 
86
- **安装 0.5.1:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](#从源码构建)。
92
+ **安装 0.5.2:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](#从源码构建)。
87
93
 
88
94
  ```sh
89
- npm view session-peer@0.5.1 version dist.integrity
90
- npm install --global --ignore-scripts session-peer@0.5.1
95
+ npm view session-peer@0.5.2 version dist.integrity
96
+ npm install --global --ignore-scripts session-peer@0.5.2
91
97
  session-peer --version
92
98
  ```
93
99
 
94
- 预期输出:`session-peer 0.5.1 (typescript)`。
100
+ 预期输出:`session-peer 0.5.2 (typescript)`。
95
101
 
96
102
  1. 用 `session-peer list --agent claude --json` 查找目标并选择准确 PID。
97
103
  2. 用 `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` 验证,不提交。
@@ -110,7 +116,7 @@ npm run build
110
116
  node dist/cli.js --version
111
117
  npm pack --ignore-scripts
112
118
  # 可选:全局安装前先检查 PATH 选择的现有命令
113
- npm install --global --ignore-scripts ./session-peer-0.5.1.tgz
119
+ npm install --global --ignore-scripts ./session-peer-0.5.2.tgz
114
120
  session-peer --version
115
121
  ```
116
122
 
@@ -120,7 +126,7 @@ session-peer --version
120
126
 
121
127
  安装前后用 `type -a session-peer` 和 `command -v session-peer` 检查实际执行项。其他实现也可能提供同名命令;请选择 PATH 上的一种,或显式运行 `node /absolute/path/dist/cli.js`。不要用 `--force` 覆盖其他管理器的文件。本包不会自动安装、删除或调整 Python 包、技能或服务。卸载使用 `npm uninstall --global session-peer`,随后再次检查 PATH。
122
128
 
123
- 在 Windows PowerShell 中用 `Get-Command session-peer -All` 检查已有命令。为了不替换 Python CLI,可先执行 `npm ci --ignore-scripts`、`npm run build`、`npm pack --ignore-scripts`,再用 `npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.1.tgz` 安装到隔离目录。以 `& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version` 验证,并可用 `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` 卸载。
129
+ 在 Windows PowerShell 中用 `Get-Command session-peer -All` 检查已有命令。为了不替换 Python CLI,可先执行 `npm ci --ignore-scripts`、`npm run build`、`npm pack --ignore-scripts`,再用 `npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.5.2.tgz` 安装到隔离目录。以 `& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version` 验证,并可用 `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` 卸载。
124
130
 
125
131
  ## 使用
126
132
 
@@ -211,14 +217,14 @@ Python 只用作开发时的比较基准(v1.1.0,`8ca77cf31254c8287a2593fe484
211
217
 
212
218
  ## npm 版本
213
219
 
214
- 公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.5.1 的当前可用性和 npm 标签;带日期的准备证据不能证明后续发布结果。
220
+ 公开 **0.3.2** 于 2026-10-07 KST 完成验证([不可变公开记录](../VALIDATION.md#public-032--2026-10-07-kst))。请用下方注册表查询确认 0.5.2 的当前可用性和 npm 标签;带日期的准备证据不能证明后续发布结果。
215
221
 
216
222
  0.2.1 已于 2026-09-29 KST、0.2.0 已于 2026-09-28 KST 公开并验证。请参阅
217
223
  [0.2.1 公开记录](../VALIDATION.md#public-021--2026-09-29-kst)(之后的版本各自追加带日期的记录),
218
224
  安装前核对准确版本与当前标签。
219
225
 
220
226
  ```sh
221
- npm view session-peer@0.5.1 version dist.integrity
227
+ npm view session-peer@0.5.2 version dist.integrity
222
228
  npm view session-peer dist-tags
223
229
  ```
224
230
 
@@ -257,7 +263,7 @@ dist-tag(3 秒超时,不重试),并报告 `current`、`latest`、`channe
257
263
  `ahead`)、`managedBy`、`updateCommand` 和 `guidance`。只有根据当前 CLI 路径能确切识别
258
264
  安装的管理方时才给出命令:其自身 `session-peer` 启动器指向本包的 npm 全局 prefix
259
265
  (默认、Homebrew、nvm、nvm-windows、fnm,例如
260
- `npm install --global --ignore-scripts session-peer@0.5.1`),清单中声明了
266
+ `npm install --global --ignore-scripts session-peer@0.5.2`),清单中声明了
261
267
  `session-peer` 的 pnpm、Yarn、Bun 全局存储,Volta,或 npx 缓存。项目安装
262
268
  (`npm_project`、`pnpm_project`)、源码检出(`source`)以及其他情况(`unknown`)只返回
263
269
  `updateCommand: null` 和一句 `guidance`,因此不会给出可能修改无关当前目录的命令。它只报告
@@ -339,4 +345,4 @@ native 观测仅支持 macOS arm64 上的精确 Codex 0.160.1/0.162.1 和已有
339
345
 
340
346
  [Observation](api.md#unreleased-local-delivery-observation--72)
341
347
 
342
- Linux、Windows 的 native 注入观察尚不支持。 0.5.1 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。支持的 POSIX ledger 可将操作人员明确确认的收件事实记录为 `operator_confirmed`,但这不是自动 ACK 收集。0.4.0 范围是已验证的 macOS 观察和操作人员的明确确认。Linux、Windows 观察及 receipt bootstrap 分别作为 [#130](https://github.com/abruption/session-peer-ts/issues/130)、[#131](https://github.com/abruption/session-peer-ts/issues/131)、[#132](https://github.com/abruption/session-peer-ts/issues/132) 的后续工作。
348
+ Linux、Windows 的 native 注入观察尚不支持。 0.5.2 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。支持的 POSIX ledger 可将操作人员明确确认的收件事实记录为 `operator_confirmed`,但这不是自动 ACK 收集。0.4.0 范围是已验证的 macOS 观察和操作人员的明确确认。Linux、Windows 观察及 receipt bootstrap 分别作为 [#130](https://github.com/abruption/session-peer-ts/issues/130)、[#131](https://github.com/abruption/session-peer-ts/issues/131)、[#132](https://github.com/abruption/session-peer-ts/issues/132) 的后续工作。
package/docs/shorthand.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Optional `sp` shorthand
2
2
 
3
- This reference describes source/package version 0.5.1. Check registry availability before using a version-pinned npm installation; before publication use a reviewed source artifact. The shorthand forwards to the explicitly selected CLI and does not install or upgrade it.
3
+ This reference describes source/package version 0.5.2. Check registry availability before using a version-pinned npm installation; before publication use a reviewed source artifact. The shorthand forwards to the explicitly selected CLI and does not install or upgrade it.
4
4
 
5
5
  [README](../README.md) · [User guide](guide.md)
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "session-peer",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -39,9 +39,11 @@
39
39
  ],
40
40
  "scripts": {
41
41
  "build": "tsc -p tsconfig.json",
42
+ "version:check": "node scripts/current-version.mjs --check",
43
+ "version:update": "node scripts/current-version.mjs --update",
42
44
  "test": "npm run build && npm run test:types && node --import ./test/fixtures/isolate-env.mjs --experimental-strip-types --test test/*.test.ts",
43
45
  "test:types": "tsc -p tsconfig.test.json",
44
- "test:windows": "npm run build && npm run test:types && node --import ./test/fixtures/isolate-env.mjs --import ./test/fixtures/windows-inspection-diagnostic.mjs --experimental-strip-types --test --test-concurrency=1 test/handoff-core.test.ts test/handoff-cli.test.ts test/handoff-delivery.test.ts test/metadata-observation.test.ts test/handoff-writer-probe.test.ts test/app-server.test.ts test/writer-uid.test.ts test/claude-records.test.ts test/reply-agent-binding.test.ts test/windows.test.ts test/windows-contract.test.ts test/windows-inspection.test.ts test/windows-process-tree.test.ts test/windows-storage.test.ts test/input-boundaries.test.ts test/discovery.test.ts test/codex-homes.test.ts test/diagnostics.test.ts test/cli-usability.test.ts test/skill-guidance.test.ts test/skill-metadata.test.ts test/ssh-hosts.test.ts test/ssh-response.test.ts test/ssh-handoff.test.ts test/replies.test.ts test/updates.test.ts test/ssh-jump-windows.test.ts",
46
+ "test:windows": "npm run build && npm run test:types && node --import ./test/fixtures/isolate-env.mjs --import ./test/fixtures/windows-inspection-diagnostic.mjs --experimental-strip-types --test --test-concurrency=1 test/handoff-core.test.ts test/handoff-cli.test.ts test/handoff-delivery.test.ts test/metadata-observation.test.ts test/handoff-writer-probe.test.ts test/app-server.test.ts test/writer-uid.test.ts test/claude-records.test.ts test/reply-agent-binding.test.ts test/windows.test.ts test/windows-contract.test.ts test/windows-inspection.test.ts test/windows-process-tree.test.ts test/windows-storage.test.ts test/input-boundaries.test.ts test/discovery.test.ts test/codex-homes.test.ts test/diagnostics.test.ts test/cli-usability.test.ts test/skill-guidance.test.ts test/skill-metadata.test.ts test/ssh-hosts.test.ts test/ssh-response.test.ts test/ssh-handoff.test.ts test/replies.test.ts test/updates.test.ts test/ssh-jump-windows.test.ts && node --import ./test/fixtures/isolate-env.mjs --experimental-strip-types --test --test-name-pattern=Windows.Codex.send.and.dry-run test/codex-storage.test.ts && node --import ./test/fixtures/isolate-env.mjs --experimental-strip-types --test test/current-version.test.ts",
45
47
  "test:package": "npm run build && node --experimental-strip-types test/package-smoke.ts"
46
48
  },
47
49
  "devDependencies": {