@corca-org/ceal-host-win32-x64 1.0.24 → 1.0.25
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/README.md +2 -2
- package/bin/ceal-host.exe +0 -0
- package/libexec/ceal-host/ceal-host-background.exe +0 -0
- package/libexec/ceal-host/claude-hook.mjs +183 -77
- package/libexec/ceal-host/claude-invocation-authentication.mjs +322 -100
- package/libexec/ceal-host/claude-producer.mjs +175 -69
- package/libexec/ceal-host/codex-hook.mjs +170 -64
- package/libexec/ceal-host/codex-invocation-authentication.mjs +307 -85
- package/libexec/ceal-host/codex-producer.mjs +164 -58
- package/libexec/ceal-host/control.mjs +563 -210
- package/libexec/ceal-host/relay.mjs +115 -29
- package/package.json +1 -1
- package/share/ceal-host/bundle-manifest.json +13 -13
- package/share/ceal-host/bundle-manifest.sigstore.json +1 -1
|
@@ -277,6 +277,12 @@ var CALLER_RECOVERABLE_NEXT_ACTION_VALUES = [
|
|
|
277
277
|
// (never connected, revoked, or expired). The caller runs that exact
|
|
278
278
|
// Operation, completes the consent it hands back, and retries the same call.
|
|
279
279
|
"connect_personal_account",
|
|
280
|
+
// The refusal names the caller's own preferences update step: the read
|
|
281
|
+
// needs a personal connection the caller holds but has not selected in
|
|
282
|
+
// Ceal preferences, or has not confirmed through the initial review. The
|
|
283
|
+
// caller reads personal.preferences.get, runs personal.preferences.update
|
|
284
|
+
// at the current revision to select it, and retries the same call.
|
|
285
|
+
"update_personal_preferences",
|
|
280
286
|
// The provider or Gateway named a bounded wait; the caller waits that long
|
|
281
287
|
// and submits the same read again.
|
|
282
288
|
"retry_after",
|
|
@@ -823,9 +829,11 @@ var LOCAL_COMMAND_INVALID = "The local command or argument is invalid.";
|
|
|
823
829
|
var LOCAL_TRANSPORT_INCOMPLETE = "The local Ceal transport could not complete; report this as a gap.";
|
|
824
830
|
var GATEWAY_TRANSPORT_UNAVAILABLE = "The Gateway transport is unavailable; ask an administrator to restore Gateway availability.";
|
|
825
831
|
var HOST_AUTHENTICATION_UNAVAILABLE = "The Host could not authenticate this invocation; report this as a gap.";
|
|
826
|
-
var
|
|
832
|
+
var CEAL_CLIENT_UPGRADE_COMMAND = "npm install -g @corca-org/ceal";
|
|
833
|
+
var CLIENT_HOST_RELEASE_MISMATCH = `Install or upgrade the Ceal CLI and Host Relay to the same release as the Gateway, then retry. Update with \`${CEAL_CLIENT_UPGRADE_COMMAND}\`.`;
|
|
827
834
|
var HOST_INSTALL_REPAIR = "The local Host or Relay is missing, stale, or unavailable. Run `ceal-host install`, then `ceal-host discovery sync`, and retry from a new producer conversation.";
|
|
828
|
-
var HOST_CONTEXT_UNAVAILABLE = "The Host could not select this turn;
|
|
835
|
+
var HOST_CONTEXT_UNAVAILABLE = "The Host could not select this turn right now; the Host may be restarting. Wait briefly and retry the same command. If you know you are in an ephemeral side conversation, `ceal --standalone ...` uses your configured Ceal session/Gateway permissions without Host session/turn correlation. Otherwise return to the original regular conversation. Host refusal never switches modes. If the retry still fails, report intended Host calls as a gap.";
|
|
836
|
+
var HOST_RELAY_RESTARTING = "The Host Relay is temporarily unavailable while the Host restarts; wait briefly and retry the same command. If the retry still fails, report this as a gap.";
|
|
829
837
|
var SESSION_CONTEXT_UNAVAILABLE = "The local Gateway session context is unavailable.";
|
|
830
838
|
var SESSION_ADOPT_RECOVERY = "The refresh Session is no longer usable. Run `ceal session adopt --gateway <origin> --email <email>` to complete mailbox-confirmed recovery.";
|
|
831
839
|
function guidance(message, next_action, http_status, retryable = false, redaction_class = "model_safe") {
|
|
@@ -855,6 +863,9 @@ var CEAL_FAILURE_GUIDANCE_TABLE = Object.freeze({
|
|
|
855
863
|
person_inactive: guidance("The Person is inactive, so the Gateway refused this refresh without revoking the Session family. Ask an Admin to reactivate the Person, then retry this same session refresh.", "ask_admin", 403),
|
|
856
864
|
principal_inactive: guidance("The Principal is inactive, so the Gateway refused this refresh without revoking the Session family. Ask an Admin to reactivate the Principal, then retry this same session refresh.", "ask_admin", 403),
|
|
857
865
|
authority_replaced: guidance("The Gateway authority has been replaced; this session is no longer valid here. Run `ceal session adopt --gateway <origin> --email <email>` against the current Gateway to complete mailbox-confirmed recovery.", "repair_or_adopt_session", 409),
|
|
866
|
+
// A stored session that predates the authority-epoch commitment carries no
|
|
867
|
+
// epoch to compare, so it can never refresh: adopt a fresh session instead.
|
|
868
|
+
authority_epoch_unknown: guidance(SESSION_ADOPT_RECOVERY, "repair_or_adopt_session", 401),
|
|
858
869
|
refresh_inactive: guidance(SESSION_ADOPT_RECOVERY, "repair_or_adopt_session", 410),
|
|
859
870
|
refresh_recovery_unavailable: guidance("The Gateway's durable refresh-recovery key is unavailable. Retry the same refresh attempt after the key is available.", "retry", 503, true),
|
|
860
871
|
refresh_recovery_outcome_unavailable: guidance("The Gateway could not safely recover the outcome of a prior refresh. Ask an administrator to inspect the Gateway session state before retrying or adopting this session.", "ask_admin", 503),
|
|
@@ -979,7 +990,7 @@ var CEAL_FAILURE_GUIDANCE_TABLE = Object.freeze({
|
|
|
979
990
|
host_session_unavailable: guidance(HOST_AUTHENTICATION_UNAVAILABLE, "answer_with_gap", 401),
|
|
980
991
|
// The bounded Host reason does not prove ephemerality. A Host refusal never
|
|
981
992
|
// changes mode; standalone remains the separate Client authority path.
|
|
982
|
-
host_context_unavailable: guidance(HOST_CONTEXT_UNAVAILABLE, "
|
|
993
|
+
host_context_unavailable: guidance(HOST_CONTEXT_UNAVAILABLE, "retry", 401, true),
|
|
983
994
|
host_context_activation_wait_exhausted: guidance("The Host selected this turn, but its invocation context did not activate before the bounded wait ended. Wait for the supplied retry_after_ms value, then retry the same command.", "retry_after", 401, true),
|
|
984
995
|
host_invocation_context_stale: guidance("The Host turn changed while this invocation was authenticating. Its command cannot be rebound safely; report this invocation as a gap.", "answer_with_gap", 401),
|
|
985
996
|
host_invocation_context_expired: guidance("The Host invocation context expired before authentication completed. This invocation cannot be retried in the expired turn; report it as a gap.", "answer_with_gap", 401),
|
|
@@ -996,7 +1007,7 @@ var CEAL_FAILURE_GUIDANCE_TABLE = Object.freeze({
|
|
|
996
1007
|
// Moved from the retired `CEAL_HOST_AUTHENTICATION_POLICY` remedy: the
|
|
997
1008
|
// sandboxed Relay socket names the run-alone retry.
|
|
998
1009
|
host_relay_permission_denied: guidance("An agent sandbox denied the Host Relay socket; run `ceal` as the only command, with no pipe, redirect, or `&&`, so the Host allow rule runs it outside the sandbox.", "rerun_outside_agent_sandbox", 403),
|
|
999
|
-
host_relay_unavailable: guidance(
|
|
1010
|
+
host_relay_unavailable: guidance(HOST_RELAY_RESTARTING, "retry", 503, true),
|
|
1000
1011
|
host_mint_transient_retryable: guidance(HOST_AUTHENTICATION_UNAVAILABLE, "retry", 503, true),
|
|
1001
1012
|
host_mint_failed: guidance(HOST_AUTHENTICATION_UNAVAILABLE, "answer_with_gap", 500),
|
|
1002
1013
|
host_relay_failed: guidance(HOST_INSTALL_REPAIR, "install_ceal_host", 502),
|
|
@@ -1254,7 +1265,7 @@ var CEAL_OPERATION_JSON_SCHEMA_BUDGET = Object.freeze({
|
|
|
1254
1265
|
max_literal_nodes: 512
|
|
1255
1266
|
});
|
|
1256
1267
|
|
|
1257
|
-
// packages/ceal-client-protocol/src/operation-json-schema.ts
|
|
1268
|
+
// packages/ceal-client-protocol/src/operation-json-schema-leaf-validators.ts
|
|
1258
1269
|
var JSON_DESCRIPTION_CONTROL_CHARACTER = new RegExp("\\p{Cc}", "u");
|
|
1259
1270
|
|
|
1260
1271
|
// packages/ceal-client-protocol/src/operation-contract-validation.ts
|
|
@@ -1408,7 +1419,8 @@ var CEAL_OPERATION_ID_PLACEHOLDER = "<operation-id>";
|
|
|
1408
1419
|
var CEAL_OPERATION_INPUT_PLACEHOLDER = "<json-object>";
|
|
1409
1420
|
var MODEL_INVOCATION_BASE_ARGUMENTS = [CEAL_OPERATION_INVOKE_COMMAND, CEAL_OPERATION_ID_PLACEHOLDER].join(" ");
|
|
1410
1421
|
var CEAL_MODEL_INVOCATION_ARGUMENTS = [MODEL_INVOCATION_BASE_ARGUMENTS, CEAL_OPERATION_INPUT_FLAG, shellSingleQuoted(CEAL_OPERATION_INPUT_PLACEHOLDER)].join(" ");
|
|
1411
|
-
var
|
|
1422
|
+
var CEAL_MODEL_INPUT_SOURCE_BASE_GUIDANCE = `For caller-owned fields, add ${CEAL_OPERATION_INPUT_FLAG} ${shellSingleQuoted(CEAL_OPERATION_INPUT_PLACEHOLDER)}. Use inline JSON for short input; for longer or generated input, put exactly one JSON object in a caller-owned regular non-symlink UTF-8 JSON file and pass --input @path; relative paths resolve from the command working directory.`;
|
|
1423
|
+
var CEAL_MODEL_INPUT_SOURCE_GUIDANCE = `${CEAL_MODEL_INPUT_SOURCE_BASE_GUIDANCE} On Windows, write the JSON file first; use the program's .cmd launcher with --input and only one quoted @path argument.`;
|
|
1412
1424
|
function shellSingleQuoted(value) {
|
|
1413
1425
|
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
1414
1426
|
}
|
|
@@ -2147,9 +2159,11 @@ var CEAL_HOST_AUTHENTICATION_POLICY = Object.freeze({
|
|
|
2147
2159
|
invalid_arguments: Object.freeze({ classification: "host_arguments_invalid", next_action: "answer_with_gap" }),
|
|
2148
2160
|
options_invalid: Object.freeze({ classification: "host_configuration_invalid", next_action: "answer_with_gap" }),
|
|
2149
2161
|
session_unavailable: Object.freeze({ classification: "host_session_unavailable", next_action: "answer_with_gap" }),
|
|
2150
|
-
//
|
|
2151
|
-
//
|
|
2152
|
-
|
|
2162
|
+
// A missing turn right after a Host restart clears by itself once the
|
|
2163
|
+
// watcher reactivates the turn, so the caller waits briefly and retries;
|
|
2164
|
+
// a caller that knows it is in an ephemeral side conversation keeps the
|
|
2165
|
+
// standalone fallback the guidance names second.
|
|
2166
|
+
context_unavailable: Object.freeze({ classification: "host_context_unavailable", next_action: "retry" }),
|
|
2153
2167
|
activation_wait_exhausted: Object.freeze({ classification: "host_context_activation_wait_exhausted", next_action: "retry_after" }),
|
|
2154
2168
|
context_replaced: Object.freeze({ classification: "host_invocation_context_stale", next_action: "answer_with_gap" }),
|
|
2155
2169
|
// `no_binding` now means the producer has no real current Host session. The
|
|
@@ -2166,7 +2180,7 @@ var CEAL_HOST_AUTHENTICATION_POLICY = Object.freeze({
|
|
|
2166
2180
|
gateway_response_invalid: Object.freeze({ classification: "host_mint_gateway_response_invalid", next_action: "answer_with_gap" }),
|
|
2167
2181
|
producer_frame_invalid: Object.freeze({ classification: "host_producer_frame_invalid", next_action: "ask_admin" }),
|
|
2168
2182
|
relay_permission_denied: Object.freeze({ classification: "host_relay_permission_denied", next_action: "rerun_outside_agent_sandbox" }),
|
|
2169
|
-
relay_unavailable: Object.freeze({ classification: "host_relay_unavailable", next_action: "
|
|
2183
|
+
relay_unavailable: Object.freeze({ classification: "host_relay_unavailable", next_action: "retry" }),
|
|
2170
2184
|
transient_retryable: Object.freeze({ classification: "host_mint_transient_retryable", next_action: "retry" }),
|
|
2171
2185
|
mint_failed: Object.freeze({ classification: "host_mint_failed", next_action: "answer_with_gap" }),
|
|
2172
2186
|
relay_failed: Object.freeze({ classification: "host_relay_failed", next_action: "install_ceal_host" }),
|
|
@@ -2373,14 +2387,86 @@ function errorCode(error) {
|
|
|
2373
2387
|
|
|
2374
2388
|
// host/service-log.ts
|
|
2375
2389
|
import { copyFile, mkdir, stat, truncate, appendFile } from "node:fs/promises";
|
|
2376
|
-
import { dirname as dirname2, isAbsolute, posix, win32 as win322 } from "node:path";
|
|
2390
|
+
import { dirname as dirname2, isAbsolute as isAbsolute2, posix, win32 as win322 } from "node:path";
|
|
2377
2391
|
|
|
2378
2392
|
// host/secure-file.ts
|
|
2379
2393
|
import { execFile } from "node:child_process";
|
|
2380
2394
|
import { constants } from "node:fs";
|
|
2381
2395
|
import { lstat, open } from "node:fs/promises";
|
|
2382
|
-
import { dirname, join as
|
|
2396
|
+
import { dirname, join as join3, win32 } from "node:path";
|
|
2383
2397
|
import { fileURLToPath } from "node:url";
|
|
2398
|
+
|
|
2399
|
+
// host/spawn-working-directory.ts
|
|
2400
|
+
import { mkdirSync } from "node:fs";
|
|
2401
|
+
import { tmpdir } from "node:os";
|
|
2402
|
+
import { isAbsolute, join as join2, normalize, parse, sep } from "node:path";
|
|
2403
|
+
function resolveCealSpawnWorkingDirectory(stateRoot, keepOutside = []) {
|
|
2404
|
+
const candidates = [];
|
|
2405
|
+
const explicit = candidateDir(stateRoot);
|
|
2406
|
+
if (explicit !== void 0) candidates.push(explicit);
|
|
2407
|
+
const fallback = defaultHostStateRoot();
|
|
2408
|
+
if (fallback !== void 0 && !candidates.some((candidate) => sameDir(candidate, fallback))) candidates.push(fallback);
|
|
2409
|
+
const temporary = candidateDir(join2(tmpdir(), "ceal-spawn-cwd"));
|
|
2410
|
+
if (temporary !== void 0 && !candidates.some((candidate) => sameDir(candidate, temporary))) candidates.push(temporary);
|
|
2411
|
+
for (const dir of candidates) {
|
|
2412
|
+
if (!keptOutside(dir, keepOutside)) continue;
|
|
2413
|
+
try {
|
|
2414
|
+
mkdirSync(dir, { recursive: true, mode: 448 });
|
|
2415
|
+
return dir;
|
|
2416
|
+
} catch {
|
|
2417
|
+
continue;
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
return tmpdir();
|
|
2421
|
+
}
|
|
2422
|
+
function candidateDir(dir) {
|
|
2423
|
+
if (dir === void 0 || dir === "") return void 0;
|
|
2424
|
+
if (!isAbsolute(dir) || normalize(dir) !== dir || parse(dir).root === dir) return void 0;
|
|
2425
|
+
return normalize(dir);
|
|
2426
|
+
}
|
|
2427
|
+
function defaultHostStateRoot() {
|
|
2428
|
+
if (process.platform === "win32") {
|
|
2429
|
+
const localAppData = nonEmptyEnv("LOCALAPPDATA");
|
|
2430
|
+
if (localAppData === void 0) return void 0;
|
|
2431
|
+
return candidateDir(join2(localAppData, "Ceal", "Host"));
|
|
2432
|
+
}
|
|
2433
|
+
if (process.platform === "darwin") {
|
|
2434
|
+
const home2 = nonEmptyEnv("HOME");
|
|
2435
|
+
if (home2 === void 0) return void 0;
|
|
2436
|
+
return candidateDir(join2(home2, "Library", "Application Support", "Ceal", "Host"));
|
|
2437
|
+
}
|
|
2438
|
+
const xdg = nonEmptyEnv("XDG_STATE_HOME");
|
|
2439
|
+
if (xdg !== void 0) {
|
|
2440
|
+
const root = candidateDir(join2(xdg, "ceal", "host"));
|
|
2441
|
+
if (root !== void 0) return root;
|
|
2442
|
+
}
|
|
2443
|
+
const home = nonEmptyEnv("HOME");
|
|
2444
|
+
if (home === void 0) return void 0;
|
|
2445
|
+
return candidateDir(join2(home, ".local", "state", "ceal", "host"));
|
|
2446
|
+
}
|
|
2447
|
+
function nonEmptyEnv(name) {
|
|
2448
|
+
const value = process.env[name];
|
|
2449
|
+
return value === void 0 || value === "" ? void 0 : value;
|
|
2450
|
+
}
|
|
2451
|
+
function keptOutside(dir, keepOutside) {
|
|
2452
|
+
for (const tree of keepOutside) {
|
|
2453
|
+
const clean = candidateDir(tree);
|
|
2454
|
+
if (clean === void 0) continue;
|
|
2455
|
+
if (insideDir(dir, clean)) return false;
|
|
2456
|
+
}
|
|
2457
|
+
return true;
|
|
2458
|
+
}
|
|
2459
|
+
function insideDir(dir, tree) {
|
|
2460
|
+
if (sameDir(dir, tree)) return true;
|
|
2461
|
+
if (process.platform === "win32") return dir.toLowerCase().startsWith(tree.toLowerCase() + sep);
|
|
2462
|
+
return dir.startsWith(tree + sep);
|
|
2463
|
+
}
|
|
2464
|
+
function sameDir(left, right) {
|
|
2465
|
+
if (process.platform === "win32") return left.toLowerCase() === right.toLowerCase();
|
|
2466
|
+
return left === right;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
// host/secure-file.ts
|
|
2384
2470
|
var SecureFileCustodyError = class extends Error {
|
|
2385
2471
|
name = "SecureFileCustodyError";
|
|
2386
2472
|
reason;
|
|
@@ -2480,7 +2566,7 @@ async function runSecurefsCommand(args, maxBytes, custody, stdin) {
|
|
|
2480
2566
|
const executable = custody.securefs_executable ?? resolveInstalledHostExecutable(process.platform);
|
|
2481
2567
|
const processArgs = [...custody.securefs_args_prefix ?? [], ...args];
|
|
2482
2568
|
return await new Promise((resolve, reject) => {
|
|
2483
|
-
const child = execFile(executable, processArgs, { encoding: "buffer", windowsHide: true, timeout: WINDOWS_SECUREFS_TIMEOUT_MS, maxBuffer: maxBytes + WINDOWS_SECUREFS_DIAGNOSTIC_BYTES }, (error, stdout, stderr) => {
|
|
2569
|
+
const child = execFile(executable, processArgs, { encoding: "buffer", windowsHide: true, timeout: WINDOWS_SECUREFS_TIMEOUT_MS, maxBuffer: maxBytes + WINDOWS_SECUREFS_DIAGNOSTIC_BYTES, cwd: resolveCealSpawnWorkingDirectory() }, (error, stdout, stderr) => {
|
|
2484
2570
|
const exitCode = error === null ? 0 : typeof error.code === "number" ? error.code : null;
|
|
2485
2571
|
if (exitCode === null) {
|
|
2486
2572
|
reject(new SecureFileCustodyError("unavailable", "The installed Windows Host securefs command could not run."));
|
|
@@ -2509,7 +2595,7 @@ function securefsRefusal(stderr) {
|
|
|
2509
2595
|
}
|
|
2510
2596
|
function resolveInstalledHostExecutable(platform) {
|
|
2511
2597
|
const privateRuntimeRoot = dirname(fileURLToPath(import.meta.url));
|
|
2512
|
-
return platform === "win32" ? win32.join(privateRuntimeRoot, "..", "..", "bin", "ceal-host.exe") :
|
|
2598
|
+
return platform === "win32" ? win32.join(privateRuntimeRoot, "..", "..", "bin", "ceal-host.exe") : join3(privateRuntimeRoot, "..", "..", "bin", "ceal-host");
|
|
2513
2599
|
}
|
|
2514
2600
|
function isRecord(value) {
|
|
2515
2601
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
@@ -2691,7 +2777,7 @@ async function rotateHostServiceLog(path, maxBytes = HOST_SERVICE_LOG_MAX_BYTES)
|
|
|
2691
2777
|
}
|
|
2692
2778
|
function boundHostServiceLog(environment = process.env) {
|
|
2693
2779
|
const path = environment[HOST_SERVICE_LOG_ENVIRONMENT];
|
|
2694
|
-
if (path === void 0 || !
|
|
2780
|
+
if (path === void 0 || !isAbsolute2(path)) return () => void 0;
|
|
2695
2781
|
let reported = false;
|
|
2696
2782
|
const ready = ensureHostServiceLogDirectory(path);
|
|
2697
2783
|
const check = () => {
|
|
@@ -2726,7 +2812,7 @@ async function persistHostServiceLogLine(line, environment = process.env) {
|
|
|
2726
2812
|
await appendHostServiceLogLine(path, line).catch(() => void 0);
|
|
2727
2813
|
}
|
|
2728
2814
|
async function appendHostServiceLogLine(path, line) {
|
|
2729
|
-
if (!
|
|
2815
|
+
if (!isAbsolute2(path)) return;
|
|
2730
2816
|
await ensureHostServiceLogDirectory(path);
|
|
2731
2817
|
await appendFile(path, line);
|
|
2732
2818
|
}
|
|
@@ -2823,7 +2909,7 @@ function assertHostRelaySourcePaths(stateRoot, config, platform = process.platfo
|
|
|
2823
2909
|
// host/relay/src/host-relay-runtime.ts
|
|
2824
2910
|
import { randomUUID } from "node:crypto";
|
|
2825
2911
|
import { constants as constants4 } from "node:fs";
|
|
2826
|
-
import { dirname as dirname8, join as
|
|
2912
|
+
import { dirname as dirname8, join as join8 } from "node:path";
|
|
2827
2913
|
|
|
2828
2914
|
// host/abortable-wait.ts
|
|
2829
2915
|
function waitForAbort(signal, milliseconds) {
|
|
@@ -3076,7 +3162,7 @@ function exactOptional(value, required, optional) {
|
|
|
3076
3162
|
|
|
3077
3163
|
// host/relay/src/relay-admission-store.ts
|
|
3078
3164
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
3079
|
-
import { join as
|
|
3165
|
+
import { join as join5 } from "node:path";
|
|
3080
3166
|
|
|
3081
3167
|
// host/relay/src/durable-atomic-replacement.ts
|
|
3082
3168
|
import { lstat as lstat2, mkdir as mkdir2, open as open2, rename, unlink } from "node:fs/promises";
|
|
@@ -3212,7 +3298,7 @@ function errorCode3(error) {
|
|
|
3212
3298
|
// host/relay/src/relay-quarantine-store.ts
|
|
3213
3299
|
import { createHash as createHash5 } from "node:crypto";
|
|
3214
3300
|
import { readFile } from "node:fs/promises";
|
|
3215
|
-
import { join as
|
|
3301
|
+
import { join as join4 } from "node:path";
|
|
3216
3302
|
var RELAY_QUARANTINE_SCHEMA = "ceal.host_relay_quarantine_state.v1";
|
|
3217
3303
|
var RELAY_QUARANTINE_MAX_RECORDS = 512;
|
|
3218
3304
|
var RELAY_QUARANTINE_MAX_BYTES = 16 * 1024 * 1024;
|
|
@@ -3266,14 +3352,14 @@ var RelayQuarantineStore = class {
|
|
|
3266
3352
|
const records = state.producers[producerId];
|
|
3267
3353
|
records.push(record6);
|
|
3268
3354
|
while (records.length > this.maxRecords || totalBytes(records) > this.maxBytes) records.shift();
|
|
3269
|
-
await durableAtomicReplace(
|
|
3355
|
+
await durableAtomicReplace(join4(this.root, "quarantine.json"), JSON.stringify(state));
|
|
3270
3356
|
});
|
|
3271
3357
|
this.tail = run.then(() => void 0, () => void 0);
|
|
3272
3358
|
await run;
|
|
3273
3359
|
}
|
|
3274
3360
|
async readState() {
|
|
3275
3361
|
try {
|
|
3276
|
-
return decodeState(JSON.parse(await readFile(
|
|
3362
|
+
return decodeState(JSON.parse(await readFile(join4(this.root, "quarantine.json"), "utf8")));
|
|
3277
3363
|
} catch (error) {
|
|
3278
3364
|
if (errorCode4(error) === "ENOENT") return emptyState();
|
|
3279
3365
|
throw error;
|
|
@@ -3338,7 +3424,7 @@ var RelayAdmissionStore = class {
|
|
|
3338
3424
|
quarantine;
|
|
3339
3425
|
limits;
|
|
3340
3426
|
faultHooks;
|
|
3341
|
-
constructor(root, limits = DEFAULT_LIMITS, faultHooks = {}, quarantine = new RelayQuarantineStore(
|
|
3427
|
+
constructor(root, limits = DEFAULT_LIMITS, faultHooks = {}, quarantine = new RelayQuarantineStore(join5(root, "quarantine"))) {
|
|
3342
3428
|
this.root = root;
|
|
3343
3429
|
this.quarantine = quarantine;
|
|
3344
3430
|
this.limits = limits;
|
|
@@ -3450,14 +3536,14 @@ var RelayAdmissionStore = class {
|
|
|
3450
3536
|
}
|
|
3451
3537
|
async read() {
|
|
3452
3538
|
try {
|
|
3453
|
-
return decodeState2(JSON.parse(await readFile2(
|
|
3539
|
+
return decodeState2(JSON.parse(await readFile2(join5(this.root, "admission.json"), "utf8")));
|
|
3454
3540
|
} catch (error) {
|
|
3455
3541
|
if (errorCode5(error) === "ENOENT") return { schema_version: "ceal.host_relay_admission_state.v1", installations: {}, entries: [] };
|
|
3456
3542
|
throw error;
|
|
3457
3543
|
}
|
|
3458
3544
|
}
|
|
3459
3545
|
async write(state) {
|
|
3460
|
-
await durableAtomicReplace(
|
|
3546
|
+
await durableAtomicReplace(join5(this.root, "admission.json"), JSON.stringify(state));
|
|
3461
3547
|
}
|
|
3462
3548
|
};
|
|
3463
3549
|
function installationKey(frame) {
|
|
@@ -3600,7 +3686,7 @@ function poisonSequenceInRange(entryValue, installation2) {
|
|
|
3600
3686
|
import { createHmac, randomBytes } from "node:crypto";
|
|
3601
3687
|
import { constants as constants2 } from "node:fs";
|
|
3602
3688
|
import { link, unlink as unlink2 } from "node:fs/promises";
|
|
3603
|
-
import { dirname as dirname4, join as
|
|
3689
|
+
import { dirname as dirname4, join as join6 } from "node:path";
|
|
3604
3690
|
var RELAY_PIPE_HANDSHAKE_TIMEOUT_MS = 5e3;
|
|
3605
3691
|
var RELAY_PIPE_KEY_BYTES = 32;
|
|
3606
3692
|
var RELAY_PIPE_KEY_FILENAME = "relay-pipe.key";
|
|
@@ -3620,7 +3706,7 @@ var RelayPipeHandshakeError = class extends Error {
|
|
|
3620
3706
|
}
|
|
3621
3707
|
};
|
|
3622
3708
|
function relayPipeKeyPath(relayStateRoot) {
|
|
3623
|
-
return
|
|
3709
|
+
return join6(relayStateRoot, RELAY_PIPE_KEY_FILENAME);
|
|
3624
3710
|
}
|
|
3625
3711
|
async function loadRelayPipeKey(relayStateRoot, platform = process.platform, custody = {}) {
|
|
3626
3712
|
const path = relayPipeKeyPath(relayStateRoot);
|
|
@@ -4010,7 +4096,7 @@ async function unlinkRelayEndpoint(endpoint) {
|
|
|
4010
4096
|
// host/relay/src/relay-ipc.ts
|
|
4011
4097
|
import { chmod, lstat as lstat4, rename as rename2, unlink as unlink4 } from "node:fs/promises";
|
|
4012
4098
|
import { createConnection as createConnection2, createServer } from "node:net";
|
|
4013
|
-
import { dirname as dirname6, join as
|
|
4099
|
+
import { dirname as dirname6, join as join7 } from "node:path";
|
|
4014
4100
|
var HOST_RELAY_IPC_RESPONSE_SCHEMA = "ceal.host_relay_admission.v1";
|
|
4015
4101
|
var HOST_RELAY_INVOCATION_CONTEXT_QUERY_SCHEMA = "ceal.host_relay_invocation_context_query.v2";
|
|
4016
4102
|
var HOST_RELAY_INVOCATION_CONTEXT_RESULT_SCHEMA = "ceal.host_relay_invocation_context_result.v3";
|
|
@@ -4325,7 +4411,7 @@ function stagingRelayEndpoint(canonical) {
|
|
|
4325
4411
|
const parent = dirname6(canonical);
|
|
4326
4412
|
const pid = process.pid.toString(36);
|
|
4327
4413
|
const sequence = (relayStagingSequence++ % (36 * 36)).toString(36);
|
|
4328
|
-
return
|
|
4414
|
+
return join7(parent, `.r${pid}${sequence}`);
|
|
4329
4415
|
}
|
|
4330
4416
|
async function readStagingRelayEndpointIdentity(staging) {
|
|
4331
4417
|
let created;
|
|
@@ -4660,7 +4746,7 @@ function reportInvocationMintLine(line) {
|
|
|
4660
4746
|
writeHostServiceLogLine(line);
|
|
4661
4747
|
}
|
|
4662
4748
|
async function serveHostRelay(config, signal, dependencies) {
|
|
4663
|
-
const admission = new RelayAdmissionStore(
|
|
4749
|
+
const admission = new RelayAdmissionStore(join8(config.state_root, "admission"));
|
|
4664
4750
|
let server;
|
|
4665
4751
|
try {
|
|
4666
4752
|
const pipeKey = process.platform === "win32" ? await loadRelayPipeKey(config.state_root, process.platform, dependencies.custody) : void 0;
|
package/package.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"product": "ceal-host",
|
|
4
4
|
"version_source": {
|
|
5
5
|
"product": "ceal-host",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.25"
|
|
7
7
|
},
|
|
8
8
|
"source": {
|
|
9
9
|
"repository": "corca-ai/ceal",
|
|
10
|
-
"commit": "
|
|
11
|
-
"tree": "
|
|
10
|
+
"commit": "e657cfb442e5f69f8e1e0c2a6eea82d149ee9f6f",
|
|
11
|
+
"tree": "a9f22b4d14a1504054b0f4f9e611be735918beeb"
|
|
12
12
|
},
|
|
13
13
|
"target": "windows-x64",
|
|
14
14
|
"required_features": [],
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"executable": true,
|
|
21
21
|
"path": "bin/ceal-host.exe",
|
|
22
|
-
"sha256": "
|
|
22
|
+
"sha256": "c104f88c83fbf12683783dbe3f241e0aa132cd2a183e1468d0bc16bf717de773"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"owners": [
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"executable": true,
|
|
31
31
|
"path": "libexec/ceal-host/ceal-host-background.exe",
|
|
32
|
-
"sha256": "
|
|
32
|
+
"sha256": "da3096edeca2dd3b42313d09224401605762be34c621871ef1ec603e7634402e"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"owners": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"executable": false,
|
|
39
39
|
"path": "libexec/ceal-host/claude-hook.mjs",
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "d11d59321e5c3a5c463f13426762e6784011fa9810a15706aed58cfaad8f1761"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"owners": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
],
|
|
46
46
|
"executable": false,
|
|
47
47
|
"path": "libexec/ceal-host/claude-invocation-authentication.mjs",
|
|
48
|
-
"sha256": "
|
|
48
|
+
"sha256": "97243923624249ea81176a156ea4e919dcb0aa18905f1d3a8ac4150f81df8e83"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"owners": [
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
],
|
|
54
54
|
"executable": false,
|
|
55
55
|
"path": "libexec/ceal-host/claude-producer.mjs",
|
|
56
|
-
"sha256": "
|
|
56
|
+
"sha256": "74060f9bc526fe74ee71cd617c99d68342247393c1a97f26443fe72fea9d574a"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"owners": [
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"executable": false,
|
|
63
63
|
"path": "libexec/ceal-host/codex-hook.mjs",
|
|
64
|
-
"sha256": "
|
|
64
|
+
"sha256": "85160fdd7690a0677468913ff7c5ca2373a94d3dc5e8bff24964b1f9d9ab0337"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"owners": [
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
],
|
|
70
70
|
"executable": false,
|
|
71
71
|
"path": "libexec/ceal-host/codex-invocation-authentication.mjs",
|
|
72
|
-
"sha256": "
|
|
72
|
+
"sha256": "c371dbc01c43804f49aee05934aa4ffb17eb1d550fc7f8c355d9b74d69806611"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"owners": [
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
],
|
|
78
78
|
"executable": false,
|
|
79
79
|
"path": "libexec/ceal-host/codex-producer.mjs",
|
|
80
|
-
"sha256": "
|
|
80
|
+
"sha256": "9fbf3f6b82f67f16f83f111acb0a66c811f35959adff5e183deb03ee3b6d2ce4"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"owners": [
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
],
|
|
86
86
|
"executable": false,
|
|
87
87
|
"path": "libexec/ceal-host/control.mjs",
|
|
88
|
-
"sha256": "
|
|
88
|
+
"sha256": "d7b2b8a4bf3559d42f46380fbfab47a63283721b9578e7450e63d6a648cf9516"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"owners": [
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
],
|
|
102
102
|
"executable": false,
|
|
103
103
|
"path": "libexec/ceal-host/relay.mjs",
|
|
104
|
-
"sha256": "
|
|
104
|
+
"sha256": "f822016d40f8196dd80c28e1e3691edc2598a7ed44a1f6609caa32dea1505b31"
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mediaType":"application/vnd.dev.sigstore.bundle.v0.3+json","verificationMaterial":{"certificate":{"rawBytes":"
|
|
1
|
+
{"mediaType":"application/vnd.dev.sigstore.bundle.v0.3+json","verificationMaterial":{"certificate":{"rawBytes":"MIIG7jCCBnSgAwIBAgIUKWlZSb1C0158Iup47ETZzO+HwN8wCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjYxMDIzMDIzMTA3WhcNMjYxMDIzMDI0MTA3WjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE+LikkOtMWIn29oqywcuHyT3FfKSQJsN/4vmKZQ4ceU+yH9FDb0H2Svn39H2QKRBc2MQ9Gjv4DtgP4Taw314vy6OCBZMwggWPMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAfBgNVHSMEGDAWgBTf0+nPViQRlvmo2OkoVaLGLhhkPzBmBgNVHREBAf8EXDBahlhodHRwczovL2dpdGh1Yi5jb20vY29yY2EtYWkvY2VhbC8uZ2l0aHViL3dvcmtmbG93cy9yZWxlYXNlLWNhbmRpZGF0ZS55bWxAcmVmcy9oZWFkcy9tYWluMDkGCisGAQQBg78wAQEEK2h0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20wHwYKKwYBBAGDvzABAgQRd29ya2Zsb3dfZGlzcGF0Y2gwNgYKKwYBBAGDvzABAwQoZTY1N2NmYjQ0MmU1ZjY5Zjhl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wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwVAYKKwYBBAGDvzABFQRGDERodHRwczovL2dpdGh1Yi5jb20vY29yY2EtYWkvY2VhbC9hY3Rpb25zL3J1bnMvMzk4ODg5ODY0NDYvYXR0ZW1wdHMvMTAXBgorBgEEAYO/MAEWBAkMB3ByaXZhdGUwNgYKKwYBBAGDvzABGAQoDCZyZXBvOmNvcmNhLWFpL2NlYWw6cmVmOnJlZnMvaGVhZHMvbWFpbjCBigYKKwYBBAHWeQIEAgR8BHoAeAB2AN09MGrGxxEyYxkeHJlnNwKiSl643jyt/4eKcoAvKe6OAAABoWaZB34AAAQDAEcwRQIgf5jl4jkEBj5DiFbaus1iU4xnlQCOCe7jAgGj4PdWrfcCIQDsRcICbNZj6cLseSEk9EdJb1UA6QkgGDIgt5ju/J9JsDAKBggqhkjOPQQDAwNoADBlAjEAgqRVTkZKMEf+vuvZh3ZYrURWsJupNcO1goqykfDebMO/hW7HOZ12K/3ujYiNmucRAjAUj6iiyM2IFRwZH0fliwycDGrzGCMH+IvMErQr85aoUpSD5fKbUnkvchCM7Ksd6cM="},"tlogEntries":[{"logIndex":"3408271027","logId":{"keyId":"wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0="},"kindVersion":{"kind":"hashedrekord","version":"0.0.1"},"integratedTime":"1792722667","inclusionPromise":{"signedEntryTimestamp":"MEYCIQCpGksFZI+Fz7vKqLn+y8n/nwL/c4vjfk84SQiTDoNDKAIhAL2g+KFPG1/hLR8glS0hR0B46kOgIPckf7JvQH24vYiD"},"inclusionProof":{"logIndex":"3286366765","rootHash":"O511I4WhkC0xY2/E634+RpvA2Eh3kC7bGpXEf8puYGg=","treeSize":"3286366847","hashes":["33jZvZDDP2wWhFVioVMY3Hj41zFgBDVniSaHPLDf9c4=","EQ0/iMJ26ZU0MLL2qQrRzCWTDWQ61rLtxIqgbs/mVh4=","KvEi1VUjWtMw3oR+yGQbzvBh4Hv41cQbAI0MY5Gwk4M=","EU+4yfGsIrslWf0x09rOVXnV8d1QjHDekCSYgmxuM8o=","J01fuviKTGDMqqrvAkuJRc51q4osDFJFWUbIjp3ozk8=","3BGpLcPoq4uE9tFLYZgYP+JCpl25BVXlItqHiDfPgp4=","+h87lu0KRZU/5ZQ/TMq6wt4swXVwPHaGcV6Y7Baii18=","dr8DIAiajefrl8XlnmSMplXLIYYDgRdrthXuFkj4v+4=","Z3z7fXZGN8PQs7Mf30VVYfLe3y+Zj1cMJgQdUtCtS90=","LTAGd/dun9/Oc7JxErnA4Gq2bmUBKVuaQFCOsIvkW6c=","bQp077yC+xGcAMrZ59ukCL5nYk4qeFsNpy21iONsDa8=","vSoyyM8j+Vzp74IxbwkkEXYPl8+92jm1PZDIeDR92Ik=","3ilwIQdHTOi8D58OxzTJJOnK/EX1a+JAGn2/T4vlmJM=","iuxTQlQyO3AEGDcSTKAIMhdFsybvdXBDo88GcLbAA4Y=","N8dUa8d1ixoYOPiQXvdlOZ+i3nR93RCF7SU4azoZmbk=","Q1vk1qQAQoL/FTl+Pt0aGSjRLw6oIUQcmz3O/oSPtl0=","SETAZAY2BN4eAqEekOEmqtkBCVswk7pESpQCFeyui64=","uMuyg0DrqaQ2naHcUffGqv6Drrd94Jx72CRcJpisbMg=","LfLRRMoKt/7j0fWWsOHHMIvz0KvzxUvq1r+VB7K2mFc=","1DaDKzrCNNBhmSdY5vFjz+NpAmxmYfYEgBCdPLrMP1A=","xH/DCseLHr9eKoYT8qsORZK7zVdEGYWHuVtsVrD95wY="],"checkpoint":{"envelope":"rekor.sigstore.dev - 1193050959916656506\n3286366847\nO511I4WhkC0xY2/E634+RpvA2Eh3kC7bGpXEf8puYGg=\n\n— rekor.sigstore.dev wNI9ajBFAiAMu3B/WSJ+G10/e8cCGpe3QP2Two6e+825epVAwFawJAIhAJUa8MMxXx0UqwHSKPjfrxh+G0qBs5vgA0ut7lH6YpvQ\n"}},"canonicalizedBody":"eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJra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