agent-shim 11.8.2 → 11.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -380,7 +380,41 @@ declare const CredentialSchema: z.ZodObject<{
380
380
  }, z.core.$strict>;
381
381
  type Credential = z.infer<typeof CredentialSchema>;
382
382
  /** 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. */
383
- declare const PROVIDER_KINDS: readonly ["http", "codex"];
383
+ declare const PROVIDER_KINDS: readonly ["http", "codex", "antigravity"];
384
+ /**
385
+ * How an Antigravity provider translates Claude Code's requests and connects to its backend.
386
+ */
387
+ declare const AntigravityProviderConfigSchema: z.ZodObject<{
388
+ mode: z.ZodOptional<z.ZodEnum<{
389
+ cloud: "cloud";
390
+ local: "local";
391
+ }>>;
392
+ defaultModel: z.ZodOptional<z.ZodString>;
393
+ models: z.ZodOptional<z.ZodObject<{
394
+ fable: z.ZodOptional<z.ZodString>;
395
+ opus: z.ZodOptional<z.ZodString>;
396
+ sonnet: z.ZodOptional<z.ZodString>;
397
+ haiku: z.ZodOptional<z.ZodString>;
398
+ }, z.core.$strict>>;
399
+ effort: z.ZodOptional<z.ZodEnum<{
400
+ max: "max";
401
+ none: "none";
402
+ low: "low";
403
+ medium: "medium";
404
+ high: "high";
405
+ xhigh: "xhigh";
406
+ }>>;
407
+ cloud: z.ZodOptional<z.ZodObject<{
408
+ endpoint: z.ZodOptional<z.ZodURL>;
409
+ projectId: z.ZodOptional<z.ZodString>;
410
+ location: z.ZodOptional<z.ZodString>;
411
+ }, z.core.$strict>>;
412
+ local: z.ZodOptional<z.ZodObject<{
413
+ command: z.ZodOptional<z.ZodArray<z.ZodString>>;
414
+ socketPath: z.ZodOptional<z.ZodString>;
415
+ }, z.core.$strict>>;
416
+ }, z.core.$strict>;
417
+ type AntigravityProviderConfig = z.infer<typeof AntigravityProviderConfigSchema>;
384
418
  /**
385
419
  * How a codex provider translates Claude Code's requests. Every field is optional and defaults to the shipped mapping (`CODEX_DEFAULT_MODEL`, `CODEX_DEFAULT_TIER_MODELS`, `CODEX_DEFAULT_EFFORT`), so an absent block means the stock behaviour. A requested model that already names a codex model (`gpt-...`) passes through untouched whatever this says.
386
420
  */
@@ -404,7 +438,7 @@ declare const CodexProviderConfigSchema: z.ZodObject<{
404
438
  }>>;
405
439
  }, z.core.$strict>;
406
440
  type CodexProviderConfig = z.infer<typeof CodexProviderConfigSchema>;
407
- /** Either kind of provider; see `HttpProviderSchema` for the shared fields. */
441
+ /** All kinds of provider; see `HttpProviderSchema` for the shared fields. */
408
442
  declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
409
443
  $schema: z.ZodOptional<z.ZodString>;
410
444
  kind: z.ZodOptional<z.ZodLiteral<"http">>;
@@ -581,6 +615,76 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
581
615
  "chatgpt-sign-in": "chatgpt-sign-in";
582
616
  }>>;
583
617
  }, z.core.$strict>>;
618
+ }, z.core.$strict>, z.ZodObject<{
619
+ $schema: z.ZodOptional<z.ZodString>;
620
+ kind: z.ZodLiteral<"antigravity">;
621
+ displayName: z.ZodString;
622
+ credential: z.ZodObject<{
623
+ sources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
624
+ env: z.ZodString;
625
+ }, z.core.$strict>, z.ZodObject<{
626
+ file: z.ZodString;
627
+ }, z.core.$strict>, z.ZodObject<{
628
+ interactive: z.ZodOptional<z.ZodBoolean>;
629
+ timeoutMs: z.ZodOptional<z.ZodInt>;
630
+ command: z.ZodTuple<[z.ZodString], z.ZodString>;
631
+ }, z.core.$strict>, z.ZodObject<{
632
+ interactive: z.ZodOptional<z.ZodBoolean>;
633
+ timeoutMs: z.ZodOptional<z.ZodInt>;
634
+ op: z.ZodString;
635
+ }, z.core.$strict>, z.ZodObject<{
636
+ interactive: z.ZodOptional<z.ZodBoolean>;
637
+ timeoutMs: z.ZodOptional<z.ZodInt>;
638
+ keychain: z.ZodObject<{
639
+ service: z.ZodString;
640
+ account: z.ZodOptional<z.ZodString>;
641
+ }, z.core.$strict>;
642
+ }, z.core.$strict>, z.ZodObject<{
643
+ literal: z.ZodString;
644
+ }, z.core.$strict>]>>;
645
+ cache: z.ZodOptional<z.ZodObject<{
646
+ ttl: z.ZodOptional<z.ZodString>;
647
+ store: z.ZodOptional<z.ZodEnum<{
648
+ file: "file";
649
+ keychain: "keychain";
650
+ }>>;
651
+ }, z.core.$strict>>;
652
+ target: z.ZodOptional<z.ZodEnum<{
653
+ apiKey: "apiKey";
654
+ bearer: "bearer";
655
+ }>>;
656
+ }, z.core.$strict>;
657
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
658
+ antigravity: z.ZodOptional<z.ZodObject<{
659
+ mode: z.ZodOptional<z.ZodEnum<{
660
+ cloud: "cloud";
661
+ local: "local";
662
+ }>>;
663
+ defaultModel: z.ZodOptional<z.ZodString>;
664
+ models: z.ZodOptional<z.ZodObject<{
665
+ fable: z.ZodOptional<z.ZodString>;
666
+ opus: z.ZodOptional<z.ZodString>;
667
+ sonnet: z.ZodOptional<z.ZodString>;
668
+ haiku: z.ZodOptional<z.ZodString>;
669
+ }, z.core.$strict>>;
670
+ effort: z.ZodOptional<z.ZodEnum<{
671
+ max: "max";
672
+ none: "none";
673
+ low: "low";
674
+ medium: "medium";
675
+ high: "high";
676
+ xhigh: "xhigh";
677
+ }>>;
678
+ cloud: z.ZodOptional<z.ZodObject<{
679
+ endpoint: z.ZodOptional<z.ZodURL>;
680
+ projectId: z.ZodOptional<z.ZodString>;
681
+ location: z.ZodOptional<z.ZodString>;
682
+ }, z.core.$strict>>;
683
+ local: z.ZodOptional<z.ZodObject<{
684
+ command: z.ZodOptional<z.ZodArray<z.ZodString>>;
685
+ socketPath: z.ZodOptional<z.ZodString>;
686
+ }, z.core.$strict>>;
687
+ }, z.core.$strict>>;
584
688
  }, z.core.$strict>], "kind">;
585
689
  type Provider = z.infer<typeof ProviderSchema>;
586
690
  /**
@@ -1332,8 +1436,8 @@ declare const HeadroomGlobalConfigSchema: z.ZodObject<{
1332
1436
  targetRatio: z.ZodOptional<z.ZodNumber>;
1333
1437
  ccr: z.ZodOptional<z.ZodEnum<{
1334
1438
  default: "default";
1335
- none: "none";
1336
1439
  lossless: "lossless";
1440
+ none: "none";
1337
1441
  }>>;
1338
1442
  rolloutChannel: z.ZodOptional<z.ZodEnum<{
1339
1443
  beta: "beta";
@@ -1460,8 +1564,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
1460
1564
  targetRatio: z.ZodOptional<z.ZodNumber>;
1461
1565
  ccr: z.ZodOptional<z.ZodEnum<{
1462
1566
  default: "default";
1463
- none: "none";
1464
1567
  lossless: "lossless";
1568
+ none: "none";
1465
1569
  }>>;
1466
1570
  rolloutChannel: z.ZodOptional<z.ZodEnum<{
1467
1571
  beta: "beta";
@@ -4163,12 +4267,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4163
4267
  identity: z.ZodObject<{
4164
4268
  name: z.ZodNullable<z.ZodString>;
4165
4269
  source: z.ZodEnum<{
4270
+ env: "env";
4271
+ none: "none";
4166
4272
  "config-dir-escape-hatch": "config-dir-escape-hatch";
4167
4273
  argv: "argv";
4168
- env: "env";
4169
4274
  "directory-pin": "directory-pin";
4170
4275
  "active-identity-file": "active-identity-file";
4171
- none: "none";
4172
4276
  }>;
4173
4277
  }, z.core.$strict>;
4174
4278
  pool: z.ZodOptional<z.ZodObject<{
@@ -4246,11 +4350,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
4246
4350
  "category-default": "category-default";
4247
4351
  }>;
4248
4352
  category: z.ZodNullable<z.ZodEnum<{
4249
- secret: "secret";
4250
4353
  runtime: "runtime";
4251
4354
  history: "history";
4252
4355
  knowledge: "knowledge";
4253
4356
  settings: "settings";
4357
+ secret: "secret";
4254
4358
  }>>;
4255
4359
  rule: z.ZodOptional<z.ZodObject<{
4256
4360
  key: z.ZodString;
@@ -6122,6 +6226,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
6122
6226
  kind: zod.ZodOptional<zod.ZodEnum<{
6123
6227
  http: "http";
6124
6228
  codex: "codex";
6229
+ antigravity: "antigravity";
6125
6230
  }>>;
6126
6231
  displayName: zod.ZodString;
6127
6232
  baseUrl: zod.ZodOptional<zod.ZodString>;
@@ -6184,6 +6289,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
6184
6289
  kind: zod.ZodEnum<{
6185
6290
  http: "http";
6186
6291
  codex: "codex";
6292
+ antigravity: "antigravity";
6187
6293
  }>;
6188
6294
  displayName: zod.ZodString;
6189
6295
  baseUrl: zod.ZodOptional<zod.ZodString>;
@@ -6305,6 +6411,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
6305
6411
  kind: zod.ZodEnum<{
6306
6412
  http: "http";
6307
6413
  codex: "codex";
6414
+ antigravity: "antigravity";
6308
6415
  }>;
6309
6416
  displayName: zod.ZodString;
6310
6417
  baseUrl: zod.ZodOptional<zod.ZodString>;
@@ -6964,9 +7071,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
6964
7071
  current: zod.ZodString;
6965
7072
  latest: zod.ZodString;
6966
7073
  action: zod.ZodEnum<{
7074
+ updated: "updated";
6967
7075
  current: "current";
6968
7076
  available: "available";
6969
- updated: "updated";
6970
7077
  }>;
6971
7078
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
6972
7079
  };
@@ -7213,12 +7320,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
7213
7320
  decision: zod.ZodObject<{
7214
7321
  identity: zod.ZodOptional<zod.ZodString>;
7215
7322
  identitySource: zod.ZodEnum<{
7323
+ env: "env";
7324
+ none: "none";
7216
7325
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7217
7326
  argv: "argv";
7218
- env: "env";
7219
7327
  "directory-pin": "directory-pin";
7220
7328
  "active-identity-file": "active-identity-file";
7221
- none: "none";
7222
7329
  }>;
7223
7330
  pool: zod.ZodOptional<zod.ZodObject<{
7224
7331
  name: zod.ZodString;
@@ -7813,12 +7920,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7813
7920
  identity: zod.ZodObject<{
7814
7921
  name: zod.ZodNullable<zod.ZodString>;
7815
7922
  source: zod.ZodEnum<{
7923
+ env: "env";
7924
+ none: "none";
7816
7925
  "config-dir-escape-hatch": "config-dir-escape-hatch";
7817
7926
  argv: "argv";
7818
- env: "env";
7819
7927
  "directory-pin": "directory-pin";
7820
7928
  "active-identity-file": "active-identity-file";
7821
- none: "none";
7822
7929
  }>;
7823
7930
  }, zod_v4_core.$strict>;
7824
7931
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -7896,11 +8003,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
7896
8003
  "category-default": "category-default";
7897
8004
  }>;
7898
8005
  category: zod.ZodNullable<zod.ZodEnum<{
7899
- secret: "secret";
7900
8006
  runtime: "runtime";
7901
8007
  history: "history";
7902
8008
  knowledge: "knowledge";
7903
8009
  settings: "settings";
8010
+ secret: "secret";
7904
8011
  }>>;
7905
8012
  rule: zod.ZodOptional<zod.ZodObject<{
7906
8013
  key: zod.ZodString;
@@ -8119,10 +8226,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
8119
8226
  "global-config": "global-config";
8120
8227
  "config-profile": "config-profile";
8121
8228
  identity: "identity";
8229
+ keychain: "keychain";
8122
8230
  provider: "provider";
8231
+ headroom: "headroom";
8123
8232
  frontdoor: "frontdoor";
8124
8233
  pool: "pool";
8125
- keychain: "keychain";
8126
8234
  "ambient-credential": "ambient-credential";
8127
8235
  "binary-discovery": "binary-discovery";
8128
8236
  "claude-shim": "claude-shim";
@@ -8132,7 +8240,6 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
8132
8240
  "directory-rules": "directory-rules";
8133
8241
  "categories-local": "categories-local";
8134
8242
  "active-identity": "active-identity";
8135
- headroom: "headroom";
8136
8243
  }>;
8137
8244
  subject: zod.ZodOptional<zod.ZodString>;
8138
8245
  severity: zod.ZodEnum<{
@@ -8325,12 +8432,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
8325
8432
  decision: zod.ZodObject<{
8326
8433
  identity: zod.ZodOptional<zod.ZodString>;
8327
8434
  identitySource: zod.ZodEnum<{
8435
+ env: "env";
8436
+ none: "none";
8328
8437
  "config-dir-escape-hatch": "config-dir-escape-hatch";
8329
8438
  argv: "argv";
8330
- env: "env";
8331
8439
  "directory-pin": "directory-pin";
8332
8440
  "active-identity-file": "active-identity-file";
8333
- none: "none";
8334
8441
  }>;
8335
8442
  pool: zod.ZodOptional<zod.ZodObject<{
8336
8443
  name: zod.ZodString;
@@ -9072,6 +9179,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9072
9179
  kind: zod.ZodOptional<zod.ZodEnum<{
9073
9180
  http: "http";
9074
9181
  codex: "codex";
9182
+ antigravity: "antigravity";
9075
9183
  }>>;
9076
9184
  displayName: zod.ZodString;
9077
9185
  baseUrl: zod.ZodOptional<zod.ZodString>;
@@ -9134,6 +9242,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9134
9242
  kind: zod.ZodEnum<{
9135
9243
  http: "http";
9136
9244
  codex: "codex";
9245
+ antigravity: "antigravity";
9137
9246
  }>;
9138
9247
  displayName: zod.ZodString;
9139
9248
  baseUrl: zod.ZodOptional<zod.ZodString>;
@@ -9255,6 +9364,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9255
9364
  kind: zod.ZodEnum<{
9256
9365
  http: "http";
9257
9366
  codex: "codex";
9367
+ antigravity: "antigravity";
9258
9368
  }>;
9259
9369
  displayName: zod.ZodString;
9260
9370
  baseUrl: zod.ZodOptional<zod.ZodString>;
@@ -9706,9 +9816,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9706
9816
  current: zod.ZodString;
9707
9817
  latest: zod.ZodString;
9708
9818
  action: zod.ZodEnum<{
9819
+ updated: "updated";
9709
9820
  current: "current";
9710
9821
  available: "available";
9711
- updated: "updated";
9712
9822
  }>;
9713
9823
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9714
9824
  };
@@ -9907,12 +10017,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9907
10017
  identity: zod.ZodObject<{
9908
10018
  name: zod.ZodNullable<zod.ZodString>;
9909
10019
  source: zod.ZodEnum<{
10020
+ env: "env";
10021
+ none: "none";
9910
10022
  "config-dir-escape-hatch": "config-dir-escape-hatch";
9911
10023
  argv: "argv";
9912
- env: "env";
9913
10024
  "directory-pin": "directory-pin";
9914
10025
  "active-identity-file": "active-identity-file";
9915
- none: "none";
9916
10026
  }>;
9917
10027
  }, zod_v4_core.$strict>;
9918
10028
  pool: zod.ZodOptional<zod.ZodObject<{
@@ -9990,11 +10100,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
9990
10100
  "category-default": "category-default";
9991
10101
  }>;
9992
10102
  category: zod.ZodNullable<zod.ZodEnum<{
9993
- secret: "secret";
9994
10103
  runtime: "runtime";
9995
10104
  history: "history";
9996
10105
  knowledge: "knowledge";
9997
10106
  settings: "settings";
10107
+ secret: "secret";
9998
10108
  }>>;
9999
10109
  rule: zod.ZodOptional<zod.ZodObject<{
10000
10110
  key: zod.ZodString;
@@ -10213,10 +10323,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
10213
10323
  "global-config": "global-config";
10214
10324
  "config-profile": "config-profile";
10215
10325
  identity: "identity";
10326
+ keychain: "keychain";
10216
10327
  provider: "provider";
10328
+ headroom: "headroom";
10217
10329
  frontdoor: "frontdoor";
10218
10330
  pool: "pool";
10219
- keychain: "keychain";
10220
10331
  "ambient-credential": "ambient-credential";
10221
10332
  "binary-discovery": "binary-discovery";
10222
10333
  "claude-shim": "claude-shim";
@@ -10226,7 +10337,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
10226
10337
  "directory-rules": "directory-rules";
10227
10338
  "categories-local": "categories-local";
10228
10339
  "active-identity": "active-identity";
10229
- headroom: "headroom";
10230
10340
  }>;
10231
10341
  subject: zod.ZodOptional<zod.ZodString>;
10232
10342
  severity: zod.ZodEnum<{
@@ -11180,6 +11290,7 @@ declare const ConfigProviderAddInputSchema: z.ZodObject<{
11180
11290
  kind: z.ZodOptional<z.ZodEnum<{
11181
11291
  http: "http";
11182
11292
  codex: "codex";
11293
+ antigravity: "antigravity";
11183
11294
  }>>;
11184
11295
  displayName: z.ZodString;
11185
11296
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -11243,6 +11354,7 @@ declare const ConfigProviderAddOutputSchema: z.ZodObject<{
11243
11354
  kind: z.ZodEnum<{
11244
11355
  http: "http";
11245
11356
  codex: "codex";
11357
+ antigravity: "antigravity";
11246
11358
  }>;
11247
11359
  displayName: z.ZodString;
11248
11360
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -11366,6 +11478,7 @@ declare const ConfigProviderSetOutputSchema: z.ZodObject<{
11366
11478
  kind: z.ZodEnum<{
11367
11479
  http: "http";
11368
11480
  codex: "codex";
11481
+ antigravity: "antigravity";
11369
11482
  }>;
11370
11483
  displayName: z.ZodString;
11371
11484
  baseUrl: z.ZodOptional<z.ZodString>;
@@ -12059,10 +12172,11 @@ declare const DoctorFindingSchema: z.ZodObject<{
12059
12172
  "global-config": "global-config";
12060
12173
  "config-profile": "config-profile";
12061
12174
  identity: "identity";
12175
+ keychain: "keychain";
12062
12176
  provider: "provider";
12177
+ headroom: "headroom";
12063
12178
  frontdoor: "frontdoor";
12064
12179
  pool: "pool";
12065
- keychain: "keychain";
12066
12180
  "ambient-credential": "ambient-credential";
12067
12181
  "binary-discovery": "binary-discovery";
12068
12182
  "claude-shim": "claude-shim";
@@ -12072,7 +12186,6 @@ declare const DoctorFindingSchema: z.ZodObject<{
12072
12186
  "directory-rules": "directory-rules";
12073
12187
  "categories-local": "categories-local";
12074
12188
  "active-identity": "active-identity";
12075
- headroom: "headroom";
12076
12189
  }>;
12077
12190
  subject: z.ZodOptional<z.ZodString>;
12078
12191
  severity: z.ZodEnum<{
@@ -12090,10 +12203,11 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
12090
12203
  "global-config": "global-config";
12091
12204
  "config-profile": "config-profile";
12092
12205
  identity: "identity";
12206
+ keychain: "keychain";
12093
12207
  provider: "provider";
12208
+ headroom: "headroom";
12094
12209
  frontdoor: "frontdoor";
12095
12210
  pool: "pool";
12096
- keychain: "keychain";
12097
12211
  "ambient-credential": "ambient-credential";
12098
12212
  "binary-discovery": "binary-discovery";
12099
12213
  "claude-shim": "claude-shim";
@@ -12103,7 +12217,6 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
12103
12217
  "directory-rules": "directory-rules";
12104
12218
  "categories-local": "categories-local";
12105
12219
  "active-identity": "active-identity";
12106
- headroom: "headroom";
12107
12220
  }>;
12108
12221
  subject: z.ZodOptional<z.ZodString>;
12109
12222
  severity: z.ZodEnum<{
@@ -12124,9 +12237,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
12124
12237
  current: z.ZodString;
12125
12238
  latest: z.ZodString;
12126
12239
  action: z.ZodEnum<{
12240
+ updated: "updated";
12127
12241
  current: "current";
12128
12242
  available: "available";
12129
- updated: "updated";
12130
12243
  }>;
12131
12244
  }, z.core.$strict>;
12132
12245
  /** The Sign in with ChatGPT login's state as `codex status` reports it: no sign-in yet, signed in (with who, whether the plan scope was granted, and when the access token lapses), or a file that cannot be read. */
@@ -12176,12 +12289,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
12176
12289
  decision: z.ZodObject<{
12177
12290
  identity: z.ZodOptional<z.ZodString>;
12178
12291
  identitySource: z.ZodEnum<{
12292
+ env: "env";
12293
+ none: "none";
12179
12294
  "config-dir-escape-hatch": "config-dir-escape-hatch";
12180
12295
  argv: "argv";
12181
- env: "env";
12182
12296
  "directory-pin": "directory-pin";
12183
12297
  "active-identity-file": "active-identity-file";
12184
- none: "none";
12185
12298
  }>;
12186
12299
  pool: z.ZodOptional<z.ZodObject<{
12187
12300
  name: z.ZodString;
@@ -13216,9 +13329,9 @@ declare function listProviders(paths: LayoutPaths): readonly ProviderListEntry[]
13216
13329
  type ProviderCredentialTarget = (typeof PROVIDER_CREDENTIAL_TARGETS)[number];
13217
13330
  /** The kinds of provider. */
13218
13331
  type ProviderKind = (typeof PROVIDER_KINDS)[number];
13219
- /** Where a provider sends its sessions, for display: an `http` provider's base URL, or the front door for a codex provider (whose address exists only at launch). */
13332
+ /** Where a provider sends its sessions, for display: an `http` provider's base URL, or the front door for a codex/antigravity provider (whose address exists only at launch). */
13220
13333
  declare function describeProviderEndpoint(provider: Provider): string;
13221
- /** Everything `addProvider` writes into a fresh provider file. `baseUrl` is required for an `http` provider and refused for a codex one; `codex` applies only to a codex provider. */
13334
+ /** Everything `addProvider` writes into a fresh provider file. `baseUrl` is required for an `http` provider and refused for codex/antigravity ones; `codex` applies only to codex, `antigravity` applies only to antigravity. */
13222
13335
  interface AddProviderInput {
13223
13336
  readonly kind?: ProviderKind;
13224
13337
  readonly displayName: string;
@@ -13227,8 +13340,9 @@ interface AddProviderInput {
13227
13340
  readonly target?: ProviderCredentialTarget;
13228
13341
  readonly env?: Readonly<Record<string, string>>;
13229
13342
  readonly codex?: CodexProviderConfig;
13343
+ readonly antigravity?: AntigravityProviderConfig;
13230
13344
  }
13231
- /** Raised when a provider option does not fit the provider's kind: a base URL for a codex provider, a missing one for an http provider, or codex settings for an http provider. */
13345
+ /** Raised when a provider option does not fit the provider's kind. */
13232
13346
  declare class ProviderKindMismatchError extends UsageError {
13233
13347
  constructor(message: string);
13234
13348
  }
@@ -13250,6 +13364,8 @@ interface UpdateProviderInput {
13250
13364
  readonly unsetEnv?: readonly string[];
13251
13365
  /** Merged over a codex provider's existing settings: a field given here replaces that field, and `models` entries merge per tier. */
13252
13366
  readonly codex?: CodexProviderConfig;
13367
+ /** Merged over an antigravity provider's existing settings: a field given here replaces that field, and `models` entries merge per tier. */
13368
+ readonly antigravity?: AntigravityProviderConfig;
13253
13369
  }
13254
13370
  /**
13255
13371
  * Updates an existing provider definition in place. Throws `ProviderNotFoundError` when it does not exist, and `ConfigValidationError` when the updated definition fails `ProviderSchema`, leaving the file untouched.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-shim",
3
- "version": "11.8.2",
3
+ "version": "11.10.0",
4
4
  "description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
5
5
  "license": "MIT",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",