agent-shim 12.2.0 → 13.0.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.
- package/dist/cli.cjs +46002 -45515
- package/dist/index.cjs +13715 -13269
- package/dist/index.mjs +12172 -11727
- package/dist/types/index.d.ts +93 -44
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -297,10 +297,10 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
297
297
|
}>>;
|
|
298
298
|
layout: z.ZodOptional<z.ZodObject<{
|
|
299
299
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
300
|
+
account: "account";
|
|
300
301
|
identity: "identity";
|
|
301
302
|
model: "model";
|
|
302
303
|
route: "route";
|
|
303
|
-
account: "account";
|
|
304
304
|
provider: "provider";
|
|
305
305
|
version: "version";
|
|
306
306
|
headroom: "headroom";
|
|
@@ -1528,10 +1528,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1528
1528
|
}>>;
|
|
1529
1529
|
layout: z.ZodOptional<z.ZodObject<{
|
|
1530
1530
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1531
|
+
account: "account";
|
|
1531
1532
|
identity: "identity";
|
|
1532
1533
|
model: "model";
|
|
1533
1534
|
route: "route";
|
|
1534
|
-
account: "account";
|
|
1535
1535
|
provider: "provider";
|
|
1536
1536
|
version: "version";
|
|
1537
1537
|
headroom: "headroom";
|
|
@@ -2378,10 +2378,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2378
2378
|
}>>;
|
|
2379
2379
|
layout: z.ZodOptional<z.ZodObject<{
|
|
2380
2380
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2381
|
+
account: "account";
|
|
2381
2382
|
identity: "identity";
|
|
2382
2383
|
model: "model";
|
|
2383
2384
|
route: "route";
|
|
2384
|
-
account: "account";
|
|
2385
2385
|
provider: "provider";
|
|
2386
2386
|
version: "version";
|
|
2387
2387
|
headroom: "headroom";
|
|
@@ -3154,10 +3154,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3154
3154
|
}>>;
|
|
3155
3155
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3156
3156
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3157
|
+
account: "account";
|
|
3157
3158
|
identity: "identity";
|
|
3158
3159
|
model: "model";
|
|
3159
3160
|
route: "route";
|
|
3160
|
-
account: "account";
|
|
3161
3161
|
provider: "provider";
|
|
3162
3162
|
version: "version";
|
|
3163
3163
|
headroom: "headroom";
|
|
@@ -3930,10 +3930,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3930
3930
|
}>>;
|
|
3931
3931
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3932
3932
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3933
|
+
account: "account";
|
|
3933
3934
|
identity: "identity";
|
|
3934
3935
|
model: "model";
|
|
3935
3936
|
route: "route";
|
|
3936
|
-
account: "account";
|
|
3937
3937
|
provider: "provider";
|
|
3938
3938
|
version: "version";
|
|
3939
3939
|
headroom: "headroom";
|
|
@@ -4686,10 +4686,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4686
4686
|
}>>;
|
|
4687
4687
|
layout: z.ZodOptional<z.ZodObject<{
|
|
4688
4688
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4689
|
+
account: "account";
|
|
4689
4690
|
identity: "identity";
|
|
4690
4691
|
model: "model";
|
|
4691
4692
|
route: "route";
|
|
4692
|
-
account: "account";
|
|
4693
4693
|
provider: "provider";
|
|
4694
4694
|
version: "version";
|
|
4695
4695
|
headroom: "headroom";
|
|
@@ -6167,7 +6167,7 @@ interface ReportRow {
|
|
|
6167
6167
|
/** Where the launcher reports what it decided and why — refusals, warnings about an identity that could not be loaded, and (per the "strictly-better than the legacy script" goal) which identity/profile ended up selected. */
|
|
6168
6168
|
interface LogPort {
|
|
6169
6169
|
readonly info: (message: string) => void;
|
|
6170
|
-
/** Prints the facts a launch reports about itself as one block, with the formatting the output takes. */
|
|
6170
|
+
/** Prints the facts a launch reports about itself as one block, with the formatting the output takes. The command line's port writes it, like every other line, to standard error, which leaves standard output to the child. */
|
|
6171
6171
|
readonly report: (rows: readonly ReportRow[]) => void;
|
|
6172
6172
|
readonly warn: (message: string) => void;
|
|
6173
6173
|
readonly error: (message: string) => void;
|
|
@@ -7860,9 +7860,6 @@ interface RcStreamHub {
|
|
|
7860
7860
|
declare function createRcStreamHub(deps: RcStreamHubDeps): RcStreamHub;
|
|
7861
7861
|
|
|
7862
7862
|
/** The real `ConnectEffects` over node's own net, tls, and http. `connectTcp` opens real connections to the CONNECTed host, so tests that want a blind tunnel redirect it. */
|
|
7863
|
-
/**
|
|
7864
|
-
* A DNS lookup for the door's own upstream dials that bypasses the hosts file, because a transparent-interception deployment points the intercept hosts' names at this machine in /etc/hosts: getaddrinfo (Node's default lookup) would send the door's own upstream connections straight back into the intercept port, a loop, while `dns.resolve4` asks the resolver directly and returns the real address. The SNI and Host stay the real name; only the dial address comes from DNS.
|
|
7865
|
-
*/
|
|
7866
7863
|
/**
|
|
7867
7864
|
* A range of local source ports the door's own upstream sockets bind, handed out in rotation because node binds one port per socket with no range option. The width is also the dial's retry bound: one attempt per port, so a fully-held range surfaces its last bind error instead of spinning. Injectable so the exhaustion tests hold a private range instead of racing every other worker for the door's real one.
|
|
7868
7865
|
*/
|
|
@@ -7871,7 +7868,8 @@ declare class SourcePortRange {
|
|
|
7871
7868
|
readonly end: number;
|
|
7872
7869
|
readonly count: number;
|
|
7873
7870
|
private next;
|
|
7874
|
-
|
|
7871
|
+
/** `first` is the port the rotation hands out first, `start` unless a caller gives its own: several rotations that serve one purpose at once (the probes of a batch) start apart, so they do not all bind the first port of the range and walk up it together. */
|
|
7872
|
+
constructor(start: number, end: number, first?: number);
|
|
7875
7873
|
/** The next port in rotation, wrapping from the end back to the start. */
|
|
7876
7874
|
take(): number;
|
|
7877
7875
|
}
|
|
@@ -9379,9 +9377,23 @@ type ListenerVerdict = {
|
|
|
9379
9377
|
readonly ok: false;
|
|
9380
9378
|
readonly reason: string;
|
|
9381
9379
|
};
|
|
9380
|
+
/** A probe that has been started: `verdict` blocks the calling thread until it answers and ends its worker; `cancel` ends the worker of a probe nobody will wait on (idempotent, and harmless after `verdict`). */
|
|
9381
|
+
interface StartedProbe {
|
|
9382
|
+
readonly verdict: () => ListenerVerdict;
|
|
9383
|
+
readonly cancel: () => void;
|
|
9384
|
+
}
|
|
9382
9385
|
|
|
9383
9386
|
/** Opens one TCP connection to `baseUrl`'s host and port within `timeoutMs` and closes it at once, sending nothing. */
|
|
9384
9387
|
type BaseUrlProbe = (baseUrl: string, timeoutMs: number) => ListenerVerdict;
|
|
9388
|
+
/** One base URL to probe, within its own bound. */
|
|
9389
|
+
interface BaseUrlTarget {
|
|
9390
|
+
readonly baseUrl: string;
|
|
9391
|
+
readonly timeoutMs: number;
|
|
9392
|
+
}
|
|
9393
|
+
/** `BaseUrlProbe` for several base URLs: up to `MAX_CONCURRENT_PROBES` distinct targets run together and any more follow in rounds of that many, so the worst case is the longest bound times the number of rounds; verdicts in the order the targets were given. */
|
|
9394
|
+
type BaseUrlBatchProbe = (targets: readonly BaseUrlTarget[]) => readonly ListenerVerdict[];
|
|
9395
|
+
/** Starts a probe of one base URL within `timeoutMs` without waiting for it: `verdict` blocks until it answers, `cancel` ends its worker. */
|
|
9396
|
+
type StartBaseUrlProbe = (baseUrl: string, timeoutMs: number) => StartedProbe;
|
|
9385
9397
|
|
|
9386
9398
|
/** Where a pinned Claude Code version came from, strongest first: the launch's own flag, then the environment, then the cascade. */
|
|
9387
9399
|
declare const CLAUDE_VERSION_SOURCES: readonly ["flag", "environment", "cascade"];
|
|
@@ -10351,8 +10363,8 @@ interface RunDoctorParams {
|
|
|
10351
10363
|
readonly providers: readonly DoctorProviderInput[];
|
|
10352
10364
|
/** The recorded former names of renamed providers. Omit to leave them out of the findings. */
|
|
10353
10365
|
readonly providerAliases?: ProviderAliases;
|
|
10354
|
-
/**
|
|
10355
|
-
readonly
|
|
10366
|
+
/** Probes the base URLs of every valid http provider, up to `MAX_CONCURRENT_PROBES` distinct targets together and any more in rounds of that many, one connection each, each bounded by its provider's connect timeout. Omit to leave reachability out of the findings; with it, a valid http provider whose base URL accepts no connection fails, naming the URL. */
|
|
10367
|
+
readonly probeBaseUrls?: BaseUrlBatchProbe;
|
|
10356
10368
|
/** The journals of identity renames that were left unfinished, and the files in their directory that are not journals. Omit to leave renames out of the findings. */
|
|
10357
10369
|
readonly renameJournals?: RenameJournalListing;
|
|
10358
10370
|
/** The entries of the identities directory that cannot be reached (a symlink the filesystem would not follow, or a directory nobody can enter), which are not counted as identities. Omit to leave them out of the findings. */
|
|
@@ -10541,6 +10553,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10541
10553
|
kind: zod.ZodLiteral<"identity">;
|
|
10542
10554
|
name: zod.ZodString;
|
|
10543
10555
|
value: zod.ZodObject<{
|
|
10556
|
+
agent: zod.ZodOptional<zod.ZodEnum<{
|
|
10557
|
+
claude: "claude";
|
|
10558
|
+
codex: "codex";
|
|
10559
|
+
}>>;
|
|
10544
10560
|
name: zod.ZodString;
|
|
10545
10561
|
label: zod.ZodOptional<zod.ZodString>;
|
|
10546
10562
|
defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -10650,6 +10666,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10650
10666
|
kind: zod.ZodLiteral<"identity">;
|
|
10651
10667
|
name: zod.ZodString;
|
|
10652
10668
|
value: zod.ZodObject<{
|
|
10669
|
+
agent: zod.ZodOptional<zod.ZodEnum<{
|
|
10670
|
+
claude: "claude";
|
|
10671
|
+
codex: "codex";
|
|
10672
|
+
}>>;
|
|
10653
10673
|
name: zod.ZodString;
|
|
10654
10674
|
label: zod.ZodOptional<zod.ZodString>;
|
|
10655
10675
|
defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -10729,6 +10749,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10729
10749
|
kind: zod.ZodLiteral<"profile">;
|
|
10730
10750
|
name: zod.ZodString;
|
|
10731
10751
|
value: zod.ZodObject<{
|
|
10752
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
10732
10753
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
10733
10754
|
value: zod.ZodBoolean;
|
|
10734
10755
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -10804,7 +10825,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10804
10825
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
10805
10826
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
10806
10827
|
}, zod_v4_core.$strict>]>>>;
|
|
10807
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
10808
10828
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
10809
10829
|
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
10810
10830
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -10893,10 +10913,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10893
10913
|
}>>;
|
|
10894
10914
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
10895
10915
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10916
|
+
account: "account";
|
|
10896
10917
|
identity: "identity";
|
|
10897
10918
|
model: "model";
|
|
10898
10919
|
route: "route";
|
|
10899
|
-
account: "account";
|
|
10900
10920
|
provider: "provider";
|
|
10901
10921
|
version: "version";
|
|
10902
10922
|
headroom: "headroom";
|
|
@@ -11453,6 +11473,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11453
11473
|
kind: zod.ZodLiteral<"profile">;
|
|
11454
11474
|
name: zod.ZodString;
|
|
11455
11475
|
value: zod.ZodObject<{
|
|
11476
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
11456
11477
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
11457
11478
|
value: zod.ZodBoolean;
|
|
11458
11479
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -11528,7 +11549,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11528
11549
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
11529
11550
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
11530
11551
|
}, zod_v4_core.$strict>]>>>;
|
|
11531
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
11532
11552
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
11533
11553
|
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
11534
11554
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -11617,10 +11637,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11617
11637
|
}>>;
|
|
11618
11638
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
11619
11639
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11640
|
+
account: "account";
|
|
11620
11641
|
identity: "identity";
|
|
11621
11642
|
model: "model";
|
|
11622
11643
|
route: "route";
|
|
11623
|
-
account: "account";
|
|
11624
11644
|
provider: "provider";
|
|
11625
11645
|
version: "version";
|
|
11626
11646
|
headroom: "headroom";
|
|
@@ -12817,10 +12837,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12817
12837
|
}>>;
|
|
12818
12838
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
12819
12839
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12840
|
+
account: "account";
|
|
12820
12841
|
identity: "identity";
|
|
12821
12842
|
model: "model";
|
|
12822
12843
|
route: "route";
|
|
12823
|
-
account: "account";
|
|
12824
12844
|
provider: "provider";
|
|
12825
12845
|
version: "version";
|
|
12826
12846
|
headroom: "headroom";
|
|
@@ -13598,10 +13618,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13598
13618
|
}>>;
|
|
13599
13619
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
13600
13620
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
13621
|
+
account: "account";
|
|
13601
13622
|
identity: "identity";
|
|
13602
13623
|
model: "model";
|
|
13603
13624
|
route: "route";
|
|
13604
|
-
account: "account";
|
|
13605
13625
|
provider: "provider";
|
|
13606
13626
|
version: "version";
|
|
13607
13627
|
headroom: "headroom";
|
|
@@ -14571,10 +14591,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14571
14591
|
}>>;
|
|
14572
14592
|
layout: z.ZodOptional<z.ZodObject<{
|
|
14573
14593
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14594
|
+
account: "account";
|
|
14574
14595
|
identity: "identity";
|
|
14575
14596
|
model: "model";
|
|
14576
14597
|
route: "route";
|
|
14577
|
-
account: "account";
|
|
14578
14598
|
provider: "provider";
|
|
14579
14599
|
version: "version";
|
|
14580
14600
|
headroom: "headroom";
|
|
@@ -15222,8 +15242,8 @@ interface PrepareLaunchParams {
|
|
|
15222
15242
|
readonly frontdoor?: FrontDoorPort;
|
|
15223
15243
|
/** Resolves credential blocks (a provider's, or the launching identity's own). Omitted by a caller that cannot read secret files or run commands; a launch that needs a credential is then refused rather than started without it. */
|
|
15224
15244
|
readonly credentials?: CredentialPort;
|
|
15225
|
-
/**
|
|
15226
|
-
readonly
|
|
15245
|
+
/** Starts one connection to an http provider's base URL, bounded by the provider's connect timeout, and returns before it is answered. With it, a launch on an http provider whose base URL accepts no connection carries a warning naming the URL after its report, and goes ahead; a caller that cannot open connections omits it and reports nothing. */
|
|
15246
|
+
readonly startBaseUrlProbe?: StartBaseUrlProbe;
|
|
15227
15247
|
/** True when the user was asked on a terminal whether to create the selected configuration profile and chose to launch without it. Without that explicit choice, a selected profile with no file is refused rather than silently skipped. */
|
|
15228
15248
|
readonly allowMissingConfigProfile?: boolean;
|
|
15229
15249
|
/** The user-global `update.mode`, resolved from the same global config the launcher already loads. Absent means `off`, and `off` runs no launch-time update check at all. */
|
|
@@ -15434,10 +15454,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15434
15454
|
}>>;
|
|
15435
15455
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
15436
15456
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
15457
|
+
account: "account";
|
|
15437
15458
|
identity: "identity";
|
|
15438
15459
|
model: "model";
|
|
15439
15460
|
route: "route";
|
|
15440
|
-
account: "account";
|
|
15441
15461
|
provider: "provider";
|
|
15442
15462
|
version: "version";
|
|
15443
15463
|
headroom: "headroom";
|
|
@@ -16326,6 +16346,12 @@ declare function formatFrontDoorStatus(status: FrontDoorStatus, caCertPath: stri
|
|
|
16326
16346
|
*
|
|
16327
16347
|
* This router is reads only; the door's writes live in routers of their own so each is a decision of its own (`lifecycleApi.ts` for the restart and the update check, `codexApi.ts` for the Codex sign-in, `configApi.ts` for identity, configuration-profile, provider, pool and directory-rule management). `createDoorApiNodeHandler` mounts these routers and the door-wide `events.subscribe` router beside the Remote Control router on the one prefix the provider listener already serves, so a consumer dials one address with one token for the whole door.
|
|
16328
16348
|
*/
|
|
16349
|
+
/**
|
|
16350
|
+
* Thrown by a `checkReport` or `doctorReport` dependency that cannot collect its report where it runs. `check.run` and `doctor.run` answer it as `SERVICE_UNAVAILABLE` with its message, so a caller is told what to do instead of reading a fault of the door.
|
|
16351
|
+
*/
|
|
16352
|
+
declare class DoorReportUnavailableError extends Error {
|
|
16353
|
+
constructor(report: "check" | "doctor");
|
|
16354
|
+
}
|
|
16329
16355
|
/** Everything the control-plane procedures need, injected so they serve against fakes in tests exactly as the door's real wiring serves against this machine. */
|
|
16330
16356
|
interface ControlApiDeps {
|
|
16331
16357
|
/** This generation's control token: the same value the Remote Control router checks, since one mount serves both. */
|
|
@@ -17174,10 +17200,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17174
17200
|
}>>;
|
|
17175
17201
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
17176
17202
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
17203
|
+
account: "account";
|
|
17177
17204
|
identity: "identity";
|
|
17178
17205
|
model: "model";
|
|
17179
17206
|
route: "route";
|
|
17180
|
-
account: "account";
|
|
17181
17207
|
provider: "provider";
|
|
17182
17208
|
version: "version";
|
|
17183
17209
|
headroom: "headroom";
|
|
@@ -17793,6 +17819,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17793
17819
|
kind: zod.ZodLiteral<"identity">;
|
|
17794
17820
|
name: zod.ZodString;
|
|
17795
17821
|
value: zod.ZodObject<{
|
|
17822
|
+
agent: zod.ZodOptional<zod.ZodEnum<{
|
|
17823
|
+
claude: "claude";
|
|
17824
|
+
codex: "codex";
|
|
17825
|
+
}>>;
|
|
17796
17826
|
name: zod.ZodString;
|
|
17797
17827
|
label: zod.ZodOptional<zod.ZodString>;
|
|
17798
17828
|
defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -17902,6 +17932,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17902
17932
|
kind: zod.ZodLiteral<"identity">;
|
|
17903
17933
|
name: zod.ZodString;
|
|
17904
17934
|
value: zod.ZodObject<{
|
|
17935
|
+
agent: zod.ZodOptional<zod.ZodEnum<{
|
|
17936
|
+
claude: "claude";
|
|
17937
|
+
codex: "codex";
|
|
17938
|
+
}>>;
|
|
17905
17939
|
name: zod.ZodString;
|
|
17906
17940
|
label: zod.ZodOptional<zod.ZodString>;
|
|
17907
17941
|
defaultConfigProfile: zod.ZodOptional<zod.ZodString>;
|
|
@@ -17981,6 +18015,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17981
18015
|
kind: zod.ZodLiteral<"profile">;
|
|
17982
18016
|
name: zod.ZodString;
|
|
17983
18017
|
value: zod.ZodObject<{
|
|
18018
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
17984
18019
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
17985
18020
|
value: zod.ZodBoolean;
|
|
17986
18021
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -18056,7 +18091,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18056
18091
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
18057
18092
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
18058
18093
|
}, zod_v4_core.$strict>]>>>;
|
|
18059
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
18060
18094
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
18061
18095
|
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
18062
18096
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -18145,10 +18179,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18145
18179
|
}>>;
|
|
18146
18180
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
18147
18181
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
18182
|
+
account: "account";
|
|
18148
18183
|
identity: "identity";
|
|
18149
18184
|
model: "model";
|
|
18150
18185
|
route: "route";
|
|
18151
|
-
account: "account";
|
|
18152
18186
|
provider: "provider";
|
|
18153
18187
|
version: "version";
|
|
18154
18188
|
headroom: "headroom";
|
|
@@ -18705,6 +18739,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18705
18739
|
kind: zod.ZodLiteral<"profile">;
|
|
18706
18740
|
name: zod.ZodString;
|
|
18707
18741
|
value: zod.ZodObject<{
|
|
18742
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
18708
18743
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
18709
18744
|
value: zod.ZodBoolean;
|
|
18710
18745
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -18780,7 +18815,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18780
18815
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
18781
18816
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
18782
18817
|
}, zod_v4_core.$strict>]>>>;
|
|
18783
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
18784
18818
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
18785
18819
|
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
18786
18820
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -18869,10 +18903,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18869
18903
|
}>>;
|
|
18870
18904
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
18871
18905
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
18906
|
+
account: "account";
|
|
18872
18907
|
identity: "identity";
|
|
18873
18908
|
model: "model";
|
|
18874
18909
|
route: "route";
|
|
18875
|
-
account: "account";
|
|
18876
18910
|
provider: "provider";
|
|
18877
18911
|
version: "version";
|
|
18878
18912
|
headroom: "headroom";
|
|
@@ -20069,10 +20103,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20069
20103
|
}>>;
|
|
20070
20104
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
20071
20105
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
20106
|
+
account: "account";
|
|
20072
20107
|
identity: "identity";
|
|
20073
20108
|
model: "model";
|
|
20074
20109
|
route: "route";
|
|
20075
|
-
account: "account";
|
|
20076
20110
|
provider: "provider";
|
|
20077
20111
|
version: "version";
|
|
20078
20112
|
headroom: "headroom";
|
|
@@ -20850,10 +20884,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20850
20884
|
}>>;
|
|
20851
20885
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
20852
20886
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
20887
|
+
account: "account";
|
|
20853
20888
|
identity: "identity";
|
|
20854
20889
|
model: "model";
|
|
20855
20890
|
route: "route";
|
|
20856
|
-
account: "account";
|
|
20857
20891
|
provider: "provider";
|
|
20858
20892
|
version: "version";
|
|
20859
20893
|
headroom: "headroom";
|
|
@@ -22512,6 +22546,10 @@ declare const ConfigIdentityAddOutputSchema: z.ZodObject<{
|
|
|
22512
22546
|
kind: z.ZodLiteral<"identity">;
|
|
22513
22547
|
name: z.ZodString;
|
|
22514
22548
|
value: z.ZodObject<{
|
|
22549
|
+
agent: z.ZodOptional<z.ZodEnum<{
|
|
22550
|
+
claude: "claude";
|
|
22551
|
+
codex: "codex";
|
|
22552
|
+
}>>;
|
|
22515
22553
|
name: z.ZodString;
|
|
22516
22554
|
label: z.ZodOptional<z.ZodString>;
|
|
22517
22555
|
defaultConfigProfile: z.ZodOptional<z.ZodString>;
|
|
@@ -22623,6 +22661,10 @@ declare const ConfigIdentitySetOutputSchema: z.ZodObject<{
|
|
|
22623
22661
|
kind: z.ZodLiteral<"identity">;
|
|
22624
22662
|
name: z.ZodString;
|
|
22625
22663
|
value: z.ZodObject<{
|
|
22664
|
+
agent: z.ZodOptional<z.ZodEnum<{
|
|
22665
|
+
claude: "claude";
|
|
22666
|
+
codex: "codex";
|
|
22667
|
+
}>>;
|
|
22626
22668
|
name: z.ZodString;
|
|
22627
22669
|
label: z.ZodOptional<z.ZodString>;
|
|
22628
22670
|
defaultConfigProfile: z.ZodOptional<z.ZodString>;
|
|
@@ -22700,6 +22742,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22700
22742
|
kind: z.ZodLiteral<"profile">;
|
|
22701
22743
|
name: z.ZodString;
|
|
22702
22744
|
value: z.ZodObject<{
|
|
22745
|
+
description: z.ZodOptional<z.ZodString>;
|
|
22703
22746
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
22704
22747
|
value: z.ZodBoolean;
|
|
22705
22748
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -22775,7 +22818,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22775
22818
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
22776
22819
|
}, z.core.$strip>], "kind">]>;
|
|
22777
22820
|
}, z.core.$strict>]>>>;
|
|
22778
|
-
description: z.ZodOptional<z.ZodString>;
|
|
22779
22821
|
models: z.ZodOptional<z.ZodObject<{
|
|
22780
22822
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
22781
22823
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -22864,10 +22906,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22864
22906
|
}>>;
|
|
22865
22907
|
layout: z.ZodOptional<z.ZodObject<{
|
|
22866
22908
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22909
|
+
account: "account";
|
|
22867
22910
|
identity: "identity";
|
|
22868
22911
|
model: "model";
|
|
22869
22912
|
route: "route";
|
|
22870
|
-
account: "account";
|
|
22871
22913
|
provider: "provider";
|
|
22872
22914
|
version: "version";
|
|
22873
22915
|
headroom: "headroom";
|
|
@@ -23426,6 +23468,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23426
23468
|
kind: z.ZodLiteral<"profile">;
|
|
23427
23469
|
name: z.ZodString;
|
|
23428
23470
|
value: z.ZodObject<{
|
|
23471
|
+
description: z.ZodOptional<z.ZodString>;
|
|
23429
23472
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
23430
23473
|
value: z.ZodBoolean;
|
|
23431
23474
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -23501,7 +23544,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23501
23544
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
23502
23545
|
}, z.core.$strip>], "kind">]>;
|
|
23503
23546
|
}, z.core.$strict>]>>>;
|
|
23504
|
-
description: z.ZodOptional<z.ZodString>;
|
|
23505
23547
|
models: z.ZodOptional<z.ZodObject<{
|
|
23506
23548
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
23507
23549
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -23590,10 +23632,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23590
23632
|
}>>;
|
|
23591
23633
|
layout: z.ZodOptional<z.ZodObject<{
|
|
23592
23634
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23635
|
+
account: "account";
|
|
23593
23636
|
identity: "identity";
|
|
23594
23637
|
model: "model";
|
|
23595
23638
|
route: "route";
|
|
23596
|
-
account: "account";
|
|
23597
23639
|
provider: "provider";
|
|
23598
23640
|
version: "version";
|
|
23599
23641
|
headroom: "headroom";
|
|
@@ -24792,10 +24834,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24792
24834
|
}>>;
|
|
24793
24835
|
layout: z.ZodOptional<z.ZodObject<{
|
|
24794
24836
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24837
|
+
account: "account";
|
|
24795
24838
|
identity: "identity";
|
|
24796
24839
|
model: "model";
|
|
24797
24840
|
route: "route";
|
|
24798
|
-
account: "account";
|
|
24799
24841
|
provider: "provider";
|
|
24800
24842
|
version: "version";
|
|
24801
24843
|
headroom: "headroom";
|
|
@@ -25575,10 +25617,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25575
25617
|
}>>;
|
|
25576
25618
|
layout: z.ZodOptional<z.ZodObject<{
|
|
25577
25619
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25620
|
+
account: "account";
|
|
25578
25621
|
identity: "identity";
|
|
25579
25622
|
model: "model";
|
|
25580
25623
|
route: "route";
|
|
25581
|
-
account: "account";
|
|
25582
25624
|
provider: "provider";
|
|
25583
25625
|
version: "version";
|
|
25584
25626
|
headroom: "headroom";
|
|
@@ -26616,10 +26658,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26616
26658
|
}>>;
|
|
26617
26659
|
layout: z.ZodOptional<z.ZodObject<{
|
|
26618
26660
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
26661
|
+
account: "account";
|
|
26619
26662
|
identity: "identity";
|
|
26620
26663
|
model: "model";
|
|
26621
26664
|
route: "route";
|
|
26622
|
-
account: "account";
|
|
26623
26665
|
provider: "provider";
|
|
26624
26666
|
version: "version";
|
|
26625
26667
|
headroom: "headroom";
|
|
@@ -28397,12 +28439,16 @@ interface PrepareClaudeLaunchOptions {
|
|
|
28397
28439
|
/** The path of the agent-shim executable, used to start the front door and headroom daemons when the launch routes through them. Without it the daemons start through the command line bundle of this same package (`agentShimCliPath`), run with the Node running this process; pass it to use another build or a compiled binary. */
|
|
28398
28440
|
readonly agentShim?: string;
|
|
28399
28441
|
}
|
|
28442
|
+
/** What `prepareClaudeLaunch` returns: the launch's plan, and the warnings preparing it raised (a provider whose base URL accepts no connection, a quota the front door last saw, an unreadable login file), which the command line prints to standard error and a library host decides what to do with. */
|
|
28443
|
+
type ClaudeLaunchPlan = LaunchPlan & {
|
|
28444
|
+
readonly warnings: readonly string[];
|
|
28445
|
+
};
|
|
28400
28446
|
/**
|
|
28401
28447
|
* Resolves a launch for `options.cwd` on this machine and returns what to spawn, so another tool can start `claude` as an identity, through a provider, with the same sharing rules the command line applies, without shelling out. It performs the effects the child depends on: the identity's farm is resynced, and the front door and headroom are brought up and this process registered with them. Call `release` on the plan when the child has exited.
|
|
28402
28448
|
*
|
|
28403
|
-
* A refused launch throws `LaunchRefusedError` carrying the launcher's own message. Interactive offers (creating a missing identity or profile on a terminal) belong to the command line and are not made here.
|
|
28449
|
+
* A refused launch throws `LaunchRefusedError` carrying the launcher's own message. A launch that proceeds despite a problem it noticed (an unreachable provider among them) returns it in the plan's `warnings`. Interactive offers (creating a missing identity or profile on a terminal) belong to the command line and are not made here.
|
|
28404
28450
|
*/
|
|
28405
|
-
declare function prepareClaudeLaunch(options: PrepareClaudeLaunchOptions):
|
|
28451
|
+
declare function prepareClaudeLaunch(options: PrepareClaudeLaunchOptions): ClaudeLaunchPlan;
|
|
28406
28452
|
/** What `resolveClaudeLaunch` needs from its caller: the launch `prepareClaudeLaunch` takes, less the daemon executable, since a resolution starts no daemon. */
|
|
28407
28453
|
type ResolveClaudeLaunchOptions = Omit<PrepareClaudeLaunchOptions, "agentShim">;
|
|
28408
28454
|
/** A launch's resolution and the warnings resolving it raised (a quota the front door last saw, a pool member whose identity is gone). */
|
|
@@ -28475,12 +28521,15 @@ declare function poolSelectedByLaunch(options: Pick<PrepareClaudeLaunchOptions,
|
|
|
28475
28521
|
*/
|
|
28476
28522
|
declare function refreshLaunchPoolUsage(options: RefreshLaunchPoolUsageOptions): Promise<void>;
|
|
28477
28523
|
|
|
28478
|
-
/** What `runClaudeLaunch` needs: the launch to run,
|
|
28479
|
-
|
|
28524
|
+
/** What `runClaudeLaunch` needs: the launch to run, the stale-usage refresh's own options, and where warnings go. */
|
|
28525
|
+
interface RunClaudeLaunchOptions extends RefreshLaunchPoolUsageOptions {
|
|
28526
|
+
/** Receives each warning preparing the launch raised, before the child starts; when absent each is written to standard error, as the command line does. */
|
|
28527
|
+
readonly onWarning?: (message: string) => void;
|
|
28528
|
+
}
|
|
28480
28529
|
/**
|
|
28481
28530
|
* Runs one `claude` launch for `options.cwd` on this machine as `agent-shim run` does, and resolves to the child's exit code: a pool the launch selects first has its stale usage refreshed (`refreshLaunchPoolUsage`) so the pick ranks on current figures, then the launch is prepared (`prepareClaudeLaunch`), the child runs with the terminal's standard streams until it ends, and the launch's front door and headroom registrations are released whether it exited, was signalled (`128` plus the signal number) or could not be spawned. It does not exit this process, so the host decides what to do with the code.
|
|
28482
28531
|
*
|
|
28483
|
-
* Rejects with `LaunchRefusedError` before anything is spawned when the launch is refused, and with the spawn failure, after releasing, when the child could not be started. Interactive offers (creating a missing identity or profile) and the launch-time update notice belong to the command line and are not made here.
|
|
28532
|
+
* Rejects with `LaunchRefusedError` before anything is spawned when the launch is refused, and with the spawn failure, after releasing, when the child could not be started. Warnings the launch raised (an unreachable provider among them) go to `onWarning`, else standard error. Interactive offers (creating a missing identity or profile) and the launch-time update notice belong to the command line and are not made here.
|
|
28484
28533
|
*/
|
|
28485
28534
|
declare function runClaudeLaunch(options: RunClaudeLaunchOptions): Promise<number>;
|
|
28486
28535
|
|
|
@@ -28507,5 +28556,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
|
|
|
28507
28556
|
*/
|
|
28508
28557
|
declare function agentShimCliPath(distDir?: string | undefined): string;
|
|
28509
28558
|
|
|
28510
|
-
export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, 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, ConfigIdentityAddInputSchema, 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, DuplicateIdentityNameError, 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, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, 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_GOAL_CLEAR_WORDS, RC_GOAL_CONDITION_MAX_CHARS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_RETIRE_REASONS, 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_SESSION_COMMAND_MAX_WAIT_MS, RC_SESSION_COMMAND_VERIFIED_VERSIONS, RC_SESSION_END_REASONS, RC_SESSION_EVENT_LOG_CAPACITY, 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, RcSessionEventCursorExpiredError, RcSessionEventSchema, RcSessionEventsPageInputSchema, RcSessionEventsReadInputSchema, RcSessionEventsReadOutputSchema, RcSessionEventsStreamInputSchema, RcSessionTransitionSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageChangeEventSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, changePool, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createLiveSessionRegistry, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcClaudeCodeVersions, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionCommands, createRcSessionEventLog, createRcSessionEventsApiRouter, createRcSessionRegistryReader, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, followRcSessionEvents, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, identityIdOf, identityNameOf, identityRecords, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcGoalOutput, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcLocalCommandAnswerOf, rcManualCompactBoundaryOf, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcStatusWithRegistry, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readIdentityById, readIdentityRecords, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realMemberProviderResolver, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, 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, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, showSession, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, summariseSession, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, withRegisteredSessionFacts, writeDirectoryRules };
|
|
28511
|
-
export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, 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, IdentityNameRead, IdentityRecord, IdentityRecordsPort, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveSessionRegistry, LiveSessionRegistryPorts, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, ProviderOf, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcClaudeCodeVersions, RcCompactOptions, RcCompactReport, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcGoal, RcGoalClearReport, RcGoalReport, RcGoalSetReport, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingQuestion, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcQuestionOption, RcQuestionSelection, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionCommandDeps, RcSessionCommandOptions, RcSessionCommandResult, RcSessionCommandRoute, RcSessionCommands, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcSupervisedTarget, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RealMemberProviderParams, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };
|
|
28559
|
+
export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, AgentTreesListInputSchema, AgentTreesListOutputSchema, AgentTreesShowInputSchema, AgentTreesShowOutputSchema, 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, ConfigIdentityAddInputSchema, 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, DoorReportUnavailableError, DuplicateIdentityNameError, 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, LIVE_TASK_CAP, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, LiveTaskSchema, MergedAgentNodeSchema, MergedAgentTreeSchema, 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_GOAL_CLEAR_WORDS, RC_GOAL_CONDITION_MAX_CHARS, RC_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_RETIRE_REASONS, 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_SESSION_COMMAND_MAX_WAIT_MS, RC_SESSION_COMMAND_VERIFIED_VERSIONS, RC_SESSION_END_REASONS, RC_SESSION_EVENT_LOG_CAPACITY, 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, RcSessionEventCursorExpiredError, RcSessionEventSchema, RcSessionEventsPageInputSchema, RcSessionEventsReadInputSchema, RcSessionEventsReadOutputSchema, RcSessionEventsStreamInputSchema, RcSessionTransitionSchema, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, SessionLookupError, SessionSummarySchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageChangeEventSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, applyAgentTaskEvent, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, changePool, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, collectSessionList, createAgentTreesApiRouter, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createLiveSessionRegistry, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcClaudeCodeVersions, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionCommands, createRcSessionEventLog, createRcSessionEventsApiRouter, createRcSessionRegistryReader, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, followRcSessionEvents, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, identityIdOf, identityNameOf, identityRecords, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, launchRequiredUpstreams, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, locateSession, matchBranch, mergeLiveTasks, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcGoalOutput, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcLocalCommandAnswerOf, rcManualCompactBoundaryOf, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcStatusWithRegistry, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readIdentityById, readIdentityRecords, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realMemberProviderResolver, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, realSessionFs, 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, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, showSession, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, summariseSession, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, withRegisteredSessionFacts, writeDirectoryRules };
|
|
28560
|
+
export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchPlan, 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, IdentityNameRead, IdentityRecord, IdentityRecordsPort, IdentitySession, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, LiveSessionRegistry, LiveSessionRegistryPorts, LiveTask, LiveTaskBook, LocatedSession, MergedAgentNode, MergedAgentTree, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolChange, PoolMember, PoolPickReport, PoolPolicy, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, ProviderOf, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcClaudeCodeVersions, RcCompactOptions, RcCompactReport, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcGoal, RcGoalClearReport, RcGoalReport, RcGoalSetReport, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingQuestion, RcPendingRequestSummary, RcPendingRetireReason, RcPermissionMode, RcPresenceAnswer, RcQuestionOption, RcQuestionSelection, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionCommandDeps, RcSessionCommandOptions, RcSessionCommandResult, RcSessionCommandRoute, RcSessionCommands, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcSupervisedTarget, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RealMemberProviderParams, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionCommandFs, SessionListFilters, SessionRef, SessionSummary, SessionView, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, TaskItem, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation, WorkflowRun };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.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>",
|