claude-use 9.8.0 → 9.10.0

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.
@@ -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
- bearer: "bearer";
370
369
  apiKey: "apiKey";
370
+ bearer: "bearer";
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
- bearer: "bearer";
445
444
  apiKey: "apiKey";
445
+ bearer: "bearer";
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
- bearer: "bearer";
561
560
  apiKey: "apiKey";
561
+ bearer: "bearer";
562
562
  }>>;
563
563
  }, z.core.$strict>;
564
564
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1596,8 +1596,8 @@ declare const IdentitySchema: z.ZodObject<{
1596
1596
  literal: z.ZodString;
1597
1597
  }, z.core.$strict>]>>;
1598
1598
  target: z.ZodOptional<z.ZodEnum<{
1599
- bearer: "bearer";
1600
1599
  apiKey: "apiKey";
1600
+ bearer: "bearer";
1601
1601
  oauthToken: "oauthToken";
1602
1602
  }>>;
1603
1603
  cache: z.ZodOptional<z.ZodObject<{
@@ -1707,6 +1707,8 @@ interface LayoutPaths {
1707
1707
  readonly usageLogDir: string;
1708
1708
  /** Directory of the latest-state snapshots, one `<identity>.json` per identity: the stable file other tools read. */
1709
1709
  readonly usageSnapshotsDir: string;
1710
+ /** Path to the file recording what the person has allowed the MCP server's agents to do (`agent-shim mcp permissions`), mode 0600 and written only by that command: the running server re-reads it on every request, so a change needs no restart. */
1711
+ readonly mcpPermissionsFile: string;
1710
1712
  /** The last identity picked from a pool for each directory, so a conversation stays on the account whose prompt cache is warm. */
1711
1713
  readonly usagePicksFile: string;
1712
1714
  }
@@ -3712,6 +3714,141 @@ declare function frontDoorApiLink(port: number, ca: string, token: string): RPCL
3712
3714
  /** Builds the typed API's client for the door's provider listener: the same address, CA and per-generation control token the bespoke control client uses. */
3713
3715
  declare function frontDoorRcApiClient(port: number, ca: string, token: string): RcApiClient;
3714
3716
 
3717
+ /**
3718
+ * The Codex release whose app-server protocol these schemas were written against. The shapes are the stable surface of `codex app-server generate-json-schema` (the `account/read` and `account/rateLimits/read` methods and the `initialize` handshake), checked against that release's output. A different installed release is not refused for being different: the answer is validated against these schemas, and a mismatch is reported naming both versions.
3719
+ */
3720
+ declare const CODEX_APP_SERVER_GENERATED_AGAINST = "0.160.0";
3721
+ /** The answer to `account/read`: the login, or none, and whether Codex needs one before it can serve requests. */
3722
+ declare const CodexAccountReadSchema: z.ZodObject<{
3723
+ account: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3724
+ type: z.ZodLiteral<"apiKey">;
3725
+ }, z.core.$strip>, z.ZodObject<{
3726
+ type: z.ZodLiteral<"chatgpt">;
3727
+ email: z.ZodNullable<z.ZodString>;
3728
+ planType: z.ZodString;
3729
+ }, z.core.$strip>, z.ZodObject<{
3730
+ type: z.ZodLiteral<"amazonBedrock">;
3731
+ usesCodexManagedCredentials: z.ZodDefault<z.ZodBoolean>;
3732
+ }, z.core.$strip>], "type">>;
3733
+ requiresOpenaiAuth: z.ZodBoolean;
3734
+ }, z.core.$strip>;
3735
+ /** The answer to `account/rateLimits/read`: the windows (the single-bucket view and the view by metered limit id) and the banked reset credits. */
3736
+ declare const CodexRateLimitsReadSchema: z.ZodObject<{
3737
+ rateLimits: z.ZodObject<{
3738
+ limitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3739
+ limitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3740
+ planType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3741
+ primary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3742
+ usedPercent: z.ZodNumber;
3743
+ resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3744
+ windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3745
+ }, z.core.$strip>>>;
3746
+ secondary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3747
+ usedPercent: z.ZodNumber;
3748
+ resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3749
+ windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3750
+ }, z.core.$strip>>>;
3751
+ rateLimitReachedType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3752
+ spendControlReached: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3753
+ }, z.core.$strip>;
3754
+ rateLimitsByLimitId: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
3755
+ limitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3756
+ limitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3757
+ planType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3758
+ primary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3759
+ usedPercent: z.ZodNumber;
3760
+ resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3761
+ windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3762
+ }, z.core.$strip>>>;
3763
+ secondary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3764
+ usedPercent: z.ZodNumber;
3765
+ resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3766
+ windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3767
+ }, z.core.$strip>>>;
3768
+ rateLimitReachedType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3769
+ spendControlReached: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3770
+ }, z.core.$strip>>>>;
3771
+ rateLimitResetCredits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3772
+ availableCount: z.ZodNumber;
3773
+ credits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3774
+ id: z.ZodString;
3775
+ grantedAt: z.ZodNumber;
3776
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3777
+ resetType: z.ZodString;
3778
+ status: z.ZodString;
3779
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3780
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3781
+ }, z.core.$strip>>>>;
3782
+ }, z.core.$strip>>>;
3783
+ accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3784
+ ordinaryUsageAllowed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3785
+ }, z.core.$strip>;
3786
+ type CodexAccountRead = z.infer<typeof CodexAccountReadSchema>;
3787
+ type CodexRateLimitsRead = z.infer<typeof CodexRateLimitsReadSchema>;
3788
+
3789
+ /**
3790
+ * A reader for what Codex itself knows about a login: the account behind a Codex home and its rate limits, asked of `codex app-server` over stdio so no consumer opens `auth.json` or depends on a private file format. Each read starts a short-lived app-server under the given home, asks one question and ends it. It never starts a login and never sends a prompt.
3791
+ */
3792
+ /** Raised when the Codex binary cannot be started (not installed, not executable) or ends before it answers. */
3793
+ declare class CodexAppServerUnavailableError extends CliError {
3794
+ constructor(detail: string);
3795
+ }
3796
+ /** Raised when the app-server answers a request with a JSON-RPC error; `rpcCode` and the message are the server's own, so a signed-out home reads as the server's "authentication required". */
3797
+ declare class CodexAppServerRequestError extends CliError {
3798
+ readonly method: string;
3799
+ readonly rpcCode: number;
3800
+ constructor(method: string, rpcCode: number, detail: string);
3801
+ }
3802
+ /** Raised when an answer does not have the shape this reader was written against, naming the installed Codex version and the one the shapes were generated against. */
3803
+ declare class CodexAppServerProtocolError extends CliError {
3804
+ readonly method: string;
3805
+ readonly installedVersion: string | undefined;
3806
+ constructor(method: string, installedVersion: string | undefined, detail: string);
3807
+ }
3808
+ /** One open conversation with an app-server process. */
3809
+ interface CodexAppServerConnection {
3810
+ /** Writes one JSON-RPC message. */
3811
+ readonly send: (message: unknown) => void;
3812
+ /** The next message the server wrote, or undefined once it has ended. */
3813
+ readonly receive: () => Promise<unknown>;
3814
+ /** Ends the conversation: closes the server's input, waits for it to exit and stops it if it does not. Safe to call twice. */
3815
+ readonly close: () => Promise<void>;
3816
+ }
3817
+ /** Starts app-server processes. Injected so the reader runs against a scripted server in tests and against the real `codex` binary in use. */
3818
+ interface CodexAppServerPort {
3819
+ /** Starts `bin app-server` with `CODEX_HOME` set to `codexHome`. Rejects with `CodexAppServerUnavailableError` when it cannot start. */
3820
+ readonly open: (options: Readonly<{
3821
+ bin: string;
3822
+ codexHome: string;
3823
+ }>) => Promise<CodexAppServerConnection>;
3824
+ }
3825
+ /** What a read needs from its caller. */
3826
+ interface CodexAppServerReadOptions {
3827
+ /** The Codex home to read: the directory `codex` keeps its login in, `~/.codex` unless `CODEX_HOME` says otherwise. */
3828
+ readonly codexHome: string;
3829
+ /** The Codex executable; `codex` on `PATH` when absent. */
3830
+ readonly bin?: string;
3831
+ /** Stops the read: the server is ended and the read rejects with the signal's reason. */
3832
+ readonly signal?: AbortSignal;
3833
+ /** How long the read may take, `CODEX_APP_SERVER_TIMEOUT_MS` when absent. A read that exceeds it rejects with `CodexAppServerUnavailableError`. */
3834
+ readonly timeoutMs?: number;
3835
+ }
3836
+ /**
3837
+ * How long a read may take before it is abandoned. An app-server start plus one backend call for the usage windows is network bound; this bounds a hung server rather than describing a normal read.
3838
+ */
3839
+ declare const CODEX_APP_SERVER_TIMEOUT_MS = 30000;
3840
+ /**
3841
+ * Reads the account behind a Codex home through `account/read`: its type, and for a ChatGPT sign-in the email and plan. The token is never part of the answer. A home with no login answers `account: null`.
3842
+ */
3843
+ declare function readCodexAccount(port: CodexAppServerPort, options: Readonly<CodexAppServerReadOptions>): Promise<CodexAccountRead>;
3844
+ /**
3845
+ * Reads a Codex home's rate limits through `account/rateLimits/read`: the windows by their length and the banked reset credits. A home with no login is refused by the server, reported as `CodexAppServerRequestError`.
3846
+ */
3847
+ declare function readCodexRateLimits(port: CodexAppServerPort, options: Readonly<CodexAppServerReadOptions>): Promise<CodexRateLimitsRead>;
3848
+
3849
+ /** The real app-server port: `codex app-server` as a child process speaking one JSON message per line on standard input and output, with `CODEX_HOME` set for it alone. */
3850
+ declare const realCodexAppServerPort: CodexAppServerPort;
3851
+
3715
3852
  /**
3716
3853
  * The Zod schema of `agent-shim check --json`'s output: one definition of the report's wire shape, so the JSON conversion (`checkReportToJson`, whose return type is this schema's inferred type, which makes the compiler prove the two agree) and every programmatic consumer of the report (the front door's `check.run` procedure above all) validate through the same source. A plain Zod leaf mirroring the shapes the report's own modules define; the vocabularies it switches on (layer kinds, decision routes, diagnostic codes and severities, decision sources) are imported as const arrays from those modules rather than restated here, so a vocabulary added there is a compile error here until this schema names it.
3717
3854
  */
@@ -3886,8 +4023,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
3886
4023
  name: z.ZodString;
3887
4024
  credential: z.ZodObject<{
3888
4025
  target: z.ZodEnum<{
3889
- bearer: "bearer";
3890
4026
  apiKey: "apiKey";
4027
+ bearer: "bearer";
3891
4028
  oauthToken: "oauthToken";
3892
4029
  }>;
3893
4030
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -3948,8 +4085,8 @@ declare const CheckReportJsonSchema: z.ZodObject<{
3948
4085
  }, z.core.$strict>]>>;
3949
4086
  identity: z.ZodOptional<z.ZodObject<{
3950
4087
  target: z.ZodEnum<{
3951
- bearer: "bearer";
3952
4088
  apiKey: "apiKey";
4089
+ bearer: "bearer";
3953
4090
  oauthToken: "oauthToken";
3954
4091
  }>;
3955
4092
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -4888,8 +5025,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
4888
5025
  allowAmbientCredential: zod.ZodBoolean;
4889
5026
  credential: zod.ZodOptional<zod.ZodObject<{
4890
5027
  target: zod.ZodEnum<{
4891
- bearer: "bearer";
4892
5028
  apiKey: "apiKey";
5029
+ bearer: "bearer";
4893
5030
  oauthToken: "oauthToken";
4894
5031
  }>;
4895
5032
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -4945,8 +5082,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
4945
5082
  literal: zod.ZodString;
4946
5083
  }, zod_v4_core.$strict>]>>>;
4947
5084
  target: zod.ZodOptional<zod.ZodEnum<{
4948
- bearer: "bearer";
4949
5085
  apiKey: "apiKey";
5086
+ bearer: "bearer";
4950
5087
  oauthToken: "oauthToken";
4951
5088
  }>>;
4952
5089
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
@@ -4967,8 +5104,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
4967
5104
  allowAmbientCredential: zod.ZodBoolean;
4968
5105
  credential: zod.ZodOptional<zod.ZodObject<{
4969
5106
  target: zod.ZodEnum<{
4970
- bearer: "bearer";
4971
5107
  apiKey: "apiKey";
5108
+ bearer: "bearer";
4972
5109
  oauthToken: "oauthToken";
4973
5110
  }>;
4974
5111
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -5493,8 +5630,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5493
5630
  literal: zod.ZodString;
5494
5631
  }, zod_v4_core.$strict>]>>>>;
5495
5632
  target: zod.ZodOptional<zod.ZodEnum<{
5496
- bearer: "bearer";
5497
5633
  apiKey: "apiKey";
5634
+ bearer: "bearer";
5498
5635
  }>>;
5499
5636
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
5500
5637
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -5556,8 +5693,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5556
5693
  }, zod_v4_core.$strict>>;
5557
5694
  credential: zod.ZodObject<{
5558
5695
  target: zod.ZodEnum<{
5559
- bearer: "bearer";
5560
5696
  apiKey: "apiKey";
5697
+ bearer: "bearer";
5561
5698
  oauthToken: "oauthToken";
5562
5699
  }>;
5563
5700
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -5614,8 +5751,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5614
5751
  literal: zod.ZodString;
5615
5752
  }, zod_v4_core.$strict>]>>>;
5616
5753
  target: zod.ZodOptional<zod.ZodEnum<{
5617
- bearer: "bearer";
5618
5754
  apiKey: "apiKey";
5755
+ bearer: "bearer";
5619
5756
  }>>;
5620
5757
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
5621
5758
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -5677,8 +5814,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
5677
5814
  }, zod_v4_core.$strict>>;
5678
5815
  credential: zod.ZodObject<{
5679
5816
  target: zod.ZodEnum<{
5680
- bearer: "bearer";
5681
5817
  apiKey: "apiKey";
5818
+ bearer: "bearer";
5682
5819
  oauthToken: "oauthToken";
5683
5820
  }>;
5684
5821
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -6604,8 +6741,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
6604
6741
  name: zod.ZodString;
6605
6742
  summary: zod.ZodObject<{
6606
6743
  target: zod.ZodEnum<{
6607
- bearer: "bearer";
6608
6744
  apiKey: "apiKey";
6745
+ bearer: "bearer";
6609
6746
  oauthToken: "oauthToken";
6610
6747
  }>;
6611
6748
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7095,8 +7232,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7095
7232
  name: zod.ZodString;
7096
7233
  credential: zod.ZodObject<{
7097
7234
  target: zod.ZodEnum<{
7098
- bearer: "bearer";
7099
7235
  apiKey: "apiKey";
7236
+ bearer: "bearer";
7100
7237
  oauthToken: "oauthToken";
7101
7238
  }>;
7102
7239
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7157,8 +7294,8 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7157
7294
  }, zod_v4_core.$strict>]>>;
7158
7295
  identity: zod.ZodOptional<zod.ZodObject<{
7159
7296
  target: zod.ZodEnum<{
7160
- bearer: "bearer";
7161
7297
  apiKey: "apiKey";
7298
+ bearer: "bearer";
7162
7299
  oauthToken: "oauthToken";
7163
7300
  }>;
7164
7301
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7422,8 +7559,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7422
7559
  name: zod.ZodString;
7423
7560
  summary: zod.ZodObject<{
7424
7561
  target: zod.ZodEnum<{
7425
- bearer: "bearer";
7426
7562
  apiKey: "apiKey";
7563
+ bearer: "bearer";
7427
7564
  oauthToken: "oauthToken";
7428
7565
  }>;
7429
7566
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -7496,8 +7633,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7496
7633
  allowAmbientCredential: zod.ZodBoolean;
7497
7634
  credential: zod.ZodOptional<zod.ZodObject<{
7498
7635
  target: zod.ZodEnum<{
7499
- bearer: "bearer";
7500
7636
  apiKey: "apiKey";
7637
+ bearer: "bearer";
7501
7638
  oauthToken: "oauthToken";
7502
7639
  }>;
7503
7640
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -7553,8 +7690,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7553
7690
  literal: zod.ZodString;
7554
7691
  }, zod_v4_core.$strict>]>>>;
7555
7692
  target: zod.ZodOptional<zod.ZodEnum<{
7556
- bearer: "bearer";
7557
7693
  apiKey: "apiKey";
7694
+ bearer: "bearer";
7558
7695
  oauthToken: "oauthToken";
7559
7696
  }>>;
7560
7697
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
@@ -7575,8 +7712,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
7575
7712
  allowAmbientCredential: zod.ZodBoolean;
7576
7713
  credential: zod.ZodOptional<zod.ZodObject<{
7577
7714
  target: zod.ZodEnum<{
7578
- bearer: "bearer";
7579
7715
  apiKey: "apiKey";
7716
+ bearer: "bearer";
7580
7717
  oauthToken: "oauthToken";
7581
7718
  }>;
7582
7719
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -8101,8 +8238,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8101
8238
  literal: zod.ZodString;
8102
8239
  }, zod_v4_core.$strict>]>>>>;
8103
8240
  target: zod.ZodOptional<zod.ZodEnum<{
8104
- bearer: "bearer";
8105
8241
  apiKey: "apiKey";
8242
+ bearer: "bearer";
8106
8243
  }>>;
8107
8244
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
8108
8245
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -8164,8 +8301,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8164
8301
  }, zod_v4_core.$strict>>;
8165
8302
  credential: zod.ZodObject<{
8166
8303
  target: zod.ZodEnum<{
8167
- bearer: "bearer";
8168
8304
  apiKey: "apiKey";
8305
+ bearer: "bearer";
8169
8306
  oauthToken: "oauthToken";
8170
8307
  }>;
8171
8308
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -8222,8 +8359,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8222
8359
  literal: zod.ZodString;
8223
8360
  }, zod_v4_core.$strict>]>>>;
8224
8361
  target: zod.ZodOptional<zod.ZodEnum<{
8225
- bearer: "bearer";
8226
8362
  apiKey: "apiKey";
8363
+ bearer: "bearer";
8227
8364
  }>>;
8228
8365
  cache: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodLiteral<false>, zod.ZodObject<{
8229
8366
  ttl: zod.ZodOptional<zod.ZodString>;
@@ -8285,8 +8422,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8285
8422
  }, zod_v4_core.$strict>>;
8286
8423
  credential: zod.ZodObject<{
8287
8424
  target: zod.ZodEnum<{
8288
- bearer: "bearer";
8289
8425
  apiKey: "apiKey";
8426
+ bearer: "bearer";
8290
8427
  oauthToken: "oauthToken";
8291
8428
  }>;
8292
8429
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
@@ -9065,8 +9202,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9065
9202
  name: zod.ZodString;
9066
9203
  credential: zod.ZodObject<{
9067
9204
  target: zod.ZodEnum<{
9068
- bearer: "bearer";
9069
9205
  apiKey: "apiKey";
9206
+ bearer: "bearer";
9070
9207
  oauthToken: "oauthToken";
9071
9208
  }>;
9072
9209
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9127,8 +9264,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9127
9264
  }, zod_v4_core.$strict>]>>;
9128
9265
  identity: zod.ZodOptional<zod.ZodObject<{
9129
9266
  target: zod.ZodEnum<{
9130
- bearer: "bearer";
9131
9267
  apiKey: "apiKey";
9268
+ bearer: "bearer";
9132
9269
  oauthToken: "oauthToken";
9133
9270
  }>;
9134
9271
  sources: zod.ZodReadonly<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9507,8 +9644,8 @@ declare function frontDoorApiFromState(paths: LayoutPaths, fsPort?: HeadroomFs):
9507
9644
  /** 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. */
9508
9645
  declare const CredentialSummarySchema: z.ZodObject<{
9509
9646
  target: z.ZodEnum<{
9510
- bearer: "bearer";
9511
9647
  apiKey: "apiKey";
9648
+ bearer: "bearer";
9512
9649
  oauthToken: "oauthToken";
9513
9650
  }>;
9514
9651
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -9552,8 +9689,8 @@ declare const ConfigIdentityAddOutputSchema: z.ZodObject<{
9552
9689
  allowAmbientCredential: z.ZodBoolean;
9553
9690
  credential: z.ZodOptional<z.ZodObject<{
9554
9691
  target: z.ZodEnum<{
9555
- bearer: "bearer";
9556
9692
  apiKey: "apiKey";
9693
+ bearer: "bearer";
9557
9694
  oauthToken: "oauthToken";
9558
9695
  }>;
9559
9696
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -9610,8 +9747,8 @@ declare const ConfigIdentitySetInputSchema: z.ZodObject<{
9610
9747
  literal: z.ZodString;
9611
9748
  }, z.core.$strict>]>>>;
9612
9749
  target: z.ZodOptional<z.ZodEnum<{
9613
- bearer: "bearer";
9614
9750
  apiKey: "apiKey";
9751
+ bearer: "bearer";
9615
9752
  oauthToken: "oauthToken";
9616
9753
  }>>;
9617
9754
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
@@ -9633,8 +9770,8 @@ declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
9633
9770
  allowAmbientCredential: z.ZodBoolean;
9634
9771
  credential: z.ZodOptional<z.ZodObject<{
9635
9772
  target: z.ZodEnum<{
9636
- bearer: "bearer";
9637
9773
  apiKey: "apiKey";
9774
+ bearer: "bearer";
9638
9775
  oauthToken: "oauthToken";
9639
9776
  }>;
9640
9777
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -10157,8 +10294,8 @@ declare const ConfigProviderAddInputSchema: z.ZodObject<{
10157
10294
  literal: z.ZodString;
10158
10295
  }, z.core.$strict>]>>>>;
10159
10296
  target: z.ZodOptional<z.ZodEnum<{
10160
- bearer: "bearer";
10161
10297
  apiKey: "apiKey";
10298
+ bearer: "bearer";
10162
10299
  }>>;
10163
10300
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
10164
10301
  ttl: z.ZodOptional<z.ZodString>;
@@ -10221,8 +10358,8 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
10221
10358
  }, z.core.$strict>>;
10222
10359
  credential: z.ZodObject<{
10223
10360
  target: z.ZodEnum<{
10224
- bearer: "bearer";
10225
10361
  apiKey: "apiKey";
10362
+ bearer: "bearer";
10226
10363
  oauthToken: "oauthToken";
10227
10364
  }>;
10228
10365
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -10280,8 +10417,8 @@ declare const ConfigProviderSetInputSchema: z.ZodObject<{
10280
10417
  literal: z.ZodString;
10281
10418
  }, z.core.$strict>]>>>;
10282
10419
  target: z.ZodOptional<z.ZodEnum<{
10283
- bearer: "bearer";
10284
10420
  apiKey: "apiKey";
10421
+ bearer: "bearer";
10285
10422
  }>>;
10286
10423
  cache: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
10287
10424
  ttl: z.ZodOptional<z.ZodString>;
@@ -10344,8 +10481,8 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
10344
10481
  }, z.core.$strict>>;
10345
10482
  credential: z.ZodObject<{
10346
10483
  target: z.ZodEnum<{
10347
- bearer: "bearer";
10348
10484
  apiKey: "apiKey";
10485
+ bearer: "bearer";
10349
10486
  oauthToken: "oauthToken";
10350
10487
  }>;
10351
10488
  sources: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -11180,8 +11317,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
11180
11317
  name: z.ZodString;
11181
11318
  summary: z.ZodObject<{
11182
11319
  target: z.ZodEnum<{
11183
- bearer: "bearer";
11184
11320
  apiKey: "apiKey";
11321
+ bearer: "bearer";
11185
11322
  oauthToken: "oauthToken";
11186
11323
  }>;
11187
11324
  sources: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -12402,5 +12539,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
12402
12539
  */
12403
12540
  declare function agentShimCliPath(distDir?: string | undefined): string;
12404
12541
 
12405
- export { AMBIENT_CREDENTIAL_VARS, CHECK_CREDENTIAL_APPLIES, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexLogoutOutputSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, listDirectoryRules, listIdentities, listProfiles, listProviders, listUsageSnapshots, matchBranch, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readUsageSnapshot, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential, setPool, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, writeDirectoryRules };
12406
- export type { AddDirectoryRuleOptions, AddProviderInput, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexApiClient, CodexApiDeps, CodexApiRouter, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolMember, PoolPickReport, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation };
12542
+ export { AMBIENT_CREDENTIAL_VARS, CHECK_CREDENTIAL_APPLIES, CODEX_APP_SERVER_GENERATED_AGAINST, CODEX_APP_SERVER_TIMEOUT_MS, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexAccountReadSchema, CodexAppServerProtocolError, CodexAppServerRequestError, CodexAppServerUnavailableError, CodexLogoutOutputSchema, CodexRateLimitsReadSchema, CodexSignInSchema, CodexStatusOutputSchema, ConfigIdentityAddOutputSchema, ConfigIdentityRemoveInputSchema, ConfigIdentityRemoveOutputSchema, ConfigIdentitySetInputSchema, ConfigIdentitySetOutputSchema, ConfigIdentityUseOutputSchema, ConfigNameInputSchema, ConfigPoolAddInputSchema, ConfigPoolAddOutputSchema, ConfigPoolRemoveInputSchema, ConfigPoolRemoveOutputSchema, ConfigPoolSetInputSchema, ConfigPoolSetOutputSchema, ConfigPoolUseOutputSchema, ConfigProfileAddInputSchema, ConfigProfileAddOutputSchema, ConfigProfileRemoveInputSchema, ConfigProfileRemoveOutputSchema, ConfigProfileSchema, ConfigProfileSetInputSchema, ConfigProfileSetOutputSchema, ConfigProfileUseOutputSchema, ConfigProviderAddInputSchema, ConfigProviderAddOutputSchema, ConfigProviderRemoveInputSchema, ConfigProviderRemoveOutputSchema, ConfigProviderSetInputSchema, ConfigProviderSetOutputSchema, ConfigRuleAddInputSchema, ConfigRuleAddOutputSchema, ConfigRuleRemoveInputSchema, ConfigRuleRemoveOutputSchema, ConfigRuleSetInputSchema, ConfigRuleSetOutputSchema, CredentialCacheSchema, CredentialSchema, CredentialSourceSchema, CredentialSummarySchema, DOOR_EVENT_BUFFER_EVENTS, DOOR_EVENT_SOURCE_RC, DOOR_HEALTH_EVENT_SOURCE, DirectoryRuleAlreadyExistsError, DirectoryRuleMissingTargetError, DirectoryRuleNotFoundError, DirectoryRuleSchema, DirectoryRulesSchema, DoctorFindingSchema, DoctorRunOutputSchema, DoorEventSchema, DoorEventSourceQuerySchema, DoorHealthEventSchema, EXIT_FAILURE, EXIT_USAGE, EffectiveWindowSchema, EntryValueSchema, FARM_MANIFEST_FILENAME, FrontDoorControlMaterialError, FrontDoorNotServingError, FrontDoorRestartOutputSchema, FrontDoorSessionStatusSchema, FrontDoorSessionsOutputSchema, FrontDoorStartError, FrontDoorStateSchema, FrontDoorStatusOutputSchema, GlobalConfigSchema, HeadroomSocketTargetSchema, HeadroomStartError, IdentityAlreadyExistsError, IdentityNotFoundError, IdentitySchema, InvalidCategoryNameError, InvalidIdentityNameError, InvalidProviderNameError, LAUNCH_EVENT_SOURCE, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, OWN_CLI_FILE_NAME, PROMPT_CACHE_TTL_MS, PlanClassSchema, PoolGraphError, PoolNameSchema, PoolNotFoundError, PoolPickReportSchema, PoolSchema, PortableConfigSchema, ProfileAlreadyExistsError, ProfileNotFoundError, ProviderAlreadyExistsError, ProviderKindMismatchError, ProviderNotFoundError, ProviderSchema, QUOTA_EXPIRING_EVENT_SOURCE, QuotaExpiringEventSchema, RC_CONTEXT_USAGE_DETAILS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, RC_PERMISSION_MODES, RC_READ_FILE_ENCODINGS, RC_REQUEST_PARSE_CAP_BYTES, RC_SELF_HOST_ENV, RC_SELF_HOST_KEEPALIVE_MS, RC_SELF_HOST_RECORD_DIR, RC_SELF_HOST_RECORD_FILE, RC_SELF_HOST_RETENTION_MS, RC_SELF_HOST_SCOPE_LIST, RC_SELF_HOST_WORKER_JWT_TTL_SECONDS, RC_SESSIONS_PATH_PREFIX, RC_STREAM_BACKOFF_MS, RC_WEB_FETCH_ALLOW_PRIVATE_ENV, RC_WEB_FETCH_DEADLINE_MS, RC_WEB_FETCH_MAX_BYTES, RC_WEB_FETCH_MAX_REDIRECTS, ROUTED_PATH_PREFIX, RcLiveRateLimitSchema, RcPermissionModeSchema, RcRateLimitInfoSchema, RcRateLimitWindowSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, listDirectoryRules, listIdentities, listProfiles, listProviders, listUsageSnapshots, matchBranch, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, reconnectRcSessionMcpServer, recoverFarm, recoveryDiagnostics, refreshLaunchPoolUsage, refreshPoolUsage, refreshStalePoolMembers, removeDirectoryRule, removeIdentity, removePool, removeProfile, removeProvider, requirePool, resolveAgentShimHome, resolveClaudeHome, resolveClaudeLaunch, resolveDecisions, resolveLaunch, resolveLaunchSelection, resolveLayoutPaths, resolveSupervisorConfig, resyncFarm, runCheck, runClaudeLaunch, runDoctor, runFrontDoorSupervisor, runLaunchPlan, runLauncher, runSupervisor, sendRcKeepAlive, servedByPipeline, setAllowAmbientCredential, setDefaultConfigProfile, setGlobalDefaultProfile, setIdentityCredential, setPool, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, writeDirectoryRules };
12543
+ export type { AddDirectoryRuleOptions, AddProviderInput, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexAccountRead, CodexApiClient, CodexApiDeps, CodexApiRouter, CodexAppServerConnection, CodexAppServerPort, CodexAppServerReadOptions, CodexRateLimitsRead, CollectCheckReportParams, CollectDoctorReportParams, CompiledRule, ConditionContext, ConfigApiDeps, ConfigApiRouter, ConfigProfile, ConnectCertStore, ConnectEffects, ConnectLimits, ConnectLocalSurface, ConnectServerConfig, ConnectServerHandle, ConnectTarget, ControlApiClient, ControlApiDeps, ControlApiRouter, Credential, CredentialSource, Decision, Diagnostic, DirectoryRule, DirectoryRules, DoctorReport, DoorApiClient, DoorApiContext, DoorApiDeps, DoorApiRouter, DoorEvent, DoorEventHub, DoorEventPublisher, DoorEventStream, DoorEventsApiDeps, DoorHealthEvent, DoorHealthPublisher, EffectiveWindow, EliminatedRule, EnsureFrontDoorPorts, EnsureHeadroomPorts, EntryFact, EntryFacts, EntryValue, EvaluateAmbientCredentialGuardParams, FlattenedCascade, FrontDoorControlMaterial, FrontDoorRcControl, FrontDoorSessionStatus, FrontDoorStatus, FrontDoorSupervisorPorts, GlobalConfig, HeadroomSupervisorConfig, Identity, IdentityCredentialChange, IdentityListEntry, IdentityListing, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolMember, PoolPickReport, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "9.8.0",
3
+ "version": "9.10.0",
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>",