claude-use 10.0.0 → 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 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
- const deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
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 true;
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 false;
28263
+ return `could not install headroom from ${config2.source}: ${result.error ?? "install failed"}`;
28258
28264
  }
28259
28265
  installedSource = config2.source;
28260
- return true;
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
- if (!ensureInstalled()) {
28270
- return fail(`could not install headroom from ${config2.source}: install failed (is uv installed and on PATH?)`);
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
- if (installedSource !== config2.source && !ensureInstalled()) {
28346
- return fail(`could not install headroom from ${config2.source}: install failed (is uv installed and on PATH?)`);
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.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>",
@@ -126280,7 +126288,9 @@ async function hopOnce(request7, response, target, body, mayRetry) {
126280
126288
  }
126281
126289
  const phase = response.headersSent ? "mid-stream" : "before the response started";
126282
126290
  const code = "code" in error63 && typeof error63.code === "string" ? ` ${error63.code}` : "";
126283
- target.log(`front door: headroom hop to ${socketPath} failed (${request7.method} ${new URL(request7.url, "http://127.0.0.1").pathname}, ${phase}): ${error63.message}${code}`);
126291
+ const attempt = mayRetry ? "first attempt" : "replay";
126292
+ const client = request7.signal.aborted ? "client had gone" : "client still waiting";
126293
+ target.log(`front door: headroom hop to ${socketPath} failed (${request7.method} ${new URL(request7.url, "http://127.0.0.1").pathname}, ${phase}, ${attempt}, ${client}): ${error63.message}${code}`);
126284
126294
  if (!response.headersSent) {
126285
126295
  response.start(HTTP_BAD_GATEWAY2, { "Content-Type": "application/json" });
126286
126296
  void response.write(JSON.stringify({ type: "error", error: { type: "api_error", message: `agent-shim front door: the headroom daemon is unreachable (${error63.message})` } })).then(() => {
@@ -141245,6 +141255,7 @@ function formatHeadroomStatus(status) {
141245
141255
  }
141246
141256
  var ownedHeadroom = /* @__PURE__ */ new Map();
141247
141257
  var exitedHeadroom = /* @__PURE__ */ new Set();
141258
+ var HEADROOM_INSTALL_TIMEOUT_MS = 6e5;
141248
141259
  var READY_FETCH_TIMEOUT_MS = 2e3;
141249
141260
  function headroomPidRunning(pid) {
141250
141261
  return !exitedHeadroom.has(pid) && realIsProcessRunning(pid);
@@ -141373,9 +141384,13 @@ function realSupervisorPorts(paths) {
141373
141384
  },
141374
141385
  ready: readyOverSocket,
141375
141386
  install: (spec) => {
141376
- 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 });
141377
141388
  if (result.error !== void 0) {
141378
- return { ok: false, error: `uv is not installed or not on PATH (${result.error.message})` };
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
+ };
141379
141394
  }
141380
141395
  if (result.stdout !== "") {
141381
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.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
- const deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
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 true;
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 false;
3700
+ return `could not install headroom from ${config.source}: ${result.error ?? "install failed"}`;
3695
3701
  }
3696
3702
  installedSource = config.source;
3697
- return true;
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
- if (!ensureInstalled()) {
3707
- return fail(`could not install headroom from ${config.source}: install failed (is uv installed and on PATH?)`);
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
- if (installedSource !== config.source && !ensureInstalled()) {
3783
- return fail(`could not install headroom from ${config.source}: install failed (is uv installed and on PATH?)`);
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.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
- const deadline = ports.now() + HEADROOM_START_TIMEOUT_MS;
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 true;
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 false;
3676
+ return `could not install headroom from ${config.source}: ${result.error ?? "install failed"}`;
3671
3677
  }
3672
3678
  installedSource = config.source;
3673
- return true;
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
- if (!ensureInstalled()) {
3683
- return fail(`could not install headroom from ${config.source}: install failed (is uv installed and on PATH?)`);
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
- if (installedSource !== config.source && !ensureInstalled()) {
3759
- return fail(`could not install headroom from ${config.source}: install failed (is uv installed and on PATH?)`);
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);
@@ -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<{
@@ -4161,12 +4161,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4161
4161
  identity: z.ZodObject<{
4162
4162
  name: z.ZodNullable<z.ZodString>;
4163
4163
  source: z.ZodEnum<{
4164
- none: "none";
4165
4164
  "config-dir-escape-hatch": "config-dir-escape-hatch";
4166
4165
  argv: "argv";
4167
4166
  env: "env";
4168
4167
  "directory-pin": "directory-pin";
4169
4168
  "active-identity-file": "active-identity-file";
4169
+ none: "none";
4170
4170
  }>;
4171
4171
  }, z.core.$strict>;
4172
4172
  pool: z.ZodOptional<z.ZodObject<{
@@ -4214,8 +4214,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4214
4214
  name: z.ZodNullable<z.ZodString>;
4215
4215
  source: z.ZodEnum<{
4216
4216
  "directory-rule": "directory-rule";
4217
- none: "none";
4218
4217
  env: "env";
4218
+ none: "none";
4219
4219
  "cli-flag": "cli-flag";
4220
4220
  "identity-default": "identity-default";
4221
4221
  "global-default": "global-default";
@@ -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<{
@@ -7188,12 +7188,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
7188
7188
  decision: zod.ZodObject<{
7189
7189
  identity: zod.ZodOptional<zod.ZodString>;
7190
7190
  identitySource: zod.ZodEnum<{
7191
- none: "none";
7192
7191
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7193
7192
  argv: "argv";
7194
7193
  env: "env";
7195
7194
  "directory-pin": "directory-pin";
7196
7195
  "active-identity-file": "active-identity-file";
7196
+ none: "none";
7197
7197
  }>;
7198
7198
  pool: zod.ZodOptional<zod.ZodObject<{
7199
7199
  name: zod.ZodString;
@@ -7208,8 +7208,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
7208
7208
  configProfile: zod.ZodOptional<zod.ZodString>;
7209
7209
  configProfileSource: zod.ZodEnum<{
7210
7210
  "directory-rule": "directory-rule";
7211
- none: "none";
7212
7211
  env: "env";
7212
+ none: "none";
7213
7213
  "cli-flag": "cli-flag";
7214
7214
  "identity-default": "identity-default";
7215
7215
  "global-default": "global-default";
@@ -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<{
@@ -7788,12 +7788,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7788
7788
  identity: zod.ZodObject<{
7789
7789
  name: zod.ZodNullable<zod.ZodString>;
7790
7790
  source: zod.ZodEnum<{
7791
- none: "none";
7792
7791
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7793
7792
  argv: "argv";
7794
7793
  env: "env";
7795
7794
  "directory-pin": "directory-pin";
7796
7795
  "active-identity-file": "active-identity-file";
7796
+ none: "none";
7797
7797
  }>;
7798
7798
  }, zod_v4_core.$strict>;
7799
7799
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -7841,8 +7841,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7841
7841
  name: zod.ZodNullable<zod.ZodString>;
7842
7842
  source: zod.ZodEnum<{
7843
7843
  "directory-rule": "directory-rule";
7844
- none: "none";
7845
7844
  env: "env";
7845
+ none: "none";
7846
7846
  "cli-flag": "cli-flag";
7847
7847
  "identity-default": "identity-default";
7848
7848
  "global-default": "global-default";
@@ -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<{
@@ -8095,19 +8095,19 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
8095
8095
  "config-profile": "config-profile";
8096
8096
  identity: "identity";
8097
8097
  provider: "provider";
8098
+ frontdoor: "frontdoor";
8098
8099
  pool: "pool";
8100
+ keychain: "keychain";
8099
8101
  "ambient-credential": "ambient-credential";
8100
8102
  "binary-discovery": "binary-discovery";
8101
8103
  "claude-shim": "claude-shim";
8102
8104
  "path-resolution": "path-resolution";
8103
8105
  "legacy-name": "legacy-name";
8104
8106
  "sign-in": "sign-in";
8105
- keychain: "keychain";
8106
8107
  "directory-rules": "directory-rules";
8107
8108
  "categories-local": "categories-local";
8108
8109
  "active-identity": "active-identity";
8109
8110
  headroom: "headroom";
8110
- frontdoor: "frontdoor";
8111
8111
  }>;
8112
8112
  subject: zod.ZodOptional<zod.ZodString>;
8113
8113
  severity: zod.ZodEnum<{
@@ -8300,12 +8300,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8300
8300
  decision: zod.ZodObject<{
8301
8301
  identity: zod.ZodOptional<zod.ZodString>;
8302
8302
  identitySource: zod.ZodEnum<{
8303
- none: "none";
8304
8303
  "config-dir-escape-hatch": "config-dir-escape-hatch";
8305
8304
  argv: "argv";
8306
8305
  env: "env";
8307
8306
  "directory-pin": "directory-pin";
8308
8307
  "active-identity-file": "active-identity-file";
8308
+ none: "none";
8309
8309
  }>;
8310
8310
  pool: zod.ZodOptional<zod.ZodObject<{
8311
8311
  name: zod.ZodString;
@@ -8320,8 +8320,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8320
8320
  configProfile: zod.ZodOptional<zod.ZodString>;
8321
8321
  configProfileSource: zod.ZodEnum<{
8322
8322
  "directory-rule": "directory-rule";
8323
- none: "none";
8324
8323
  env: "env";
8324
+ none: "none";
8325
8325
  "cli-flag": "cli-flag";
8326
8326
  "identity-default": "identity-default";
8327
8327
  "global-default": "global-default";
@@ -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<{
@@ -9882,12 +9882,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9882
9882
  identity: zod.ZodObject<{
9883
9883
  name: zod.ZodNullable<zod.ZodString>;
9884
9884
  source: zod.ZodEnum<{
9885
- none: "none";
9886
9885
  "config-dir-escape-hatch": "config-dir-escape-hatch";
9887
9886
  argv: "argv";
9888
9887
  env: "env";
9889
9888
  "directory-pin": "directory-pin";
9890
9889
  "active-identity-file": "active-identity-file";
9890
+ none: "none";
9891
9891
  }>;
9892
9892
  }, zod_v4_core.$strict>;
9893
9893
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -9935,8 +9935,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9935
9935
  name: zod.ZodNullable<zod.ZodString>;
9936
9936
  source: zod.ZodEnum<{
9937
9937
  "directory-rule": "directory-rule";
9938
- none: "none";
9939
9938
  env: "env";
9939
+ none: "none";
9940
9940
  "cli-flag": "cli-flag";
9941
9941
  "identity-default": "identity-default";
9942
9942
  "global-default": "global-default";
@@ -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<{
@@ -10189,19 +10189,19 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
10189
10189
  "config-profile": "config-profile";
10190
10190
  identity: "identity";
10191
10191
  provider: "provider";
10192
+ frontdoor: "frontdoor";
10192
10193
  pool: "pool";
10194
+ keychain: "keychain";
10193
10195
  "ambient-credential": "ambient-credential";
10194
10196
  "binary-discovery": "binary-discovery";
10195
10197
  "claude-shim": "claude-shim";
10196
10198
  "path-resolution": "path-resolution";
10197
10199
  "legacy-name": "legacy-name";
10198
10200
  "sign-in": "sign-in";
10199
- keychain: "keychain";
10200
10201
  "directory-rules": "directory-rules";
10201
10202
  "categories-local": "categories-local";
10202
10203
  "active-identity": "active-identity";
10203
10204
  headroom: "headroom";
10204
- frontdoor: "frontdoor";
10205
10205
  }>;
10206
10206
  subject: zod.ZodOptional<zod.ZodString>;
10207
10207
  severity: zod.ZodEnum<{
@@ -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<{
@@ -12035,19 +12035,19 @@ declare const DoctorFindingSchema: z.ZodObject<{
12035
12035
  "config-profile": "config-profile";
12036
12036
  identity: "identity";
12037
12037
  provider: "provider";
12038
+ frontdoor: "frontdoor";
12038
12039
  pool: "pool";
12040
+ keychain: "keychain";
12039
12041
  "ambient-credential": "ambient-credential";
12040
12042
  "binary-discovery": "binary-discovery";
12041
12043
  "claude-shim": "claude-shim";
12042
12044
  "path-resolution": "path-resolution";
12043
12045
  "legacy-name": "legacy-name";
12044
12046
  "sign-in": "sign-in";
12045
- keychain: "keychain";
12046
12047
  "directory-rules": "directory-rules";
12047
12048
  "categories-local": "categories-local";
12048
12049
  "active-identity": "active-identity";
12049
12050
  headroom: "headroom";
12050
- frontdoor: "frontdoor";
12051
12051
  }>;
12052
12052
  subject: z.ZodOptional<z.ZodString>;
12053
12053
  severity: z.ZodEnum<{
@@ -12066,19 +12066,19 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
12066
12066
  "config-profile": "config-profile";
12067
12067
  identity: "identity";
12068
12068
  provider: "provider";
12069
+ frontdoor: "frontdoor";
12069
12070
  pool: "pool";
12071
+ keychain: "keychain";
12070
12072
  "ambient-credential": "ambient-credential";
12071
12073
  "binary-discovery": "binary-discovery";
12072
12074
  "claude-shim": "claude-shim";
12073
12075
  "path-resolution": "path-resolution";
12074
12076
  "legacy-name": "legacy-name";
12075
12077
  "sign-in": "sign-in";
12076
- keychain: "keychain";
12077
12078
  "directory-rules": "directory-rules";
12078
12079
  "categories-local": "categories-local";
12079
12080
  "active-identity": "active-identity";
12080
12081
  headroom: "headroom";
12081
- frontdoor: "frontdoor";
12082
12082
  }>;
12083
12083
  subject: z.ZodOptional<z.ZodString>;
12084
12084
  severity: z.ZodEnum<{
@@ -12151,12 +12151,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
12151
12151
  decision: z.ZodObject<{
12152
12152
  identity: z.ZodOptional<z.ZodString>;
12153
12153
  identitySource: z.ZodEnum<{
12154
- none: "none";
12155
12154
  "config-dir-escape-hatch": "config-dir-escape-hatch";
12156
12155
  argv: "argv";
12157
12156
  env: "env";
12158
12157
  "directory-pin": "directory-pin";
12159
12158
  "active-identity-file": "active-identity-file";
12159
+ none: "none";
12160
12160
  }>;
12161
12161
  pool: z.ZodOptional<z.ZodObject<{
12162
12162
  name: z.ZodString;
@@ -12171,8 +12171,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
12171
12171
  configProfile: z.ZodOptional<z.ZodString>;
12172
12172
  configProfileSource: z.ZodEnum<{
12173
12173
  "directory-rule": "directory-rule";
12174
- none: "none";
12175
12174
  env: "env";
12175
+ none: "none";
12176
12176
  "cli-flag": "cli-flag";
12177
12177
  "identity-default": "identity-default";
12178
12178
  "global-default": "global-default";
@@ -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.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>",