session-peer 0.5.0 → 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 +133 -1
- package/README.ja.md +13 -10
- package/README.ko.md +13 -10
- package/README.md +13 -10
- package/README.zh-CN.md +13 -10
- package/RELEASING.md +122 -0
- package/VALIDATION.md +80 -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 +5 -3
- package/docs/api.md +130 -7
- package/docs/design/remote-deployment.md +8 -0
- package/docs/design/typescript-skill-compatibility.md +39 -1
- 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 +5 -3
package/dist/send.js
CHANGED
|
@@ -4,7 +4,8 @@ import { createConnection } from 'node:net';
|
|
|
4
4
|
import { closeSync, constants, fstatSync, lstatSync, openSync } from 'node:fs';
|
|
5
5
|
import { homedir } from 'node:os';
|
|
6
6
|
import { join } from 'node:path';
|
|
7
|
-
import { claude, Refusal
|
|
7
|
+
import { claude, Refusal } from './discovery.js';
|
|
8
|
+
import { classifyCodexStorage, codexConsumerCwd, codexConsumerSnapshotSync, codexStoragePin, codexWriterCwd, codexWriterStorage, storageDiagnostic } from './codex-storage.js';
|
|
8
9
|
import { executable, run, UnknownOutcome } from './process.js';
|
|
9
10
|
import { HomeRefusal, resolveWriter, revalidateWriter, uuid } from './writer.js';
|
|
10
11
|
import { postWindowsPipe } from './windows.js';
|
|
@@ -100,13 +101,62 @@ export async function send(options) {
|
|
|
100
101
|
if (!uuid(id))
|
|
101
102
|
throw new Refusal('codex_uuid_required');
|
|
102
103
|
const binary = executable(options.codexBin ?? 'codex');
|
|
104
|
+
const executableEvidence = () => {
|
|
105
|
+
try {
|
|
106
|
+
const info = lstatSync(binary, { bigint: true });
|
|
107
|
+
if (!info.isFile())
|
|
108
|
+
throw new Error();
|
|
109
|
+
return [info.dev, info.ino, info.size, info.mtimeNs, info.ctimeNs].join(':');
|
|
110
|
+
}
|
|
111
|
+
catch {
|
|
112
|
+
throw new Refusal('codex_storage_loader_unverifiable', 1);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
const binaryEvidence = executableEvidence();
|
|
103
116
|
const selection = await resolveWriter(options.home, id, options.allowInactive);
|
|
104
117
|
const { home } = selection;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
throw new HomeRefusal(
|
|
118
|
+
if (!['darwin', 'linux'].includes(process.platform)) {
|
|
119
|
+
const platformStorage = classifyCodexStorage({ home });
|
|
120
|
+
throw new HomeRefusal(platformStorage.code, selection.resolution);
|
|
121
|
+
}
|
|
122
|
+
const refuseStorage = (check) => {
|
|
123
|
+
if (check.status !== 'classified')
|
|
124
|
+
throw new HomeRefusal(check.code, selection.resolution);
|
|
125
|
+
return check;
|
|
126
|
+
};
|
|
127
|
+
let consumerCwd;
|
|
128
|
+
try {
|
|
129
|
+
consumerCwd = await codexConsumerCwd(home, id);
|
|
130
|
+
}
|
|
131
|
+
catch {
|
|
132
|
+
throw new HomeRefusal('codex_consumer_context_unverifiable', selection.resolution);
|
|
133
|
+
}
|
|
134
|
+
let writerPid, writerCwd, selectedDatabase;
|
|
135
|
+
try {
|
|
136
|
+
const proof = JSON.parse(selection.evidence);
|
|
137
|
+
const selected = proof.fingerprints.find(item => item.home === home);
|
|
138
|
+
selectedDatabase = selected.database;
|
|
139
|
+
if (codexConsumerSnapshotSync(home, id).database !== selectedDatabase)
|
|
140
|
+
throw new Error();
|
|
141
|
+
writerPid = JSON.parse(selected.writer).pid;
|
|
142
|
+
if (writerPid !== undefined) {
|
|
143
|
+
writerCwd = codexWriterCwd(writerPid);
|
|
144
|
+
codexWriterStorage(writerPid, home);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
catch {
|
|
148
|
+
throw new HomeRefusal('codex_consumer_context_unverifiable', selection.resolution);
|
|
149
|
+
}
|
|
150
|
+
const consumerCwds = [consumerCwd, ...(writerCwd ? [writerCwd] : [])];
|
|
151
|
+
const queueCwd = process.cwd();
|
|
152
|
+
// Hooks may choose an owned app-server; that path binds its opened SQLite
|
|
153
|
+
// descriptors independently. Its fallback must revalidate the ordinary plan.
|
|
154
|
+
const provisionalOwned = !options.dryRun && Boolean(options.hooks?.submitCodex);
|
|
155
|
+
let ownedAppServer = provisionalOwned;
|
|
156
|
+
let storage = refuseStorage(classifyCodexStorage({ home, queueCwd, consumerCwds, ownedAppServer }));
|
|
108
157
|
const result = { ...base, target: { agent: 'codex', id }, codexHome: home,
|
|
109
|
-
status: options.dryRun ? 'validated' : 'queued', codexHomeResolution: selection.resolution
|
|
158
|
+
status: options.dryRun ? 'validated' : 'queued', codexHomeResolution: selection.resolution,
|
|
159
|
+
storage: storageDiagnostic(storage) };
|
|
110
160
|
let context;
|
|
111
161
|
if (options.hooks) {
|
|
112
162
|
// Bind the identity already captured by selection, not a second sample
|
|
@@ -118,7 +168,7 @@ export async function send(options) {
|
|
|
118
168
|
if (!identity)
|
|
119
169
|
throw new HomeRefusal('active_writer_unverified', selection.resolution);
|
|
120
170
|
const generation = live ? createHash('sha256').update(identity).digest('hex') : null;
|
|
121
|
-
context = { agent: 'codex', target: id, home, generation,
|
|
171
|
+
context = { agent: 'codex', target: id, home, generation, binary,
|
|
122
172
|
// Inactive evidence still binds a prepared intent across invocations. This
|
|
123
173
|
// private fingerprint is not a native incarnation or public generation.
|
|
124
174
|
writerIdentity: generation ?? createHash('sha256').update(JSON.stringify(selected)).digest('hex') };
|
|
@@ -129,24 +179,91 @@ export async function send(options) {
|
|
|
129
179
|
result.chars = [...body].length;
|
|
130
180
|
}
|
|
131
181
|
}
|
|
182
|
+
// Recheck the provisional evidence after asynchronous resolution, then
|
|
183
|
+
// classify the route actually selected by the handoff. Dry-run has no
|
|
184
|
+
// owned process/FD proof and always uses the ordinary metadata policy.
|
|
185
|
+
const actualOwned = !options.dryRun && Boolean(options.hooks?.submitCodex) &&
|
|
186
|
+
(options.hooks?.codexRoute ? options.hooks.codexRoute() === 'owned_app_server' : true);
|
|
187
|
+
const continuity = classifyCodexStorage({ home, queueCwd, consumerCwds, ownedAppServer: provisionalOwned });
|
|
188
|
+
result.storage = storageDiagnostic(continuity);
|
|
189
|
+
refuseStorage(continuity);
|
|
190
|
+
if (continuity.fingerprint !== storage.fingerprint)
|
|
191
|
+
throw new HomeRefusal('codex_storage_changed_before_queue', selection.resolution);
|
|
192
|
+
const actualStorage = classifyCodexStorage({ home, queueCwd, consumerCwds, ownedAppServer: actualOwned });
|
|
193
|
+
result.storage = storageDiagnostic(actualStorage);
|
|
194
|
+
storage = refuseStorage(actualStorage);
|
|
195
|
+
ownedAppServer = actualOwned;
|
|
132
196
|
if (options.dryRun)
|
|
133
197
|
return result;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
198
|
+
// Diagnostic probe only on an effectful send. Doctor and dry-run never
|
|
199
|
+
// execute an agent binary. Exact tags qualify loader semantics, not delivery.
|
|
200
|
+
const inherited = Object.fromEntries(Object.entries(process.env).filter(([key]) => !['CODEX_SQLITE_HOME', 'CODEX_HOME'].includes(key.toUpperCase())));
|
|
201
|
+
const env = { ...inherited, CODEX_HOME: home, PWD: storage.queueCwd };
|
|
202
|
+
const version = await run(binary, ['--version'], { env, cwd: storage.queueCwd, timeout: Math.min(3000, options.hooks?.timeoutMs?.() ?? 3000), limit: 4096 });
|
|
203
|
+
const nativeVersion = !version.interrupted && version.code === 0 && /^codex-cli \d+\.\d+\.\d+\s*$/.test(version.stdout) ? version.stdout.trim().slice(10) : '';
|
|
204
|
+
const qualified = refuseStorage(classifyCodexStorage({ home, queueCwd, consumerCwds, ownedAppServer, version: nativeVersion }));
|
|
205
|
+
if (qualified.fingerprint !== storage.fingerprint)
|
|
206
|
+
throw new HomeRefusal('codex_storage_changed_before_queue', selection.resolution);
|
|
207
|
+
result.storage = storageDiagnostic(qualified);
|
|
208
|
+
const guard = Object.freeze({ binary, cwd: qualified.queueCwd, async revalidate(owned = ownedAppServer) {
|
|
209
|
+
await revalidateWriter(selection, options.home, id, options.allowInactive);
|
|
210
|
+
try {
|
|
211
|
+
await codexConsumerCwd(home, id);
|
|
212
|
+
}
|
|
213
|
+
catch {
|
|
214
|
+
throw new HomeRefusal('codex_consumer_context_unverifiable', selection.resolution);
|
|
215
|
+
}
|
|
216
|
+
guard.finalCheck(owned);
|
|
217
|
+
}, finalCheck(owned = ownedAppServer) {
|
|
218
|
+
const checkConsumer = () => {
|
|
219
|
+
try {
|
|
220
|
+
const current = codexConsumerSnapshotSync(home, id);
|
|
221
|
+
if (current.database !== selectedDatabase || current.cwd !== consumerCwd)
|
|
222
|
+
throw new Error();
|
|
223
|
+
}
|
|
224
|
+
catch {
|
|
225
|
+
throw new HomeRefusal('codex_storage_changed_before_queue', selection.resolution);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
checkConsumer();
|
|
229
|
+
if (writerPid !== undefined) {
|
|
230
|
+
try {
|
|
231
|
+
if (codexWriterCwd(writerPid) !== writerCwd)
|
|
232
|
+
throw new Error();
|
|
233
|
+
codexWriterStorage(writerPid, home);
|
|
234
|
+
}
|
|
235
|
+
catch {
|
|
236
|
+
throw new HomeRefusal('codex_consumer_context_unverifiable', selection.resolution);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
const current = refuseStorage(classifyCodexStorage({ home, queueCwd, consumerCwds, ownedAppServer, version: nativeVersion }));
|
|
240
|
+
if (current.fingerprint !== qualified.fingerprint)
|
|
241
|
+
throw new HomeRefusal('codex_storage_changed_before_queue', selection.resolution);
|
|
242
|
+
if (owned !== ownedAppServer)
|
|
243
|
+
refuseStorage(classifyCodexStorage({ home, queueCwd, consumerCwds, ownedAppServer: owned, version: nativeVersion }));
|
|
244
|
+
checkConsumer();
|
|
245
|
+
if (executableEvidence() !== binaryEvidence)
|
|
246
|
+
throw new HomeRefusal('codex_storage_loader_changed', selection.resolution);
|
|
247
|
+
} });
|
|
248
|
+
await guard.revalidate();
|
|
140
249
|
// `--message=` keeps a body starting with `-` from being parsed as an option.
|
|
141
250
|
// An inherited CODEX_SQLITE_HOME would queue outside the validated home.
|
|
142
251
|
// Windows environment names are case-insensitive.
|
|
143
252
|
if (options.hooks?.submitCodex) {
|
|
144
|
-
const receipt = await options.hooks.submitCodex(context, options.message);
|
|
253
|
+
const receipt = await options.hooks.submitCodex(context, options.message, guard);
|
|
145
254
|
return { ...result, ...(receipt.queueId === undefined ? {} : { queueId: receipt.queueId }) };
|
|
146
255
|
}
|
|
147
|
-
const inherited = Object.fromEntries(Object.entries(process.env).filter(([key]) => key.toUpperCase() !== 'CODEX_SQLITE_HOME'));
|
|
148
256
|
await options.hooks?.beforeEffect?.();
|
|
149
|
-
|
|
257
|
+
await guard.revalidate();
|
|
258
|
+
// Capture a caller's remaining budget once, then charge the final sync I/O
|
|
259
|
+
// to that absolute cutoff without another callback or asynchronous gap.
|
|
260
|
+
const remaining = options.hooks?.timeoutMs?.();
|
|
261
|
+
const cutoff = remaining === undefined ? undefined : performance.now() + remaining;
|
|
262
|
+
guard.finalCheck();
|
|
263
|
+
const timeout = cutoff === undefined ? 30000 : Math.floor(cutoff - performance.now());
|
|
264
|
+
if (!Number.isFinite(timeout) || timeout < 1)
|
|
265
|
+
throw new HomeRefusal('deadline_before_effect', selection.resolution);
|
|
266
|
+
const done = await run(binary, ['queue', '--thread', id, `--message=${options.message}`, '-c', codexStoragePin(home)], { env, cwd: guard.cwd, timeout });
|
|
150
267
|
if (!done.spawned)
|
|
151
268
|
throw new HomeRefusal('native_spawn_failed', selection.resolution);
|
|
152
269
|
if (done.interrupted || done.code !== 0)
|
package/dist/skill-metadata.js
CHANGED
|
@@ -9,15 +9,17 @@ const verdict = (compatible) => ({ status: compatible ? 'compatible' : 'incompat
|
|
|
9
9
|
code: compatible ? 'skill_contract_compatible' : 'skill_contract_mismatch', verification: 'metadata_only' });
|
|
10
10
|
export const SKILL_METADATA_LIMIT = 65536;
|
|
11
11
|
const keys = ['version', 'runtime-implementation', 'runtime-min-version', 'runtime-full-version', 'runtime-capability-policy'];
|
|
12
|
-
// Preserve each published runtime/profile result. The 0.5.
|
|
13
|
-
// carries forward only the four exact profiles accepted by public 0.
|
|
12
|
+
// Preserve each published runtime/profile result. The 0.5.2 release row
|
|
13
|
+
// carries forward only the four exact profiles accepted by public 0.5.1.
|
|
14
14
|
// Metadata compatibility does not authenticate content or publish/install a skill.
|
|
15
15
|
// Every later runtime/profile requires separate review; no version ranges.
|
|
16
16
|
const matrix = {
|
|
17
17
|
'0.3.2': ['0.1.0'], '0.3.3': ['0.1.0', '0.2.0'], '0.3.4': ['0.1.0', '0.2.0'],
|
|
18
18
|
'0.3.5': ['0.1.0', '0.2.0', '0.2.1'], '0.3.6': ['0.1.0', '0.2.0', '0.2.1'],
|
|
19
19
|
'0.4.0': ['0.1.0', '0.2.0', '0.2.1', '0.3.0'],
|
|
20
|
-
'0.5.0': ['0.1.0', '0.2.0', '0.2.1', '0.3.0']
|
|
20
|
+
'0.5.0': ['0.1.0', '0.2.0', '0.2.1', '0.3.0'],
|
|
21
|
+
'0.5.1': ['0.1.0', '0.2.0', '0.2.1', '0.3.0'],
|
|
22
|
+
'0.5.2': ['0.1.0', '0.2.0', '0.2.1', '0.3.0']
|
|
21
23
|
};
|
|
22
24
|
const profiles = {
|
|
23
25
|
'0.1.0': ['0.1.0', 'typescript', '0.1.0', '0.1.0', 'probe-help'],
|
package/docs/api.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# API reference
|
|
2
2
|
|
|
3
|
-
This reference describes source/package version **0.5.
|
|
3
|
+
This reference describes source/package version **0.5.2**. Check registry availability and review the selected release before installation. Dated release evidence is recorded in [VALIDATION.md](../VALIDATION.md); before publication use a reviewed source artifact.
|
|
4
4
|
|
|
5
5
|
[Back to README](../README.md) · [User guide](guide.md)
|
|
6
6
|
|
|
7
7
|
The package exposes a small ESM API with TypeScript declarations. Install it
|
|
8
|
-
locally with `npm install --ignore-scripts session-peer@0.5.
|
|
8
|
+
locally with `npm install --ignore-scripts session-peer@0.5.2` before importing it.
|
|
9
9
|
Importing the package does not execute the CLI or submit a message.
|
|
10
10
|
|
|
11
11
|
```js
|
|
12
12
|
import { VERSION, VERSION_LINE, reply, envelope } from 'session-peer';
|
|
13
13
|
|
|
14
|
-
console.log(VERSION); // 0.5.
|
|
15
|
-
console.log(VERSION_LINE); // session-peer 0.5.
|
|
14
|
+
console.log(VERSION); // 0.5.2
|
|
15
|
+
console.log(VERSION_LINE); // session-peer 0.5.2 (typescript)
|
|
16
16
|
const address = 'session-peer://v1/reply?agent=claude&session=12345&transport=local';
|
|
17
17
|
console.log(reply(address)); // { to: '12345' }
|
|
18
18
|
console.log(envelope('Please review and reply.', true, address));
|
|
@@ -36,6 +36,129 @@ The ordinary SSH response correction is documented separately as the [0.3.3 ordi
|
|
|
36
36
|
|
|
37
37
|
<a id="unreleased-opt-in-handoff-cli--040-work"></a>
|
|
38
38
|
|
|
39
|
+
<a id="codex-storage-configuration"></a>
|
|
40
|
+
|
|
41
|
+
## Codex storage configuration guards
|
|
42
|
+
|
|
43
|
+
The source implementation added after baseline `90481b1` extends its
|
|
44
|
+
selected-home check with bounded local loader-layer classification. The published
|
|
45
|
+
0.5.1 comparison in PARITY is retained as dated evidence. Availability is determined
|
|
46
|
+
by the selected release record; source/fixture results do not establish publication
|
|
47
|
+
or new native delivery qualification.
|
|
48
|
+
|
|
49
|
+
The ordinary queue loader is reviewed at exact native Codex versions **0.160.1,
|
|
50
|
+
0.162.1 and 0.165.0**, independently of the narrower observation profile table.
|
|
51
|
+
An effectful send probes the explicitly selected binary's reported version and
|
|
52
|
+
retains its file identity. Doctor and dry-run never execute the agent binary;
|
|
53
|
+
their `loaderVersionVerified:false` result is not native queue authorization.
|
|
54
|
+
|
|
55
|
+
Darwin and Linux classify the selected-home `config.toml`, system
|
|
56
|
+
`/etc/codex/config.toml`, `requirements.toml` and legacy `managed_config.toml`,
|
|
57
|
+
plus project configuration for the physical queue cwd and the saved target
|
|
58
|
+
thread's cwd. A live writer additionally needs an observable physical cwd and
|
|
59
|
+
opened state-database descriptor matching the selected inode; a queried sender
|
|
60
|
+
version does not establish the running consumer's configuration. macOS reads only
|
|
61
|
+
forced `config_toml_base64` / `requirements_toml_base64` values for
|
|
62
|
+
`com.openai.codex`, checking forced status before and after value retrieval.
|
|
63
|
+
|
|
64
|
+
Windows local storage classification is unqualified: Codex send/dry-run refuse
|
|
65
|
+
before queue submission until its native known-folder and process/storage
|
|
66
|
+
inspection contract is supported. This does not disable ordinary Claude paths
|
|
67
|
+
or qualify Linux/Windows observation. A reused native daemon retains startup
|
|
68
|
+
storage that these local reads cannot attest to; its existing control-socket
|
|
69
|
+
metadata causes refusal without connecting to or stopping it. The separately
|
|
70
|
+
owned stdio app-server path must bind its opened SQLite files independently.
|
|
71
|
+
|
|
72
|
+
Cloud config bundles can supply configuration and storage requirements. Cache
|
|
73
|
+
absence alone is insufficient because native loaders may fetch a bundle.
|
|
74
|
+
Without reading credential/cache contents, ordinary queue classification refuses
|
|
75
|
+
when selected-home `auth.json` or `cloud-config-bundle-cache.json` metadata is
|
|
76
|
+
present, when configuration selects keyring/auto credential storage, or when
|
|
77
|
+
external identity markers or a config server make cloud applicability unknown.
|
|
78
|
+
The conservative selector scan also includes inactive/nested tables; it does not
|
|
79
|
+
claim that native legacy profiles apply those selectors.
|
|
80
|
+
**This includes ordinary signed-in file-auth homes even when their actual account
|
|
81
|
+
would not receive cloud policy.** The refusal is
|
|
82
|
+
`codex_cloud_storage_unverified`; it is not a determination that relocation is
|
|
83
|
+
configured. File-auth/cache absence plus source-qualified local selectors permits
|
|
84
|
+
the clean ordinary path. The separately requested owned app-server route may
|
|
85
|
+
continue only with its actual opened-storage binding; local metadata alone is
|
|
86
|
+
not substituted for that proof.
|
|
87
|
+
|
|
88
|
+
Nonempty native exec-server/Noise environment markers and selected-home
|
|
89
|
+
`environments.toml` metadata cause refusal on both paths. The adapter classifies
|
|
90
|
+
local storage only and does not attach to remote workspaces. Alternative V2 user
|
|
91
|
+
profiles in the reviewed loaders require explicit `--profile`/`-p` arguments;
|
|
92
|
+
these native invocations do not select them. Diagnostic fields identify the local
|
|
93
|
+
layer scope and cloud applicability; they never certify complete effective policy.
|
|
94
|
+
|
|
95
|
+
Configuration files are bounded regular-file reads (1 MiB per file, 8 MiB total),
|
|
96
|
+
with fatal UTF-8/TOML decoding and observable descriptor/path identity and
|
|
97
|
+
stability checks. Project ancestry is capped at 256 directories. Explicit custom
|
|
98
|
+
project markers use a conservative ancestor superset, which can refuse an
|
|
99
|
+
otherwise unused ancestor configuration; the result is not a complete model of
|
|
100
|
+
native project trust. System metadata helpers have bounded output/timeouts;
|
|
101
|
+
byte bounds do not promise a deadline for arbitrary filesystem I/O.
|
|
102
|
+
|
|
103
|
+
Ordinary queue processes keep the sender's physical cwd. A malformed or unsafe
|
|
104
|
+
project config in that directory can therefore refuse a send independently of
|
|
105
|
+
the target's cwd. The guard also inspects conservative consumer/ancestor context
|
|
106
|
+
supersets without reproducing the native project-trust decision, so it can reject
|
|
107
|
+
configuration the native loader would ignore as untrusted. Missing/deleted saved
|
|
108
|
+
thread cwd, config symlinks, an unclassifiable selected DB or unavailable fixed
|
|
109
|
+
system metadata helpers also refuse; these are explicit availability limits.
|
|
110
|
+
|
|
111
|
+
Unsupported root `sqlite_home`, malformed/unreadable configuration, unsupported
|
|
112
|
+
reported loader versions, conflicting process/file evidence and changes before
|
|
113
|
+
dispatch refuse submission. Errors include `unsupported_codex_sqlite_home`,
|
|
114
|
+
`codex_config_unreadable`, `codex_storage_config_unverifiable`,
|
|
115
|
+
`codex_storage_loader_unsupported`, `codex_daemon_storage_unverified`,
|
|
116
|
+
`codex_consumer_context_unverifiable`, `codex_consumer_storage_unverifiable`,
|
|
117
|
+
`codex_cloud_storage_unverified` and `codex_storage_changed_before_queue`.
|
|
118
|
+
Doctor readiness describes ordinary local classification. A signed-in or other
|
|
119
|
+
cloud-unclassifiable home can report `ready:false` and omit the selected DB
|
|
120
|
+
schema/count check, even when a separately qualified owned route could later
|
|
121
|
+
supply stronger storage evidence. Reader failure is not proof of a missing DB.
|
|
122
|
+
Entry-file identity continuity covers the selected executable entry, not every
|
|
123
|
+
transitive binary a trusted wrapper might launch.
|
|
124
|
+
|
|
125
|
+
Public `storage` diagnostics contain layer names and classifications; content
|
|
126
|
+
hashes, configuration paths, raw TOML and preference values stay private.
|
|
127
|
+
|
|
128
|
+
Ordinary, fallback and owned app-server paths recheck applicable evidence before
|
|
129
|
+
effect while retaining original writer and deadline rules. A quoted explicit
|
|
130
|
+
`sqlite_home` pin enforces the already-classified selected location; it does not
|
|
131
|
+
adopt a configured relocation. This is an observable continuity guard, not an
|
|
132
|
+
atomic filesystem/configuration snapshot or protection against an undetectable
|
|
133
|
+
same-user rewrite. Missing evidence never permits fallback after an attempt or
|
|
134
|
+
an automatic retry of an unknown outcome.
|
|
135
|
+
|
|
136
|
+
The reviewed project-discovery implementation reads `dir/.codex/config.toml`;
|
|
137
|
+
its older summary comment mentioning `cwd/config.toml` is not the implemented
|
|
138
|
+
path. Git files (including worktree markers) stop root discovery; a `.git`
|
|
139
|
+
directory needs its HEAD marker. The ordinary startup path uses embedded
|
|
140
|
+
packaged defaults, whose reviewed TOML contains no `sqlite_home`; it does not
|
|
141
|
+
supply the programmatic packaged-defaults-file override. Legacy root `profile`
|
|
142
|
+
selection is rejected by the reviewed core, and `ConfigProfile` has no
|
|
143
|
+
`sqlite_home` member or storage flattening. A nested profile key is not promoted
|
|
144
|
+
to a root storage override. The global `-c` option is present in all three
|
|
145
|
+
reviewed CLI parsers and can follow the queue message argument.
|
|
146
|
+
|
|
147
|
+
Source review pins:
|
|
148
|
+
|
|
149
|
+
| Native tag | Upstream source commit |
|
|
150
|
+
| --- | --- |
|
|
151
|
+
| 0.160.1 | [`d27764b82f7118f674371e6d6e76271d9d606edb`](https://github.com/openai/codex/tree/d27764b82f7118f674371e6d6e76271d9d606edb/codex-rs/config/src/loader) |
|
|
152
|
+
| 0.162.1 | [`092d3acd6bec3e3a14bdc7e7a2810ab628ab759d`](https://github.com/openai/codex/tree/092d3acd6bec3e3a14bdc7e7a2810ab628ab759d/codex-rs/config/src/loader) |
|
|
153
|
+
| 0.165.0 | [`360319d8dee62d87e2d59fc0c21805d79519cfed`](https://github.com/openai/codex/tree/360319d8dee62d87e2d59fc0c21805d79519cfed/codex-rs/config/src/loader) |
|
|
154
|
+
|
|
155
|
+
All three macOS loader files have SHA-256
|
|
156
|
+
`36dd560f67b3b45bf3d63f4e2b962571456c12dc2f9ca55304f8729d49bee0c5`.
|
|
157
|
+
The comparison also inspects Python
|
|
158
|
+
[`f5e7c49554ff02771990a151e00b52f2abf3df0a`](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/codex.py).
|
|
159
|
+
These are static source and isolated-fixture checks; no native Codex queue,
|
|
160
|
+
user session, delivery/ACK or remote-host qualification was run for this change.
|
|
161
|
+
|
|
39
162
|
## Opt-in handoff CLI — 0.4.0
|
|
40
163
|
|
|
41
164
|
0.4.0 includes an explicit private POSIX sender ledger. Default sends retain
|
|
@@ -91,7 +214,7 @@ message/transcript scan manufactures ACK. Ordinary generated Reply-To stays v1.
|
|
|
91
214
|
|
|
92
215
|
POSIX opt-in `send --host HOST` performs an exact-version preflight and a
|
|
93
216
|
no-effect preparation before one destination-side send. Both ends must contain
|
|
94
|
-
the same reviewed 0.5.
|
|
217
|
+
the same reviewed 0.5.2 implementation. This workflow was introduced in
|
|
95
218
|
0.4.0; a 0.3.x banner does not establish the capability. Initialize the destination's private ledger explicitly; no command
|
|
96
219
|
auto-installs a handler or initializes missing history. The origin does not
|
|
97
220
|
create a local receipt collector. Reconcile with `handoff status`/`wait` on the
|
|
@@ -193,7 +316,7 @@ requested evidence goal. After any possible RPC write, no legacy fallback or
|
|
|
193
316
|
second submission occurs.
|
|
194
317
|
|
|
195
318
|
Selection is by the exact host platform/architecture and native version.
|
|
196
|
-
The 0.5.
|
|
319
|
+
The 0.5.2 source records a Linux arm64 Codex 0.162.1 candidate (pinned musl
|
|
197
320
|
executable, procfs storage binding, `/proc/locks` writer-owner check) but does
|
|
198
321
|
not activate it. Linux and any other unlisted platform/version have no
|
|
199
322
|
profile, so required delivery refuses before effect and best-effort uses the
|
|
@@ -273,7 +396,7 @@ a completed milestone. Exact evidence and limits are in [VALIDATION](../VALIDATI
|
|
|
273
396
|
|
|
274
397
|
## 0.4.0 implementation scope
|
|
275
398
|
|
|
276
|
-
The 0.5.
|
|
399
|
+
The 0.5.2 source preserves this supported handoff scope; its Linux and Windows
|
|
277
400
|
groundwork does not enable additional platform or ACK support.
|
|
278
401
|
|
|
279
402
|
The 0.4.0 implementation includes the qualified macOS arm64 observer and explicit
|
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
| Decision owner | Repository maintainer |
|
|
11
11
|
| Supersedes | Nothing. The exact-version preflight stays in force until the follow-ups below are implemented and verified |
|
|
12
12
|
|
|
13
|
+
**Qualification follow-up (proposal, 2026-10-21):**
|
|
14
|
+
[Issue #158's checklist-first design](https://github.com/abruption/session-peer-ts/issues/158) proposes
|
|
15
|
+
an assessment workflow with a separately requested, repository-only read-only
|
|
16
|
+
reporter, without a new authority or recovery engine. Draft #155
|
|
17
|
+
is deferred and excluded from 0.5.0. The historical workflow and evidence below
|
|
18
|
+
remain context; the new proposal implements none of the F1–F6 follow-ups and
|
|
19
|
+
requires human PR review; it does not authorize provisioning or remediation.
|
|
20
|
+
|
|
13
21
|
## Contents
|
|
14
22
|
|
|
15
23
|
- [Context](#context)
|
|
@@ -2,7 +2,45 @@
|
|
|
2
2
|
|
|
3
3
|
This document retains the original TS source proposal and dated design review for [#118](https://github.com/abruption/session-peer-ts/issues/118), based on the companion [Draft #20 at `963c3d7`](https://github.com/abruption/session-peer-skill/blob/963c3d748a11b1164013ee26c9c0ef285c52b285/docs/typescript-compatibility.md). Companion [design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the full static review of the exact candidates below on 2026-10-09. This design-only acceptance does not authorize runtime merge/release, successor skill metadata/publication, installation or pin changes, content authenticity, or live delivery support.
|
|
4
4
|
|
|
5
|
-
## 0.5.
|
|
5
|
+
## 0.5.2 finite row — 2026-10-30 KST release preparation
|
|
6
|
+
|
|
7
|
+
The 0.5.2 source explicitly accepts exactly the four profiles accepted by public
|
|
8
|
+
0.5.1: skill 0.1.0, 0.2.0, 0.2.1 and 0.3.0. Compiled default, explicit
|
|
9
|
+
`undefined`, explicit 0.5.2 and outer `inspectSkill` use this finite row. Matching
|
|
10
|
+
metadata returns exactly `compatible / skill_contract_compatible / metadata_only`;
|
|
11
|
+
changed profiles and unreviewed 0.5.3/0.6.0 identities remain incompatible.
|
|
12
|
+
Malformed runtime identities remain `unknown / skill_metadata_missing` with no
|
|
13
|
+
`verification` property. Historical matrix rows, metadata grammar and bounded
|
|
14
|
+
reader behavior are unchanged.
|
|
15
|
+
|
|
16
|
+
Storage-layer refusal is independent of this metadata-only acceptance. The new
|
|
17
|
+
row does not authenticate skill content, qualify a send route, expand native
|
|
18
|
+
support, publish/install a skill or change the existing immutable guidance pin.
|
|
19
|
+
Runtime publication remains a separate exact-source/artifact approval step.
|
|
20
|
+
|
|
21
|
+
The dated sections below describe their own source checkpoints. For example,
|
|
22
|
+
0.5.2 rejection by the historical 0.5.1 validator remains a historical helper
|
|
23
|
+
result, not the result of the compiled 0.5.2 validator. Supplying a historical
|
|
24
|
+
runtime string to a newer helper is not execution of that historical CLI.
|
|
25
|
+
|
|
26
|
+
## 0.5.1 finite row — 2026-10-27 KST release preparation
|
|
27
|
+
|
|
28
|
+
The 0.5.1 source candidate explicitly accepts the same four exact metadata
|
|
29
|
+
profiles as public 0.5.0: skill 0.1.0, 0.2.0, 0.2.1 and 0.3.0. Compiled default,
|
|
30
|
+
explicit `undefined`, explicit 0.5.1 and outer `inspectSkill` use this finite row.
|
|
31
|
+
The literal compatible result remains
|
|
32
|
+
`compatible / skill_contract_compatible / metadata_only`. Changed profiles and
|
|
33
|
+
unreviewed runtime identities such as 0.5.2 remain incompatible; malformed
|
|
34
|
+
runtime identities remain `unknown / skill_metadata_missing` without a
|
|
35
|
+
`verification` property. All historical rows remain explicit and unchanged.
|
|
36
|
+
|
|
37
|
+
The TOML dependency-correctness patch does not change this metadata parser or
|
|
38
|
+
its bounded reader, publish a new skill, adopt another installation pin or add
|
|
39
|
+
platform/ACK qualification. Runtime publication still requires its release gates;
|
|
40
|
+
these source fixtures are not proof of an actual npm publication. The existing
|
|
41
|
+
four-language skill 0.2.1 source/hash below remain unchanged.
|
|
42
|
+
|
|
43
|
+
## 0.5.0 finite row — historical release preparation
|
|
6
44
|
|
|
7
45
|
The 0.5.0 source candidate explicitly carries forward the same four exact skill
|
|
8
46
|
profiles as public 0.4.0: 0.1.0, 0.2.0, 0.2.1 and 0.3.0. The 0.3.0 profile
|
package/docs/guide.ja.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.ja.md)
|
|
4
10
|
|
|
5
11
|
[English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
|
|
6
12
|
|
|
7
|
-
**文書・ソースのバージョン: 0.5.
|
|
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.
|
|
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.
|
|
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 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
|
|
46
52
|
|
|
47
|
-
**0.5.
|
|
53
|
+
**0.5.2 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
|
|
48
54
|
|
|
49
55
|
## 機能と範囲
|
|
50
56
|
|
|
@@ -61,7 +67,7 @@ Relay 通信、MCP、wake/resume、Antigravity、自動更新は未実装です
|
|
|
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.
|
|
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
|
|
|
@@ -84,15 +90,15 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
|
|
|
84
90
|
|
|
85
91
|
Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
|
|
86
92
|
|
|
87
|
-
**0.5.
|
|
93
|
+
**0.5.2 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
|
|
88
94
|
|
|
89
95
|
```sh
|
|
90
|
-
npm view session-peer@0.5.
|
|
91
|
-
npm install --global --ignore-scripts session-peer@0.5.
|
|
96
|
+
npm view session-peer@0.5.2 version dist.integrity
|
|
97
|
+
npm install --global --ignore-scripts session-peer@0.5.2
|
|
92
98
|
session-peer --version
|
|
93
99
|
```
|
|
94
100
|
|
|
95
|
-
期待値は `session-peer 0.5.
|
|
101
|
+
期待値は `session-peer 0.5.2 (typescript)`。
|
|
96
102
|
|
|
97
103
|
1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
|
|
98
104
|
2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
|
|
@@ -111,7 +117,7 @@ npm run build
|
|
|
111
117
|
node dist/cli.js --version
|
|
112
118
|
npm pack --ignore-scripts
|
|
113
119
|
# 任意のグローバルインストール前に PATH の既存コマンドを確認
|
|
114
|
-
npm install --global --ignore-scripts ./session-peer-0.5.
|
|
120
|
+
npm install --global --ignore-scripts ./session-peer-0.5.2.tgz
|
|
115
121
|
session-peer --version
|
|
116
122
|
```
|
|
117
123
|
|
|
@@ -121,7 +127,7 @@ session-peer --version
|
|
|
121
127
|
|
|
122
128
|
インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
|
|
123
129
|
|
|
124
|
-
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.
|
|
130
|
+
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` で確認します。同じ prefix の `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` で削除します。
|
|
125
131
|
|
|
126
132
|
## 使い方
|
|
127
133
|
|
|
@@ -212,13 +218,13 @@ Python は開発時の比較基準です(v1.1.0、`8ca77cf31254c8287a2593fe484
|
|
|
212
218
|
|
|
213
219
|
## npm リリース
|
|
214
220
|
|
|
215
|
-
公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.5.
|
|
221
|
+
公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.5.2 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
|
|
216
222
|
|
|
217
223
|
0.2.1 は 2026-09-29 KST、0.2.0 は 2026-09-28 KST に公開・検証されました。
|
|
218
224
|
[0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
|
|
219
225
|
|
|
220
226
|
```sh
|
|
221
|
-
npm view session-peer@0.5.
|
|
227
|
+
npm view session-peer@0.5.2 version dist.integrity
|
|
222
228
|
npm view session-peer dist-tags
|
|
223
229
|
```
|
|
224
230
|
|
|
@@ -260,7 +266,7 @@ session-peer update --check --channel preview --output-format text
|
|
|
260
266
|
実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
|
|
261
267
|
対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
|
|
262
268
|
(既定、Homebrew、nvm、nvm-windows、fnm。例:
|
|
263
|
-
`npm install --global --ignore-scripts session-peer@0.5.
|
|
269
|
+
`npm install --global --ignore-scripts session-peer@0.5.2`)、マニフェストで
|
|
264
270
|
`session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
|
|
265
271
|
です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
|
|
266
272
|
アウト(`source`)、それ以外(`unknown`)では `updateCommand: null` と `guidance` の文だけを
|
|
@@ -355,4 +361,4 @@ native 観測は、macOS arm64 の厳密な Codex 0.160.1/0.162.1 と既存の
|
|
|
355
361
|
|
|
356
362
|
[Observation](api.md#unreleased-local-delivery-observation--72)
|
|
357
363
|
|
|
358
|
-
Linux・Windows の native 注入観測は未対応です。 0.5.
|
|
364
|
+
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) の後続作業です。
|