claude-use 10.0.1 → 10.0.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/dist/cli.cjs +24 -11
- package/dist/index.cjs +17 -9
- package/dist/index.mjs +17 -9
- package/dist/types/index.d.ts +35 -35
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -27535,6 +27535,8 @@ var init_state2 = __esm({
|
|
|
27535
27535
|
settingsHash: external_exports.string().optional(),
|
|
27536
27536
|
/** The install spec the running install was last installed from, so a `source` config change is detected as drift. */
|
|
27537
27537
|
installedSource: external_exports.string().optional(),
|
|
27538
|
+
/** The install spec the supervisor is installing right now, present only while `uv tool install` runs, so a launcher that finds a live supervisor with no daemon yet keeps waiting for the install instead of counting it against its start bound. Cleared by the write that follows the install, whatever its outcome. */
|
|
27539
|
+
installing: external_exports.string().optional(),
|
|
27538
27540
|
/** The last fatal error, kept across shutdowns so `headroom status` can explain a daemon that is not running. */
|
|
27539
27541
|
lastError: external_exports.string().optional()
|
|
27540
27542
|
});
|
|
@@ -27634,7 +27636,7 @@ function daemonAdmits(fs22, allowlistFile, recordedHash, required2) {
|
|
|
27634
27636
|
}
|
|
27635
27637
|
function ensureHeadroom(params) {
|
|
27636
27638
|
const { paths, ports } = params;
|
|
27637
|
-
|
|
27639
|
+
let deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
27638
27640
|
let spawnedSupervisor = false;
|
|
27639
27641
|
migrateHeadroomState(ports.fs, { stateFile: paths.headroomStateFile, legacyStateFile: paths.headroomLegacyStateFile }, ports.isRunning);
|
|
27640
27642
|
const commandLines = /* @__PURE__ */ new Map();
|
|
@@ -27648,6 +27650,9 @@ function ensureHeadroom(params) {
|
|
|
27648
27650
|
let awaiting;
|
|
27649
27651
|
const state = resolveServingHeadroomState(ports.fs, { stateFile: paths.headroomStateFile, legacyStateFile: paths.headroomLegacyStateFile }, ports.isRunning)?.state;
|
|
27650
27652
|
if (state?.supervisorPid !== void 0 && ports.isRunning(state.supervisorPid)) {
|
|
27653
|
+
if (state.installing !== void 0) {
|
|
27654
|
+
deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
27655
|
+
}
|
|
27651
27656
|
const daemonUp = state.socketPath !== void 0 && state.headroomPid !== void 0 && ports.isRunning(state.headroomPid);
|
|
27652
27657
|
if (daemonUp && state.socketPath !== void 0 && state.headroomPid !== void 0) {
|
|
27653
27658
|
const required2 = params.requiredUpstreams?.();
|
|
@@ -28249,15 +28254,16 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
28249
28254
|
const commitOk = pinned === void 0 || ports.installedCommit() === pinned;
|
|
28250
28255
|
if (versionOk && commitOk && (installedSource === void 0 || installedSource === config2.source)) {
|
|
28251
28256
|
installedSource = config2.source;
|
|
28252
|
-
return
|
|
28257
|
+
return void 0;
|
|
28253
28258
|
}
|
|
28254
28259
|
ports.log(`agent-shim headroom supervisor: installing headroom from ${config2.source}`);
|
|
28260
|
+
writeOwnState({ supervisorPid: ports.ownPid, installedSource, installing: config2.source });
|
|
28255
28261
|
const result = ports.install(config2.source);
|
|
28256
28262
|
if (!result.ok) {
|
|
28257
|
-
return
|
|
28263
|
+
return `could not install headroom from ${config2.source}: ${result.error ?? "install failed"}`;
|
|
28258
28264
|
}
|
|
28259
28265
|
installedSource = config2.source;
|
|
28260
|
-
return
|
|
28266
|
+
return void 0;
|
|
28261
28267
|
};
|
|
28262
28268
|
const socket = prepareHeadroomSocket(fs22, ports.socketTrust, paths, ports.ownPid);
|
|
28263
28269
|
if (socket.refused !== void 0) {
|
|
@@ -28266,8 +28272,9 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
28266
28272
|
const { socketPath } = socket;
|
|
28267
28273
|
pruneStaleHeadroomSockets(fs22, paths, ports.isRunning);
|
|
28268
28274
|
pruneStaleAllowlistTemporaries(fs22, paths.headroomAllowlistFile, ports.isRunning);
|
|
28269
|
-
|
|
28270
|
-
|
|
28275
|
+
const installFailure = ensureInstalled();
|
|
28276
|
+
if (installFailure !== void 0) {
|
|
28277
|
+
return fail(installFailure);
|
|
28271
28278
|
}
|
|
28272
28279
|
const version2 = ports.headroomVersion() ?? "unknown";
|
|
28273
28280
|
writeOwnState({ supervisorPid: ports.ownPid, version: version2, installedSource });
|
|
@@ -28342,8 +28349,9 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
28342
28349
|
`headroom failed to become ready ${String(consecutiveFailures)} times in a row; giving up` + (lastExitOutput === void 0 ? "" : `; the last attempt exited before it was ready, and its log ends: ${lastExitOutput}`)
|
|
28343
28350
|
);
|
|
28344
28351
|
}
|
|
28345
|
-
|
|
28346
|
-
|
|
28352
|
+
const restartInstallFailure = installedSource !== config2.source ? ensureInstalled() : void 0;
|
|
28353
|
+
if (restartInstallFailure !== void 0) {
|
|
28354
|
+
return fail(restartInstallFailure);
|
|
28347
28355
|
}
|
|
28348
28356
|
const logOffset = ports.daemonLogSize();
|
|
28349
28357
|
const pid = ports.spawnHeadroom(socketPath, paths.headroomAllowlistFile, config2.settings);
|
|
@@ -33959,7 +33967,7 @@ var init_package = __esm({
|
|
|
33959
33967
|
"package.json"() {
|
|
33960
33968
|
package_default = {
|
|
33961
33969
|
name: "claude-use",
|
|
33962
|
-
version: "10.0.
|
|
33970
|
+
version: "10.0.2",
|
|
33963
33971
|
description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
33964
33972
|
license: "MIT",
|
|
33965
33973
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -141247,6 +141255,7 @@ function formatHeadroomStatus(status) {
|
|
|
141247
141255
|
}
|
|
141248
141256
|
var ownedHeadroom = /* @__PURE__ */ new Map();
|
|
141249
141257
|
var exitedHeadroom = /* @__PURE__ */ new Set();
|
|
141258
|
+
var HEADROOM_INSTALL_TIMEOUT_MS = 6e5;
|
|
141250
141259
|
var READY_FETCH_TIMEOUT_MS = 2e3;
|
|
141251
141260
|
function headroomPidRunning(pid) {
|
|
141252
141261
|
return !exitedHeadroom.has(pid) && realIsProcessRunning(pid);
|
|
@@ -141375,9 +141384,13 @@ function realSupervisorPorts(paths) {
|
|
|
141375
141384
|
},
|
|
141376
141385
|
ready: readyOverSocket,
|
|
141377
141386
|
install: (spec) => {
|
|
141378
|
-
const result = (0, import_node_child_process7.spawnSync)("uv", ["tool", "install", spec], { encoding: "utf8" });
|
|
141387
|
+
const result = (0, import_node_child_process7.spawnSync)("uv", ["tool", "install", spec], { encoding: "utf8", timeout: HEADROOM_INSTALL_TIMEOUT_MS });
|
|
141379
141388
|
if (result.error !== void 0) {
|
|
141380
|
-
|
|
141389
|
+
const timedOut = "code" in result.error && result.error.code === "ETIMEDOUT";
|
|
141390
|
+
return {
|
|
141391
|
+
ok: false,
|
|
141392
|
+
error: timedOut ? `uv tool install did not finish within ${String(HEADROOM_INSTALL_TIMEOUT_MS)}ms and was stopped` : `uv is not installed or not on PATH (${result.error.message})`
|
|
141393
|
+
};
|
|
141381
141394
|
}
|
|
141382
141395
|
if (result.stdout !== "") {
|
|
141383
141396
|
import_node_fs20.default.appendFileSync(paths.headroomLogPath, result.stdout);
|
package/dist/index.cjs
CHANGED
|
@@ -2758,7 +2758,7 @@ var init_package = __esm({
|
|
|
2758
2758
|
"package.json"() {
|
|
2759
2759
|
package_default = {
|
|
2760
2760
|
name: "claude-use",
|
|
2761
|
-
version: "10.0.
|
|
2761
|
+
version: "10.0.2",
|
|
2762
2762
|
description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
2763
2763
|
license: "MIT",
|
|
2764
2764
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -3134,6 +3134,8 @@ var init_state2 = __esm({
|
|
|
3134
3134
|
settingsHash: import_zod8.z.string().optional(),
|
|
3135
3135
|
/** The install spec the running install was last installed from, so a `source` config change is detected as drift. */
|
|
3136
3136
|
installedSource: import_zod8.z.string().optional(),
|
|
3137
|
+
/** The install spec the supervisor is installing right now, present only while `uv tool install` runs, so a launcher that finds a live supervisor with no daemon yet keeps waiting for the install instead of counting it against its start bound. Cleared by the write that follows the install, whatever its outcome. */
|
|
3138
|
+
installing: import_zod8.z.string().optional(),
|
|
3137
3139
|
/** The last fatal error, kept across shutdowns so `headroom status` can explain a daemon that is not running. */
|
|
3138
3140
|
lastError: import_zod8.z.string().optional()
|
|
3139
3141
|
});
|
|
@@ -3233,7 +3235,7 @@ function daemonAdmits(fs12, allowlistFile, recordedHash, required) {
|
|
|
3233
3235
|
}
|
|
3234
3236
|
function ensureHeadroom(params) {
|
|
3235
3237
|
const { paths, ports } = params;
|
|
3236
|
-
|
|
3238
|
+
let deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
3237
3239
|
let spawnedSupervisor = false;
|
|
3238
3240
|
migrateHeadroomState(ports.fs, { stateFile: paths.headroomStateFile, legacyStateFile: paths.headroomLegacyStateFile }, ports.isRunning);
|
|
3239
3241
|
const commandLines = /* @__PURE__ */ new Map();
|
|
@@ -3247,6 +3249,9 @@ function ensureHeadroom(params) {
|
|
|
3247
3249
|
let awaiting;
|
|
3248
3250
|
const state = resolveServingHeadroomState(ports.fs, { stateFile: paths.headroomStateFile, legacyStateFile: paths.headroomLegacyStateFile }, ports.isRunning)?.state;
|
|
3249
3251
|
if (state?.supervisorPid !== void 0 && ports.isRunning(state.supervisorPid)) {
|
|
3252
|
+
if (state.installing !== void 0) {
|
|
3253
|
+
deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
3254
|
+
}
|
|
3250
3255
|
const daemonUp = state.socketPath !== void 0 && state.headroomPid !== void 0 && ports.isRunning(state.headroomPid);
|
|
3251
3256
|
if (daemonUp && state.socketPath !== void 0 && state.headroomPid !== void 0) {
|
|
3252
3257
|
const required = params.requiredUpstreams?.();
|
|
@@ -3686,15 +3691,16 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
3686
3691
|
const commitOk = pinned === void 0 || ports.installedCommit() === pinned;
|
|
3687
3692
|
if (versionOk && commitOk && (installedSource === void 0 || installedSource === config.source)) {
|
|
3688
3693
|
installedSource = config.source;
|
|
3689
|
-
return
|
|
3694
|
+
return void 0;
|
|
3690
3695
|
}
|
|
3691
3696
|
ports.log(`agent-shim headroom supervisor: installing headroom from ${config.source}`);
|
|
3697
|
+
writeOwnState({ supervisorPid: ports.ownPid, installedSource, installing: config.source });
|
|
3692
3698
|
const result = ports.install(config.source);
|
|
3693
3699
|
if (!result.ok) {
|
|
3694
|
-
return
|
|
3700
|
+
return `could not install headroom from ${config.source}: ${result.error ?? "install failed"}`;
|
|
3695
3701
|
}
|
|
3696
3702
|
installedSource = config.source;
|
|
3697
|
-
return
|
|
3703
|
+
return void 0;
|
|
3698
3704
|
};
|
|
3699
3705
|
const socket = prepareHeadroomSocket(fs12, ports.socketTrust, paths, ports.ownPid);
|
|
3700
3706
|
if (socket.refused !== void 0) {
|
|
@@ -3703,8 +3709,9 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
3703
3709
|
const { socketPath } = socket;
|
|
3704
3710
|
pruneStaleHeadroomSockets(fs12, paths, ports.isRunning);
|
|
3705
3711
|
pruneStaleAllowlistTemporaries(fs12, paths.headroomAllowlistFile, ports.isRunning);
|
|
3706
|
-
|
|
3707
|
-
|
|
3712
|
+
const installFailure = ensureInstalled();
|
|
3713
|
+
if (installFailure !== void 0) {
|
|
3714
|
+
return fail(installFailure);
|
|
3708
3715
|
}
|
|
3709
3716
|
const version = ports.headroomVersion() ?? "unknown";
|
|
3710
3717
|
writeOwnState({ supervisorPid: ports.ownPid, version, installedSource });
|
|
@@ -3779,8 +3786,9 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
3779
3786
|
`headroom failed to become ready ${String(consecutiveFailures)} times in a row; giving up` + (lastExitOutput === void 0 ? "" : `; the last attempt exited before it was ready, and its log ends: ${lastExitOutput}`)
|
|
3780
3787
|
);
|
|
3781
3788
|
}
|
|
3782
|
-
|
|
3783
|
-
|
|
3789
|
+
const restartInstallFailure = installedSource !== config.source ? ensureInstalled() : void 0;
|
|
3790
|
+
if (restartInstallFailure !== void 0) {
|
|
3791
|
+
return fail(restartInstallFailure);
|
|
3784
3792
|
}
|
|
3785
3793
|
const logOffset = ports.daemonLogSize();
|
|
3786
3794
|
const pid = ports.spawnHeadroom(socketPath, paths.headroomAllowlistFile, config.settings);
|
package/dist/index.mjs
CHANGED
|
@@ -2734,7 +2734,7 @@ var init_package = __esm({
|
|
|
2734
2734
|
"package.json"() {
|
|
2735
2735
|
package_default = {
|
|
2736
2736
|
name: "claude-use",
|
|
2737
|
-
version: "10.0.
|
|
2737
|
+
version: "10.0.2",
|
|
2738
2738
|
description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
2739
2739
|
license: "MIT",
|
|
2740
2740
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -3110,6 +3110,8 @@ var init_state2 = __esm({
|
|
|
3110
3110
|
settingsHash: z8.string().optional(),
|
|
3111
3111
|
/** The install spec the running install was last installed from, so a `source` config change is detected as drift. */
|
|
3112
3112
|
installedSource: z8.string().optional(),
|
|
3113
|
+
/** The install spec the supervisor is installing right now, present only while `uv tool install` runs, so a launcher that finds a live supervisor with no daemon yet keeps waiting for the install instead of counting it against its start bound. Cleared by the write that follows the install, whatever its outcome. */
|
|
3114
|
+
installing: z8.string().optional(),
|
|
3113
3115
|
/** The last fatal error, kept across shutdowns so `headroom status` can explain a daemon that is not running. */
|
|
3114
3116
|
lastError: z8.string().optional()
|
|
3115
3117
|
});
|
|
@@ -3209,7 +3211,7 @@ function daemonAdmits(fs12, allowlistFile, recordedHash, required) {
|
|
|
3209
3211
|
}
|
|
3210
3212
|
function ensureHeadroom(params) {
|
|
3211
3213
|
const { paths, ports } = params;
|
|
3212
|
-
|
|
3214
|
+
let deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
3213
3215
|
let spawnedSupervisor = false;
|
|
3214
3216
|
migrateHeadroomState(ports.fs, { stateFile: paths.headroomStateFile, legacyStateFile: paths.headroomLegacyStateFile }, ports.isRunning);
|
|
3215
3217
|
const commandLines = /* @__PURE__ */ new Map();
|
|
@@ -3223,6 +3225,9 @@ function ensureHeadroom(params) {
|
|
|
3223
3225
|
let awaiting;
|
|
3224
3226
|
const state = resolveServingHeadroomState(ports.fs, { stateFile: paths.headroomStateFile, legacyStateFile: paths.headroomLegacyStateFile }, ports.isRunning)?.state;
|
|
3225
3227
|
if (state?.supervisorPid !== void 0 && ports.isRunning(state.supervisorPid)) {
|
|
3228
|
+
if (state.installing !== void 0) {
|
|
3229
|
+
deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
3230
|
+
}
|
|
3226
3231
|
const daemonUp = state.socketPath !== void 0 && state.headroomPid !== void 0 && ports.isRunning(state.headroomPid);
|
|
3227
3232
|
if (daemonUp && state.socketPath !== void 0 && state.headroomPid !== void 0) {
|
|
3228
3233
|
const required = params.requiredUpstreams?.();
|
|
@@ -3662,15 +3667,16 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
3662
3667
|
const commitOk = pinned === void 0 || ports.installedCommit() === pinned;
|
|
3663
3668
|
if (versionOk && commitOk && (installedSource === void 0 || installedSource === config.source)) {
|
|
3664
3669
|
installedSource = config.source;
|
|
3665
|
-
return
|
|
3670
|
+
return void 0;
|
|
3666
3671
|
}
|
|
3667
3672
|
ports.log(`agent-shim headroom supervisor: installing headroom from ${config.source}`);
|
|
3673
|
+
writeOwnState({ supervisorPid: ports.ownPid, installedSource, installing: config.source });
|
|
3668
3674
|
const result = ports.install(config.source);
|
|
3669
3675
|
if (!result.ok) {
|
|
3670
|
-
return
|
|
3676
|
+
return `could not install headroom from ${config.source}: ${result.error ?? "install failed"}`;
|
|
3671
3677
|
}
|
|
3672
3678
|
installedSource = config.source;
|
|
3673
|
-
return
|
|
3679
|
+
return void 0;
|
|
3674
3680
|
};
|
|
3675
3681
|
const socket = prepareHeadroomSocket(fs12, ports.socketTrust, paths, ports.ownPid);
|
|
3676
3682
|
if (socket.refused !== void 0) {
|
|
@@ -3679,8 +3685,9 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
3679
3685
|
const { socketPath } = socket;
|
|
3680
3686
|
pruneStaleHeadroomSockets(fs12, paths, ports.isRunning);
|
|
3681
3687
|
pruneStaleAllowlistTemporaries(fs12, paths.headroomAllowlistFile, ports.isRunning);
|
|
3682
|
-
|
|
3683
|
-
|
|
3688
|
+
const installFailure = ensureInstalled();
|
|
3689
|
+
if (installFailure !== void 0) {
|
|
3690
|
+
return fail(installFailure);
|
|
3684
3691
|
}
|
|
3685
3692
|
const version = ports.headroomVersion() ?? "unknown";
|
|
3686
3693
|
writeOwnState({ supervisorPid: ports.ownPid, version, installedSource });
|
|
@@ -3755,8 +3762,9 @@ async function runSupervisor(initialConfig, ports, options = {}) {
|
|
|
3755
3762
|
`headroom failed to become ready ${String(consecutiveFailures)} times in a row; giving up` + (lastExitOutput === void 0 ? "" : `; the last attempt exited before it was ready, and its log ends: ${lastExitOutput}`)
|
|
3756
3763
|
);
|
|
3757
3764
|
}
|
|
3758
|
-
|
|
3759
|
-
|
|
3765
|
+
const restartInstallFailure = installedSource !== config.source ? ensureInstalled() : void 0;
|
|
3766
|
+
if (restartInstallFailure !== void 0) {
|
|
3767
|
+
return fail(restartInstallFailure);
|
|
3760
3768
|
}
|
|
3761
3769
|
const logOffset = ports.daemonLogSize();
|
|
3762
3770
|
const pid = ports.spawnHeadroom(socketPath, paths.headroomAllowlistFile, config.settings);
|
package/dist/types/index.d.ts
CHANGED
|
@@ -366,8 +366,8 @@ declare const CredentialSchema: z.ZodObject<{
|
|
|
366
366
|
literal: z.ZodString;
|
|
367
367
|
}, z.core.$strict>]>>;
|
|
368
368
|
target: z.ZodOptional<z.ZodEnum<{
|
|
369
|
-
apiKey: "apiKey";
|
|
370
369
|
bearer: "bearer";
|
|
370
|
+
apiKey: "apiKey";
|
|
371
371
|
oauthToken: "oauthToken";
|
|
372
372
|
}>>;
|
|
373
373
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -441,8 +441,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
441
441
|
}>>;
|
|
442
442
|
}, z.core.$strict>>;
|
|
443
443
|
target: z.ZodOptional<z.ZodEnum<{
|
|
444
|
-
apiKey: "apiKey";
|
|
445
444
|
bearer: "bearer";
|
|
445
|
+
apiKey: "apiKey";
|
|
446
446
|
}>>;
|
|
447
447
|
}, z.core.$strict>;
|
|
448
448
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -557,8 +557,8 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
557
557
|
}>>;
|
|
558
558
|
}, z.core.$strict>>;
|
|
559
559
|
target: z.ZodOptional<z.ZodEnum<{
|
|
560
|
-
apiKey: "apiKey";
|
|
561
560
|
bearer: "bearer";
|
|
561
|
+
apiKey: "apiKey";
|
|
562
562
|
}>>;
|
|
563
563
|
}, z.core.$strict>;
|
|
564
564
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1629,8 +1629,8 @@ declare const IdentitySchema: z.ZodObject<{
|
|
|
1629
1629
|
literal: z.ZodString;
|
|
1630
1630
|
}, z.core.$strict>]>>;
|
|
1631
1631
|
target: z.ZodOptional<z.ZodEnum<{
|
|
1632
|
-
apiKey: "apiKey";
|
|
1633
1632
|
bearer: "bearer";
|
|
1633
|
+
apiKey: "apiKey";
|
|
1634
1634
|
oauthToken: "oauthToken";
|
|
1635
1635
|
}>>;
|
|
1636
1636
|
cache: z.ZodOptional<z.ZodObject<{
|
|
@@ -4325,8 +4325,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
4325
4325
|
name: z.ZodString;
|
|
4326
4326
|
credential: z.ZodObject<{
|
|
4327
4327
|
target: z.ZodEnum<{
|
|
4328
|
-
apiKey: "apiKey";
|
|
4329
4328
|
bearer: "bearer";
|
|
4329
|
+
apiKey: "apiKey";
|
|
4330
4330
|
oauthToken: "oauthToken";
|
|
4331
4331
|
}>;
|
|
4332
4332
|
sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4387,8 +4387,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
4387
4387
|
}, z.core.$strict>]>>;
|
|
4388
4388
|
identity: z.ZodOptional<z.ZodObject<{
|
|
4389
4389
|
target: z.ZodEnum<{
|
|
4390
|
-
apiKey: "apiKey";
|
|
4391
4390
|
bearer: "bearer";
|
|
4391
|
+
apiKey: "apiKey";
|
|
4392
4392
|
oauthToken: "oauthToken";
|
|
4393
4393
|
}>;
|
|
4394
4394
|
sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -5476,8 +5476,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5476
5476
|
allowAmbientCredential: zod.ZodBoolean;
|
|
5477
5477
|
credential: zod.ZodOptional<zod.ZodObject<{
|
|
5478
5478
|
target: zod.ZodEnum<{
|
|
5479
|
-
apiKey: "apiKey";
|
|
5480
5479
|
bearer: "bearer";
|
|
5480
|
+
apiKey: "apiKey";
|
|
5481
5481
|
oauthToken: "oauthToken";
|
|
5482
5482
|
}>;
|
|
5483
5483
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -5546,8 +5546,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5546
5546
|
literal: zod.ZodString;
|
|
5547
5547
|
}, zod_v4_core.$strict>]>>>;
|
|
5548
5548
|
target: zod.ZodOptional<zod.ZodEnum<{
|
|
5549
|
-
apiKey: "apiKey";
|
|
5550
5549
|
bearer: "bearer";
|
|
5550
|
+
apiKey: "apiKey";
|
|
5551
5551
|
oauthToken: "oauthToken";
|
|
5552
5552
|
}>>;
|
|
5553
5553
|
cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
|
|
@@ -5581,8 +5581,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
5581
5581
|
allowAmbientCredential: zod.ZodBoolean;
|
|
5582
5582
|
credential: zod.ZodOptional<zod.ZodObject<{
|
|
5583
5583
|
target: zod.ZodEnum<{
|
|
5584
|
-
apiKey: "apiKey";
|
|
5585
5584
|
bearer: "bearer";
|
|
5585
|
+
apiKey: "apiKey";
|
|
5586
5586
|
oauthToken: "oauthToken";
|
|
5587
5587
|
}>;
|
|
5588
5588
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -6120,8 +6120,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6120
6120
|
literal: zod.ZodString;
|
|
6121
6121
|
}, zod_v4_core.$strict>]>>>>;
|
|
6122
6122
|
target: zod.ZodOptional<zod.ZodEnum<{
|
|
6123
|
-
apiKey: "apiKey";
|
|
6124
6123
|
bearer: "bearer";
|
|
6124
|
+
apiKey: "apiKey";
|
|
6125
6125
|
}>>;
|
|
6126
6126
|
cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
|
|
6127
6127
|
ttl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6183,8 +6183,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6183
6183
|
}, zod_v4_core.$strict>>;
|
|
6184
6184
|
credential: zod.ZodObject<{
|
|
6185
6185
|
target: zod.ZodEnum<{
|
|
6186
|
-
apiKey: "apiKey";
|
|
6187
6186
|
bearer: "bearer";
|
|
6187
|
+
apiKey: "apiKey";
|
|
6188
6188
|
oauthToken: "oauthToken";
|
|
6189
6189
|
}>;
|
|
6190
6190
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -6241,8 +6241,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6241
6241
|
literal: zod.ZodString;
|
|
6242
6242
|
}, zod_v4_core.$strict>]>>>;
|
|
6243
6243
|
target: zod.ZodOptional<zod.ZodEnum<{
|
|
6244
|
-
apiKey: "apiKey";
|
|
6245
6244
|
bearer: "bearer";
|
|
6245
|
+
apiKey: "apiKey";
|
|
6246
6246
|
}>>;
|
|
6247
6247
|
cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
|
|
6248
6248
|
ttl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6304,8 +6304,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6304
6304
|
}, zod_v4_core.$strict>>;
|
|
6305
6305
|
credential: zod.ZodObject<{
|
|
6306
6306
|
target: zod.ZodEnum<{
|
|
6307
|
-
apiKey: "apiKey";
|
|
6308
6307
|
bearer: "bearer";
|
|
6308
|
+
apiKey: "apiKey";
|
|
6309
6309
|
oauthToken: "oauthToken";
|
|
6310
6310
|
}>;
|
|
6311
6311
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -7240,8 +7240,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
7240
7240
|
name: zod.ZodString;
|
|
7241
7241
|
summary: zod.ZodObject<{
|
|
7242
7242
|
target: zod.ZodEnum<{
|
|
7243
|
-
apiKey: "apiKey";
|
|
7244
7243
|
bearer: "bearer";
|
|
7244
|
+
apiKey: "apiKey";
|
|
7245
7245
|
oauthToken: "oauthToken";
|
|
7246
7246
|
}>;
|
|
7247
7247
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -7952,8 +7952,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7952
7952
|
name: zod.ZodString;
|
|
7953
7953
|
credential: zod.ZodObject<{
|
|
7954
7954
|
target: zod.ZodEnum<{
|
|
7955
|
-
apiKey: "apiKey";
|
|
7956
7955
|
bearer: "bearer";
|
|
7956
|
+
apiKey: "apiKey";
|
|
7957
7957
|
oauthToken: "oauthToken";
|
|
7958
7958
|
}>;
|
|
7959
7959
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -8014,8 +8014,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
8014
8014
|
}, zod_v4_core.$strict>]>>;
|
|
8015
8015
|
identity: zod.ZodOptional<zod.ZodObject<{
|
|
8016
8016
|
target: zod.ZodEnum<{
|
|
8017
|
-
apiKey: "apiKey";
|
|
8018
8017
|
bearer: "bearer";
|
|
8018
|
+
apiKey: "apiKey";
|
|
8019
8019
|
oauthToken: "oauthToken";
|
|
8020
8020
|
}>;
|
|
8021
8021
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -8352,8 +8352,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8352
8352
|
name: zod.ZodString;
|
|
8353
8353
|
summary: zod.ZodObject<{
|
|
8354
8354
|
target: zod.ZodEnum<{
|
|
8355
|
-
apiKey: "apiKey";
|
|
8356
8355
|
bearer: "bearer";
|
|
8356
|
+
apiKey: "apiKey";
|
|
8357
8357
|
oauthToken: "oauthToken";
|
|
8358
8358
|
}>;
|
|
8359
8359
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -8426,8 +8426,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8426
8426
|
allowAmbientCredential: zod.ZodBoolean;
|
|
8427
8427
|
credential: zod.ZodOptional<zod.ZodObject<{
|
|
8428
8428
|
target: zod.ZodEnum<{
|
|
8429
|
-
apiKey: "apiKey";
|
|
8430
8429
|
bearer: "bearer";
|
|
8430
|
+
apiKey: "apiKey";
|
|
8431
8431
|
oauthToken: "oauthToken";
|
|
8432
8432
|
}>;
|
|
8433
8433
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -8496,8 +8496,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8496
8496
|
literal: zod.ZodString;
|
|
8497
8497
|
}, zod_v4_core.$strict>]>>>;
|
|
8498
8498
|
target: zod.ZodOptional<zod.ZodEnum<{
|
|
8499
|
-
apiKey: "apiKey";
|
|
8500
8499
|
bearer: "bearer";
|
|
8500
|
+
apiKey: "apiKey";
|
|
8501
8501
|
oauthToken: "oauthToken";
|
|
8502
8502
|
}>>;
|
|
8503
8503
|
cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
|
|
@@ -8531,8 +8531,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8531
8531
|
allowAmbientCredential: zod.ZodBoolean;
|
|
8532
8532
|
credential: zod.ZodOptional<zod.ZodObject<{
|
|
8533
8533
|
target: zod.ZodEnum<{
|
|
8534
|
-
apiKey: "apiKey";
|
|
8535
8534
|
bearer: "bearer";
|
|
8535
|
+
apiKey: "apiKey";
|
|
8536
8536
|
oauthToken: "oauthToken";
|
|
8537
8537
|
}>;
|
|
8538
8538
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -9070,8 +9070,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9070
9070
|
literal: zod.ZodString;
|
|
9071
9071
|
}, zod_v4_core.$strict>]>>>>;
|
|
9072
9072
|
target: zod.ZodOptional<zod.ZodEnum<{
|
|
9073
|
-
apiKey: "apiKey";
|
|
9074
9073
|
bearer: "bearer";
|
|
9074
|
+
apiKey: "apiKey";
|
|
9075
9075
|
}>>;
|
|
9076
9076
|
cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
|
|
9077
9077
|
ttl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9133,8 +9133,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9133
9133
|
}, zod_v4_core.$strict>>;
|
|
9134
9134
|
credential: zod.ZodObject<{
|
|
9135
9135
|
target: zod.ZodEnum<{
|
|
9136
|
-
apiKey: "apiKey";
|
|
9137
9136
|
bearer: "bearer";
|
|
9137
|
+
apiKey: "apiKey";
|
|
9138
9138
|
oauthToken: "oauthToken";
|
|
9139
9139
|
}>;
|
|
9140
9140
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -9191,8 +9191,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9191
9191
|
literal: zod.ZodString;
|
|
9192
9192
|
}, zod_v4_core.$strict>]>>>;
|
|
9193
9193
|
target: zod.ZodOptional<zod.ZodEnum<{
|
|
9194
|
-
apiKey: "apiKey";
|
|
9195
9194
|
bearer: "bearer";
|
|
9195
|
+
apiKey: "apiKey";
|
|
9196
9196
|
}>>;
|
|
9197
9197
|
cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
|
|
9198
9198
|
ttl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9254,8 +9254,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9254
9254
|
}, zod_v4_core.$strict>>;
|
|
9255
9255
|
credential: zod.ZodObject<{
|
|
9256
9256
|
target: zod.ZodEnum<{
|
|
9257
|
-
apiKey: "apiKey";
|
|
9258
9257
|
bearer: "bearer";
|
|
9258
|
+
apiKey: "apiKey";
|
|
9259
9259
|
oauthToken: "oauthToken";
|
|
9260
9260
|
}>;
|
|
9261
9261
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
@@ -10046,8 +10046,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10046
10046
|
name: zod.ZodString;
|
|
10047
10047
|
credential: zod.ZodObject<{
|
|
10048
10048
|
target: zod.ZodEnum<{
|
|
10049
|
-
apiKey: "apiKey";
|
|
10050
10049
|
bearer: "bearer";
|
|
10050
|
+
apiKey: "apiKey";
|
|
10051
10051
|
oauthToken: "oauthToken";
|
|
10052
10052
|
}>;
|
|
10053
10053
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -10108,8 +10108,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10108
10108
|
}, zod_v4_core.$strict>]>>;
|
|
10109
10109
|
identity: zod.ZodOptional<zod.ZodObject<{
|
|
10110
10110
|
target: zod.ZodEnum<{
|
|
10111
|
-
apiKey: "apiKey";
|
|
10112
10111
|
bearer: "bearer";
|
|
10112
|
+
apiKey: "apiKey";
|
|
10113
10113
|
oauthToken: "oauthToken";
|
|
10114
10114
|
}>;
|
|
10115
10115
|
sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -10489,8 +10489,8 @@ declare function frontDoorApiFromState(paths: LayoutPaths, fsPort?: HeadroomFs):
|
|
|
10489
10489
|
/** A credential block as every response reports it: the effective target, each source's kind and its identifying detail, in order, and the cache setting. Never a value: a `literal` source reports only its kind. */
|
|
10490
10490
|
declare const CredentialSummarySchema: z.ZodObject<{
|
|
10491
10491
|
target: z.ZodEnum<{
|
|
10492
|
-
apiKey: "apiKey";
|
|
10493
10492
|
bearer: "bearer";
|
|
10493
|
+
apiKey: "apiKey";
|
|
10494
10494
|
oauthToken: "oauthToken";
|
|
10495
10495
|
}>;
|
|
10496
10496
|
sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -10534,8 +10534,8 @@ declare const ConfigIdentityAddOutputSchema: z.ZodObject<{
|
|
|
10534
10534
|
allowAmbientCredential: z.ZodBoolean;
|
|
10535
10535
|
credential: z.ZodOptional<z.ZodObject<{
|
|
10536
10536
|
target: z.ZodEnum<{
|
|
10537
|
-
apiKey: "apiKey";
|
|
10538
10537
|
bearer: "bearer";
|
|
10538
|
+
apiKey: "apiKey";
|
|
10539
10539
|
oauthToken: "oauthToken";
|
|
10540
10540
|
}>;
|
|
10541
10541
|
sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -10605,8 +10605,8 @@ declare const ConfigIdentitySetInputSchema: z.ZodObject<{
|
|
|
10605
10605
|
literal: z.ZodString;
|
|
10606
10606
|
}, z.core.$strict>]>>>;
|
|
10607
10607
|
target: z.ZodOptional<z.ZodEnum<{
|
|
10608
|
-
apiKey: "apiKey";
|
|
10609
10608
|
bearer: "bearer";
|
|
10609
|
+
apiKey: "apiKey";
|
|
10610
10610
|
oauthToken: "oauthToken";
|
|
10611
10611
|
}>>;
|
|
10612
10612
|
cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
@@ -10641,8 +10641,8 @@ declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
|
|
|
10641
10641
|
allowAmbientCredential: z.ZodBoolean;
|
|
10642
10642
|
credential: z.ZodOptional<z.ZodObject<{
|
|
10643
10643
|
target: z.ZodEnum<{
|
|
10644
|
-
apiKey: "apiKey";
|
|
10645
10644
|
bearer: "bearer";
|
|
10645
|
+
apiKey: "apiKey";
|
|
10646
10646
|
oauthToken: "oauthToken";
|
|
10647
10647
|
}>;
|
|
10648
10648
|
sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -11178,8 +11178,8 @@ declare const ConfigProviderAddInputSchema: z.ZodObject<{
|
|
|
11178
11178
|
literal: z.ZodString;
|
|
11179
11179
|
}, z.core.$strict>]>>>>;
|
|
11180
11180
|
target: z.ZodOptional<z.ZodEnum<{
|
|
11181
|
-
apiKey: "apiKey";
|
|
11182
11181
|
bearer: "bearer";
|
|
11182
|
+
apiKey: "apiKey";
|
|
11183
11183
|
}>>;
|
|
11184
11184
|
cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
11185
11185
|
ttl: z.ZodOptional<z.ZodString>;
|
|
@@ -11242,8 +11242,8 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
|
|
|
11242
11242
|
}, z.core.$strict>>;
|
|
11243
11243
|
credential: z.ZodObject<{
|
|
11244
11244
|
target: z.ZodEnum<{
|
|
11245
|
-
apiKey: "apiKey";
|
|
11246
11245
|
bearer: "bearer";
|
|
11246
|
+
apiKey: "apiKey";
|
|
11247
11247
|
oauthToken: "oauthToken";
|
|
11248
11248
|
}>;
|
|
11249
11249
|
sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -11301,8 +11301,8 @@ declare const ConfigProviderSetInputSchema: z.ZodObject<{
|
|
|
11301
11301
|
literal: z.ZodString;
|
|
11302
11302
|
}, z.core.$strict>]>>>;
|
|
11303
11303
|
target: z.ZodOptional<z.ZodEnum<{
|
|
11304
|
-
apiKey: "apiKey";
|
|
11305
11304
|
bearer: "bearer";
|
|
11305
|
+
apiKey: "apiKey";
|
|
11306
11306
|
}>>;
|
|
11307
11307
|
cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
|
|
11308
11308
|
ttl: z.ZodOptional<z.ZodString>;
|
|
@@ -11365,8 +11365,8 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
|
|
|
11365
11365
|
}, z.core.$strict>>;
|
|
11366
11366
|
credential: z.ZodObject<{
|
|
11367
11367
|
target: z.ZodEnum<{
|
|
11368
|
-
apiKey: "apiKey";
|
|
11369
11368
|
bearer: "bearer";
|
|
11369
|
+
apiKey: "apiKey";
|
|
11370
11370
|
oauthToken: "oauthToken";
|
|
11371
11371
|
}>;
|
|
11372
11372
|
sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -12203,8 +12203,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
12203
12203
|
name: z.ZodString;
|
|
12204
12204
|
summary: z.ZodObject<{
|
|
12205
12205
|
target: z.ZodEnum<{
|
|
12206
|
-
apiKey: "apiKey";
|
|
12207
12206
|
bearer: "bearer";
|
|
12207
|
+
apiKey: "apiKey";
|
|
12208
12208
|
oauthToken: "oauthToken";
|
|
12209
12209
|
}>;
|
|
12210
12210
|
sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Joseph Mearman <joseph@mearman.co.uk>",
|