agent-shim 14.9.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.
- package/dist/cli.cjs +109 -36
- package/dist/index.cjs +86 -24
- package/dist/index.mjs +85 -24
- package/dist/types/index.d.ts +68 -36
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
8523
|
-
interface
|
|
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";
|
|
@@ -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 (`
|
|
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
|
}>;
|
|
@@ -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
|
}>;
|
|
@@ -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>;
|
|
@@ -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
|
}>;
|
|
@@ -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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-shim",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.10.0",
|
|
4
4
|
"description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Joseph Mearman <joseph@mearman.co.uk>",
|