session-peer 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CONTRIBUTING.md CHANGED
@@ -61,6 +61,8 @@ SSH input/host boundaries and no retry after unknown outcomes. Never infer ACK
61
61
  from queueing. Fixtures are not real-agent evidence. Live tests require explicit
62
62
  authorization, dedicated targets and independent observation; CI never uses live
63
63
  accounts, sessions or credentials. Security reports use SECURITY.md.
64
+ CodeQL default setup scans JavaScript/TypeScript and GitHub Actions; triage each
65
+ code-scanning alert with a fix PR or a documented dismissal reason.
64
66
 
65
67
  Synchronize README.md, README.ko.md, README.ja.md and README.zh-CN.md. Update PARITY.md with feature/command/env/output changes, source baseline,
66
68
  transport limits, evidence date and the relevant issue acceptance tests. Keep runtime
@@ -71,3 +73,6 @@ workflow has separate confirmation and environment-approval gates; see
71
73
  RELEASING.md before dispatching it. Never add publish credentials to PR tests.
72
74
  Dependabot automatic update PRs are not enabled; dependency changes are manual
73
75
  reviewed PRs with lockfile, audit, native-load and platform tests.
76
+ Dependabot vulnerability alerts are enabled, and `.github/workflows/audit.yml`
77
+ runs `npm audit` and `npm audit signatures` weekly (and on manual dispatch) so
78
+ new advisories surface between commits. Triage an alert with a manual PR.
package/PARITY.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # Python compatibility and npm migration
2
2
 
3
- Updated 2026-09-28 KST. Python reference: **1.0.2**,
3
+ Updated 2026-09-29 KST. Python reference: **1.0.2**,
4
4
  [`47c2371`](https://github.com/abruption/session-peer/tree/47c23713d0a2a3c11ebde6186afd8c43489b8b65/session_peer_core).
5
- This matrix describes **TS 0.2.0**: unified listing, safe home selection,
5
+ This matrix describes **TS 0.2.1**: the 0.2.0 unified listing, safe home selection,
6
6
  read-only doctor, text/help/positional input, Unicode 14.0.0 name matching and
7
- separately managed TS skill guidance (#16/#17/#18/#19/#25). Historical **0.1.0**
7
+ separately managed TS skill guidance (#16/#17/#18/#19/#25), plus the
8
+ [0.2.1 reliability and hardening](#021-reliability-and-hardening) changes. Historical **0.1.0**
8
9
  differences are called out explicitly. Public availability and tags must be
9
10
  checked in the registry; this document does not assert a publication outcome.
10
11
  SSH endpoints require the same version; unreleased source builds also require
@@ -394,3 +395,22 @@ and explicit project/user scope chosen before running the documented command.
394
395
  exercises real Skills CLI project/global install, replacement-update, list and
395
396
  removal for Codex/Claude Code while preserving a Python skill fixture. Those
396
397
  are installation/contract fixtures, not live-agent delivery or ACK evidence.
398
+
399
+ ## 0.2.1 reliability and hardening
400
+
401
+ 0.2.1 (#49–#57, #59, #64, #65) tightens existing 0.2.0 behavior and adds no new
402
+ command, transport or JSON field. Callers may notice the stricter refusals below.
403
+
404
+ | Area | Source behavior |
405
+ | --- | --- |
406
+ | Codex body argv (#49) | Native queue receives `--message=<text>` as one argument, so bodies such as `- item`, `--help` or `-x` are queued as text. The SSH request forwards the body the same way. |
407
+ | Codex SQLite location (#50) | An inherited `CODEX_SQLITE_HOME` is removed from the native queue environment. A home whose `config.toml` sets `sqlite_home` is refused as `unsupported_codex_sqlite_home` (unreadable config: `codex_config_unreadable`) in dry-run and send, and `doctor` reports it as unsupported, because validation reads `<home>/state_5.sqlite`. A live writer started with its own `CODEX_SQLITE_HOME` cannot be observed. |
408
+ | Option values (#51) | A separate value that is exactly an option name (for example `--message --dry-run`) is `invalid_option` (exit 2), as in Python argparse. Use `--message=<text>`, stdin or `-- <text>` for such text. |
409
+ | SSH exit code (#52) | A verified remote response keeps its 0/1/2 exit code locally. |
410
+ | Reply-To `codexHome` (#53) | Must be a POSIX or Windows absolute path, matching Python; relative and `~` paths are `invalid_reply_uri`. |
411
+ | Text output (#54) | Also escapes U+061C, U+200B–U+200F, U+202A–U+202E, U+2060–U+2069 and U+FEFF. JSON is unchanged. |
412
+ | SSH preflight (#55) | Exit 0 with the exact version line passes even when login scripts write to stderr; stderr classification applies only to failed preflights. |
413
+ | Windows `--remote-bin` (#56) | Every PowerShell single-quote variant (`'`, U+2018–U+201B) is doubled inside the encoded command. |
414
+ | Windows batch shims (#57) | A `.cmd`/`.bat` executable found first on `PATH` (or given explicitly) is reported as `executable_unsupported` by `send` and `doctor`, because Node cannot spawn them without a shell and a shell would interpret the message. Use the native `codex.exe`. |
415
+ | Envelope trimming (#59, #64) | Leading/trailing `\n` is trimmed by index scanning instead of `/^\n+\|\n+$/`, which was quadratic on long interior newline runs (CodeQL `js/polynomial-redos`). Trimming semantics are unchanged. |
416
+ | Windows owner inspection (#65) | The compiling `Add-Type` owner inspection waits up to 20000 ms; the compile-free creation-time probe keeps 8000 ms. Timeouts still refuse. |
package/README.ja.md CHANGED
@@ -13,190 +13,96 @@
13
13
 
14
14
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
15
15
 
16
- 実行中の **Claude Code と Codex セッション**に、ローカルまたは SSH 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
16
+ **実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
17
+ Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
17
18
 
18
- **0.2.0 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
19
+ ## Demo
19
20
 
20
- ## 機能と範囲
21
-
22
- - ローカル Claude/Codex セッションと既知の Codex home の検出(0.2.0 の機能、下記参照)。
23
- - `--dry-run` で宛先を確認し、ネイティブ inbox / queue にメッセージを一度だけ提出。Codex は一意かつ安定した live writer が必要です。
24
- - インストール済みの同じクライアントへの SSH 接続、構造化 Reply-To URI、JSON 出力。
25
- - 宛先や所有者が曖昧なら拒否。不確実な提出を自動再送しません。
26
-
27
- Relay 通信、MCP、wake/resume、Antigravity、自動更新、人間向けテキスト出力は未実装です。未対応コマンドは明示的に失敗します。汎用オーケストレーターではありません。
28
-
29
- クライアント機能の計画は [バージョン別互換性表と npm 移行ガイド](PARITY.md) で追跡します。計画は現在の対応を意味しません。Relay サーバーやホスティングサービスの提供は本クライアントの範囲外です。
30
-
31
- ### 0.2.0 の統合一覧
32
-
33
- ビルド後の `node dist/cli.js list --json` は Claude/Codex をまとめて表示し、`list --agent codex --json` は既知の home を検索します。公開 npm **0.1.0** では引き続き agent と Codex 一覧の home を明示します。0.2.0 でも明示的なコマンド形式を利用できます。
34
-
35
- 対象は既定の `~/.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 両端で同一の0.2.0 ビルドを使ってください。
36
-
37
- ### 0.2.0 CLI の使いやすさ
38
-
39
- 0.2.0は `list --help`、`send --help`、`doctor --help`、`--output-format text` を提供します。
40
- 出力指定は引き続き必須です: `--json` または `--output-format json|text`。
41
- 構文エラーは JSON、有効な text 要求の実行結果・エラーはテキストです。SSH
42
- 内部通信は常に JSON です。`send --to TARGET "message" --json` の位置本文に
43
- 対応し、`--message`/`-m` との併用は拒否します。本文省略または `-` は stdin、
44
- オプション形式の位置本文には `--` を前置します。空・空白本文は送信者情報の
45
- 追加前に拒否します。Claude 名は Unicode 14.0.0 のデフォルト full casefold
46
- による完全一致です。正規化・曖昧検索はせず、衝突時は PID が必要です。
47
- 公開済み 0.1.0 にこのソース機能が遡及適用されることはありません。
48
-
49
-
50
- ## 必要条件
51
-
52
- macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**。Node 26 は対象外です。ネイティブロック依存には対応する x64/arm64 バイナリが必要で、純 JavaScript パッケージではありません。Codex 送信には `codex` が必要で、macOS/Linux では `lsof`・`ps` も必要です。Windows はネイティブロックと Restart Manager で所有者を確認します。Claude にはアクセス可能な inbox を持つ稼働中 TUI が必要です。SSH は既存の鍵・ホスト信頼と、接続先の**同一バージョン**のクライアントを使います。
53
-
54
- ## インストール
55
-
56
- 検証済みの安定版は、Node 22.x の 22.13 以上または 24.x でインストールできます。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
57
-
58
- ```sh
59
- npm install --global --ignore-scripts session-peer@0.2.0
60
- session-peer --version
61
- ```
62
-
63
- 期待値は `session-peer 0.2.0 (typescript)`。
64
-
65
- 1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
66
- 2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
67
- 3. 送る場合は選んだ PID を使い、同じコマンドから `--dry-run` を外して一度だけ実行します。
68
- 4. ACK が必要なら本文で明示的な返信を依頼し、宛先 TUI の応答を別途確認します。`posted` / `queued` は提出のみを示します。
69
-
70
- ### ソースからビルド
71
-
72
- 公開済みの npm パッケージではなくレビュー済みのソースを使うには、ビルドして必要ならローカル tarball をインストールします。
73
-
74
- ```sh
75
- git clone https://github.com/abruption/session-peer-ts.git
76
- cd session-peer-ts
77
- npm ci --ignore-scripts
78
- npm run build
79
- node dist/cli.js --version
80
- npm pack --ignore-scripts
81
- # 任意のグローバルインストール前に PATH の既存コマンドを確認
82
- npm install --global --ignore-scripts ./session-peer-0.2.0.tgz
83
- session-peer --version
84
- ```
85
-
86
- `./...tgz` を省略せず、ローカルの成果物を選択してください。後のバージョンのソースを使う場合は、チェックアウトしたバージョンを先に確認してください。
87
-
88
- ### 既存インストールとの共存
89
-
90
- インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
91
-
92
- 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.2.0.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` で削除します。
93
-
94
- ## 使い方
21
+ インストール後、一覧から選んだ正確な PID に `CLAUDE_PID` を置き換えます:
95
22
 
96
23
  ```sh
97
24
  session-peer list --agent claude --json
98
- session-peer list --agent codex --codex-home "$HOME/.codex" --json
99
- session-peer send --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
100
- session-peer send --to codex:THREAD_UUID --codex-home "$HOME/.codex" --message 'Please review the API contract.' --dry-run --json
101
- ```
102
-
103
- 実際に送るときだけ `--dry-run` を外します。`--message` の省略または `--message -` は UTF-8 stdin を読みます。`--all` は古い / アーカイブ済み記録の一覧用で、送信許可にはなりません。Claude の宛先は PID、`claude:PID`、一意な Unicode 14.0.0 casefold 名です。衝突時は PID を使います。Codex 送信には完全な UUID が必要で、home は上記の選択規則に従います。実行ファイルは `--codex-bin` で指定できます。出力には `--json` または `--output-format json|text` が必要です。
104
-
105
- ### SSH
106
-
107
- ```sh
108
- session-peer send --host user@machine --remote-bin /absolute/path/session-peer \
109
- --to CLAUDE_PID --message 'Please review the API contract.' --dry-run --json
25
+ session-peer send --to CLAUDE_PID --message 'API の契約を確認して返信してください。' --dry-run --json
110
26
  ```
111
27
 
112
- 既定のリモートコマンドは PATH の `session-peer`。絶対パスの `--remote-bin` で対応 Node を使うラッパーも指定できます。TypeScript マーカーと正確なバージョンを確認し、異なる実装は拒否します。BatchMode / StrictHostKeyChecking を使い、新しいホスト鍵の自動受理、リモートランタイムのインストール、Python フォールバックはしません。本文はリモートシェル引数ではなく JSON stdin で渡します。任意の `--ssh-opt`、IPv6 リテラル、Tailscale の正規名補完は非対応です。SSH alias / hostname を使ってください。片方向の接続成功は逆方向の接続を保証しません。
28
+ `--dry-run` は送信せずに検証します。実際に送るときは同じコマンドから
29
+ `--dry-run` を外して一度実行してください。確認が必要なら明示的に返信を求めます。
30
+ **`posted` / `queued` は提出を示し、消費や ACK の確認ではありません。** `unknown`
31
+ (`submitted:null`)、返信がないこと、対象の終了を理由に自動再送しないでください。
32
+ `consumptionConfirmed` は常に false です。返信は受信側 TUI で確認します。
113
33
 
114
- Windows の SSH 宛先では `--remote-platform win32` を指定し、必要に応じて `--remote-bin 'C:\absolute\path\session-peer.cmd'` を使います。既に認証済みの OpenSSH 制御ソケットは `--ssh-control-path /local/absolute/socket` で選択できます。ホスト鍵の確認や新しいログイン権限を回避しません。Windows ローカルの Codex home には完全な `C:\Users\...\.codex` パスを使います。既存の Python CLI は自動削除・置換しません。
34
+ ## Quick Start
115
35
 
116
- ### 返信
36
+ macOS/Linux/Windows、**Node 22.x の 22.13 以降または 24.x**、対応する
37
+ ネイティブ事前ビルド依存関係(x64/arm64)が必要です。Claude は実行中 TUI の inbox、
38
+ Codex は CLI と検証可能な writer が必要です(macOS/Linux は `lsof`・`ps` も必要)。
39
+ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョンの TypeScript クライアント**を
40
+ 必要とします。各 OS の条件と非アクティブなキューへの明示的提出はガイドを参照してください。
117
41
 
118
- `session-peer://v1/reply?...` URI を `--to` に指定できます。不明 / 重複フィールド、不正ホスト・エンコード、明示した経路との矛盾は拒否します。`--reply-address URI` は明示的な返信先を付けますが、経路を自動推測・検証しません。新しい返信先なしで返すときは `--no-reply-to`。有効な CODEX_THREAD_ID / CODEX_SESSION_ID は参考用 From 情報になり、`--no-from` で省略できます。不明な送信者は捏造しません。peer 情報は権限ではなく、URI をシェルとして実行しません。
42
+ ### Install
119
43
 
120
- ## 成功の意味と安全性
121
-
122
- | 結果 | 意味 |
123
- | --- | --- |
124
- | `validated`, `submitted:false` | dry-run 成功。未送信。 |
125
- | `posted` / `queued` | inbox 書き込み / queue 受理。**消費や ACK ではありません**。 |
126
- | `refused`, `submitted:false` | 提出前の拒否。 |
127
- | `unknown`, `submitted:null` | 提出済みの可能性あり。自動再送禁止。 |
128
-
129
- 提出後に返信がない、または宛先が終了したという事実だけでは、消費や失敗を確定できません。自動再送しないでください。
130
-
131
- `consumptionConfirmed` は常に false。実際の ACK は宛先 TUI で別途確認し、queue や transcript polling から推定しません。終了コード 0/1/2 は成功/エラー/用法エラー。エラーは固定コードで、ネイティブ stderr や本文を返しません。Codex は実際の kernel flock、ファイル同一性、同一ユーザーの所有者開始時刻を複数回調べ、提出直前にも再検証します。lock の削除や所有エージェントへのシグナル送信はしません。一覧の名前・パス・ID は共有前に伏せてください。
132
-
133
- ## 開発と検証
44
+ [Python CLI](https://github.com/abruption/session-peer)も同じコマンド名を使います。
45
+ インストール前に macOS/Linux では `type -a session-peer`、PowerShell では
46
+ `Get-Command session-peer -All` で PATH を確認してください。利用する実装を選び、
47
+ 別の管理ツールのファイルを `--force` で上書きしないでください。
134
48
 
135
49
  ```sh
136
- npm ci --ignore-scripts
137
- npm run build
138
- node scripts/check-repository.mjs
139
- SESSION_PEER_PYTHON_ROOT=/path/to/python-reference npm test
140
- npm run test:package
141
- npm audit
50
+ npm install --global --ignore-scripts session-peer@0.2.1
51
+ session-peer --version
142
52
  ```
143
53
 
144
- Python は開発時の互換検証基準のみです(v1.0.2、`47c23713d0a2a3c11ebde6186afd8c43489b8b65`)。実行時依存ではありません。POSIX 契約テストには C コンパイラーと lsof も必要です。CI は三つの OS で Node 22/24 を使います。macOS/Linux は固定した基準に対する全契約・パッケージ検査、Windows x64 はビルド・型検査、ネイティブ Claude inbox、保持/未保持ロック、writer 所有権と提出直前の競合、CLI queue 結果、隔離した模擬 SSH 宛先での実 PowerShell/.cmd フレーミング、パッケージのインストール・ネイティブ読込・削除と audit を実行します。これらは fixture 検査で、Windows では POSIX/Python 参照スイートを実行しません。Windows x64/Node 24 の実機 ACK は別の一回限りの証拠です。SQLite・Unix inbox・実 lock の fixture と、専用実 TUI の証拠 [VALIDATION.md](VALIDATION.md) は別です。fixture 成功は ACK ではありません。パッケージ内容、反復 pack ハッシュ、新規インストール、アンインストールも検証します。ネイティブ依存の通常の install script は実行せず、検証した prebuilt 経路は `--ignore-scripts` を使います。SQLite 読み取り専用接続も WAL 共有メモリー管理に関与し得るため、スナップショットではありません。
145
-
146
- [CONTRIBUTING.md](CONTRIBUTING.md)、[RELEASING.md](RELEASING.md)、[SECURITY.md](SECURITY.md) を参照してください。今後のリリースの公開には別途承認が必要で、自動 npm 公開はありません。[MIT](LICENSE) ライセンスです。
54
+ 期待する出力: `session-peer 0.2.1 (typescript)`。分離インストール・ソースビルド・
55
+ Windows・削除の手順は以下の詳細ガイドを参照してください。
147
56
 
148
- ## npm リリース
57
+ ### Update
149
58
 
150
- 公開済みの この文書は 0.2.0 の機能を説明します。公開状態はレジストリで確認してください。
151
- 2026-09-28 KST の検証済み旧安定版は 0.1.0、preview タグは 0.1.0-preview.1 でした。
59
+ npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
60
+ 正確なバージョンを指定してください。以下は古い npm 版を 0.2.1 に更新する例です。
61
+ CLI 自体に自己更新コマンドはありません。
152
62
 
153
63
  ```sh
154
- npm view session-peer@0.2.0 version dist.integrity
155
64
  npm view session-peer dist-tags
65
+ npm install --global --ignore-scripts session-peer@0.2.1
66
+ session-peer --version
156
67
  ```
157
68
 
158
- 0.1.0 tarball の古い記述と検証結果は[日付付き記録](VALIDATION.md#public-010--2026-09-27-kst)に保存しています。
159
- OIDC staging と別途の 2FA 承認を使用します。Staging 成功は公開完了ではありません。
160
- [RELEASING.md](RELEASING.md) を参照してください。
161
-
162
- ## 関連プロジェクト
163
-
164
- [Python session-peer](https://github.com/abruption/session-peer) は独立して保守・リリースされ、任意機能や `pipx install session-peer` などの導入方法はそちらで案内します。同じ `session-peer` コマンドなので上記 PATH の注意が必要です。このクライアントはそのインストールに依存せず、全機能・フラグの同等性を約束しません。
165
-
166
- ### 0.2.0 の読み取り専用診断
167
-
168
- ```sh
169
- session-peer doctor --json
170
- session-peer doctor --agent codex --codex-home /absolute/home --json
171
- session-peer doctor --host user@host --json
172
- ```
173
-
174
- 公開 npm 0.1.0 には含まれません。診断の成功(`ok:true`、終了コード 0)と
175
- エージェントの準備状態(`ready`、エージェント・home ごとの結果)は別です。
176
- 限定されたメタデータと実行ファイルのパスのみを確認し、Codex の実行、inbox 接続、
177
- writer ロック取得、メッセージ送信はしません。Windows では生存プロセスによる
178
- pipe の広告を確認するだけで、pipe の存在や接続可能性は保証しません。
179
- `capabilities` は wake/wait/ACK と消費確認を未対応と明示します。任意の TS スキル
180
- メタデータ検査もインストールを行いません。[診断の境界](PARITY.md#source-read-only-doctor--18--020)
181
- を参照してください。SSH の両端には同じソースビルドが必要です。
182
- ## エージェントスキルの明示的な導入
183
-
184
- 別の `session-peer-ts` スキルを関連 PR で管理します。新しい npm 公開やスキルタグではありません。公開済み 0.1.0 の基本機能に対応し、TypeScript 表示とヘルプで開発機能を確認します。Python の `session-peer` スキルは別に維持します。
185
-
186
- [固定したスキルのソース](https://github.com/abruption/session-peer-skill/tree/081cc3c1d16a394bd92824333f4bc61c36951799/session-peer-ts)を確認してから、エージェントと導入範囲を選択してください。
187
- 以下の例は **Codex、現在のプロジェクト** を指定します。そのプロジェクトのディレクトリで実行してください。
188
- Claude Code では `--agent claude-code` を使用します。ユーザー単位の場合は add/list/remove の
189
- すべてに `--global` を付けてください。既存の `session-peer-ts` を置き換える前にローカルの変更を確認してください。
190
- Codex の `.agents/skills` は、このパスを探索する他のクライアントと共有されます。
191
-
192
- ```sh
193
- npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/081cc3c1d16a394bd92824333f4bc61c36951799/session-peer-ts --skill session-peer-ts --agent codex --copy --yes
194
- npx -y skills@1.7.0 list --agent codex --json
195
- npx -y skills@1.7.0 remove session-peer-ts --agent codex --yes
196
- ```
197
-
198
- 固定バージョンを更新するには、別の正確なコミットを確認し、同じエージェントと範囲で `add` を再実行します。
199
- 一覧がキャッシュされている場合はエージェントを再起動してください。ランタイムとスキルは独立して管理されます。
200
- npm `--ignore-scripts` は利用でき、postinstall は Skills CLI を呼び出しません。
201
- このスキルの導入は Python スキルを上書きせず、ランタイムもインストールしません。
202
- [互換性と検証](PARITY.md#source-ts-skill-guidance--25--020)を参照してください。
69
+ 連携スキルの導入・更新は別に行います。npm インストールはスキルを導入しません。
70
+ ガイドの固定コミットに基づくスキル導入手順を確認してください。
71
+
72
+ <!-- Preserve links to the former detailed sections; their contents are in the guide. -->
73
+ <a id="機能と範囲"></a>
74
+ <a id="020-の統合一覧"></a>
75
+ <a id="020-cli-の使いやすさ"></a>
76
+ <a id="必要条件"></a>
77
+ <a id="インストール"></a>
78
+ <a id="ソースからビルド"></a>
79
+ <a id="既存インストールとの共存"></a>
80
+ <a id="使い方"></a>
81
+ <a id="ssh"></a>
82
+ <a id="返信"></a>
83
+ <a id="成功の意味と安全性"></a>
84
+ <a id="開発と検証"></a>
85
+ <a id="npm-リリース"></a>
86
+ <a id="関連プロジェクト"></a>
87
+ <a id="020-の読み取り専用診断"></a>
88
+ <a id="エージェントスキルの明示的な導入"></a>
89
+
90
+ ## Docs
91
+
92
+ - [ユーザーガイド](docs/guide.ja.md) — CLI オプション、探索、Codex home、SSH、返信、導入方法とスキル設定.
93
+ - [API リファレンス(英語)](docs/api.md).
94
+ - [互換性・移行・機能計画](PARITY.md).
95
+ - [リリース証拠・プラットフォーム検証](VALIDATION.md).
96
+ - [開発・貢献](CONTRIBUTING.md).
97
+ - [リリース手順](RELEASING.md).
98
+
99
+ ## License
100
+
101
+ [MIT ライセンス](LICENSE)で公開しています。
102
+
103
+ ## Support and security
104
+
105
+ 利用上の質問と再現可能な不具合は[イシュー](https://github.com/abruption/session-peer-ts/issues)へ。
106
+ 脆弱性は[非公開報告](https://github.com/abruption/session-peer-ts/security/advisories/new)または
107
+ [support@abruption.dev](mailto:support@abruption.dev?subject=%5Bsession-peer-ts%5D%20Security)へ送ってください。
108
+ [SECURITY.md](SECURITY.md)を確認し、認証情報・メッセージ・個人のパスを除去してください。