agent-shim 11.83.8 → 11.84.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.
@@ -297,8 +297,8 @@ declare const LaunchSchema: z.ZodObject<{
297
297
  }>>;
298
298
  layout: z.ZodOptional<z.ZodObject<{
299
299
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
300
- model: "model";
301
300
  account: "account";
301
+ model: "model";
302
302
  identity: "identity";
303
303
  provider: "provider";
304
304
  version: "version";
@@ -1525,8 +1525,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1525
1525
  }>>;
1526
1526
  layout: z.ZodOptional<z.ZodObject<{
1527
1527
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1528
- model: "model";
1529
1528
  account: "account";
1529
+ model: "model";
1530
1530
  identity: "identity";
1531
1531
  provider: "provider";
1532
1532
  version: "version";
@@ -2373,8 +2373,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2373
2373
  }>>;
2374
2374
  layout: z.ZodOptional<z.ZodObject<{
2375
2375
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2376
- model: "model";
2377
2376
  account: "account";
2377
+ model: "model";
2378
2378
  identity: "identity";
2379
2379
  provider: "provider";
2380
2380
  version: "version";
@@ -3148,8 +3148,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3148
3148
  }>>;
3149
3149
  layout: z.ZodOptional<z.ZodObject<{
3150
3150
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3151
- model: "model";
3152
3151
  account: "account";
3152
+ model: "model";
3153
3153
  identity: "identity";
3154
3154
  provider: "provider";
3155
3155
  version: "version";
@@ -3923,8 +3923,8 @@ declare const PortableConfigSchema: z.ZodObject<{
3923
3923
  }>>;
3924
3924
  layout: z.ZodOptional<z.ZodObject<{
3925
3925
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3926
- model: "model";
3927
3926
  account: "account";
3927
+ model: "model";
3928
3928
  identity: "identity";
3929
3929
  provider: "provider";
3930
3930
  version: "version";
@@ -4679,8 +4679,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4679
4679
  }>>;
4680
4680
  layout: z.ZodOptional<z.ZodObject<{
4681
4681
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4682
- model: "model";
4683
4682
  account: "account";
4683
+ model: "model";
4684
4684
  identity: "identity";
4685
4685
  provider: "provider";
4686
4686
  version: "version";
@@ -6030,6 +6030,8 @@ type FrontDoorSessionSummary = Pick<FrontDoorSession, "pid" | "startedAt" | "sup
6030
6030
  * Filesystem operations the launcher needs, injected so no test in this project ever touches a real filesystem — consistent with the resolver core's own injected-facts approach in `src/resolve/types.ts`.
6031
6031
  */
6032
6032
  interface FsPort {
6033
+ /** Identifies the current file revision without reading its contents, when supported by the host. */
6034
+ readonly fileRevision?: (filePath: string) => string | undefined;
6033
6035
  /** Reads a file's contents as UTF-8 text, or returns undefined when it does not exist. Used for plain-text files like the persisted active-identity file. */
6034
6036
  readonly readFileUtf8: (filePath: string) => string | undefined;
6035
6037
  /** Reads and parses a config file (JSON/YAML/JS via cosmiconfig in the real implementation), returning undefined when it does not exist. Mirrors `src/config/load.ts`'s own injected reader shape so `loadIdentity` can compose directly with `loadConfigFile`. */
@@ -6120,6 +6122,7 @@ interface RunPort {
6120
6122
  interface ProcPort {
6121
6123
  readonly env: Readonly<Record<string, string | undefined>>;
6122
6124
  readonly argv: readonly string[];
6125
+ readonly isProcessAlive: (pid: number) => boolean;
6123
6126
  readonly exit: (code: number) => never;
6124
6127
  }
6125
6128
  /** One fact the launcher reports about the launch it is about to start. */
@@ -6165,12 +6168,16 @@ interface HeadroomPort {
6165
6168
  * Everything the launcher needs from the front-door daemon, injected like `HeadroomPort`: `ensure` brings the door up (spawning its detached supervisor when nothing authenticated is serving), registers this launch in its session registry and returns both listeners' loopback ports plus the CA bundle the child must trust; `release` removes that registration when the spawned `claude` exits.
6166
6169
  */
6167
6170
  interface FrontDoorPort {
6171
+ /** Wait for the initial catalogue work associated with the serving supervisor. */
6172
+ readonly waitForCatalogues?: (supervisorPid: number) => string | undefined;
6168
6173
  /** `inheritedExtraCaCerts` is the parent environment's own `NODE_EXTRA_CA_CERTS`, which the returned trust bundle keeps (see `resolveTrustBundle`). `session` is what the launch tells the door about itself: its session id and the models block it resolved. */
6169
6174
  readonly ensure: (inheritedExtraCaCerts: string | undefined, session?: FrontDoorSessionDetails) => FrontDoorUp;
6170
6175
  readonly release: () => void;
6171
6176
  }
6172
6177
  /** The running front door one launch routed through, as `FrontDoorPort.ensure` reports it. */
6173
6178
  interface FrontDoorUp {
6179
+ /** The authenticated supervisor serving this launch. */
6180
+ readonly supervisorPid: number;
6174
6181
  /** The loopback port the provider listener serves HTTPS on: the base URL every provider session points at. */
6175
6182
  readonly port: number;
6176
6183
  /** The loopback port the CONNECT surface listens on: what an OAuth launch points HTTPS_PROXY at. */
@@ -9816,6 +9823,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9816
9823
  kind: zod.ZodLiteral<"profile">;
9817
9824
  name: zod.ZodString;
9818
9825
  value: zod.ZodObject<{
9826
+ description: zod.ZodOptional<zod.ZodString>;
9819
9827
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
9820
9828
  value: zod.ZodBoolean;
9821
9829
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -9891,7 +9899,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9891
9899
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
9892
9900
  }, zod_v4_core.$strip>], "kind">]>;
9893
9901
  }, zod_v4_core.$strict>]>>>;
9894
- description: zod.ZodOptional<zod.ZodString>;
9895
9902
  models: zod.ZodOptional<zod.ZodObject<{
9896
9903
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
9897
9904
  mode: zod.ZodEnum<{
@@ -9979,8 +9986,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
9979
9986
  }>>;
9980
9987
  layout: zod.ZodOptional<zod.ZodObject<{
9981
9988
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
9982
- model: "model";
9983
9989
  account: "account";
9990
+ model: "model";
9984
9991
  identity: "identity";
9985
9992
  provider: "provider";
9986
9993
  version: "version";
@@ -10539,6 +10546,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10539
10546
  kind: zod.ZodLiteral<"profile">;
10540
10547
  name: zod.ZodString;
10541
10548
  value: zod.ZodObject<{
10549
+ description: zod.ZodOptional<zod.ZodString>;
10542
10550
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
10543
10551
  value: zod.ZodBoolean;
10544
10552
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -10614,7 +10622,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10614
10622
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
10615
10623
  }, zod_v4_core.$strip>], "kind">]>;
10616
10624
  }, zod_v4_core.$strict>]>>>;
10617
- description: zod.ZodOptional<zod.ZodString>;
10618
10625
  models: zod.ZodOptional<zod.ZodObject<{
10619
10626
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
10620
10627
  mode: zod.ZodEnum<{
@@ -10702,8 +10709,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10702
10709
  }>>;
10703
10710
  layout: zod.ZodOptional<zod.ZodObject<{
10704
10711
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
10705
- model: "model";
10706
10712
  account: "account";
10713
+ model: "model";
10707
10714
  identity: "identity";
10708
10715
  provider: "provider";
10709
10716
  version: "version";
@@ -11901,8 +11908,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11901
11908
  }>>;
11902
11909
  layout: zod.ZodOptional<zod.ZodObject<{
11903
11910
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
11904
- model: "model";
11905
11911
  account: "account";
11912
+ model: "model";
11906
11913
  identity: "identity";
11907
11914
  provider: "provider";
11908
11915
  version: "version";
@@ -12681,8 +12688,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12681
12688
  }>>;
12682
12689
  layout: zod.ZodOptional<zod.ZodObject<{
12683
12690
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
12684
- model: "model";
12685
12691
  account: "account";
12692
+ model: "model";
12686
12693
  identity: "identity";
12687
12694
  provider: "provider";
12688
12695
  version: "version";
@@ -13498,25 +13505,29 @@ interface LifecycleApiDeps {
13498
13505
  readonly restartDoor: () => void;
13499
13506
  /** The update check as `agent-shim update --check` makes it: nothing is downloaded or changed. */
13500
13507
  readonly checkForUpdate: () => Promise<UpdateReport>;
13508
+ readonly refreshCatalogues: () => void;
13501
13509
  }
13502
13510
  /** Builds the lifecycle routers: `frontdoor.restart` and `update.check`, every one behind the control-token middleware. */
13503
13511
  declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
13504
13512
  frontdoor: {
13505
- restart: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, zod.ZodObject<{
13506
- action: zod.ZodLiteral<"restarting">;
13507
- previousPid: zod.ZodInt;
13508
- }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
13513
+ refreshCatalogues: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, z.ZodObject<{
13514
+ requested: z.ZodLiteral<true>;
13515
+ }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
13516
+ restart: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, z.ZodObject<{
13517
+ action: z.ZodLiteral<"restarting">;
13518
+ previousPid: z.ZodInt;
13519
+ }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
13509
13520
  };
13510
13521
  update: {
13511
- check: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, zod.ZodObject<{
13512
- current: zod.ZodString;
13513
- latest: zod.ZodString;
13514
- action: zod.ZodEnum<{
13522
+ check: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, z.ZodObject<{
13523
+ current: z.ZodString;
13524
+ latest: z.ZodString;
13525
+ action: z.ZodEnum<{
13515
13526
  current: "current";
13516
13527
  available: "available";
13517
13528
  updated: "updated";
13518
13529
  }>;
13519
- }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
13530
+ }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
13520
13531
  };
13521
13532
  };
13522
13533
  /** The lifecycle routers, as the merged mount's and the client's own types are derived from them. */
@@ -13550,8 +13561,8 @@ declare const StatuslineSchema: z.ZodObject<{
13550
13561
  }>>;
13551
13562
  layout: z.ZodOptional<z.ZodObject<{
13552
13563
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13553
- model: "model";
13554
13564
  account: "account";
13565
+ model: "model";
13555
13566
  identity: "identity";
13556
13567
  provider: "provider";
13557
13568
  version: "version";
@@ -14410,8 +14421,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
14410
14421
  }>>;
14411
14422
  layout: zod.ZodOptional<zod.ZodObject<{
14412
14423
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
14413
- model: "model";
14414
14424
  account: "account";
14425
+ model: "model";
14415
14426
  identity: "identity";
14416
14427
  provider: "provider";
14417
14428
  version: "version";
@@ -15903,6 +15914,9 @@ interface DoorApiDeps extends RcApiDeps, ControlApiDeps, ConfigApiDeps, DoorEven
15903
15914
  /** Builds the door's whole typed API: the Remote Control router, the control-plane routers, the configuration router and the events router beside them, one object for the one handler the provider listener mounts. */
15904
15915
  declare function createDoorApiRouter(deps: DoorApiDeps): {
15905
15916
  frontdoor: {
15917
+ refreshCatalogues: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, zod.ZodObject<{
15918
+ requested: zod.ZodLiteral<true>;
15919
+ }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
15906
15920
  restart: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, InitialInputSchema, zod.ZodObject<{
15907
15921
  action: zod.ZodLiteral<"restarting">;
15908
15922
  previousPid: zod.ZodInt;
@@ -16081,8 +16095,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16081
16095
  }>>;
16082
16096
  layout: zod.ZodOptional<zod.ZodObject<{
16083
16097
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
16084
- model: "model";
16085
16098
  account: "account";
16099
+ model: "model";
16086
16100
  identity: "identity";
16087
16101
  provider: "provider";
16088
16102
  version: "version";
@@ -16888,6 +16902,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16888
16902
  kind: zod.ZodLiteral<"profile">;
16889
16903
  name: zod.ZodString;
16890
16904
  value: zod.ZodObject<{
16905
+ description: zod.ZodOptional<zod.ZodString>;
16891
16906
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
16892
16907
  value: zod.ZodBoolean;
16893
16908
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -16963,7 +16978,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16963
16978
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
16964
16979
  }, zod_v4_core.$strip>], "kind">]>;
16965
16980
  }, zod_v4_core.$strict>]>>>;
16966
- description: zod.ZodOptional<zod.ZodString>;
16967
16981
  models: zod.ZodOptional<zod.ZodObject<{
16968
16982
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
16969
16983
  mode: zod.ZodEnum<{
@@ -17051,8 +17065,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17051
17065
  }>>;
17052
17066
  layout: zod.ZodOptional<zod.ZodObject<{
17053
17067
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17054
- model: "model";
17055
17068
  account: "account";
17069
+ model: "model";
17056
17070
  identity: "identity";
17057
17071
  provider: "provider";
17058
17072
  version: "version";
@@ -17611,6 +17625,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17611
17625
  kind: zod.ZodLiteral<"profile">;
17612
17626
  name: zod.ZodString;
17613
17627
  value: zod.ZodObject<{
17628
+ description: zod.ZodOptional<zod.ZodString>;
17614
17629
  entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
17615
17630
  value: zod.ZodBoolean;
17616
17631
  when: zod.ZodUnion<readonly [zod.ZodObject<{
@@ -17686,7 +17701,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17686
17701
  key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
17687
17702
  }, zod_v4_core.$strip>], "kind">]>;
17688
17703
  }, zod_v4_core.$strict>]>>>;
17689
- description: zod.ZodOptional<zod.ZodString>;
17690
17704
  models: zod.ZodOptional<zod.ZodObject<{
17691
17705
  virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
17692
17706
  mode: zod.ZodEnum<{
@@ -17774,8 +17788,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17774
17788
  }>>;
17775
17789
  layout: zod.ZodOptional<zod.ZodObject<{
17776
17790
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
17777
- model: "model";
17778
17791
  account: "account";
17792
+ model: "model";
17779
17793
  identity: "identity";
17780
17794
  provider: "provider";
17781
17795
  version: "version";
@@ -18973,8 +18987,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18973
18987
  }>>;
18974
18988
  layout: zod.ZodOptional<zod.ZodObject<{
18975
18989
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
18976
- model: "model";
18977
18990
  account: "account";
18991
+ model: "model";
18978
18992
  identity: "identity";
18979
18993
  provider: "provider";
18980
18994
  version: "version";
@@ -19753,8 +19767,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19753
19767
  }>>;
19754
19768
  layout: zod.ZodOptional<zod.ZodObject<{
19755
19769
  header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
19756
- model: "model";
19757
19770
  account: "account";
19771
+ model: "model";
19758
19772
  identity: "identity";
19759
19773
  provider: "provider";
19760
19774
  version: "version";
@@ -21422,6 +21436,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
21422
21436
  kind: z.ZodLiteral<"profile">;
21423
21437
  name: z.ZodString;
21424
21438
  value: z.ZodObject<{
21439
+ description: z.ZodOptional<z.ZodString>;
21425
21440
  entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
21426
21441
  value: z.ZodBoolean;
21427
21442
  when: z.ZodUnion<readonly [z.ZodObject<{
@@ -21497,7 +21512,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
21497
21512
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
21498
21513
  }, z.core.$strip>], "kind">]>;
21499
21514
  }, z.core.$strict>]>>>;
21500
- description: z.ZodOptional<z.ZodString>;
21501
21515
  models: z.ZodOptional<z.ZodObject<{
21502
21516
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
21503
21517
  mode: z.ZodEnum<{
@@ -21585,8 +21599,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
21585
21599
  }>>;
21586
21600
  layout: z.ZodOptional<z.ZodObject<{
21587
21601
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
21588
- model: "model";
21589
21602
  account: "account";
21603
+ model: "model";
21590
21604
  identity: "identity";
21591
21605
  provider: "provider";
21592
21606
  version: "version";
@@ -22147,6 +22161,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
22147
22161
  kind: z.ZodLiteral<"profile">;
22148
22162
  name: z.ZodString;
22149
22163
  value: z.ZodObject<{
22164
+ description: z.ZodOptional<z.ZodString>;
22150
22165
  entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
22151
22166
  value: z.ZodBoolean;
22152
22167
  when: z.ZodUnion<readonly [z.ZodObject<{
@@ -22222,7 +22237,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
22222
22237
  key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
22223
22238
  }, z.core.$strip>], "kind">]>;
22224
22239
  }, z.core.$strict>]>>>;
22225
- description: z.ZodOptional<z.ZodString>;
22226
22240
  models: z.ZodOptional<z.ZodObject<{
22227
22241
  virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
22228
22242
  mode: z.ZodEnum<{
@@ -22310,8 +22324,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
22310
22324
  }>>;
22311
22325
  layout: z.ZodOptional<z.ZodObject<{
22312
22326
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
22313
- model: "model";
22314
22327
  account: "account";
22328
+ model: "model";
22315
22329
  identity: "identity";
22316
22330
  provider: "provider";
22317
22331
  version: "version";
@@ -23511,8 +23525,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
23511
23525
  }>>;
23512
23526
  layout: z.ZodOptional<z.ZodObject<{
23513
23527
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
23514
- model: "model";
23515
23528
  account: "account";
23529
+ model: "model";
23516
23530
  identity: "identity";
23517
23531
  provider: "provider";
23518
23532
  version: "version";
@@ -24293,8 +24307,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
24293
24307
  }>>;
24294
24308
  layout: z.ZodOptional<z.ZodObject<{
24295
24309
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
24296
- model: "model";
24297
24310
  account: "account";
24311
+ model: "model";
24298
24312
  identity: "identity";
24299
24313
  provider: "provider";
24300
24314
  version: "version";
@@ -25332,8 +25346,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
25332
25346
  }>>;
25333
25347
  layout: z.ZodOptional<z.ZodObject<{
25334
25348
  header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25335
- model: "model";
25336
25349
  account: "account";
25350
+ model: "model";
25337
25351
  identity: "identity";
25338
25352
  provider: "provider";
25339
25353
  version: "version";
@@ -26238,6 +26252,7 @@ declare function ensureFrontDoor(params: {
26238
26252
  readonly port: number;
26239
26253
  readonly connectPort: number;
26240
26254
  readonly token: string;
26255
+ readonly supervisorPid: number;
26241
26256
  };
26242
26257
 
26243
26258
  /**
@@ -26311,6 +26326,10 @@ interface FrontDoorSupervisorPorts {
26311
26326
  */
26312
26327
  readonly registry: LiveSessionRegistry;
26313
26328
  readonly ownPid: number;
26329
+ /** The absolute Codex CLI home used by this supervisor. */
26330
+ readonly codexHome: string;
26331
+ readonly catalogueGeneration: string;
26332
+ readonly onServing: () => void;
26314
26333
  readonly now: () => number;
26315
26334
  /** An event-loop-yielding wait, for the same reason headroom's is: nothing else would ever run between ticks. */
26316
26335
  readonly sleep: (ms: number) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-shim",
3
- "version": "11.83.8",
3
+ "version": "11.84.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>",