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/CONTRIBUTING.md +26 -0
- package/PARITY.md +116 -1
- package/README.ja.md +12 -8
- package/README.ko.md +12 -8
- package/README.md +12 -8
- package/README.zh-CN.md +12 -8
- package/RELEASING.md +69 -0
- package/VALIDATION.md +53 -2
- package/dist/app-server.d.ts +10 -2
- package/dist/app-server.js +115 -53
- package/dist/codex-storage.d.ts +46 -0
- package/dist/codex-storage.js +447 -0
- package/dist/diagnostics.js +7 -5
- package/dist/discovery.d.ts +0 -1
- package/dist/discovery.js +1 -22
- package/dist/handoff-operations.js +17 -7
- package/dist/process.d.ts +1 -0
- package/dist/process.js +1 -1
- package/dist/protocol.d.ts +2 -2
- package/dist/protocol.js +1 -1
- package/dist/send.d.ts +9 -1
- package/dist/send.js +132 -15
- package/dist/skill-metadata.js +4 -3
- package/docs/api.md +130 -7
- package/docs/design/remote-deployment.md +8 -0
- package/docs/design/typescript-skill-compatibility.md +21 -0
- package/docs/guide.ja.md +21 -15
- package/docs/guide.ko.md +24 -19
- package/docs/guide.md +22 -16
- package/docs/guide.zh-CN.md +21 -15
- package/docs/shorthand.md +1 -1
- package/package.json +4 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -56,6 +56,32 @@ that invokes actual PowerShell; no live sessions or network destinations.
|
|
|
56
56
|
Keep `package-lock.json` tracked. Do not commit dist, node_modules, local
|
|
57
57
|
worktrees, credentials, agent state, transcripts or real test evidence.
|
|
58
58
|
|
|
59
|
+
## Current version maintenance
|
|
60
|
+
|
|
61
|
+
For a source checkout, package.json is the current-version source. Update package
|
|
62
|
+
and lock metadata together through the normal npm workflow, then run:
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
npm run version:update
|
|
66
|
+
npm run version:check
|
|
67
|
+
node scripts/check-repository.mjs
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The explicit `scripts/current-version-fields.json` inventory covers runtime
|
|
71
|
+
VERSION and selected current examples in the four READMEs/guides, API/shorthand
|
|
72
|
+
references and PARITY's current display. Only `{{version}}` spans change; the
|
|
73
|
+
rest of each authored line is checked exactly. Edit the matching inventory entry
|
|
74
|
+
when changing an owned translated line. Missing or unexpected matches refuse
|
|
75
|
+
before writes. The check is non-mutating and runs in the normal repository CI.
|
|
76
|
+
See `scripts/current-version.md` in the source checkout and
|
|
77
|
+
[issue #168](https://github.com/abruption/session-peer-ts/issues/168) for the
|
|
78
|
+
inventory boundary and synthetic build/package acceptance.
|
|
79
|
+
|
|
80
|
+
Dated comparison/release evidence, native/Python/skill versions and hashes,
|
|
81
|
+
finite compatibility rows, release policy and installation pins are reviewed
|
|
82
|
+
separately. The updater does not approve a release or extend compatibility.
|
|
83
|
+
Inspect the diff and rerun build/package checks before proposing a release.
|
|
84
|
+
|
|
59
85
|
## Safety and documentation
|
|
60
86
|
|
|
61
87
|
Preserve actual flock/owner evidence, ambiguity rejection, pre-submit revalidation,
|
package/PARITY.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Python compatibility and npm migration
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
## 0.5.2 storage guards and release consistency — 2026-10-30 KST
|
|
5
|
+
|
|
6
|
+
The 0.5.2 source carries the storage guards and scoped maintenance work from
|
|
7
|
+
[#169](https://github.com/abruption/session-peer-ts/pull/169). Doctor and dispatch
|
|
8
|
+
share bounded local configuration-layer inspection for exact Codex loader
|
|
9
|
+
versions 0.160.1, 0.162.1 and 0.165.0. Canonical executable, saved/live cwd,
|
|
10
|
+
original writer and opened-store evidence are rechecked before native effect;
|
|
11
|
+
unknown outcomes still do not authorize fallback or resend.
|
|
12
|
+
|
|
13
|
+
**Availability change:** ordinary Codex sends refuse signed-in file-auth homes,
|
|
14
|
+
keyring/auto or other cloud-unclassifiable contexts without reading credentials.
|
|
15
|
+
A separately qualified owned stdio route requires actual opened-storage binding.
|
|
16
|
+
Windows Codex send/dry-run refuse while local storage classification is
|
|
17
|
+
unqualified. Configuration symlinks, missing consumer context or trusted system
|
|
18
|
+
metadata tools, and unclassified daemon/remote contexts can also refuse.
|
|
19
|
+
Conservative project/selector inspection can reject unused settings. These
|
|
20
|
+
refusals are not new platform/native/MDM/ACK qualification; see the
|
|
21
|
+
[storage scope](docs/api.md#codex-storage-configuration).
|
|
22
|
+
|
|
23
|
+
The current feature matrix below retains its exact dated TS/Python comparison
|
|
24
|
+
baseline and explicit defer decisions; it is not silently repinned to a newer
|
|
25
|
+
Python oracle. The source-only current-version updater changes registered
|
|
26
|
+
current spans while preserving historical evidence and independent pins.
|
|
27
|
+
|
|
28
|
+
[#160](https://github.com/abruption/session-peer-ts/pull/160) adds a repository-only
|
|
29
|
+
read-only qualification reporter and checklist. They do not add an installed
|
|
30
|
+
CLI command/SDK operation or prove runtime readiness, ownership or qualification;
|
|
31
|
+
the reporter and its two design documents are excluded from the npm archive.
|
|
32
|
+
The deferred deployment/recovery harness #155 and research #82/#142 remain
|
|
33
|
+
excluded. The finite 0.5.2 skill row carries exactly the four profiles from
|
|
34
|
+
0.5.1; no skill publication, installation pin or native observation row changes.
|
|
35
|
+
SSH endpoints must both use exactly 0.5.2. Check the selected release record for
|
|
36
|
+
publication and exact artifact verification.
|
|
37
|
+
|
|
3
38
|
## 0.5.1 parser correctness patch — 2026-10-27 KST
|
|
4
39
|
|
|
5
40
|
Issue #163 updates only the TOML parser dependency from 1.9.0 to 1.9.1.
|
|
@@ -52,7 +87,87 @@ observation and explicit operator-confirmed receipt scope below; #130–#132
|
|
|
52
87
|
remain separate platform/collector extensions. Published skill 0.2.1 remains
|
|
53
88
|
the installation pin; runtime publication is not companion-skill publication.
|
|
54
89
|
|
|
55
|
-
|
|
90
|
+
<a id="current-scoped-feature-matrix"></a>
|
|
91
|
+
## Current scoped feature matrix
|
|
92
|
+
|
|
93
|
+
Current source/package version: **0.5.2**.
|
|
94
|
+
|
|
95
|
+
Reviewed **2026-10-29 KST** against TS **0.5.1** source
|
|
96
|
+
[`90481b148584926ea328ed956327f3050d9be9cb`](https://github.com/abruption/session-peer-ts/tree/90481b148584926ea328ed956327f3050d9be9cb)
|
|
97
|
+
and Python **1.3.2** source
|
|
98
|
+
[`f5e7c49554ff02771990a151e00b52f2abf3df0a`](https://github.com/abruption/session-peer/tree/f5e7c49554ff02771990a151e00b52f2abf3df0a),
|
|
99
|
+
also the [published Python v1.3.2 release](https://github.com/abruption/session-peer/releases/tag/v1.3.2).
|
|
100
|
+
The version display above is maintained separately; changing it does not refresh
|
|
101
|
+
this dated source review. This matrix describes the reviewed TS baseline;
|
|
102
|
+
branch proposals and later publications require their own evidence. Source and
|
|
103
|
+
GitHub-state inspection adds no test, live delivery, ACK or platform qualification.
|
|
104
|
+
|
|
105
|
+
**Shipped** means the bounded TS behavior exists in that baseline. **Partial**
|
|
106
|
+
means only the stated subset exists. **Intentional difference** is a maintained
|
|
107
|
+
contract choice. **Not planned** records an explicit disposition. **Undecided**
|
|
108
|
+
means no TS implementation scope has been approved, including deferred evaluation.
|
|
109
|
+
An issue or Python feature alone does not authorize implementation.
|
|
110
|
+
|
|
111
|
+
| Surface | Reviewed TS behavior and Python comparison | Status / boundary |
|
|
112
|
+
| --- | --- | --- |
|
|
113
|
+
| Ordinary discovery, input and submission | Unified Claude/Codex list, bounded Codex-home inventory, text/JSON and positional/stdin input, Unicode name matching, Claude inbox and guarded Codex queue submission | Shipped within existing platform/native contracts; submission never proves consumption |
|
|
114
|
+
| macOS Claude Orca profiles | TS reads one environment-selected/default registry; Python additionally inventories bounded known macOS Orca profiles when no override is set ([TS source](https://github.com/abruption/session-peer-ts/blob/90481b148584926ea328ed956327f3050d9be9cb/src/discovery.ts#L78-L117), [Python source](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/claude.py#L44-L84)) | Partial; [#165](https://github.com/abruption/session-peer-ts/issues/165) is a separate discovery/provenance extension |
|
|
115
|
+
| Codex storage classification | TS rejects selected-home root `sqlite_home` and malformed TOML, and strips `CODEX_SQLITE_HOME` from native child environments; Python additionally checks system/requirements, managed-preference and project/cwd layers ([TS source](https://github.com/abruption/session-peer-ts/blob/90481b148584926ea328ed956327f3050d9be9cb/src/discovery.ts#L13-L24), [Python source](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/codex.py#L272-L494)) | Partial in published baseline; post-baseline #166 source adds bounded local-layer classification and refusal of unclassifiable storage ([scope](docs/api.md#codex-storage-configuration)). Selected-home or local-layer validation is not whole effective-storage attestation |
|
|
116
|
+
| Doctor and return routes | Read-only local/SSH diagnostics, generated From/Reply-To metadata, explicit reply URI and opt-in return-route probe | Shipped bounded behavior; no executable `Reply:` instruction or Antigravity sender identity |
|
|
117
|
+
| Ordered SSH and typed jump | Repeated hosts, allowlisted options, IPv6 and POSIX-client single-hop jump; Windows-client jump refuses before effect | Partial; remaining Windows-client qualification in [#20](https://github.com/abruption/session-peer-ts/issues/20); no arbitrary options or multi-hop |
|
|
118
|
+
| Remote deployment | TS requires an installed CLI and exactly matching TS versions; Python streams its standalone source | Intentional difference; [#23](https://github.com/abruption/session-peer-ts/issues/23) / [remote deployment design](docs/design/remote-deployment.md) remain bounded follow-ups, with no automatic deployment/update or version-range compatibility |
|
|
119
|
+
| Updates and notice suppression | npm-aware `update --check` and manager guidance; cached runtime notices opt in with `SESSION_PEER_UPDATE_NOTICE=1`, and honor `--no-update-notice` and `SESSION_PEER_NO_UPDATE_NOTICE` ([source](https://github.com/abruption/session-peer-ts/blob/90481b148584926ea328ed956327f3050d9be9cb/src/updates.ts#L289-L291)) | Intentional difference from Python's default-on runtime/skill notices and standalone update paths; existing suppression shipped in #22/#85; no self-update, remote push or skill notices |
|
|
120
|
+
| Handoff and observation | Private correlated intents and explicit operator-confirmed receipt; exact macOS arm64 Codex 0.160.1/0.162.1 observation only | Partial; Linux [#130](https://github.com/abruption/session-peer-ts/issues/130), Windows [#131](https://github.com/abruption/session-peer-ts/issues/131) and authenticated receipt producer/collector [#132](https://github.com/abruption/session-peer-ts/issues/132) remain separate. No automatic ACK, consumption or exactly-once guarantee |
|
|
121
|
+
| Public execution API | Package root exports pure protocol helpers, not a reusable execution/adapter API | Partial; [#24](https://github.com/abruption/session-peer-ts/issues/24) retains validation, permission and single-attempt boundaries |
|
|
122
|
+
| Companion skill | Separately installed TS skill with immutable guidance pin and finite exact metadata profiles | Intentional difference; runtime publication does not publish/update the skill or authenticate its contents |
|
|
123
|
+
| Paired devices, relay and recovery | Python exposes optional device/relay/setup workflows; TS has no equivalent | Not planned; [#29](https://github.com/abruption/session-peer-ts/issues/29), [#30](https://github.com/abruption/session-peer-ts/issues/30), [#31](https://github.com/abruption/session-peer-ts/issues/31), [#32](https://github.com/abruption/session-peer-ts/issues/32) are closed as not planned; historical Planned rows below are not the current roadmap |
|
|
124
|
+
| Wake, Antigravity and MCP integration | No TS wake/resume, Antigravity adapter or policy-restricted MCP server | Undecided implementation scope; [#27](https://github.com/abruption/session-peer-ts/issues/27), [#28](https://github.com/abruption/session-peer-ts/issues/28), [#26](https://github.com/abruption/session-peer-ts/issues/26) track separate work; no inferred Python feature parity |
|
|
125
|
+
| Newer Python convenience workflows | Route presets/saved recipients, explain, explicit trusted SSH config and persistent per-version runtime-notice dismissal are absent from the [TS command/options inventory](https://github.com/abruption/session-peer-ts/blob/90481b148584926ea328ed956327f3050d9be9cb/src/cli.ts#L19-L29) | Undecided eventual scope; explicit defer decisions below |
|
|
126
|
+
|
|
127
|
+
The published 0.5.1 storage coverage gap above is separate from the #166
|
|
128
|
+
implementation added after baseline `90481b1`. Its public availability is
|
|
129
|
+
determined by the selected release record; source/fixture evidence is not a
|
|
130
|
+
publication or native-loader qualification. The source guard's [actual scope](docs/api.md#codex-storage-configuration)
|
|
131
|
+
classifies source-qualified local layers and retains opened-file evidence. It
|
|
132
|
+
refuses ordinary signed-in/possibly cloud-managed homes when classification would
|
|
133
|
+
require reading credentials; the owned app-server path needs actual storage binding.
|
|
134
|
+
Windows Codex dispatch remains unqualified and refuses before queueing. Python's
|
|
135
|
+
broader checks also explicitly exclude some effective
|
|
136
|
+
storage sources; they are not a whole-runtime storage attestation.
|
|
137
|
+
|
|
138
|
+
### Product decisions for newer Python workflows — 2026-10-29 KST
|
|
139
|
+
|
|
140
|
+
These are **defer** decisions for this patch, not promises to port. Any later
|
|
141
|
+
implementation needs a focused scope and separate approval; this comparison
|
|
142
|
+
creates no new feature implementation or automatic follow-up issue.
|
|
143
|
+
|
|
144
|
+
| Workflow / pinned Python evidence | Decision and prerequisite for reconsideration |
|
|
145
|
+
| --- | --- |
|
|
146
|
+
| [Route presets and saved addresses](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L138-L215), [address commands](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L318-L340) | Defer. Decide private local storage, route-versus-recipient identity, revision checks and explicit target confirmation before proposing a port. Existing reply URIs are not saved-address support |
|
|
147
|
+
| [Delivery/diagnostic explain](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L194-L196), [handoff status explain](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L228-L229) | Defer. Define a read-only explanation of existing evidence without promoting queue, turn completion or arbitrary replies to delivery/ACK. Current text output and doctor remain available |
|
|
148
|
+
| [Operator-trusted SSH config](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L258-L263) | Defer. Explicit trust would authorize local executable SSH configuration, including during inspection/dry-run; it needs a separate consent and execution contract. Existing user/system SSH configuration already remains an operator trust boundary. Constrained options and typed jump do not provide Python's additional `--ssh-config` / `--trust-ssh-config` workflow |
|
|
149
|
+
| [Persistent per-version runtime-notice dismissal](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L245-L255) | Defer. Specify private version-scoped persistence, reset and interaction with opt-in notices first. This differs from the already supported TS `--no-update-notice` and `SESSION_PEER_NO_UPDATE_NOTICE`; no dismissal flag is advertised for TS |
|
|
150
|
+
|
|
151
|
+
### Comparison evidence and retained history
|
|
152
|
+
|
|
153
|
+
The ordinary test oracle remains Python **1.1.0** / commit
|
|
154
|
+
`8ca77cf31254c8287a2593fe484bb30a7dba2727`, scoped to
|
|
155
|
+
`ordinary-list-discovery-projection` in
|
|
156
|
+
[`python-reference.pin.json`](test/fixtures/python-reference.pin.json).
|
|
157
|
+
This Python 1.3.2 static review does not repin that oracle, fixtures, CI or
|
|
158
|
+
runtime `referenceVersion`; ordinary listing evidence does not establish
|
|
159
|
+
send/handoff/SSH interoperability. The frozen handoff design bytes, hashes and
|
|
160
|
+
historical Python 1.0.3 baseline also remain unchanged.
|
|
161
|
+
|
|
162
|
+
See the [dated ordinary comparison](#ordinary-python-110-comparison--2026-10-20-kst),
|
|
163
|
+
[historical 0.3.x context](#historical-03x-comparison-context),
|
|
164
|
+
[historical feature matrix](#feature-and-command-matrix) and
|
|
165
|
+
[frozen handoff checkpoint](#published-python-handoff-checkpoint--2026-10-11).
|
|
166
|
+
Their dated release, planned-work and test claims retain their original scope.
|
|
167
|
+
|
|
168
|
+
<a id="current-comparison--python-110--typescript-050"></a>
|
|
169
|
+
|
|
170
|
+
## Ordinary Python 1.1.0 comparison — 2026-10-20 KST
|
|
56
171
|
|
|
57
172
|
Updated 2026-10-20 KST. TypeScript 0.5.0 uses published
|
|
58
173
|
Python **1.1.0**, commit
|
package/README.ja.md
CHANGED
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**文書・ソースのバージョン: 0.5.
|
|
17
|
+
**文書・ソースのバージョン: 0.5.2。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](VALIDATION.md)、リリース手順は [RELEASING.md](RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.5.2 は互いの SSH 事前確認を拒否します。
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.5.
|
|
19
|
+
**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 観測は引き続き未対応です。
|
|
20
20
|
|
|
21
21
|
**実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
|
|
22
22
|
Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
+
通常の Codex 送信は、ログイン済み home などクラウドポリシーの適用範囲を判定できない場合も拒否します。経路を選ぶ前に[ストレージ検証の範囲](docs/api.md#codex-storage-configuration)を確認してください。
|
|
27
|
+
|
|
28
|
+
このソースは Codex の追加設定レイヤーを確認します。Windows の Codex 送信・dry-run はローカルストレージ検査が未検証のためキュー提出前に拒否し、通常の Claude 経路とは区別します。導入前に[検証範囲](docs/api.md#codex-storage-configuration)と選択したリリースを確認してください。
|
|
29
|
+
|
|
26
30
|
## Demo
|
|
27
31
|
|
|
28
32
|

|
|
@@ -57,15 +61,15 @@ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョン
|
|
|
57
61
|
`Get-Command session-peer -All` で PATH を確認してください。利用する実装を選び、
|
|
58
62
|
別の管理ツールのファイルを `--force` で上書きしないでください。
|
|
59
63
|
|
|
60
|
-
**0.5.
|
|
64
|
+
**0.5.2 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
|
|
61
65
|
|
|
62
66
|
```sh
|
|
63
|
-
npm view session-peer@0.5.
|
|
64
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
67
|
+
npm view session-peer@0.5.2 version dist.integrity
|
|
68
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
65
69
|
session-peer --version
|
|
66
70
|
```
|
|
67
71
|
|
|
68
|
-
期待する出力: `session-peer 0.5.
|
|
72
|
+
期待する出力: `session-peer 0.5.2 (typescript)`。分離インストール・ソースビルド・
|
|
69
73
|
Windows・削除の手順は以下の詳細ガイドを参照してください。
|
|
70
74
|
|
|
71
75
|
任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
|
|
@@ -74,12 +78,12 @@ Windows・削除の手順は以下の詳細ガイドを参照してください
|
|
|
74
78
|
### Update
|
|
75
79
|
|
|
76
80
|
npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
|
|
77
|
-
正確なバージョンを指定してください。以下は古い npm 版を選択した 0.5.
|
|
81
|
+
正確なバージョンを指定してください。以下は古い npm 版を選択した 0.5.2 に更新する例です。
|
|
78
82
|
CLI は更新をインストールせず、`session-peer update --check` は確認のみ行います。
|
|
79
83
|
|
|
80
84
|
```sh
|
|
81
85
|
npm view session-peer dist-tags
|
|
82
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
86
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
83
87
|
session-peer --version
|
|
84
88
|
```
|
|
85
89
|
|
package/README.ko.md
CHANGED
|
@@ -17,11 +17,15 @@ Python을 설치하지 않아도 Node.js에서 실행되는 TypeScript 클라이
|
|
|
17
17
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
|
+
일반 Codex 전송은 로그인 home 등 클라우드 정책 적용 여부를 분류할 수 없는 경우에도 거부합니다. 경로를 선택하기 전에 [저장소 검증 범위](docs/api.md#codex-storage-configuration)를 확인하세요.
|
|
21
|
+
|
|
22
|
+
이 소스는 Codex의 추가 설정 계층을 검사합니다. Windows Codex 전송과 dry-run은 로컬 저장소 검사 방식이 검증될 때까지 큐 제출 전에 거부하며, 일반 Claude 경로는 별도입니다. 설치 전에 [검증 범위](docs/api.md#codex-storage-configuration)와 선택한 릴리스를 확인하세요.
|
|
23
|
+
|
|
20
24
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
21
25
|
|
|
22
|
-
**문서·소스 기준 버전: 0.5.
|
|
26
|
+
**문서·소스 기준 버전: 0.5.2.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](VALIDATION.md), 릴리스 절차는 [RELEASING.md](RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6 버전과 0.5.2 버전은 서로의 SSH 사전 확인을 거부합니다.
|
|
23
27
|
|
|
24
|
-
**0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.5.
|
|
28
|
+
**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 관측은 계속 미지원입니다.
|
|
25
29
|
|
|
26
30
|
<a id="demo"></a>
|
|
27
31
|
## 시연
|
|
@@ -66,15 +70,15 @@ PowerShell에서는 `Get-Command session-peer -All`로 PATH(명령 검색 경로
|
|
|
66
70
|
실행 파일을 찾는지 확인하세요. 사용할 구현을 선택하고 다른 패키지 관리자가 설치한
|
|
67
71
|
파일을 `--force`로 덮어쓰지 마세요. 설치와 갱신은 사용자가 npm으로 직접 수행합니다.
|
|
68
72
|
|
|
69
|
-
**0.5.
|
|
73
|
+
**0.5.2 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
|
|
70
74
|
|
|
71
75
|
```sh
|
|
72
|
-
npm view session-peer@0.5.
|
|
73
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
76
|
+
npm view session-peer@0.5.2 version dist.integrity
|
|
77
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
74
78
|
session-peer --version
|
|
75
79
|
```
|
|
76
80
|
|
|
77
|
-
예상 결과는 `session-peer 0.5.
|
|
81
|
+
예상 결과는 `session-peer 0.5.2 (typescript)`입니다. 별도 경로에 설치하거나,
|
|
78
82
|
소스에서 빌드하거나, Windows에서 설치·제거하는 방법은 [사용자 가이드](docs/guide.ko.md#설치)를 참고하세요.
|
|
79
83
|
|
|
80
84
|
선택 사항인 `sp` 단축 명령은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로
|
|
@@ -85,13 +89,13 @@ session-peer --version
|
|
|
85
89
|
### 업데이트
|
|
86
90
|
|
|
87
91
|
npm으로 설치한 클라이언트는 사용자가 직접 npm으로 업데이트합니다. 사용 가능한 배포 태그
|
|
88
|
-
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.5.
|
|
92
|
+
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.5.2 버전으로
|
|
89
93
|
업데이트합니다. `session-peer` CLI는 업데이트를 설치하지 않습니다. `session-peer
|
|
90
94
|
update --check`는 새 버전이 있는지 확인할 뿐입니다.
|
|
91
95
|
|
|
92
96
|
```sh
|
|
93
97
|
npm view session-peer dist-tags
|
|
94
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
98
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
95
99
|
session-peer --version
|
|
96
100
|
```
|
|
97
101
|
|
package/README.md
CHANGED
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**Documentation and source version: 0.5.
|
|
17
|
+
**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.
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported. The 0.5.
|
|
19
|
+
**0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported. The 0.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.
|
|
20
20
|
|
|
21
21
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
22
22
|
A Node.js client that runs without Python. Package and command: `session-peer`.
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
+
Ordinary Codex sends also refuse signed-in or other cloud-unclassifiable homes; see the [storage scope](docs/api.md#codex-storage-configuration) before choosing a route.
|
|
27
|
+
|
|
28
|
+
Source storage guards now inspect additional Codex configuration layers. Windows Codex send/dry-run refuse before queue submission while local storage classification is unqualified; ordinary Claude behavior is separate. Review the [guard scope](docs/api.md#codex-storage-configuration) and selected release before installation.
|
|
29
|
+
|
|
26
30
|
## Demo
|
|
27
31
|
|
|
28
32
|

|
|
@@ -57,15 +61,15 @@ Check `type -a session-peer` on macOS/Linux or `Get-Command session-peer -All`
|
|
|
57
61
|
in PowerShell before installing. Choose the intended PATH entry; do not use
|
|
58
62
|
`--force` to overwrite another manager’s files.
|
|
59
63
|
|
|
60
|
-
**Version 0.5.
|
|
64
|
+
**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](docs/guide.md#build-from-source).
|
|
61
65
|
|
|
62
66
|
```sh
|
|
63
|
-
npm view session-peer@0.5.
|
|
64
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
67
|
+
npm view session-peer@0.5.2 version dist.integrity
|
|
68
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
65
69
|
session-peer --version
|
|
66
70
|
```
|
|
67
71
|
|
|
68
|
-
Expected: `session-peer 0.5.
|
|
72
|
+
Expected: `session-peer 0.5.2 (typescript)`. For isolated installation, source
|
|
69
73
|
builds, Windows and removal, see the detailed guide below.
|
|
70
74
|
|
|
71
75
|
Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
|
|
@@ -75,12 +79,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
|
|
|
75
79
|
|
|
76
80
|
Use npm for an npm-managed installation. Check the available tags and review
|
|
77
81
|
the target version, then install that exact version; this example updates an
|
|
78
|
-
older npm installation to the selected 0.5.
|
|
82
|
+
older npm installation to the selected 0.5.2 release. The CLI does not install updates;
|
|
79
83
|
`session-peer update --check` only reports them.
|
|
80
84
|
|
|
81
85
|
```sh
|
|
82
86
|
npm view session-peer dist-tags
|
|
83
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
87
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
84
88
|
session-peer --version
|
|
85
89
|
```
|
|
86
90
|
|
package/README.zh-CN.md
CHANGED
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**文档和源码版本:0.5.
|
|
17
|
+
**文档和源码版本:0.5.2。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.5.2 会拒绝彼此的 SSH 预检。
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.5.
|
|
19
|
+
**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 观测仍不支持。
|
|
20
20
|
|
|
21
21
|
**发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
|
|
22
22
|
这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
+
普通 Codex 发送也会拒绝登录 home 等无法判定云端策略适用范围的上下文。选择路径前请确认[存储检查范围](docs/api.md#codex-storage-configuration)。
|
|
27
|
+
|
|
28
|
+
此源码检查 Codex 的更多配置层。Windows 的 Codex 发送和 dry-run 因本地存储检查方式尚未验证而在队列提交前被拒绝;普通 Claude 路径另行处理。安装前请确认[检查范围](docs/api.md#codex-storage-configuration)及所选版本。
|
|
29
|
+
|
|
26
30
|
## Demo
|
|
27
31
|
|
|
28
32
|

|
|
@@ -55,15 +59,15 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
|
|
|
55
59
|
`Get-Command session-peer -All` 检查 PATH。选择所需实现,不要用 `--force`
|
|
56
60
|
覆盖其他安装管理器的文件。
|
|
57
61
|
|
|
58
|
-
**安装 0.5.
|
|
62
|
+
**安装 0.5.2:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
|
|
59
63
|
|
|
60
64
|
```sh
|
|
61
|
-
npm view session-peer@0.5.
|
|
62
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
65
|
+
npm view session-peer@0.5.2 version dist.integrity
|
|
66
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
63
67
|
session-peer --version
|
|
64
68
|
```
|
|
65
69
|
|
|
66
|
-
预期输出:`session-peer 0.5.
|
|
70
|
+
预期输出:`session-peer 0.5.2 (typescript)`。隔离安装、源码构建、Windows 和
|
|
67
71
|
卸载步骤见下方详细指南。
|
|
68
72
|
|
|
69
73
|
可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
|
|
@@ -72,11 +76,11 @@ session-peer --version
|
|
|
72
76
|
### Update
|
|
73
77
|
|
|
74
78
|
使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
|
|
75
|
-
下面示例将旧 npm 安装更新至所选的 0.5.
|
|
79
|
+
下面示例将旧 npm 安装更新至所选的 0.5.2。CLI 不会安装更新,`session-peer update --check` 只做检查。
|
|
76
80
|
|
|
77
81
|
```sh
|
|
78
82
|
npm view session-peer dist-tags
|
|
79
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
83
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
80
84
|
session-peer --version
|
|
81
85
|
```
|
|
82
86
|
|
package/RELEASING.md
CHANGED
|
@@ -9,6 +9,75 @@ 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.5.2 storage guards and release consistency preparation — 2026-10-30 KST
|
|
13
|
+
|
|
14
|
+
Preparation baseline is merged main
|
|
15
|
+
`1b9e762c154e1050b04f98d5c36cee0d332cf484`, including #169 and #160.
|
|
16
|
+
The release target carries bounded Codex storage-layer guards, the dated scoped
|
|
17
|
+
parity comparison and deterministic current-version maintenance. The local
|
|
18
|
+
qualification reporter from #160 is repository-only: its script, tests and two
|
|
19
|
+
review/design documents are excluded from the npm archive. It adds no installed
|
|
20
|
+
CLI command, SDK export or remote deployment authority. Draft #155 and native
|
|
21
|
+
input experiments #82/#142 remain excluded.
|
|
22
|
+
|
|
23
|
+
**Availability changes must be prominent in the release notes.** Ordinary Codex
|
|
24
|
+
submission refuses signed-in file-auth homes (`auth.json` metadata), keyring/auto
|
|
25
|
+
credential-store selections and other cloud-unclassifiable contexts without
|
|
26
|
+
reading credentials/cache contents. This can refuse an account that would not
|
|
27
|
+
actually receive cloud policy. A separately qualified owned stdio app-server
|
|
28
|
+
route still needs actual opened-storage binding. Windows Codex send/dry-run
|
|
29
|
+
refuse because local storage classification is unqualified. Existing ordinary
|
|
30
|
+
Claude paths are separate. Missing cwd, unsafe configuration, daemon/remote
|
|
31
|
+
context, unavailable metadata helpers and observable evidence changes can also
|
|
32
|
+
refuse; see [the storage contract](docs/api.md#codex-storage-configuration).
|
|
33
|
+
|
|
34
|
+
The exact loader-source review covers Codex 0.160.1, 0.162.1 and 0.165.0; it does
|
|
35
|
+
not expand native observation qualification. The recorded macOS arm64 observation
|
|
36
|
+
profiles, original-writer boundaries, pre-effect refusal, unknown/no-resend
|
|
37
|
+
semantics and separate operator-confirmed receipt remain bounded as before.
|
|
38
|
+
Linux/Windows observation and automated receipt ACK are not enabled. The finite
|
|
39
|
+
0.5.2 doctor row carries only the same four exact skill profiles as 0.5.1; it
|
|
40
|
+
neither publishes/installs a skill nor changes its independent source pin.
|
|
41
|
+
|
|
42
|
+
Read-only registry baseline checked for this preparation: latest=0.5.1,
|
|
43
|
+
preview=0.1.0-preview.1 and target 0.5.2 absent. Previous stable integrity is
|
|
44
|
+
`sha512-m+bXuJ0UpPYZQIwh9g9b11S2EqjquE1J0D2WYM3yOIGKk7s68AG05O1ARgKH5nK3QKidfHXgANmHAJQWJzkTrw==`.
|
|
45
|
+
Previous provenance endpoint:
|
|
46
|
+
`https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.5.1`.
|
|
47
|
+
Recheck the registry immediately before staging. This public metadata read is
|
|
48
|
+
not an authenticated ownership, pending-stage, publisher or package-MFA audit.
|
|
49
|
+
|
|
50
|
+
1. Review and merge the release preparation under normal protections. Require
|
|
51
|
+
exact merged-main release gate, macOS/Ubuntu Node 22/24, Windows Node 22/24
|
|
52
|
+
and CodeQL success, with source review appropriate to the final changes.
|
|
53
|
+
2. Freshly verify npm ownership, pending stages, the stage-only Trusted Publisher
|
|
54
|
+
mapping, package publish-MFA policy and the protected npm environment/main
|
|
55
|
+
restriction. Historical settings-read exceptions apply only to their named
|
|
56
|
+
releases; an unread gate needs a current explicit user exception. Do not
|
|
57
|
+
change protections or authentication mode to pass a gate.
|
|
58
|
+
3. Verify reproducible exact-source archive bytes, every packaged Markdown file,
|
|
59
|
+
isolated installation/version/removal, public types and shorthand lifecycle.
|
|
60
|
+
Verify compiled/default/undefined/inspectSkill acceptance of the four exact
|
|
61
|
+
profiles and rejection of malformed/unsupported inputs. Check that the
|
|
62
|
+
reporter and its two source-only design documents remain excluded.
|
|
63
|
+
4. Obtain separate source approval naming the exact merged 40-character main
|
|
64
|
+
SHA, `session-peer@0.5.2`, `stable-stage` and eventual latest promotion to
|
|
65
|
+
0.5.2. Preparation or PR merge does not identify or approve a future source.
|
|
66
|
+
5. Dispatch only the approved source/version/mode once. Inspect retained Actions
|
|
67
|
+
bytes before protected-environment approval; compare staged bytes and
|
|
68
|
+
provenance before the separate final npm 2FA approval. Never automatically
|
|
69
|
+
retry an uncertain upload or approve a stage.
|
|
70
|
+
6. Verify public bytes, registry signatures/provenance and isolated lifecycle;
|
|
71
|
+
preserve preview and append the dated publication evidence. Create an
|
|
72
|
+
authorized annotated `v0.5.2` tag and GitHub Release on the verified publication
|
|
73
|
+
source only after their separate approval. No fleet/global installation.
|
|
74
|
+
|
|
75
|
+
SSH endpoints must both use exactly 0.5.2; 0.5.1 and 0.5.2 refuse one another at
|
|
76
|
+
preflight. Upgrade both endpoints explicitly. Runtime publication is separate
|
|
77
|
+
from companion skill publication, pin adoption and installation. The dated
|
|
78
|
+
0.5.1 procedure and its settings-read exception below are historical and must
|
|
79
|
+
not be replayed for 0.5.2.
|
|
80
|
+
|
|
12
81
|
## 0.5.1 dependency hotfix procedure — 2026-10-27 KST
|
|
13
82
|
|
|
14
83
|
Issue #163 pins smol-toml 1.9.1 to reject malformed repeated exponent signs in
|
package/VALIDATION.md
CHANGED
|
@@ -1,4 +1,55 @@
|
|
|
1
|
-
# Validation record — updated 2026-10-
|
|
1
|
+
# Validation record — updated 2026-10-30 KST
|
|
2
|
+
|
|
3
|
+
## 0.5.2 preparation scope — 2026-10-30 KST
|
|
4
|
+
|
|
5
|
+
Preparation baseline is merged main
|
|
6
|
+
`1b9e762c154e1050b04f98d5c36cee0d332cf484`: #169's storage guards, scoped parity
|
|
7
|
+
matrix and current-version maintenance, plus #160's repository-only local static
|
|
8
|
+
qualification reporter. This release preparation selects package/banner/current
|
|
9
|
+
examples 0.5.2 and one finite doctor row preserving the four exact 0.5.1 skill
|
|
10
|
+
profiles. Historical evidence, the ordinary Python 1.1.0 oracle, frozen handoff
|
|
11
|
+
fixtures, native observation profiles and independent skill pins stay separate.
|
|
12
|
+
|
|
13
|
+
The guarded local loader-source versions are Codex 0.160.1, 0.162.1 and 0.165.0.
|
|
14
|
+
Source review and fixture refusal tests are not new native submission, positive
|
|
15
|
+
managed-preference/MDM, Linux/Windows observation, live delivery or ACK
|
|
16
|
+
qualification. Ordinary signed-in file-auth/keyring/cloud-unclassifiable homes
|
|
17
|
+
can refuse even when their accounts would not receive cloud policy. Windows
|
|
18
|
+
Codex send/dry-run remain unqualified and refuse before submission; ordinary
|
|
19
|
+
Claude behavior is separate. The owned stdio route requires its actual opened
|
|
20
|
+
storage binding. Existing unknown/no-resend and explicit operator-confirmed
|
|
21
|
+
receipt boundaries are retained.
|
|
22
|
+
|
|
23
|
+
The reporter measures only operator-selected local static metadata/digests and
|
|
24
|
+
keeps execution/ownership/qualification predicates independent. Its source
|
|
25
|
+
script, tests and two review/design documents are excluded from the npm archive;
|
|
26
|
+
it is not an installed command, SDK API, readiness certificate, deployment or
|
|
27
|
+
cleanup engine. Draft #155 and experiments #82/#142 remain excluded. The
|
|
28
|
+
remaining remote/platform acceptance gates in #20/#23/#130/#131/#132 are not
|
|
29
|
+
completed by this release preparation.
|
|
30
|
+
|
|
31
|
+
For source provenance, #169's reviewed head
|
|
32
|
+
`76f556cca869da95ad4368af914bad6f0f43af3d` passed its current-head matrix and
|
|
33
|
+
release gate; its macOS Node 24 retry followed an execution-free hosted-runner
|
|
34
|
+
capacity cancellation. #160's integrated head
|
|
35
|
+
`d2760958ebf5f1f160fb716af54e63dabcce8862` passed 12 checks in
|
|
36
|
+
[run 40980450661](https://github.com/abruption/session-peer-ts/actions/runs/40980450661).
|
|
37
|
+
Its local full suite recorded 503 tests: 491 pass, 0 fail, 11 platform skips and
|
|
38
|
+
1 existing TODO. The earlier integrated macOS Node 24 result had observation
|
|
39
|
+
`unsupported` instead of `pending`; the original cause remains unconfirmed.
|
|
40
|
+
The follow-up added assertion diagnostics only and did not relax outcomes,
|
|
41
|
+
deadlines or product guards. A later pass does not establish that original cause.
|
|
42
|
+
These 0.5.1 implementation-head results do not substitute for final 0.5.2
|
|
43
|
+
source, package, profile and exact merged-main checks.
|
|
44
|
+
|
|
45
|
+
At this dated preparation checkpoint the public registry baseline is
|
|
46
|
+
latest=0.5.1, preview=0.1.0-preview.1 and target 0.5.2 absent. Fresh authenticated
|
|
47
|
+
publisher/MFA/pending-stage checks, final-source approval, staging and publication
|
|
48
|
+
belong to their separate release gates. No new live-host/native/model/ACK
|
|
49
|
+
experiment, existing user-session input, global installation or operational
|
|
50
|
+
change is claimed. Final release-preparation PR and artifact records must name
|
|
51
|
+
the exact tested source and bytes before source/publication approval.
|
|
52
|
+
|
|
2
53
|
|
|
3
54
|
## 0.5.1 dependency patch preparation — 2026-10-27 KST
|
|
4
55
|
|
|
@@ -1595,7 +1646,7 @@ All three operating systems run Node 22/24. The checks differ:
|
|
|
1595
1646
|
| Platform | Automated scope |
|
|
1596
1647
|
| --- | --- |
|
|
1597
1648
|
| macOS/Linux | Full contract suite, type checks, Python reference fixtures, package smoke, release pack/artifact checks and audit. |
|
|
1598
|
-
| Windows x64 | Build/type checks, Claude named-pipe/auth/stale-record fixtures, held/free kernel locks, writer ownership and pre-submit races, native
|
|
1649
|
+
| Windows x64 | Build/type checks, Claude named-pipe/auth/stale-record fixtures, held/free kernel locks, writer ownership and pre-submit races, Codex storage-refusal fixtures and synthetic native-exit/SSH response outcomes, PowerShell/.cmd SSH framing through a fake endpoint, package/native-load smoke and audit. |
|
|
1599
1650
|
|
|
1600
1651
|
Windows runs its native suite, not the POSIX/Python reference suite. Both
|
|
1601
1652
|
Windows Node jobs are required by the aggregate release gate. The x64/Node 24
|
package/dist/app-server.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ export type NativeQueueOptions = {
|
|
|
98
98
|
deadlineMs: number;
|
|
99
99
|
verifyOwner: (scope: AppServerScope) => Promise<boolean>;
|
|
100
100
|
beforeEffect: () => Promise<void>;
|
|
101
|
+
verifyStorage?: () => Promise<void>;
|
|
102
|
+
verifyStorageSync?: () => void;
|
|
101
103
|
env?: NodeJS.ProcessEnv;
|
|
102
104
|
};
|
|
103
105
|
export declare function nativeQueueCapability(context: AppServerContext): {
|
|
@@ -148,6 +150,7 @@ export declare class BoundedAppServerClient implements AppServerPort {
|
|
|
148
150
|
private readonly verifyOwner;
|
|
149
151
|
private readonly nativeQueue;
|
|
150
152
|
private readonly beforeEffect;
|
|
153
|
+
private readonly beforeWrite;
|
|
151
154
|
private readonly pending;
|
|
152
155
|
private readonly observers;
|
|
153
156
|
private readonly operations;
|
|
@@ -169,7 +172,7 @@ export declare class BoundedAppServerClient implements AppServerPort {
|
|
|
169
172
|
private constructor();
|
|
170
173
|
static connectMetadataFixture(scope: AppServerScope, transport: MetadataOnlyTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>): Promise<BoundedAppServerClient>;
|
|
171
174
|
static connectNativeQueueFixture(scope: AppServerScope, transport: MetadataOnlyTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>, beforeEffect: () => Promise<void>, nativeVersion?: string, platform?: string, profiles?: readonly NativeProfile[]): Promise<NativeQueuePort>;
|
|
172
|
-
static connectNativeQueueWire(scope: AppServerScope, transport: NativeQueueTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>, beforeEffect: () => Promise<void>, profile: NativeProfile): Promise<NativeQueuePort>;
|
|
175
|
+
static connectNativeQueueWire(scope: AppServerScope, transport: NativeQueueTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>, beforeEffect: () => Promise<void>, profile: NativeProfile, beforeWrite: () => void): Promise<NativeQueuePort>;
|
|
173
176
|
private static connectWire;
|
|
174
177
|
private check;
|
|
175
178
|
private owner;
|
|
@@ -193,8 +196,13 @@ export declare class BoundedAppServerClient implements AppServerPort {
|
|
|
193
196
|
private fail;
|
|
194
197
|
close(): Promise<void>;
|
|
195
198
|
}
|
|
199
|
+
type SqliteBindingProof = readonly Readonly<{
|
|
200
|
+
path: string;
|
|
201
|
+
dev: bigint | null;
|
|
202
|
+
ino: bigint | null;
|
|
203
|
+
}>[];
|
|
196
204
|
export declare function artifactDigest(path: string, deadlineMs: number, maxBytes?: number): Promise<string>;
|
|
197
|
-
export declare function verifyProcfsSqliteBinding(pid: number | undefined, home: string, deadlineMs: number, binary: string, reader?: ProcReader): Promise<
|
|
205
|
+
export declare function verifyProcfsSqliteBinding(pid: number | undefined, home: string, deadlineMs: number, binary: string, reader?: ProcReader): Promise<SqliteBindingProof>;
|
|
198
206
|
export declare function nativeQueueOnce(options: NativeQueueOptions): Promise<{
|
|
199
207
|
queueId: string;
|
|
200
208
|
clientUserMessageId: string;
|