claude-use 11.66.1 → 11.66.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 +80 -15
- package/dist/index.cjs +21 -15
- package/dist/index.mjs +21 -15
- package/dist/types/index.d.ts +28 -28
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -28806,6 +28806,22 @@ function daemonAdmits(fs31, allowlistFile, recordedHash, required2) {
|
|
|
28806
28806
|
const served = parseAllowlistFile(content);
|
|
28807
28807
|
return recordedHash === hashAllowlistFile(content) && required2.every((upstream) => served.includes(upstream));
|
|
28808
28808
|
}
|
|
28809
|
+
function startSupervisorUnderLock(params) {
|
|
28810
|
+
const { paths, ports } = params;
|
|
28811
|
+
ports.fs.mkdirp(paths.headroomDir);
|
|
28812
|
+
const created = ports.fs.writeFileExclusive(paths.headroomLockFile, `${JSON.stringify({ pid: params.holderPid, at: ports.now() })}
|
|
28813
|
+
`);
|
|
28814
|
+
if (created) {
|
|
28815
|
+
ports.spawnSupervisor(paths);
|
|
28816
|
+
return "spawned";
|
|
28817
|
+
}
|
|
28818
|
+
const lock = readStartLock(ports.fs, paths.headroomLockFile);
|
|
28819
|
+
if (lock === void 0 || !ports.isRunning(lock.pid)) {
|
|
28820
|
+
ports.fs.removeRecursive(paths.headroomLockFile);
|
|
28821
|
+
return "cleared-stale-lock";
|
|
28822
|
+
}
|
|
28823
|
+
return "held";
|
|
28824
|
+
}
|
|
28809
28825
|
function ensureHeadroom(params) {
|
|
28810
28826
|
const { paths, ports } = params;
|
|
28811
28827
|
let deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
@@ -28851,21 +28867,11 @@ function ensureHeadroom(params) {
|
|
|
28851
28867
|
);
|
|
28852
28868
|
}
|
|
28853
28869
|
} else if (!spawnedSupervisor) {
|
|
28854
|
-
|
|
28855
|
-
|
|
28856
|
-
paths.headroomLockFile,
|
|
28857
|
-
`${JSON.stringify({ pid: params.launcherPid, at: ports.now() })}
|
|
28858
|
-
`
|
|
28859
|
-
);
|
|
28860
|
-
if (created) {
|
|
28861
|
-
ports.spawnSupervisor(paths);
|
|
28870
|
+
const started = startSupervisorUnderLock({ paths, holderPid: params.launcherPid, ports });
|
|
28871
|
+
if (started === "spawned") {
|
|
28862
28872
|
spawnedSupervisor = true;
|
|
28863
|
-
} else {
|
|
28864
|
-
|
|
28865
|
-
if (lock === void 0 || !ports.isRunning(lock.pid)) {
|
|
28866
|
-
ports.fs.removeRecursive(paths.headroomLockFile);
|
|
28867
|
-
continue;
|
|
28868
|
-
}
|
|
28873
|
+
} else if (started === "cleared-stale-lock") {
|
|
28874
|
+
continue;
|
|
28869
28875
|
}
|
|
28870
28876
|
}
|
|
28871
28877
|
if (ports.now() >= deadline) {
|
|
@@ -37176,7 +37182,7 @@ var init_package = __esm({
|
|
|
37176
37182
|
"package.json"() {
|
|
37177
37183
|
package_default = {
|
|
37178
37184
|
name: "claude-use",
|
|
37179
|
-
version: "11.66.
|
|
37185
|
+
version: "11.66.2",
|
|
37180
37186
|
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.",
|
|
37181
37187
|
license: "MIT",
|
|
37182
37188
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -119239,6 +119245,50 @@ function showSession(fs31, identitiesDir, identities, query, onlyIdentity) {
|
|
|
119239
119245
|
// src/frontdoor/commands.ts
|
|
119240
119246
|
init_realPorts();
|
|
119241
119247
|
|
|
119248
|
+
// src/headroom/keeper.ts
|
|
119249
|
+
init_ensure();
|
|
119250
|
+
init_state2();
|
|
119251
|
+
function createHeadroomKeeper(deps) {
|
|
119252
|
+
const { paths, ports, log } = deps;
|
|
119253
|
+
let lastAttemptAt;
|
|
119254
|
+
const releaseOwnLock = () => {
|
|
119255
|
+
if (readStartLock(ports.fs, paths.headroomLockFile)?.pid === deps.ownPid) {
|
|
119256
|
+
ports.fs.removeRecursive(paths.headroomLockFile);
|
|
119257
|
+
}
|
|
119258
|
+
};
|
|
119259
|
+
const tick = () => {
|
|
119260
|
+
const state = resolveServingHeadroomState(ports.fs, { stateFile: paths.headroomStateFile, legacyStateFile: paths.headroomLegacyStateFile }, ports.isRunning)?.state;
|
|
119261
|
+
const supervisorPid = state?.supervisorPid;
|
|
119262
|
+
const orphans = listSessions(ports.fs, paths.headroomSessionsDir).filter((session) => ports.isRunning(session.pid) && !ports.isRunning(session.supervisorPid));
|
|
119263
|
+
if (supervisorPid !== void 0 && ports.isRunning(supervisorPid)) {
|
|
119264
|
+
lastAttemptAt = void 0;
|
|
119265
|
+
releaseOwnLock();
|
|
119266
|
+
for (const session of orphans) {
|
|
119267
|
+
writeSession(ports.fs, paths.headroomSessionsDir, { ...session, supervisorPid });
|
|
119268
|
+
}
|
|
119269
|
+
if (orphans.length > 0) {
|
|
119270
|
+
log(`front door: re-registered ${String(orphans.length)} launcher(s) against headroom supervisor ${String(supervisorPid)}`);
|
|
119271
|
+
}
|
|
119272
|
+
return { kind: "serving", rebound: orphans.map((session) => session.pid) };
|
|
119273
|
+
}
|
|
119274
|
+
if (orphans.length === 0) {
|
|
119275
|
+
return { kind: "idle" };
|
|
119276
|
+
}
|
|
119277
|
+
if (lastAttemptAt !== void 0 && ports.now() - lastAttemptAt < HEADROOM_START_TIMEOUT_MS) {
|
|
119278
|
+
return { kind: "backing-off", waiting: orphans.length };
|
|
119279
|
+
}
|
|
119280
|
+
releaseOwnLock();
|
|
119281
|
+
lastAttemptAt = ports.now();
|
|
119282
|
+
const start = startSupervisorUnderLock({ paths, holderPid: deps.ownPid, ports });
|
|
119283
|
+
log(`front door: headroom supervisor is not running and ${String(orphans.length)} launcher(s) are registered against it (${start})`);
|
|
119284
|
+
return { kind: "starting", start, waiting: orphans.length };
|
|
119285
|
+
};
|
|
119286
|
+
return { tick };
|
|
119287
|
+
}
|
|
119288
|
+
|
|
119289
|
+
// src/frontdoor/commands.ts
|
|
119290
|
+
init_supervisor();
|
|
119291
|
+
|
|
119242
119292
|
// src/supervise/registry.ts
|
|
119243
119293
|
var import_node_path36 = __toESM(require("node:path"), 1);
|
|
119244
119294
|
init_zod();
|
|
@@ -139424,6 +139474,21 @@ function realFrontDoorSupervisorPorts(paths, respawnGeneration, lifecycle, track
|
|
|
139424
139474
|
timer.unref();
|
|
139425
139475
|
keeperTimers.push(timer);
|
|
139426
139476
|
};
|
|
139477
|
+
const headroomKeeper = createHeadroomKeeper({
|
|
139478
|
+
paths,
|
|
139479
|
+
ownPid: process.pid,
|
|
139480
|
+
ports: { fs: realFarmFs, now: () => Date.now(), isRunning: realIsProcessRunning, spawnSupervisor: (layout) => spawnDetachedSupervisor(layout, "__headroom-supervisor", layout.headroomLogPath) },
|
|
139481
|
+
log
|
|
139482
|
+
});
|
|
139483
|
+
const headroomKeeperTimer = setInterval(() => {
|
|
139484
|
+
try {
|
|
139485
|
+
headroomKeeper.tick();
|
|
139486
|
+
} catch (error63) {
|
|
139487
|
+
log(`headroom keeper failed: ${error63 instanceof Error ? error63.message : String(error63)}`);
|
|
139488
|
+
}
|
|
139489
|
+
}, HEADROOM_POLL_MS);
|
|
139490
|
+
headroomKeeperTimer.unref();
|
|
139491
|
+
keeperTimers.push(headroomKeeperTimer);
|
|
139427
139492
|
everyFreshnessInterval(() => {
|
|
139428
139493
|
try {
|
|
139429
139494
|
const pools = readPools(paths);
|
package/dist/index.cjs
CHANGED
|
@@ -4751,7 +4751,7 @@ var init_package = __esm({
|
|
|
4751
4751
|
"package.json"() {
|
|
4752
4752
|
package_default = {
|
|
4753
4753
|
name: "claude-use",
|
|
4754
|
-
version: "11.66.
|
|
4754
|
+
version: "11.66.2",
|
|
4755
4755
|
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.",
|
|
4756
4756
|
license: "MIT",
|
|
4757
4757
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -5241,6 +5241,22 @@ function daemonAdmits(fs14, allowlistFile, recordedHash, required) {
|
|
|
5241
5241
|
const served = parseAllowlistFile(content);
|
|
5242
5242
|
return recordedHash === hashAllowlistFile(content) && required.every((upstream) => served.includes(upstream));
|
|
5243
5243
|
}
|
|
5244
|
+
function startSupervisorUnderLock(params) {
|
|
5245
|
+
const { paths, ports } = params;
|
|
5246
|
+
ports.fs.mkdirp(paths.headroomDir);
|
|
5247
|
+
const created = ports.fs.writeFileExclusive(paths.headroomLockFile, `${JSON.stringify({ pid: params.holderPid, at: ports.now() })}
|
|
5248
|
+
`);
|
|
5249
|
+
if (created) {
|
|
5250
|
+
ports.spawnSupervisor(paths);
|
|
5251
|
+
return "spawned";
|
|
5252
|
+
}
|
|
5253
|
+
const lock = readStartLock(ports.fs, paths.headroomLockFile);
|
|
5254
|
+
if (lock === void 0 || !ports.isRunning(lock.pid)) {
|
|
5255
|
+
ports.fs.removeRecursive(paths.headroomLockFile);
|
|
5256
|
+
return "cleared-stale-lock";
|
|
5257
|
+
}
|
|
5258
|
+
return "held";
|
|
5259
|
+
}
|
|
5244
5260
|
function ensureHeadroom(params) {
|
|
5245
5261
|
const { paths, ports } = params;
|
|
5246
5262
|
let deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
@@ -5286,21 +5302,11 @@ function ensureHeadroom(params) {
|
|
|
5286
5302
|
);
|
|
5287
5303
|
}
|
|
5288
5304
|
} else if (!spawnedSupervisor) {
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
paths.headroomLockFile,
|
|
5292
|
-
`${JSON.stringify({ pid: params.launcherPid, at: ports.now() })}
|
|
5293
|
-
`
|
|
5294
|
-
);
|
|
5295
|
-
if (created) {
|
|
5296
|
-
ports.spawnSupervisor(paths);
|
|
5305
|
+
const started = startSupervisorUnderLock({ paths, holderPid: params.launcherPid, ports });
|
|
5306
|
+
if (started === "spawned") {
|
|
5297
5307
|
spawnedSupervisor = true;
|
|
5298
|
-
} else {
|
|
5299
|
-
|
|
5300
|
-
if (lock === void 0 || !ports.isRunning(lock.pid)) {
|
|
5301
|
-
ports.fs.removeRecursive(paths.headroomLockFile);
|
|
5302
|
-
continue;
|
|
5303
|
-
}
|
|
5308
|
+
} else if (started === "cleared-stale-lock") {
|
|
5309
|
+
continue;
|
|
5304
5310
|
}
|
|
5305
5311
|
}
|
|
5306
5312
|
if (ports.now() >= deadline) {
|
package/dist/index.mjs
CHANGED
|
@@ -4727,7 +4727,7 @@ var init_package = __esm({
|
|
|
4727
4727
|
"package.json"() {
|
|
4728
4728
|
package_default = {
|
|
4729
4729
|
name: "claude-use",
|
|
4730
|
-
version: "11.66.
|
|
4730
|
+
version: "11.66.2",
|
|
4731
4731
|
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.",
|
|
4732
4732
|
license: "MIT",
|
|
4733
4733
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -5218,6 +5218,22 @@ function daemonAdmits(fs14, allowlistFile, recordedHash, required) {
|
|
|
5218
5218
|
const served = parseAllowlistFile(content);
|
|
5219
5219
|
return recordedHash === hashAllowlistFile(content) && required.every((upstream) => served.includes(upstream));
|
|
5220
5220
|
}
|
|
5221
|
+
function startSupervisorUnderLock(params) {
|
|
5222
|
+
const { paths, ports } = params;
|
|
5223
|
+
ports.fs.mkdirp(paths.headroomDir);
|
|
5224
|
+
const created = ports.fs.writeFileExclusive(paths.headroomLockFile, `${JSON.stringify({ pid: params.holderPid, at: ports.now() })}
|
|
5225
|
+
`);
|
|
5226
|
+
if (created) {
|
|
5227
|
+
ports.spawnSupervisor(paths);
|
|
5228
|
+
return "spawned";
|
|
5229
|
+
}
|
|
5230
|
+
const lock = readStartLock(ports.fs, paths.headroomLockFile);
|
|
5231
|
+
if (lock === void 0 || !ports.isRunning(lock.pid)) {
|
|
5232
|
+
ports.fs.removeRecursive(paths.headroomLockFile);
|
|
5233
|
+
return "cleared-stale-lock";
|
|
5234
|
+
}
|
|
5235
|
+
return "held";
|
|
5236
|
+
}
|
|
5221
5237
|
function ensureHeadroom(params) {
|
|
5222
5238
|
const { paths, ports } = params;
|
|
5223
5239
|
let deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
|
|
@@ -5263,21 +5279,11 @@ function ensureHeadroom(params) {
|
|
|
5263
5279
|
);
|
|
5264
5280
|
}
|
|
5265
5281
|
} else if (!spawnedSupervisor) {
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
paths.headroomLockFile,
|
|
5269
|
-
`${JSON.stringify({ pid: params.launcherPid, at: ports.now() })}
|
|
5270
|
-
`
|
|
5271
|
-
);
|
|
5272
|
-
if (created) {
|
|
5273
|
-
ports.spawnSupervisor(paths);
|
|
5282
|
+
const started = startSupervisorUnderLock({ paths, holderPid: params.launcherPid, ports });
|
|
5283
|
+
if (started === "spawned") {
|
|
5274
5284
|
spawnedSupervisor = true;
|
|
5275
|
-
} else {
|
|
5276
|
-
|
|
5277
|
-
if (lock === void 0 || !ports.isRunning(lock.pid)) {
|
|
5278
|
-
ports.fs.removeRecursive(paths.headroomLockFile);
|
|
5279
|
-
continue;
|
|
5280
|
-
}
|
|
5285
|
+
} else if (started === "cleared-stale-lock") {
|
|
5286
|
+
continue;
|
|
5281
5287
|
}
|
|
5282
5288
|
}
|
|
5283
5289
|
if (ports.now() >= deadline) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -297,8 +297,8 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
297
297
|
}>>;
|
|
298
298
|
layout: z.ZodOptional<z.ZodObject<{
|
|
299
299
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
300
|
-
model: "model";
|
|
301
300
|
account: "account";
|
|
301
|
+
model: "model";
|
|
302
302
|
identity: "identity";
|
|
303
303
|
provider: "provider";
|
|
304
304
|
version: "version";
|
|
@@ -1523,8 +1523,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1523
1523
|
}>>;
|
|
1524
1524
|
layout: z.ZodOptional<z.ZodObject<{
|
|
1525
1525
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1526
|
-
model: "model";
|
|
1527
1526
|
account: "account";
|
|
1527
|
+
model: "model";
|
|
1528
1528
|
identity: "identity";
|
|
1529
1529
|
provider: "provider";
|
|
1530
1530
|
version: "version";
|
|
@@ -2369,8 +2369,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2369
2369
|
}>>;
|
|
2370
2370
|
layout: z.ZodOptional<z.ZodObject<{
|
|
2371
2371
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2372
|
-
model: "model";
|
|
2373
2372
|
account: "account";
|
|
2373
|
+
model: "model";
|
|
2374
2374
|
identity: "identity";
|
|
2375
2375
|
provider: "provider";
|
|
2376
2376
|
version: "version";
|
|
@@ -3142,8 +3142,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3142
3142
|
}>>;
|
|
3143
3143
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3144
3144
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3145
|
-
model: "model";
|
|
3146
3145
|
account: "account";
|
|
3146
|
+
model: "model";
|
|
3147
3147
|
identity: "identity";
|
|
3148
3148
|
provider: "provider";
|
|
3149
3149
|
version: "version";
|
|
@@ -3915,8 +3915,8 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3915
3915
|
}>>;
|
|
3916
3916
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3917
3917
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3918
|
-
model: "model";
|
|
3919
3918
|
account: "account";
|
|
3919
|
+
model: "model";
|
|
3920
3920
|
identity: "identity";
|
|
3921
3921
|
provider: "provider";
|
|
3922
3922
|
version: "version";
|
|
@@ -4669,8 +4669,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4669
4669
|
}>>;
|
|
4670
4670
|
layout: z.ZodOptional<z.ZodObject<{
|
|
4671
4671
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4672
|
-
model: "model";
|
|
4673
4672
|
account: "account";
|
|
4673
|
+
model: "model";
|
|
4674
4674
|
identity: "identity";
|
|
4675
4675
|
provider: "provider";
|
|
4676
4676
|
version: "version";
|
|
@@ -9630,6 +9630,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
9630
9630
|
kind: zod.ZodLiteral<"profile">;
|
|
9631
9631
|
name: zod.ZodString;
|
|
9632
9632
|
value: zod.ZodObject<{
|
|
9633
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
9633
9634
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
9634
9635
|
value: zod.ZodBoolean;
|
|
9635
9636
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -9705,7 +9706,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
9705
9706
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
9706
9707
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
9707
9708
|
}, zod_v4_core.$strict>]>>>;
|
|
9708
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
9709
9709
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
9710
9710
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
9711
9711
|
mode: zod.ZodEnum<{
|
|
@@ -9793,8 +9793,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
9793
9793
|
}>>;
|
|
9794
9794
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
9795
9795
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
9796
|
-
model: "model";
|
|
9797
9796
|
account: "account";
|
|
9797
|
+
model: "model";
|
|
9798
9798
|
identity: "identity";
|
|
9799
9799
|
provider: "provider";
|
|
9800
9800
|
version: "version";
|
|
@@ -10351,6 +10351,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10351
10351
|
kind: zod.ZodLiteral<"profile">;
|
|
10352
10352
|
name: zod.ZodString;
|
|
10353
10353
|
value: zod.ZodObject<{
|
|
10354
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
10354
10355
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
10355
10356
|
value: zod.ZodBoolean;
|
|
10356
10357
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -10426,7 +10427,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10426
10427
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
10427
10428
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
10428
10429
|
}, zod_v4_core.$strict>]>>>;
|
|
10429
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
10430
10430
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
10431
10431
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10432
10432
|
mode: zod.ZodEnum<{
|
|
@@ -10514,8 +10514,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10514
10514
|
}>>;
|
|
10515
10515
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
10516
10516
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10517
|
-
model: "model";
|
|
10518
10517
|
account: "account";
|
|
10518
|
+
model: "model";
|
|
10519
10519
|
identity: "identity";
|
|
10520
10520
|
provider: "provider";
|
|
10521
10521
|
version: "version";
|
|
@@ -11711,8 +11711,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11711
11711
|
}>>;
|
|
11712
11712
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
11713
11713
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11714
|
-
model: "model";
|
|
11715
11714
|
account: "account";
|
|
11715
|
+
model: "model";
|
|
11716
11716
|
identity: "identity";
|
|
11717
11717
|
provider: "provider";
|
|
11718
11718
|
version: "version";
|
|
@@ -12489,8 +12489,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12489
12489
|
}>>;
|
|
12490
12490
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
12491
12491
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12492
|
-
model: "model";
|
|
12493
12492
|
account: "account";
|
|
12493
|
+
model: "model";
|
|
12494
12494
|
identity: "identity";
|
|
12495
12495
|
provider: "provider";
|
|
12496
12496
|
version: "version";
|
|
@@ -13356,8 +13356,8 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
13356
13356
|
}>>;
|
|
13357
13357
|
layout: z.ZodOptional<z.ZodObject<{
|
|
13358
13358
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13359
|
-
model: "model";
|
|
13360
13359
|
account: "account";
|
|
13360
|
+
model: "model";
|
|
13361
13361
|
identity: "identity";
|
|
13362
13362
|
provider: "provider";
|
|
13363
13363
|
version: "version";
|
|
@@ -14214,8 +14214,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
14214
14214
|
}>>;
|
|
14215
14215
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
14216
14216
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
14217
|
-
model: "model";
|
|
14218
14217
|
account: "account";
|
|
14218
|
+
model: "model";
|
|
14219
14219
|
identity: "identity";
|
|
14220
14220
|
provider: "provider";
|
|
14221
14221
|
version: "version";
|
|
@@ -15883,8 +15883,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
15883
15883
|
}>>;
|
|
15884
15884
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
15885
15885
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
15886
|
-
model: "model";
|
|
15887
15886
|
account: "account";
|
|
15887
|
+
model: "model";
|
|
15888
15888
|
identity: "identity";
|
|
15889
15889
|
provider: "provider";
|
|
15890
15890
|
version: "version";
|
|
@@ -16681,6 +16681,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16681
16681
|
kind: zod.ZodLiteral<"profile">;
|
|
16682
16682
|
name: zod.ZodString;
|
|
16683
16683
|
value: zod.ZodObject<{
|
|
16684
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
16684
16685
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
16685
16686
|
value: zod.ZodBoolean;
|
|
16686
16687
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -16756,7 +16757,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16756
16757
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
16757
16758
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
16758
16759
|
}, zod_v4_core.$strict>]>>>;
|
|
16759
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
16760
16760
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
16761
16761
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
16762
16762
|
mode: zod.ZodEnum<{
|
|
@@ -16844,8 +16844,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16844
16844
|
}>>;
|
|
16845
16845
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
16846
16846
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
16847
|
-
model: "model";
|
|
16848
16847
|
account: "account";
|
|
16848
|
+
model: "model";
|
|
16849
16849
|
identity: "identity";
|
|
16850
16850
|
provider: "provider";
|
|
16851
16851
|
version: "version";
|
|
@@ -17402,6 +17402,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17402
17402
|
kind: zod.ZodLiteral<"profile">;
|
|
17403
17403
|
name: zod.ZodString;
|
|
17404
17404
|
value: zod.ZodObject<{
|
|
17405
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
17405
17406
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
17406
17407
|
value: zod.ZodBoolean;
|
|
17407
17408
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -17477,7 +17478,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17477
17478
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
17478
17479
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
17479
17480
|
}, zod_v4_core.$strict>]>>>;
|
|
17480
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
17481
17481
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
17482
17482
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
17483
17483
|
mode: zod.ZodEnum<{
|
|
@@ -17565,8 +17565,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17565
17565
|
}>>;
|
|
17566
17566
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
17567
17567
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
17568
|
-
model: "model";
|
|
17569
17568
|
account: "account";
|
|
17569
|
+
model: "model";
|
|
17570
17570
|
identity: "identity";
|
|
17571
17571
|
provider: "provider";
|
|
17572
17572
|
version: "version";
|
|
@@ -18762,8 +18762,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18762
18762
|
}>>;
|
|
18763
18763
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
18764
18764
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
18765
|
-
model: "model";
|
|
18766
18765
|
account: "account";
|
|
18766
|
+
model: "model";
|
|
18767
18767
|
identity: "identity";
|
|
18768
18768
|
provider: "provider";
|
|
18769
18769
|
version: "version";
|
|
@@ -19540,8 +19540,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19540
19540
|
}>>;
|
|
19541
19541
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
19542
19542
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
19543
|
-
model: "model";
|
|
19544
19543
|
account: "account";
|
|
19544
|
+
model: "model";
|
|
19545
19545
|
identity: "identity";
|
|
19546
19546
|
provider: "provider";
|
|
19547
19547
|
version: "version";
|
|
@@ -21196,6 +21196,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
21196
21196
|
kind: z.ZodLiteral<"profile">;
|
|
21197
21197
|
name: z.ZodString;
|
|
21198
21198
|
value: z.ZodObject<{
|
|
21199
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21199
21200
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
21200
21201
|
value: z.ZodBoolean;
|
|
21201
21202
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -21271,7 +21272,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
21271
21272
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
21272
21273
|
}, z.core.$strip>], "kind">]>;
|
|
21273
21274
|
}, z.core.$strict>]>>>;
|
|
21274
|
-
description: z.ZodOptional<z.ZodString>;
|
|
21275
21275
|
models: z.ZodOptional<z.ZodObject<{
|
|
21276
21276
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
21277
21277
|
mode: z.ZodEnum<{
|
|
@@ -21359,8 +21359,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
21359
21359
|
}>>;
|
|
21360
21360
|
layout: z.ZodOptional<z.ZodObject<{
|
|
21361
21361
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
21362
|
-
model: "model";
|
|
21363
21362
|
account: "account";
|
|
21363
|
+
model: "model";
|
|
21364
21364
|
identity: "identity";
|
|
21365
21365
|
provider: "provider";
|
|
21366
21366
|
version: "version";
|
|
@@ -21919,6 +21919,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
21919
21919
|
kind: z.ZodLiteral<"profile">;
|
|
21920
21920
|
name: z.ZodString;
|
|
21921
21921
|
value: z.ZodObject<{
|
|
21922
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21922
21923
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
21923
21924
|
value: z.ZodBoolean;
|
|
21924
21925
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -21994,7 +21995,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
21994
21995
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
21995
21996
|
}, z.core.$strip>], "kind">]>;
|
|
21996
21997
|
}, z.core.$strict>]>>>;
|
|
21997
|
-
description: z.ZodOptional<z.ZodString>;
|
|
21998
21998
|
models: z.ZodOptional<z.ZodObject<{
|
|
21999
21999
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
22000
22000
|
mode: z.ZodEnum<{
|
|
@@ -22082,8 +22082,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
22082
22082
|
}>>;
|
|
22083
22083
|
layout: z.ZodOptional<z.ZodObject<{
|
|
22084
22084
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22085
|
-
model: "model";
|
|
22086
22085
|
account: "account";
|
|
22086
|
+
model: "model";
|
|
22087
22087
|
identity: "identity";
|
|
22088
22088
|
provider: "provider";
|
|
22089
22089
|
version: "version";
|
|
@@ -23281,8 +23281,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
23281
23281
|
}>>;
|
|
23282
23282
|
layout: z.ZodOptional<z.ZodObject<{
|
|
23283
23283
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23284
|
-
model: "model";
|
|
23285
23284
|
account: "account";
|
|
23285
|
+
model: "model";
|
|
23286
23286
|
identity: "identity";
|
|
23287
23287
|
provider: "provider";
|
|
23288
23288
|
version: "version";
|
|
@@ -24061,8 +24061,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
24061
24061
|
}>>;
|
|
24062
24062
|
layout: z.ZodOptional<z.ZodObject<{
|
|
24063
24063
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24064
|
-
model: "model";
|
|
24065
24064
|
account: "account";
|
|
24065
|
+
model: "model";
|
|
24066
24066
|
identity: "identity";
|
|
24067
24067
|
provider: "provider";
|
|
24068
24068
|
version: "version";
|
|
@@ -25098,8 +25098,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
25098
25098
|
}>>;
|
|
25099
25099
|
layout: z.ZodOptional<z.ZodObject<{
|
|
25100
25100
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25101
|
-
model: "model";
|
|
25102
25101
|
account: "account";
|
|
25102
|
+
model: "model";
|
|
25103
25103
|
identity: "identity";
|
|
25104
25104
|
provider: "provider";
|
|
25105
25105
|
version: "version";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "11.66.
|
|
3
|
+
"version": "11.66.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>",
|