agent-shim 14.8.0 → 14.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.
@@ -407,8 +407,8 @@ declare const LaunchSchema: z.ZodObject<{
407
407
  effort: z.ZodOptional<z.ZodObject<{
408
408
  format: z.ZodOptional<z.ZodEnum<{
409
409
  symbol: "symbol";
410
- text: "text";
411
410
  full: "full";
411
+ text: "text";
412
412
  }>>;
413
413
  }, z.core.$strict>>;
414
414
  advisor: z.ZodOptional<z.ZodObject<{
@@ -799,9 +799,9 @@ declare const LaunchSchema: z.ZodObject<{
799
799
  }, z.core.$strict>>;
800
800
  project: z.ZodOptional<z.ZodObject<{
801
801
  pathLevels: z.ZodOptional<z.ZodEnum<{
802
+ full: "full";
802
803
  1: "1";
803
804
  2: "2";
804
- full: "full";
805
805
  3: "3";
806
806
  }>>;
807
807
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -1645,8 +1645,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
1645
1645
  effort: z.ZodOptional<z.ZodObject<{
1646
1646
  format: z.ZodOptional<z.ZodEnum<{
1647
1647
  symbol: "symbol";
1648
- text: "text";
1649
1648
  full: "full";
1649
+ text: "text";
1650
1650
  }>>;
1651
1651
  }, z.core.$strict>>;
1652
1652
  advisor: z.ZodOptional<z.ZodObject<{
@@ -2037,9 +2037,9 @@ declare const ConfigProfileSchema: z.ZodObject<{
2037
2037
  }, z.core.$strict>>;
2038
2038
  project: z.ZodOptional<z.ZodObject<{
2039
2039
  pathLevels: z.ZodOptional<z.ZodEnum<{
2040
+ full: "full";
2040
2041
  1: "1";
2041
2042
  2: "2";
2042
- full: "full";
2043
2043
  3: "3";
2044
2044
  }>>;
2045
2045
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -2495,8 +2495,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2495
2495
  effort: z.ZodOptional<z.ZodObject<{
2496
2496
  format: z.ZodOptional<z.ZodEnum<{
2497
2497
  symbol: "symbol";
2498
- text: "text";
2499
2498
  full: "full";
2499
+ text: "text";
2500
2500
  }>>;
2501
2501
  }, z.core.$strict>>;
2502
2502
  advisor: z.ZodOptional<z.ZodObject<{
@@ -2887,9 +2887,9 @@ declare const DirectoryRuleSchema: z.ZodObject<{
2887
2887
  }, z.core.$strict>>;
2888
2888
  project: z.ZodOptional<z.ZodObject<{
2889
2889
  pathLevels: z.ZodOptional<z.ZodEnum<{
2890
+ full: "full";
2890
2891
  1: "1";
2891
2892
  2: "2";
2892
- full: "full";
2893
2893
  3: "3";
2894
2894
  }>>;
2895
2895
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -3271,8 +3271,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3271
3271
  effort: z.ZodOptional<z.ZodObject<{
3272
3272
  format: z.ZodOptional<z.ZodEnum<{
3273
3273
  symbol: "symbol";
3274
- text: "text";
3275
3274
  full: "full";
3275
+ text: "text";
3276
3276
  }>>;
3277
3277
  }, z.core.$strict>>;
3278
3278
  advisor: z.ZodOptional<z.ZodObject<{
@@ -3663,9 +3663,9 @@ declare const DirectoryRulesSchema: z.ZodObject<{
3663
3663
  }, z.core.$strict>>;
3664
3664
  project: z.ZodOptional<z.ZodObject<{
3665
3665
  pathLevels: z.ZodOptional<z.ZodEnum<{
3666
+ full: "full";
3666
3667
  1: "1";
3667
3668
  2: "2";
3668
- full: "full";
3669
3669
  3: "3";
3670
3670
  }>>;
3671
3671
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -4047,8 +4047,8 @@ declare const PortableConfigSchema: z.ZodObject<{
4047
4047
  effort: z.ZodOptional<z.ZodObject<{
4048
4048
  format: z.ZodOptional<z.ZodEnum<{
4049
4049
  symbol: "symbol";
4050
- text: "text";
4051
4050
  full: "full";
4051
+ text: "text";
4052
4052
  }>>;
4053
4053
  }, z.core.$strict>>;
4054
4054
  advisor: z.ZodOptional<z.ZodObject<{
@@ -4439,9 +4439,9 @@ declare const PortableConfigSchema: z.ZodObject<{
4439
4439
  }, z.core.$strict>>;
4440
4440
  project: z.ZodOptional<z.ZodObject<{
4441
4441
  pathLevels: z.ZodOptional<z.ZodEnum<{
4442
+ full: "full";
4442
4443
  1: "1";
4443
4444
  2: "2";
4444
- full: "full";
4445
4445
  3: "3";
4446
4446
  }>>;
4447
4447
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -4803,8 +4803,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
4803
4803
  effort: z.ZodOptional<z.ZodObject<{
4804
4804
  format: z.ZodOptional<z.ZodEnum<{
4805
4805
  symbol: "symbol";
4806
- text: "text";
4807
4806
  full: "full";
4807
+ text: "text";
4808
4808
  }>>;
4809
4809
  }, z.core.$strict>>;
4810
4810
  advisor: z.ZodOptional<z.ZodObject<{
@@ -5195,9 +5195,9 @@ declare const GlobalConfigSchema: z.ZodObject<{
5195
5195
  }, z.core.$strict>>;
5196
5196
  project: z.ZodOptional<z.ZodObject<{
5197
5197
  pathLevels: z.ZodOptional<z.ZodEnum<{
5198
+ full: "full";
5198
5199
  1: "1";
5199
5200
  2: "2";
5200
- full: "full";
5201
5201
  3: "3";
5202
5202
  }>>;
5203
5203
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -8503,9 +8503,9 @@ declare function createRcClaudeCodeVersions(fanout: RcEventFanout): RcClaudeCode
8503
8503
  * - **A launched session** (one the launcher started with no supervisor, which loads the same control plugin, `supervise/launchControl.ts`): the same plugin, found through the launch's control record by the same `bridge-session` row, in the transcript the plugin itself recorded. Everything the plugin does is the same; what needs the supervisor (resuming on a spent quota, moving to another member) is not there.
8504
8504
  * - **A session on the door's self-hosted surface** that no supervisor owns and no control plugin reaches: the door is the Remote Control service there, so it writes the slash command or the turn into its own conversation as a person's app would and reads the worker's answer off the stream (`rcSelfHostCommands.ts`).
8505
8505
  *
8506
- * Any other session is refused with the reason (one started outside the launcher, with `--native` or `--bare`, or on a version the plugin was not verified on): the door has no in-process channel into it, and on the real service the worker runs a slash command only when a person's app wrote it (it treats every other writer, the door's own `send` among them, as a peer whose message the model reads as text), which the door will not claim to be.
8506
+ * Any other session is refused with the reason (one started outside the launcher, with `--native` or `--bare`, or on a version the gate refuses): the door has no in-process channel into it, and on the real service the worker runs a slash command only when a person's app wrote it (it treats every other writer, the door's own `send` among them, as a peer whose message the model reads as text), which the door will not claim to be.
8507
8507
  *
8508
- * Both routes are verified for exactly the Claude Code versions `RC_SESSION_COMMAND_VERIFIED_VERSIONS` names, read from the running binary itself (the plugin's `$.session.version()`, or the worker's own `system/init`), and every verb refuses a session on any other version, or one whose version is not known.
8508
+ * Both routes are gated on the Claude Code version read from the running binary itself (the plugin's `$.session.version()`, or the worker's own `system/init`) by `claudeCodeVersionGate`: a version on `RC_SESSION_COMMAND_VERIFIED_VERSIONS` proceeds, a patch release of a verified minor proceeds with the gate's warning in the answer's `warnings` (and in the route read's), and every verb refuses a session on any other version, or one whose version is not known.
8509
8509
  */
8510
8510
  /** The arguments the 2.1.319 `/goal` command reads as a request to clear the goal rather than set one, compared case-insensitively; a condition that is one of these words cannot be set through `/goal`, so the set verb refuses it rather than clear the goal by accident. */
8511
8511
  declare const RC_GOAL_CLEAR_WORDS: readonly string[];
@@ -8519,37 +8519,38 @@ declare const RC_SESSION_COMMAND_MAX_WAIT_MS = 2147483647;
8519
8519
  type RcSessionCommandRoute = "supervised" | "launched" | "self-hosted";
8520
8520
  /** One goal as the session reports it. */
8521
8521
  type RcGoal = TranscriptGoal;
8522
- /** What a goal read found: the active goal, or `null` when the session has none. */
8523
- interface RcGoalReport {
8522
+ /** What every verb's answer carries: the route that served it, and `warnings` when the version gate raised any (a session on an unverified patch release of a verified minor), absent otherwise. */
8523
+ interface RcSessionCommandAnswer {
8524
8524
  readonly route: RcSessionCommandRoute;
8525
+ readonly warnings?: readonly string[];
8526
+ }
8527
+ /** What a goal read found: the active goal, or `null` when the session has none. */
8528
+ interface RcGoalReport extends RcSessionCommandAnswer {
8525
8529
  readonly goal: RcGoal | null;
8526
8530
  }
8527
8531
  /** What a goal set did: the condition now set, and the one it replaced, or `null` when none was set. */
8528
- interface RcGoalSetReport {
8529
- readonly route: RcSessionCommandRoute;
8532
+ interface RcGoalSetReport extends RcSessionCommandAnswer {
8530
8533
  readonly condition: string;
8531
8534
  readonly superseded: string | null;
8532
8535
  }
8533
8536
  /** What a goal clear did: the condition it cleared, or `null` when the session had no goal to clear. */
8534
- interface RcGoalClearReport {
8535
- readonly route: RcSessionCommandRoute;
8537
+ interface RcGoalClearReport extends RcSessionCommandAnswer {
8536
8538
  readonly cleared: string | null;
8537
8539
  }
8538
8540
  /** What a completed compaction reported: what triggered it as the session names it, and the token counts before and after when the session recorded them. */
8539
- interface RcCompactReport {
8540
- readonly route: RcSessionCommandRoute;
8541
+ interface RcCompactReport extends RcSessionCommandAnswer {
8541
8542
  readonly trigger: string;
8542
8543
  readonly preTokens?: number;
8543
8544
  readonly postTokens?: number;
8544
8545
  }
8545
8546
  /** What a delivered turn reports: the uuid of the user entry the session recorded for it (the transcript row on the supervised route, the worker's mirrored entry on the self-hosted one). */
8546
- interface RcTurnReport {
8547
- readonly route: RcSessionCommandRoute;
8547
+ interface RcTurnReport extends RcSessionCommandAnswer {
8548
8548
  readonly uuid: string;
8549
8549
  }
8550
- /** Which route the verbs would take for a session now, or why none would: the read a caller makes before offering a person a reply box. */
8550
+ /** Which route the verbs would take for a session now, with the version gate's `warnings` when it raised any, or why none would: the read a caller makes before offering a person a reply box. */
8551
8551
  type RcSessionRoute = {
8552
8552
  readonly route: RcSessionCommandRoute;
8553
+ readonly warnings?: readonly string[];
8553
8554
  } | {
8554
8555
  readonly route: null;
8555
8556
  readonly refused: string;
@@ -8922,6 +8923,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
8922
8923
  launched: "launched";
8923
8924
  "self-hosted": "self-hosted";
8924
8925
  }>;
8926
+ warnings: zod.ZodOptional<zod.ZodReadonly<zod.ZodArray<zod.ZodString>>>;
8925
8927
  }, zod_v4_core.$strict>, zod.ZodObject<{
8926
8928
  route: zod.ZodNull;
8927
8929
  refused: zod.ZodString;
@@ -9148,6 +9150,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
9148
9150
  launched: "launched";
9149
9151
  "self-hosted": "self-hosted";
9150
9152
  }>;
9153
+ warnings: zod.ZodOptional<zod.ZodReadonly<zod.ZodArray<zod.ZodString>>>;
9151
9154
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9152
9155
  goalSet: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
9153
9156
  session: zod.ZodString;
@@ -9162,6 +9165,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
9162
9165
  launched: "launched";
9163
9166
  "self-hosted": "self-hosted";
9164
9167
  }>;
9168
+ warnings: zod.ZodOptional<zod.ZodReadonly<zod.ZodArray<zod.ZodString>>>;
9165
9169
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9166
9170
  goalClear: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
9167
9171
  session: zod.ZodString;
@@ -9174,6 +9178,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
9174
9178
  launched: "launched";
9175
9179
  "self-hosted": "self-hosted";
9176
9180
  }>;
9181
+ warnings: zod.ZodOptional<zod.ZodReadonly<zod.ZodArray<zod.ZodString>>>;
9177
9182
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9178
9183
  compact: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
9179
9184
  session: zod.ZodString;
@@ -9188,6 +9193,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
9188
9193
  launched: "launched";
9189
9194
  "self-hosted": "self-hosted";
9190
9195
  }>;
9196
+ warnings: zod.ZodOptional<zod.ZodReadonly<zod.ZodArray<zod.ZodString>>>;
9191
9197
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9192
9198
  compactWithInstructions: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
9193
9199
  session: zod.ZodString;
@@ -9203,6 +9209,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
9203
9209
  launched: "launched";
9204
9210
  "self-hosted": "self-hosted";
9205
9211
  }>;
9212
+ warnings: zod.ZodOptional<zod.ZodReadonly<zod.ZodArray<zod.ZodString>>>;
9206
9213
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9207
9214
  turn: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
9208
9215
  session: zod.ZodString;
@@ -9216,6 +9223,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
9216
9223
  launched: "launched";
9217
9224
  "self-hosted": "self-hosted";
9218
9225
  }>;
9226
+ warnings: zod.ZodOptional<zod.ZodReadonly<zod.ZodArray<zod.ZodString>>>;
9219
9227
  }, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
9220
9228
  subscribe: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
9221
9229
  session: zod.ZodOptional<zod.ZodString>;
@@ -9437,10 +9445,10 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9437
9445
  configProfile: z.ZodObject<{
9438
9446
  name: z.ZodNullable<z.ZodString>;
9439
9447
  source: z.ZodEnum<{
9440
- "directory-rule": "directory-rule";
9441
9448
  env: "env";
9442
9449
  none: "none";
9443
9450
  "cli-flag": "cli-flag";
9451
+ "directory-rule": "directory-rule";
9444
9452
  "identity-default": "identity-default";
9445
9453
  "global-default": "global-default";
9446
9454
  }>;
@@ -9448,9 +9456,9 @@ declare const CheckReportJsonSchema: z.ZodObject<{
9448
9456
  layers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
9449
9457
  id: z.ZodInt;
9450
9458
  kind: z.ZodEnum<{
9459
+ "directory-rule": "directory-rule";
9451
9460
  "global-config": "global-config";
9452
9461
  "config-profile": "config-profile";
9453
- "directory-rule": "directory-rule";
9454
9462
  portable: "portable";
9455
9463
  "portable-local": "portable-local";
9456
9464
  "cli-override": "cli-override";
@@ -9986,12 +9994,12 @@ declare const CheckRunInputSchema: z.ZodObject<{
9986
9994
  /** One line of the doctor report: the section it belongs to, its severity, its message, and the identity/profile/rule it is about when there is one. */
9987
9995
  declare const DoctorFindingSchema: z.ZodObject<{
9988
9996
  section: z.ZodEnum<{
9989
- "global-config": "global-config";
9990
- "config-profile": "config-profile";
9991
9997
  identity: "identity";
9992
9998
  provider: "provider";
9993
9999
  frontdoor: "frontdoor";
9994
10000
  pool: "pool";
10001
+ "global-config": "global-config";
10002
+ "config-profile": "config-profile";
9995
10003
  keychain: "keychain";
9996
10004
  "ambient-credential": "ambient-credential";
9997
10005
  "binary-discovery": "binary-discovery";
@@ -10019,12 +10027,12 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
10019
10027
  ok: z.ZodBoolean;
10020
10028
  findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
10021
10029
  section: z.ZodEnum<{
10022
- "global-config": "global-config";
10023
- "config-profile": "config-profile";
10024
10030
  identity: "identity";
10025
10031
  provider: "provider";
10026
10032
  frontdoor: "frontdoor";
10027
10033
  pool: "pool";
10034
+ "global-config": "global-config";
10035
+ "config-profile": "config-profile";
10028
10036
  keychain: "keychain";
10029
10037
  "ambient-credential": "ambient-credential";
10030
10038
  "binary-discovery": "binary-discovery";
@@ -10679,8 +10687,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
10679
10687
  effort: zod.ZodOptional<zod.ZodObject<{
10680
10688
  format: zod.ZodOptional<zod.ZodEnum<{
10681
10689
  symbol: "symbol";
10682
- text: "text";
10683
10690
  full: "full";
10691
+ text: "text";
10684
10692
  }>>;
10685
10693
  }, zod_v4_core.$strict>>;
10686
10694
  advisor: zod.ZodOptional<zod.ZodObject<{
@@ -11071,9 +11079,9 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11071
11079
  }, zod_v4_core.$strict>>;
11072
11080
  project: zod.ZodOptional<zod.ZodObject<{
11073
11081
  pathLevels: zod.ZodOptional<zod.ZodEnum<{
11082
+ full: "full";
11074
11083
  1: "1";
11075
11084
  2: "2";
11076
- full: "full";
11077
11085
  3: "3";
11078
11086
  }>>;
11079
11087
  addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
@@ -11403,8 +11411,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11403
11411
  effort: zod.ZodOptional<zod.ZodObject<{
11404
11412
  format: zod.ZodOptional<zod.ZodEnum<{
11405
11413
  symbol: "symbol";
11406
- text: "text";
11407
11414
  full: "full";
11415
+ text: "text";
11408
11416
  }>>;
11409
11417
  }, zod_v4_core.$strict>>;
11410
11418
  advisor: zod.ZodOptional<zod.ZodObject<{
@@ -11795,9 +11803,9 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
11795
11803
  }, zod_v4_core.$strict>>;
11796
11804
  project: zod.ZodOptional<zod.ZodObject<{
11797
11805
  pathLevels: zod.ZodOptional<zod.ZodEnum<{
11806
+ full: "full";
11798
11807
  1: "1";
11799
11808
  2: "2";
11800
- full: "full";
11801
11809
  3: "3";
11802
11810
  }>>;
11803
11811
  addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
@@ -12603,8 +12611,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12603
12611
  effort: zod.ZodOptional<zod.ZodObject<{
12604
12612
  format: zod.ZodOptional<zod.ZodEnum<{
12605
12613
  symbol: "symbol";
12606
- text: "text";
12607
12614
  full: "full";
12615
+ text: "text";
12608
12616
  }>>;
12609
12617
  }, zod_v4_core.$strict>>;
12610
12618
  advisor: zod.ZodOptional<zod.ZodObject<{
@@ -12995,9 +13003,9 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
12995
13003
  }, zod_v4_core.$strict>>;
12996
13004
  project: zod.ZodOptional<zod.ZodObject<{
12997
13005
  pathLevels: zod.ZodOptional<zod.ZodEnum<{
13006
+ full: "full";
12998
13007
  1: "1";
12999
13008
  2: "2";
13000
- full: "full";
13001
13009
  3: "3";
13002
13010
  }>>;
13003
13011
  addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
@@ -13384,8 +13392,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13384
13392
  effort: zod.ZodOptional<zod.ZodObject<{
13385
13393
  format: zod.ZodOptional<zod.ZodEnum<{
13386
13394
  symbol: "symbol";
13387
- text: "text";
13388
13395
  full: "full";
13396
+ text: "text";
13389
13397
  }>>;
13390
13398
  }, zod_v4_core.$strict>>;
13391
13399
  advisor: zod.ZodOptional<zod.ZodObject<{
@@ -13776,9 +13784,9 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
13776
13784
  }, zod_v4_core.$strict>>;
13777
13785
  project: zod.ZodOptional<zod.ZodObject<{
13778
13786
  pathLevels: zod.ZodOptional<zod.ZodEnum<{
13787
+ full: "full";
13779
13788
  1: "1";
13780
13789
  2: "2";
13781
- full: "full";
13782
13790
  3: "3";
13783
13791
  }>>;
13784
13792
  addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
@@ -14401,8 +14409,8 @@ declare const StatuslineSchema: z.ZodObject<{
14401
14409
  effort: z.ZodOptional<z.ZodObject<{
14402
14410
  format: z.ZodOptional<z.ZodEnum<{
14403
14411
  symbol: "symbol";
14404
- text: "text";
14405
14412
  full: "full";
14413
+ text: "text";
14406
14414
  }>>;
14407
14415
  }, z.core.$strict>>;
14408
14416
  advisor: z.ZodOptional<z.ZodObject<{
@@ -14793,9 +14801,9 @@ declare const StatuslineSchema: z.ZodObject<{
14793
14801
  }, z.core.$strict>>;
14794
14802
  project: z.ZodOptional<z.ZodObject<{
14795
14803
  pathLevels: z.ZodOptional<z.ZodEnum<{
14804
+ full: "full";
14796
14805
  1: "1";
14797
14806
  2: "2";
14798
- full: "full";
14799
14807
  3: "3";
14800
14808
  }>>;
14801
14809
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -14863,6 +14871,26 @@ interface SupervisedLaunch {
14863
14871
  readonly settingsFile?: string;
14864
14872
  }
14865
14873
 
14874
+ /** The Claude Code versions the control plugin and the door's goal, compaction and turn routes were verified on end to end (`docs/rc-slash-commands.md`). A version on the list is gated through silently; how every other version is gated is `claudeCodeVersionGate`'s decision. */
14875
+ declare const RC_SESSION_COMMAND_VERIFIED_VERSIONS: readonly string[];
14876
+ /**
14877
+ * How the goal, compaction and turn verbs and an unsupervised launch's control plugin treat one Claude Code version:
14878
+ *
14879
+ * - `verified`: the version is on `RC_SESSION_COMMAND_VERIFIED_VERSIONS`, and everything proceeds with no warning.
14880
+ * - `unverified-patch`: the version is not on the list but shares its major and minor with a version that is (a patch release of a verified minor), and everything proceeds carrying `warning`, which names the version and says it has not been verified.
14881
+ * - `refused`: any other version, one that is not a plain release version, or none known; nothing proceeds.
14882
+ */
14883
+ type ClaudeCodeVersionGate = {
14884
+ readonly kind: "verified";
14885
+ } | {
14886
+ readonly kind: "unverified-patch";
14887
+ readonly warning: string;
14888
+ } | {
14889
+ readonly kind: "refused";
14890
+ };
14891
+ /** The one decision every gate site takes on a running Claude Code version (`ClaudeCodeVersionGate`); `version` is undefined when the running binary has not reported one. */
14892
+ declare function claudeCodeVersionGate(version: string | undefined): ClaudeCodeVersionGate;
14893
+
14866
14894
  /** One staged control plugin as a launch uses it: the arguments that load it, and what removes it and its record. */
14867
14895
  interface StagedLaunchControl {
14868
14896
  readonly args: (args: readonly string[]) => readonly string[];
@@ -14998,7 +15026,7 @@ interface PrepareLaunchParams {
14998
15026
  readonly hasStoredLogin?: (identity: string) => boolean;
14999
15027
  /** Whether Claude Code can authenticate with the login an identity has stored, asked only for an identity that has one (`claudeBin` is the binary the launch would run). Undefined when it cannot be determined, and then the stored login is assumed good. Absent when the caller cannot ask. */
15000
15028
  readonly hasUsableLogin?: (identity: string, claudeBin: string) => boolean | undefined;
15001
- /** Stages the in-process control plugin for an unsupervised launch that loads one (`launchLoadsControlPlugin`) and records where it listens for the front door (`supervise/launchControl.ts`). Absent when the caller cannot stage it, and then no launch loads it. */
15029
+ /** Stages the in-process control plugin for an unsupervised launch that loads one (`launchControlPluginGate`) and records where it listens for the front door (`supervise/launchControl.ts`). Absent when the caller cannot stage it, and then no launch loads it. */
15002
15030
  readonly stageControlPlugin?: () => StagedLaunchControl;
15003
15031
  }
15004
15032
  /** Inputs to `runLauncher`: a launch's inputs plus the port that spawns the child. */
@@ -15162,10 +15190,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15162
15190
  configDir: zod.ZodOptional<zod.ZodString>;
15163
15191
  configProfile: zod.ZodOptional<zod.ZodString>;
15164
15192
  configProfileSource: zod.ZodEnum<{
15165
- "directory-rule": "directory-rule";
15166
15193
  env: "env";
15167
15194
  none: "none";
15168
15195
  "cli-flag": "cli-flag";
15196
+ "directory-rule": "directory-rule";
15169
15197
  "identity-default": "identity-default";
15170
15198
  "global-default": "global-default";
15171
15199
  }>;
@@ -15306,8 +15334,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15306
15334
  effort: zod.ZodOptional<zod.ZodObject<{
15307
15335
  format: zod.ZodOptional<zod.ZodEnum<{
15308
15336
  symbol: "symbol";
15309
- text: "text";
15310
15337
  full: "full";
15338
+ text: "text";
15311
15339
  }>>;
15312
15340
  }, zod_v4_core.$strict>>;
15313
15341
  advisor: zod.ZodOptional<zod.ZodObject<{
@@ -15698,9 +15726,9 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
15698
15726
  }, zod_v4_core.$strict>>;
15699
15727
  project: zod.ZodOptional<zod.ZodObject<{
15700
15728
  pathLevels: zod.ZodOptional<zod.ZodEnum<{
15729
+ full: "full";
15701
15730
  1: "1";
15702
15731
  2: "2";
15703
- full: "full";
15704
15732
  3: "3";
15705
15733
  }>>;
15706
15734
  addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
@@ -16410,10 +16438,10 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16410
16438
  configProfile: z.ZodObject<{
16411
16439
  name: z.ZodNullable<z.ZodString>;
16412
16440
  source: z.ZodEnum<{
16413
- "directory-rule": "directory-rule";
16414
16441
  env: "env";
16415
16442
  none: "none";
16416
16443
  "cli-flag": "cli-flag";
16444
+ "directory-rule": "directory-rule";
16417
16445
  "identity-default": "identity-default";
16418
16446
  "global-default": "global-default";
16419
16447
  }>;
@@ -16421,9 +16449,9 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16421
16449
  layers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
16422
16450
  id: z.ZodInt;
16423
16451
  kind: z.ZodEnum<{
16452
+ "directory-rule": "directory-rule";
16424
16453
  "global-config": "global-config";
16425
16454
  "config-profile": "config-profile";
16426
- "directory-rule": "directory-rule";
16427
16455
  portable: "portable";
16428
16456
  "portable-local": "portable-local";
16429
16457
  "cli-override": "cli-override";
@@ -16672,12 +16700,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
16672
16700
  ok: z.ZodBoolean;
16673
16701
  findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
16674
16702
  section: z.ZodEnum<{
16675
- "global-config": "global-config";
16676
- "config-profile": "config-profile";
16677
16703
  identity: "identity";
16678
16704
  provider: "provider";
16679
16705
  frontdoor: "frontdoor";
16680
16706
  pool: "pool";
16707
+ "global-config": "global-config";
16708
+ "config-profile": "config-profile";
16681
16709
  keychain: "keychain";
16682
16710
  "ambient-credential": "ambient-credential";
16683
16711
  "binary-discovery": "binary-discovery";
@@ -16909,10 +16937,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
16909
16937
  configDir: z.ZodOptional<z.ZodString>;
16910
16938
  configProfile: z.ZodOptional<z.ZodString>;
16911
16939
  configProfileSource: z.ZodEnum<{
16912
- "directory-rule": "directory-rule";
16913
16940
  env: "env";
16914
16941
  none: "none";
16915
16942
  "cli-flag": "cli-flag";
16943
+ "directory-rule": "directory-rule";
16916
16944
  "identity-default": "identity-default";
16917
16945
  "global-default": "global-default";
16918
16946
  }>;
@@ -17053,8 +17081,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17053
17081
  effort: z.ZodOptional<z.ZodObject<{
17054
17082
  format: z.ZodOptional<z.ZodEnum<{
17055
17083
  symbol: "symbol";
17056
- text: "text";
17057
17084
  full: "full";
17085
+ text: "text";
17058
17086
  }>>;
17059
17087
  }, z.core.$strict>>;
17060
17088
  advisor: z.ZodOptional<z.ZodObject<{
@@ -17445,9 +17473,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
17445
17473
  }, z.core.$strict>>;
17446
17474
  project: z.ZodOptional<z.ZodObject<{
17447
17475
  pathLevels: z.ZodOptional<z.ZodEnum<{
17476
+ full: "full";
17448
17477
  1: "1";
17449
17478
  2: "2";
17450
- full: "full";
17451
17479
  3: "3";
17452
17480
  }>>;
17453
17481
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -18032,8 +18060,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18032
18060
  effort: z.ZodOptional<z.ZodObject<{
18033
18061
  format: z.ZodOptional<z.ZodEnum<{
18034
18062
  symbol: "symbol";
18035
- text: "text";
18036
18063
  full: "full";
18064
+ text: "text";
18037
18065
  }>>;
18038
18066
  }, z.core.$strict>>;
18039
18067
  advisor: z.ZodOptional<z.ZodObject<{
@@ -18424,9 +18452,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18424
18452
  }, z.core.$strict>>;
18425
18453
  project: z.ZodOptional<z.ZodObject<{
18426
18454
  pathLevels: z.ZodOptional<z.ZodEnum<{
18455
+ full: "full";
18427
18456
  1: "1";
18428
18457
  2: "2";
18429
- full: "full";
18430
18458
  3: "3";
18431
18459
  }>>;
18432
18460
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -18756,8 +18784,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
18756
18784
  effort: z.ZodOptional<z.ZodObject<{
18757
18785
  format: z.ZodOptional<z.ZodEnum<{
18758
18786
  symbol: "symbol";
18759
- text: "text";
18760
18787
  full: "full";
18788
+ text: "text";
18761
18789
  }>>;
18762
18790
  }, z.core.$strict>>;
18763
18791
  advisor: z.ZodOptional<z.ZodObject<{
@@ -19148,9 +19176,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19148
19176
  }, z.core.$strict>>;
19149
19177
  project: z.ZodOptional<z.ZodObject<{
19150
19178
  pathLevels: z.ZodOptional<z.ZodEnum<{
19179
+ full: "full";
19151
19180
  1: "1";
19152
19181
  2: "2";
19153
- full: "full";
19154
19182
  3: "3";
19155
19183
  }>>;
19156
19184
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -19956,8 +19984,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
19956
19984
  effort: z.ZodOptional<z.ZodObject<{
19957
19985
  format: z.ZodOptional<z.ZodEnum<{
19958
19986
  symbol: "symbol";
19959
- text: "text";
19960
19987
  full: "full";
19988
+ text: "text";
19961
19989
  }>>;
19962
19990
  }, z.core.$strict>>;
19963
19991
  advisor: z.ZodOptional<z.ZodObject<{
@@ -20348,9 +20376,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20348
20376
  }, z.core.$strict>>;
20349
20377
  project: z.ZodOptional<z.ZodObject<{
20350
20378
  pathLevels: z.ZodOptional<z.ZodEnum<{
20379
+ full: "full";
20351
20380
  1: "1";
20352
20381
  2: "2";
20353
- full: "full";
20354
20382
  3: "3";
20355
20383
  }>>;
20356
20384
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -20737,8 +20765,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
20737
20765
  effort: z.ZodOptional<z.ZodObject<{
20738
20766
  format: z.ZodOptional<z.ZodEnum<{
20739
20767
  symbol: "symbol";
20740
- text: "text";
20741
20768
  full: "full";
20769
+ text: "text";
20742
20770
  }>>;
20743
20771
  }, z.core.$strict>>;
20744
20772
  advisor: z.ZodOptional<z.ZodObject<{
@@ -21129,9 +21157,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21129
21157
  }, z.core.$strict>>;
21130
21158
  project: z.ZodOptional<z.ZodObject<{
21131
21159
  pathLevels: z.ZodOptional<z.ZodEnum<{
21160
+ full: "full";
21132
21161
  1: "1";
21133
21162
  2: "2";
21134
- full: "full";
21135
21163
  3: "3";
21136
21164
  }>>;
21137
21165
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -21508,10 +21536,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21508
21536
  configProfile: z.ZodObject<{
21509
21537
  name: z.ZodNullable<z.ZodString>;
21510
21538
  source: z.ZodEnum<{
21511
- "directory-rule": "directory-rule";
21512
21539
  env: "env";
21513
21540
  none: "none";
21514
21541
  "cli-flag": "cli-flag";
21542
+ "directory-rule": "directory-rule";
21515
21543
  "identity-default": "identity-default";
21516
21544
  "global-default": "global-default";
21517
21545
  }>;
@@ -21519,9 +21547,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21519
21547
  layers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
21520
21548
  id: z.ZodInt;
21521
21549
  kind: z.ZodEnum<{
21550
+ "directory-rule": "directory-rule";
21522
21551
  "global-config": "global-config";
21523
21552
  "config-profile": "config-profile";
21524
- "directory-rule": "directory-rule";
21525
21553
  portable: "portable";
21526
21554
  "portable-local": "portable-local";
21527
21555
  "cli-override": "cli-override";
@@ -21770,12 +21798,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21770
21798
  ok: z.ZodBoolean;
21771
21799
  findings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
21772
21800
  section: z.ZodEnum<{
21773
- "global-config": "global-config";
21774
- "config-profile": "config-profile";
21775
21801
  identity: "identity";
21776
21802
  provider: "provider";
21777
21803
  frontdoor: "frontdoor";
21778
21804
  pool: "pool";
21805
+ "global-config": "global-config";
21806
+ "config-profile": "config-profile";
21779
21807
  keychain: "keychain";
21780
21808
  "ambient-credential": "ambient-credential";
21781
21809
  "binary-discovery": "binary-discovery";
@@ -21933,6 +21961,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
21933
21961
  launched: "launched";
21934
21962
  "self-hosted": "self-hosted";
21935
21963
  }>;
21964
+ warnings: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
21936
21965
  }, z.core.$strict>, z.ZodObject<{
21937
21966
  route: z.ZodNull;
21938
21967
  refused: z.ZodString;
@@ -22159,6 +22188,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
22159
22188
  launched: "launched";
22160
22189
  "self-hosted": "self-hosted";
22161
22190
  }>;
22191
+ warnings: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
22162
22192
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
22163
22193
  goalSet: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
22164
22194
  session: z.ZodString;
@@ -22173,6 +22203,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
22173
22203
  launched: "launched";
22174
22204
  "self-hosted": "self-hosted";
22175
22205
  }>;
22206
+ warnings: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
22176
22207
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
22177
22208
  goalClear: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
22178
22209
  session: z.ZodString;
@@ -22185,6 +22216,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
22185
22216
  launched: "launched";
22186
22217
  "self-hosted": "self-hosted";
22187
22218
  }>;
22219
+ warnings: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
22188
22220
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
22189
22221
  compact: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
22190
22222
  session: z.ZodString;
@@ -22199,6 +22231,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
22199
22231
  launched: "launched";
22200
22232
  "self-hosted": "self-hosted";
22201
22233
  }>;
22234
+ warnings: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
22202
22235
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
22203
22236
  compactWithInstructions: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
22204
22237
  session: z.ZodString;
@@ -22214,6 +22247,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
22214
22247
  launched: "launched";
22215
22248
  "self-hosted": "self-hosted";
22216
22249
  }>;
22250
+ warnings: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
22217
22251
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
22218
22252
  turn: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
22219
22253
  session: z.ZodString;
@@ -22227,6 +22261,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
22227
22261
  launched: "launched";
22228
22262
  "self-hosted": "self-hosted";
22229
22263
  }>;
22264
+ warnings: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
22230
22265
  }, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
22231
22266
  subscribe: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
22232
22267
  session: z.ZodOptional<z.ZodString>;
@@ -22789,8 +22824,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
22789
22824
  effort: z.ZodOptional<z.ZodObject<{
22790
22825
  format: z.ZodOptional<z.ZodEnum<{
22791
22826
  symbol: "symbol";
22792
- text: "text";
22793
22827
  full: "full";
22828
+ text: "text";
22794
22829
  }>>;
22795
22830
  }, z.core.$strict>>;
22796
22831
  advisor: z.ZodOptional<z.ZodObject<{
@@ -23181,9 +23216,9 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
23181
23216
  }, z.core.$strict>>;
23182
23217
  project: z.ZodOptional<z.ZodObject<{
23183
23218
  pathLevels: z.ZodOptional<z.ZodEnum<{
23219
+ full: "full";
23184
23220
  1: "1";
23185
23221
  2: "2";
23186
- full: "full";
23187
23222
  3: "3";
23188
23223
  }>>;
23189
23224
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -23515,8 +23550,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23515
23550
  effort: z.ZodOptional<z.ZodObject<{
23516
23551
  format: z.ZodOptional<z.ZodEnum<{
23517
23552
  symbol: "symbol";
23518
- text: "text";
23519
23553
  full: "full";
23554
+ text: "text";
23520
23555
  }>>;
23521
23556
  }, z.core.$strict>>;
23522
23557
  advisor: z.ZodOptional<z.ZodObject<{
@@ -23907,9 +23942,9 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
23907
23942
  }, z.core.$strict>>;
23908
23943
  project: z.ZodOptional<z.ZodObject<{
23909
23944
  pathLevels: z.ZodOptional<z.ZodEnum<{
23945
+ full: "full";
23910
23946
  1: "1";
23911
23947
  2: "2";
23912
- full: "full";
23913
23948
  3: "3";
23914
23949
  }>>;
23915
23950
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -24717,8 +24752,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
24717
24752
  effort: z.ZodOptional<z.ZodObject<{
24718
24753
  format: z.ZodOptional<z.ZodEnum<{
24719
24754
  symbol: "symbol";
24720
- text: "text";
24721
24755
  full: "full";
24756
+ text: "text";
24722
24757
  }>>;
24723
24758
  }, z.core.$strict>>;
24724
24759
  advisor: z.ZodOptional<z.ZodObject<{
@@ -25109,9 +25144,9 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
25109
25144
  }, z.core.$strict>>;
25110
25145
  project: z.ZodOptional<z.ZodObject<{
25111
25146
  pathLevels: z.ZodOptional<z.ZodEnum<{
25147
+ full: "full";
25112
25148
  1: "1";
25113
25149
  2: "2";
25114
- full: "full";
25115
25150
  3: "3";
25116
25151
  }>>;
25117
25152
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -25500,8 +25535,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25500
25535
  effort: z.ZodOptional<z.ZodObject<{
25501
25536
  format: z.ZodOptional<z.ZodEnum<{
25502
25537
  symbol: "symbol";
25503
- text: "text";
25504
25538
  full: "full";
25539
+ text: "text";
25505
25540
  }>>;
25506
25541
  }, z.core.$strict>>;
25507
25542
  advisor: z.ZodOptional<z.ZodObject<{
@@ -25892,9 +25927,9 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
25892
25927
  }, z.core.$strict>>;
25893
25928
  project: z.ZodOptional<z.ZodObject<{
25894
25929
  pathLevels: z.ZodOptional<z.ZodEnum<{
25930
+ full: "full";
25895
25931
  1: "1";
25896
25932
  2: "2";
25897
- full: "full";
25898
25933
  3: "3";
25899
25934
  }>>;
25900
25935
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -26043,10 +26078,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26043
26078
  configDir: z.ZodOptional<z.ZodString>;
26044
26079
  configProfile: z.ZodOptional<z.ZodString>;
26045
26080
  configProfileSource: z.ZodEnum<{
26046
- "directory-rule": "directory-rule";
26047
26081
  env: "env";
26048
26082
  none: "none";
26049
26083
  "cli-flag": "cli-flag";
26084
+ "directory-rule": "directory-rule";
26050
26085
  "identity-default": "identity-default";
26051
26086
  "global-default": "global-default";
26052
26087
  }>;
@@ -26187,8 +26222,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26187
26222
  effort: z.ZodOptional<z.ZodObject<{
26188
26223
  format: z.ZodOptional<z.ZodEnum<{
26189
26224
  symbol: "symbol";
26190
- text: "text";
26191
26225
  full: "full";
26226
+ text: "text";
26192
26227
  }>>;
26193
26228
  }, z.core.$strict>>;
26194
26229
  advisor: z.ZodOptional<z.ZodObject<{
@@ -26579,9 +26614,9 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
26579
26614
  }, z.core.$strict>>;
26580
26615
  project: z.ZodOptional<z.ZodObject<{
26581
26616
  pathLevels: z.ZodOptional<z.ZodEnum<{
26617
+ full: "full";
26582
26618
  1: "1";
26583
26619
  2: "2";
26584
- full: "full";
26585
26620
  3: "3";
26586
26621
  }>>;
26587
26622
  addedDirsLayout: z.ZodOptional<z.ZodEnum<{
@@ -26718,9 +26753,6 @@ declare function createQuotaExpiringPublisher(hub: DoorEventHub, deps: {
26718
26753
  readonly nameOf: (id: string) => string | undefined;
26719
26754
  }): QuotaExpiringPublisher;
26720
26755
 
26721
- /** The Claude Code versions the control plugin and the door's goal, compaction and turn routes were verified on end to end (`docs/rc-slash-commands.md`): an unsupervised launch of any other version loads no control plugin, and the door refuses a session reporting any other version. */
26722
- declare const RC_SESSION_COMMAND_VERIFIED_VERSIONS: readonly string[];
26723
-
26724
26756
  /**
26725
26757
  * The rate-limit facts one client read stream event carries, or undefined when the event is not a `rate_limit_event` this module can read: a payload of another type, a payload without the family's own one required field, or one whose `rate_limit_info` does not parse. An envelope the door cannot read is one it knows nothing about, never a failure, exactly as the stream's own parser treats an envelope it cannot read. Exported because the renderers (`frontdoor rc watch`, the web client's twin) narrow the same payload through the same one definition.
26726
26758
  */
@@ -28795,5 +28827,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
28795
28827
  */
28796
28828
  declare function agentShimCliPath(distDir?: string | undefined): string;
28797
28829
 
28798
- 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 };
28799
- 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, RcRefusalKind, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionCommandDeps, RcSessionCommandOptions, RcSessionCommandResult, RcSessionCommandRoute, RcSessionCommands, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionRoute, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcSupervisedTarget, RcTurnReport, 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 };
28830
+ 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, claudeCodeVersionGate, 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 };
28831
+ export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AgentTreesApiDeps, AgentTreesApiRouter, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeCodeVersionGate, 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, RcRefusalKind, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionCommandDeps, RcSessionCommandOptions, RcSessionCommandResult, RcSessionCommandRoute, RcSessionCommands, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionRoute, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcSupervisedTarget, RcTurnReport, 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 };