agent-shim 11.33.0 → 11.35.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/README.md +2 -1
- package/dist/cli.cjs +157 -58
- package/dist/index.cjs +84 -40
- package/dist/index.mjs +84 -40
- package/dist/types/index.d.ts +66 -21
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -278,6 +278,7 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
278
278
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
279
279
|
delay: z.ZodOptional<z.ZodString>;
|
|
280
280
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
281
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
281
282
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
282
283
|
}, z.core.$strict>;
|
|
283
284
|
type LaunchFlags = z.infer<typeof LaunchSchema>;
|
|
@@ -383,7 +384,7 @@ declare const CredentialSchema: z.ZodObject<{
|
|
|
383
384
|
}, z.core.$strict>;
|
|
384
385
|
type Credential = z.infer<typeof CredentialSchema>;
|
|
385
386
|
/** The kinds of provider: `http` is an Anthropic Messages endpoint at a fixed `baseUrl` (the default when `kind` is absent), and `codex` is ChatGPT's Codex backend reached through agent-shim's own supervised translation daemon. */
|
|
386
|
-
declare const PROVIDER_KINDS: readonly ["http", "codex", "antigravity"];
|
|
387
|
+
declare const PROVIDER_KINDS: readonly ["http", "codex", "antigravity", "router"];
|
|
387
388
|
/**
|
|
388
389
|
* How an Antigravity provider translates Claude Code's requests and connects to its backend.
|
|
389
390
|
*/
|
|
@@ -754,6 +755,10 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
754
755
|
socketPath: z.ZodOptional<z.ZodString>;
|
|
755
756
|
}, z.core.$strict>>;
|
|
756
757
|
}, z.core.$strict>>;
|
|
758
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
759
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
760
|
+
kind: z.ZodLiteral<"router">;
|
|
761
|
+
displayName: z.ZodString;
|
|
757
762
|
}, z.core.$strict>], "kind">;
|
|
758
763
|
type Provider = z.infer<typeof ProviderSchema>;
|
|
759
764
|
/** The global `models` block: the virtual models, the tier pointers, the prices and the visibility filter. */
|
|
@@ -917,6 +922,7 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
917
922
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
918
923
|
delay: z.ZodOptional<z.ZodString>;
|
|
919
924
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
925
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
920
926
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
921
927
|
}, z.core.$strict>>;
|
|
922
928
|
models: z.ZodOptional<z.ZodObject<{
|
|
@@ -1180,6 +1186,7 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
1180
1186
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
1181
1187
|
delay: z.ZodOptional<z.ZodString>;
|
|
1182
1188
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1189
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
1183
1190
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1184
1191
|
}, z.core.$strict>>;
|
|
1185
1192
|
path: z.ZodString;
|
|
@@ -1389,6 +1396,7 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
1389
1396
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
1390
1397
|
delay: z.ZodOptional<z.ZodString>;
|
|
1391
1398
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1399
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
1392
1400
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1393
1401
|
}, z.core.$strict>>;
|
|
1394
1402
|
path: z.ZodString;
|
|
@@ -1599,6 +1607,7 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
1599
1607
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
1600
1608
|
delay: z.ZodOptional<z.ZodString>;
|
|
1601
1609
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1610
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
1602
1611
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1603
1612
|
}, z.core.$strict>>;
|
|
1604
1613
|
configProfile: z.ZodOptional<z.ZodString>;
|
|
@@ -1807,6 +1816,7 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
1807
1816
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
1808
1817
|
delay: z.ZodOptional<z.ZodString>;
|
|
1809
1818
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
1819
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
1810
1820
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
1811
1821
|
}, z.core.$strict>>;
|
|
1812
1822
|
headroom: z.ZodOptional<z.ZodObject<{
|
|
@@ -3441,6 +3451,8 @@ interface SessionIdentity {
|
|
|
3441
3451
|
readonly provider: string | undefined;
|
|
3442
3452
|
/** Whether this launch resolved headroom on, so its requests must pass through the headroom hop before their route. */
|
|
3443
3453
|
readonly headroom: boolean;
|
|
3454
|
+
/** Whether this launch routes provider-qualified model names through the models block, whatever provider it selected. */
|
|
3455
|
+
readonly routeByName: boolean;
|
|
3444
3456
|
/** The project identity headroom scopes memory to, re-set on the headroom hop and sent nowhere else. */
|
|
3445
3457
|
readonly projectId: string | undefined;
|
|
3446
3458
|
}
|
|
@@ -4736,7 +4748,7 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
4736
4748
|
}>;
|
|
4737
4749
|
provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4738
4750
|
name: z.ZodString;
|
|
4739
|
-
credential: z.ZodObject<{
|
|
4751
|
+
credential: z.ZodOptional<z.ZodObject<{
|
|
4740
4752
|
target: z.ZodEnum<{
|
|
4741
4753
|
apiKey: "apiKey";
|
|
4742
4754
|
bearer: "bearer";
|
|
@@ -4768,7 +4780,7 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
4768
4780
|
keychain: "keychain";
|
|
4769
4781
|
}>>;
|
|
4770
4782
|
}, z.core.$strict>>;
|
|
4771
|
-
}, z.core.$strict
|
|
4783
|
+
}, z.core.$strict>>;
|
|
4772
4784
|
cached: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4773
4785
|
store: z.ZodEnum<{
|
|
4774
4786
|
file: "file";
|
|
@@ -5176,7 +5188,7 @@ interface CredentialReport {
|
|
|
5176
5188
|
/** The selected provider's usable block (with what its cache holds), or why it could not be used; the two never appear together, exactly as `CheckProviderInput` states it. */
|
|
5177
5189
|
readonly provider?: {
|
|
5178
5190
|
readonly name: string;
|
|
5179
|
-
readonly credential
|
|
5191
|
+
readonly credential?: CredentialSummary;
|
|
5180
5192
|
readonly cached?: CachedCredentialState;
|
|
5181
5193
|
readonly problem?: never;
|
|
5182
5194
|
} | {
|
|
@@ -6214,6 +6226,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6214
6226
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
6215
6227
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
6216
6228
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
6229
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
6217
6230
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
6218
6231
|
}, zod_v4_core.$strict>>;
|
|
6219
6232
|
}, zod_v4_core.$strict>;
|
|
@@ -6234,6 +6247,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6234
6247
|
delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
|
|
6235
6248
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
6236
6249
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
6250
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
6237
6251
|
}, zod_v4_core.$strict>>;
|
|
6238
6252
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
6239
6253
|
action: zod.ZodLiteral<"updated">;
|
|
@@ -6366,6 +6380,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6366
6380
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
6367
6381
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
6368
6382
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
6383
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
6369
6384
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
6370
6385
|
}, zod_v4_core.$strict>>;
|
|
6371
6386
|
}, zod_v4_core.$strict>;
|
|
@@ -6608,6 +6623,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6608
6623
|
http: "http";
|
|
6609
6624
|
codex: "codex";
|
|
6610
6625
|
antigravity: "antigravity";
|
|
6626
|
+
router: "router";
|
|
6611
6627
|
}>>;
|
|
6612
6628
|
displayName: zod.ZodString;
|
|
6613
6629
|
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6671,6 +6687,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6671
6687
|
http: "http";
|
|
6672
6688
|
codex: "codex";
|
|
6673
6689
|
antigravity: "antigravity";
|
|
6690
|
+
router: "router";
|
|
6674
6691
|
}>;
|
|
6675
6692
|
displayName: zod.ZodString;
|
|
6676
6693
|
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6693,7 +6710,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6693
6710
|
"chatgpt-sign-in": "chatgpt-sign-in";
|
|
6694
6711
|
}>>;
|
|
6695
6712
|
}, zod_v4_core.$strict>>;
|
|
6696
|
-
credential: zod.ZodObject<{
|
|
6713
|
+
credential: zod.ZodOptional<zod.ZodObject<{
|
|
6697
6714
|
target: zod.ZodEnum<{
|
|
6698
6715
|
apiKey: "apiKey";
|
|
6699
6716
|
bearer: "bearer";
|
|
@@ -6725,7 +6742,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6725
6742
|
keychain: "keychain";
|
|
6726
6743
|
}>>;
|
|
6727
6744
|
}, zod_v4_core.$strict>>;
|
|
6728
|
-
}, zod_v4_core.$strict
|
|
6745
|
+
}, zod_v4_core.$strict>>;
|
|
6729
6746
|
env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
6730
6747
|
}, zod_v4_core.$strict>;
|
|
6731
6748
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -6793,6 +6810,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6793
6810
|
http: "http";
|
|
6794
6811
|
codex: "codex";
|
|
6795
6812
|
antigravity: "antigravity";
|
|
6813
|
+
router: "router";
|
|
6796
6814
|
}>;
|
|
6797
6815
|
displayName: zod.ZodString;
|
|
6798
6816
|
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6815,7 +6833,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6815
6833
|
"chatgpt-sign-in": "chatgpt-sign-in";
|
|
6816
6834
|
}>>;
|
|
6817
6835
|
}, zod_v4_core.$strict>>;
|
|
6818
|
-
credential: zod.ZodObject<{
|
|
6836
|
+
credential: zod.ZodOptional<zod.ZodObject<{
|
|
6819
6837
|
target: zod.ZodEnum<{
|
|
6820
6838
|
apiKey: "apiKey";
|
|
6821
6839
|
bearer: "bearer";
|
|
@@ -6847,7 +6865,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6847
6865
|
keychain: "keychain";
|
|
6848
6866
|
}>>;
|
|
6849
6867
|
}, zod_v4_core.$strict>>;
|
|
6850
|
-
}, zod_v4_core.$strict
|
|
6868
|
+
}, zod_v4_core.$strict>>;
|
|
6851
6869
|
env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
6852
6870
|
}, zod_v4_core.$strict>;
|
|
6853
6871
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -6996,6 +7014,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
6996
7014
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
6997
7015
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
6998
7016
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
7017
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
6999
7018
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
7000
7019
|
}, zod_v4_core.$strict>>;
|
|
7001
7020
|
path: zod.ZodString;
|
|
@@ -7210,6 +7229,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
7210
7229
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
7211
7230
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
7212
7231
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
7232
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
7213
7233
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
7214
7234
|
}, zod_v4_core.$strict>>;
|
|
7215
7235
|
path: zod.ZodString;
|
|
@@ -7544,6 +7564,8 @@ interface ResolvedLaunchFlags {
|
|
|
7544
7564
|
readonly pause: boolean;
|
|
7545
7565
|
/** Whether the launch's report lists every pool member the pick ranked and why, and not only the one picked. */
|
|
7546
7566
|
readonly explain: boolean;
|
|
7567
|
+
/** Whether a provider session routes provider-qualified model names through the models block to the provider that serves them. */
|
|
7568
|
+
readonly routeByName: boolean;
|
|
7547
7569
|
/** How long the launcher waits after its own output before it starts claude, in milliseconds; zero for no wait. */
|
|
7548
7570
|
readonly delayMs: number;
|
|
7549
7571
|
}
|
|
@@ -7747,10 +7769,11 @@ interface LaunchResolution {
|
|
|
7747
7769
|
readonly name: string;
|
|
7748
7770
|
readonly summary: CredentialSummary;
|
|
7749
7771
|
};
|
|
7750
|
-
/** Which daemons the launch would route through. */
|
|
7772
|
+
/** Which daemons the launch would route through, and whether it routes provider-qualified model names through the models block. */
|
|
7751
7773
|
readonly routing: {
|
|
7752
7774
|
readonly frontDoor: boolean;
|
|
7753
7775
|
readonly headroom: boolean;
|
|
7776
|
+
readonly routeByName: boolean;
|
|
7754
7777
|
};
|
|
7755
7778
|
/** The names of the environment variables the launch would set or unset, sorted. Values are never reported: the launcher's environment carries tokens and per-launch capabilities that mean nothing outside it. */
|
|
7756
7779
|
readonly environment: readonly string[];
|
|
@@ -7837,6 +7860,7 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
7837
7860
|
trackUsage: zod.ZodBoolean;
|
|
7838
7861
|
pause: zod.ZodBoolean;
|
|
7839
7862
|
explain: zod.ZodBoolean;
|
|
7863
|
+
routeByName: zod.ZodBoolean;
|
|
7840
7864
|
delayMs: zod.ZodNumber;
|
|
7841
7865
|
}, zod_v4_core.$strict>;
|
|
7842
7866
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -7892,6 +7916,7 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
7892
7916
|
routing: zod.ZodObject<{
|
|
7893
7917
|
frontDoor: zod.ZodBoolean;
|
|
7894
7918
|
headroom: zod.ZodBoolean;
|
|
7919
|
+
routeByName: zod.ZodBoolean;
|
|
7895
7920
|
}, zod_v4_core.$strict>;
|
|
7896
7921
|
environment: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
7897
7922
|
warnings: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
@@ -8571,7 +8596,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
8571
8596
|
}>;
|
|
8572
8597
|
provider: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8573
8598
|
name: zod.ZodString;
|
|
8574
|
-
credential: zod.ZodObject<{
|
|
8599
|
+
credential: zod.ZodOptional<zod.ZodObject<{
|
|
8575
8600
|
target: zod.ZodEnum<{
|
|
8576
8601
|
apiKey: "apiKey";
|
|
8577
8602
|
bearer: "bearer";
|
|
@@ -8603,7 +8628,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
8603
8628
|
keychain: "keychain";
|
|
8604
8629
|
}>>;
|
|
8605
8630
|
}, zod_v4_core.$strict>>;
|
|
8606
|
-
}, zod_v4_core.$strict
|
|
8631
|
+
}, zod_v4_core.$strict>>;
|
|
8607
8632
|
cached: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8608
8633
|
store: zod.ZodEnum<{
|
|
8609
8634
|
file: "file";
|
|
@@ -8957,6 +8982,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
8957
8982
|
trackUsage: zod.ZodBoolean;
|
|
8958
8983
|
pause: zod.ZodBoolean;
|
|
8959
8984
|
explain: zod.ZodBoolean;
|
|
8985
|
+
routeByName: zod.ZodBoolean;
|
|
8960
8986
|
delayMs: zod.ZodNumber;
|
|
8961
8987
|
}, zod_v4_core.$strict>;
|
|
8962
8988
|
claudeVersion: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -9012,6 +9038,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9012
9038
|
routing: zod.ZodObject<{
|
|
9013
9039
|
frontDoor: zod.ZodBoolean;
|
|
9014
9040
|
headroom: zod.ZodBoolean;
|
|
9041
|
+
routeByName: zod.ZodBoolean;
|
|
9015
9042
|
}, zod_v4_core.$strict>;
|
|
9016
9043
|
environment: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
9017
9044
|
warnings: zod.ZodReadonly<zod.ZodArray<zod.ZodString>>;
|
|
@@ -9354,6 +9381,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9354
9381
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
9355
9382
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
9356
9383
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
9384
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
9357
9385
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
9358
9386
|
}, zod_v4_core.$strict>>;
|
|
9359
9387
|
}, zod_v4_core.$strict>;
|
|
@@ -9374,6 +9402,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9374
9402
|
delay: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodLiteral<false>]>>;
|
|
9375
9403
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
9376
9404
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
9405
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
9377
9406
|
}, zod_v4_core.$strict>>;
|
|
9378
9407
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
9379
9408
|
action: zod.ZodLiteral<"updated">;
|
|
@@ -9506,6 +9535,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9506
9535
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
9507
9536
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
9508
9537
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
9538
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
9509
9539
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
9510
9540
|
}, zod_v4_core.$strict>>;
|
|
9511
9541
|
}, zod_v4_core.$strict>;
|
|
@@ -9748,6 +9778,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9748
9778
|
http: "http";
|
|
9749
9779
|
codex: "codex";
|
|
9750
9780
|
antigravity: "antigravity";
|
|
9781
|
+
router: "router";
|
|
9751
9782
|
}>>;
|
|
9752
9783
|
displayName: zod.ZodString;
|
|
9753
9784
|
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9811,6 +9842,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9811
9842
|
http: "http";
|
|
9812
9843
|
codex: "codex";
|
|
9813
9844
|
antigravity: "antigravity";
|
|
9845
|
+
router: "router";
|
|
9814
9846
|
}>;
|
|
9815
9847
|
displayName: zod.ZodString;
|
|
9816
9848
|
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9833,7 +9865,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9833
9865
|
"chatgpt-sign-in": "chatgpt-sign-in";
|
|
9834
9866
|
}>>;
|
|
9835
9867
|
}, zod_v4_core.$strict>>;
|
|
9836
|
-
credential: zod.ZodObject<{
|
|
9868
|
+
credential: zod.ZodOptional<zod.ZodObject<{
|
|
9837
9869
|
target: zod.ZodEnum<{
|
|
9838
9870
|
apiKey: "apiKey";
|
|
9839
9871
|
bearer: "bearer";
|
|
@@ -9865,7 +9897,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9865
9897
|
keychain: "keychain";
|
|
9866
9898
|
}>>;
|
|
9867
9899
|
}, zod_v4_core.$strict>>;
|
|
9868
|
-
}, zod_v4_core.$strict
|
|
9900
|
+
}, zod_v4_core.$strict>>;
|
|
9869
9901
|
env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9870
9902
|
}, zod_v4_core.$strict>;
|
|
9871
9903
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -9933,6 +9965,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9933
9965
|
http: "http";
|
|
9934
9966
|
codex: "codex";
|
|
9935
9967
|
antigravity: "antigravity";
|
|
9968
|
+
router: "router";
|
|
9936
9969
|
}>;
|
|
9937
9970
|
displayName: zod.ZodString;
|
|
9938
9971
|
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -9955,7 +9988,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9955
9988
|
"chatgpt-sign-in": "chatgpt-sign-in";
|
|
9956
9989
|
}>>;
|
|
9957
9990
|
}, zod_v4_core.$strict>>;
|
|
9958
|
-
credential: zod.ZodObject<{
|
|
9991
|
+
credential: zod.ZodOptional<zod.ZodObject<{
|
|
9959
9992
|
target: zod.ZodEnum<{
|
|
9960
9993
|
apiKey: "apiKey";
|
|
9961
9994
|
bearer: "bearer";
|
|
@@ -9987,7 +10020,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9987
10020
|
keychain: "keychain";
|
|
9988
10021
|
}>>;
|
|
9989
10022
|
}, zod_v4_core.$strict>>;
|
|
9990
|
-
}, zod_v4_core.$strict
|
|
10023
|
+
}, zod_v4_core.$strict>>;
|
|
9991
10024
|
env: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
9992
10025
|
}, zod_v4_core.$strict>;
|
|
9993
10026
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -10136,6 +10169,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10136
10169
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
10137
10170
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
10138
10171
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
10172
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
10139
10173
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
10140
10174
|
}, zod_v4_core.$strict>>;
|
|
10141
10175
|
path: zod.ZodString;
|
|
@@ -10350,6 +10384,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10350
10384
|
claudeVersion: zod.ZodOptional<zod.ZodString>;
|
|
10351
10385
|
delay: zod.ZodOptional<zod.ZodString>;
|
|
10352
10386
|
pause: zod.ZodOptional<zod.ZodBoolean>;
|
|
10387
|
+
routeByName: zod.ZodOptional<zod.ZodBoolean>;
|
|
10353
10388
|
explain: zod.ZodOptional<zod.ZodBoolean>;
|
|
10354
10389
|
}, zod_v4_core.$strict>>;
|
|
10355
10390
|
path: zod.ZodString;
|
|
@@ -10811,7 +10846,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10811
10846
|
}>;
|
|
10812
10847
|
provider: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10813
10848
|
name: zod.ZodString;
|
|
10814
|
-
credential: zod.ZodObject<{
|
|
10849
|
+
credential: zod.ZodOptional<zod.ZodObject<{
|
|
10815
10850
|
target: zod.ZodEnum<{
|
|
10816
10851
|
apiKey: "apiKey";
|
|
10817
10852
|
bearer: "bearer";
|
|
@@ -10843,7 +10878,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
10843
10878
|
keychain: "keychain";
|
|
10844
10879
|
}>>;
|
|
10845
10880
|
}, zod_v4_core.$strict>>;
|
|
10846
|
-
}, zod_v4_core.$strict
|
|
10881
|
+
}, zod_v4_core.$strict>>;
|
|
10847
10882
|
cached: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
10848
10883
|
store: zod.ZodEnum<{
|
|
10849
10884
|
file: "file";
|
|
@@ -11605,6 +11640,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
11605
11640
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
11606
11641
|
delay: z.ZodOptional<z.ZodString>;
|
|
11607
11642
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
11643
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
11608
11644
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
11609
11645
|
}, z.core.$strict>>;
|
|
11610
11646
|
}, z.core.$strict>;
|
|
@@ -11626,6 +11662,7 @@ declare const ConfigProfileSetInputSchema: z.ZodObject<{
|
|
|
11626
11662
|
delay: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
11627
11663
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
11628
11664
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
11665
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
11629
11666
|
}, z.core.$strict>>;
|
|
11630
11667
|
}, z.core.$strict>;
|
|
11631
11668
|
declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
@@ -11759,6 +11796,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
11759
11796
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
11760
11797
|
delay: z.ZodOptional<z.ZodString>;
|
|
11761
11798
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
11799
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
11762
11800
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
11763
11801
|
}, z.core.$strict>>;
|
|
11764
11802
|
}, z.core.$strict>;
|
|
@@ -11999,6 +12037,7 @@ declare const ConfigProviderAddInputSchema: z.ZodObject<{
|
|
|
11999
12037
|
http: "http";
|
|
12000
12038
|
codex: "codex";
|
|
12001
12039
|
antigravity: "antigravity";
|
|
12040
|
+
router: "router";
|
|
12002
12041
|
}>>;
|
|
12003
12042
|
displayName: z.ZodString;
|
|
12004
12043
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -12063,6 +12102,7 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
|
|
|
12063
12102
|
http: "http";
|
|
12064
12103
|
codex: "codex";
|
|
12065
12104
|
antigravity: "antigravity";
|
|
12105
|
+
router: "router";
|
|
12066
12106
|
}>;
|
|
12067
12107
|
displayName: z.ZodString;
|
|
12068
12108
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -12085,7 +12125,7 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
|
|
|
12085
12125
|
"chatgpt-sign-in": "chatgpt-sign-in";
|
|
12086
12126
|
}>>;
|
|
12087
12127
|
}, z.core.$strict>>;
|
|
12088
|
-
credential: z.ZodObject<{
|
|
12128
|
+
credential: z.ZodOptional<z.ZodObject<{
|
|
12089
12129
|
target: z.ZodEnum<{
|
|
12090
12130
|
apiKey: "apiKey";
|
|
12091
12131
|
bearer: "bearer";
|
|
@@ -12117,7 +12157,7 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
|
|
|
12117
12157
|
keychain: "keychain";
|
|
12118
12158
|
}>>;
|
|
12119
12159
|
}, z.core.$strict>>;
|
|
12120
|
-
}, z.core.$strict
|
|
12160
|
+
}, z.core.$strict>>;
|
|
12121
12161
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12122
12162
|
}, z.core.$strict>;
|
|
12123
12163
|
}, z.core.$strict>;
|
|
@@ -12187,6 +12227,7 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
|
|
|
12187
12227
|
http: "http";
|
|
12188
12228
|
codex: "codex";
|
|
12189
12229
|
antigravity: "antigravity";
|
|
12230
|
+
router: "router";
|
|
12190
12231
|
}>;
|
|
12191
12232
|
displayName: z.ZodString;
|
|
12192
12233
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -12209,7 +12250,7 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
|
|
|
12209
12250
|
"chatgpt-sign-in": "chatgpt-sign-in";
|
|
12210
12251
|
}>>;
|
|
12211
12252
|
}, z.core.$strict>>;
|
|
12212
|
-
credential: z.ZodObject<{
|
|
12253
|
+
credential: z.ZodOptional<z.ZodObject<{
|
|
12213
12254
|
target: z.ZodEnum<{
|
|
12214
12255
|
apiKey: "apiKey";
|
|
12215
12256
|
bearer: "bearer";
|
|
@@ -12241,7 +12282,7 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
|
|
|
12241
12282
|
keychain: "keychain";
|
|
12242
12283
|
}>>;
|
|
12243
12284
|
}, z.core.$strict>>;
|
|
12244
|
-
}, z.core.$strict
|
|
12285
|
+
}, z.core.$strict>>;
|
|
12245
12286
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12246
12287
|
}, z.core.$strict>;
|
|
12247
12288
|
}, z.core.$strict>;
|
|
@@ -12391,6 +12432,7 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
12391
12432
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
12392
12433
|
delay: z.ZodOptional<z.ZodString>;
|
|
12393
12434
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
12435
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
12394
12436
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
12395
12437
|
}, z.core.$strict>>;
|
|
12396
12438
|
path: z.ZodString;
|
|
@@ -12607,6 +12649,7 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
12607
12649
|
claudeVersion: z.ZodOptional<z.ZodString>;
|
|
12608
12650
|
delay: z.ZodOptional<z.ZodString>;
|
|
12609
12651
|
pause: z.ZodOptional<z.ZodBoolean>;
|
|
12652
|
+
routeByName: z.ZodOptional<z.ZodBoolean>;
|
|
12610
12653
|
explain: z.ZodOptional<z.ZodBoolean>;
|
|
12611
12654
|
}, z.core.$strict>>;
|
|
12612
12655
|
path: z.ZodString;
|
|
@@ -13098,6 +13141,7 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
13098
13141
|
trackUsage: z.ZodBoolean;
|
|
13099
13142
|
pause: z.ZodBoolean;
|
|
13100
13143
|
explain: z.ZodBoolean;
|
|
13144
|
+
routeByName: z.ZodBoolean;
|
|
13101
13145
|
delayMs: z.ZodNumber;
|
|
13102
13146
|
}, z.core.$strict>;
|
|
13103
13147
|
claudeVersion: z.ZodOptional<z.ZodObject<{
|
|
@@ -13153,6 +13197,7 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
13153
13197
|
routing: z.ZodObject<{
|
|
13154
13198
|
frontDoor: z.ZodBoolean;
|
|
13155
13199
|
headroom: z.ZodBoolean;
|
|
13200
|
+
routeByName: z.ZodBoolean;
|
|
13156
13201
|
}, z.core.$strict>;
|
|
13157
13202
|
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
13158
13203
|
warnings: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.35.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>",
|