claude-use 14.4.0 → 14.5.1
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 +1536 -1173
- package/dist/index.cjs +1275 -898
- package/dist/index.mjs +1234 -857
- package/dist/types/index.d.ts +180 -62
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -297,10 +297,10 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
297
297
|
}>>;
|
|
298
298
|
layout: z.ZodOptional<z.ZodObject<{
|
|
299
299
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
300
|
-
account: "account";
|
|
301
300
|
identity: "identity";
|
|
302
301
|
model: "model";
|
|
303
302
|
route: "route";
|
|
303
|
+
account: "account";
|
|
304
304
|
provider: "provider";
|
|
305
305
|
version: "version";
|
|
306
306
|
headroom: "headroom";
|
|
@@ -800,8 +800,8 @@ declare const LaunchSchema: z.ZodObject<{
|
|
|
800
800
|
project: z.ZodOptional<z.ZodObject<{
|
|
801
801
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
802
802
|
full: "full";
|
|
803
|
-
2: "2";
|
|
804
803
|
1: "1";
|
|
804
|
+
2: "2";
|
|
805
805
|
3: "3";
|
|
806
806
|
}>>;
|
|
807
807
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1535,10 +1535,10 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
1535
1535
|
}>>;
|
|
1536
1536
|
layout: z.ZodOptional<z.ZodObject<{
|
|
1537
1537
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1538
|
-
account: "account";
|
|
1539
1538
|
identity: "identity";
|
|
1540
1539
|
model: "model";
|
|
1541
1540
|
route: "route";
|
|
1541
|
+
account: "account";
|
|
1542
1542
|
provider: "provider";
|
|
1543
1543
|
version: "version";
|
|
1544
1544
|
headroom: "headroom";
|
|
@@ -2038,8 +2038,8 @@ declare const ConfigProfileSchema: z.ZodObject<{
|
|
|
2038
2038
|
project: z.ZodOptional<z.ZodObject<{
|
|
2039
2039
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
2040
2040
|
full: "full";
|
|
2041
|
-
2: "2";
|
|
2042
2041
|
1: "1";
|
|
2042
|
+
2: "2";
|
|
2043
2043
|
3: "3";
|
|
2044
2044
|
}>>;
|
|
2045
2045
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2385,10 +2385,10 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2385
2385
|
}>>;
|
|
2386
2386
|
layout: z.ZodOptional<z.ZodObject<{
|
|
2387
2387
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2388
|
-
account: "account";
|
|
2389
2388
|
identity: "identity";
|
|
2390
2389
|
model: "model";
|
|
2391
2390
|
route: "route";
|
|
2391
|
+
account: "account";
|
|
2392
2392
|
provider: "provider";
|
|
2393
2393
|
version: "version";
|
|
2394
2394
|
headroom: "headroom";
|
|
@@ -2888,8 +2888,8 @@ declare const DirectoryRuleSchema: z.ZodObject<{
|
|
|
2888
2888
|
project: z.ZodOptional<z.ZodObject<{
|
|
2889
2889
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
2890
2890
|
full: "full";
|
|
2891
|
-
2: "2";
|
|
2892
2891
|
1: "1";
|
|
2892
|
+
2: "2";
|
|
2893
2893
|
3: "3";
|
|
2894
2894
|
}>>;
|
|
2895
2895
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3161,10 +3161,10 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3161
3161
|
}>>;
|
|
3162
3162
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3163
3163
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3164
|
-
account: "account";
|
|
3165
3164
|
identity: "identity";
|
|
3166
3165
|
model: "model";
|
|
3167
3166
|
route: "route";
|
|
3167
|
+
account: "account";
|
|
3168
3168
|
provider: "provider";
|
|
3169
3169
|
version: "version";
|
|
3170
3170
|
headroom: "headroom";
|
|
@@ -3664,8 +3664,8 @@ declare const DirectoryRulesSchema: z.ZodObject<{
|
|
|
3664
3664
|
project: z.ZodOptional<z.ZodObject<{
|
|
3665
3665
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
3666
3666
|
full: "full";
|
|
3667
|
-
2: "2";
|
|
3668
3667
|
1: "1";
|
|
3668
|
+
2: "2";
|
|
3669
3669
|
3: "3";
|
|
3670
3670
|
}>>;
|
|
3671
3671
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3937,10 +3937,10 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
3937
3937
|
}>>;
|
|
3938
3938
|
layout: z.ZodOptional<z.ZodObject<{
|
|
3939
3939
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3940
|
-
account: "account";
|
|
3941
3940
|
identity: "identity";
|
|
3942
3941
|
model: "model";
|
|
3943
3942
|
route: "route";
|
|
3943
|
+
account: "account";
|
|
3944
3944
|
provider: "provider";
|
|
3945
3945
|
version: "version";
|
|
3946
3946
|
headroom: "headroom";
|
|
@@ -4440,8 +4440,8 @@ declare const PortableConfigSchema: z.ZodObject<{
|
|
|
4440
4440
|
project: z.ZodOptional<z.ZodObject<{
|
|
4441
4441
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
4442
4442
|
full: "full";
|
|
4443
|
-
2: "2";
|
|
4444
4443
|
1: "1";
|
|
4444
|
+
2: "2";
|
|
4445
4445
|
3: "3";
|
|
4446
4446
|
}>>;
|
|
4447
4447
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4693,10 +4693,10 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
4693
4693
|
}>>;
|
|
4694
4694
|
layout: z.ZodOptional<z.ZodObject<{
|
|
4695
4695
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4696
|
-
account: "account";
|
|
4697
4696
|
identity: "identity";
|
|
4698
4697
|
model: "model";
|
|
4699
4698
|
route: "route";
|
|
4699
|
+
account: "account";
|
|
4700
4700
|
provider: "provider";
|
|
4701
4701
|
version: "version";
|
|
4702
4702
|
headroom: "headroom";
|
|
@@ -5196,8 +5196,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
5196
5196
|
project: z.ZodOptional<z.ZodObject<{
|
|
5197
5197
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
5198
5198
|
full: "full";
|
|
5199
|
-
2: "2";
|
|
5200
5199
|
1: "1";
|
|
5200
|
+
2: "2";
|
|
5201
5201
|
3: "3";
|
|
5202
5202
|
}>>;
|
|
5203
5203
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -5613,6 +5613,8 @@ interface LayoutPaths {
|
|
|
5613
5613
|
readonly identityNameRenamesDir: string;
|
|
5614
5614
|
/** Directory holding one `<launcher-pid>.<id>.json` record per launch in progress, named by the id of the identity it launches, written before the identity's farm is resynced and removed once the child has exited. Runtime state, never configuration: it is what lets `identity rename --move` see a launch that has resynced but not yet started its child. */
|
|
5615
5615
|
readonly launchesDir: string;
|
|
5616
|
+
/** Directory holding one `<launcher-pid>.<id>.json` record per unsupervised launch that loaded the in-process control plugin, naming the plugin's directory, written before the child starts and removed once it has exited: what the front door reads to reach such a session. Runtime state, never configuration. */
|
|
5617
|
+
readonly launchControlDir: string;
|
|
5616
5618
|
/** Directory of the supervised sessions' shared state, one subdirectory per pool: the live sessions each launcher registers, so sessions on one account see each other, and the lock that serialises their moves. Runtime state, never configuration. */
|
|
5617
5619
|
readonly superviseDir: string;
|
|
5618
5620
|
/** Directory of the model-move requests the front door writes for supervised sessions that picked a model served under another identity: one `<sessionId>.json` per pending request, claimed and removed by the session's supervisor. Runtime state, never configuration. */
|
|
@@ -8349,6 +8351,12 @@ type CompactionResult = {
|
|
|
8349
8351
|
readonly reason: string;
|
|
8350
8352
|
};
|
|
8351
8353
|
|
|
8354
|
+
/** What the plugin API answered for a submitted turn: the text that entered the session, and whether the origin the engine stamped on it is the control plugin's own submission as the person's words. */
|
|
8355
|
+
interface SubmittedTurn {
|
|
8356
|
+
readonly text: string;
|
|
8357
|
+
readonly asUser: boolean;
|
|
8358
|
+
}
|
|
8359
|
+
|
|
8352
8360
|
/**
|
|
8353
8361
|
* A session's `/goal` as its transcript records it, read with no effect on the session: Claude Code keeps no goal state anywhere a process outside it can ask, so the transcript is the one source a reader has.
|
|
8354
8362
|
*
|
|
@@ -8361,6 +8369,20 @@ interface TranscriptGoal {
|
|
|
8361
8369
|
readonly lastCheck?: string;
|
|
8362
8370
|
}
|
|
8363
8371
|
|
|
8372
|
+
/**
|
|
8373
|
+
* The turns the control plugin submitted as the person's words, as a supervised session's transcript records them: the one place a process outside the session can confirm that such a turn entered the conversation, and how.
|
|
8374
|
+
*
|
|
8375
|
+
* The 2.1.319 CLI writes a prompt a plugin submitted with `$.prompt.submit({ text, asUser: true })` as a user row (`{"type":"user","origin":{"kind":"plugin","name":<plugin>,"asUser":true},"message":{"role":"user","content":<text>},...}`), the text bare, as the model reads it. A row with any other origin (the person's own Enter, a peer session, another plugin, a framed plugin prompt) is not one of these.
|
|
8376
|
+
*/
|
|
8377
|
+
/** The latest turn the control plugin submitted, and how many the transcript records in all. */
|
|
8378
|
+
interface PluginTurns {
|
|
8379
|
+
readonly count: number;
|
|
8380
|
+
readonly last: {
|
|
8381
|
+
readonly uuid: string;
|
|
8382
|
+
readonly text: string;
|
|
8383
|
+
} | undefined;
|
|
8384
|
+
}
|
|
8385
|
+
|
|
8364
8386
|
/** The brand only `rcSelfHostEventDial` puts on a dial: not exported, so no other code can make a value of the type. */
|
|
8365
8387
|
declare const SELF_HOST_DIAL: unique symbol;
|
|
8366
8388
|
/**
|
|
@@ -8445,21 +8467,20 @@ interface RcClaudeCodeVersions {
|
|
|
8445
8467
|
/** Drops the sessions `isTracked` no longer holds, so an ended session's version is not kept. */
|
|
8446
8468
|
readonly sweep: (isTracked: (sessionId: string) => boolean) => void;
|
|
8447
8469
|
}
|
|
8448
|
-
/** Subscribes to every session's stream and files the `claude_code_version` each worker-sourced `system/init` names, the worker's own statement of the version it runs
|
|
8470
|
+
/** Subscribes to every session's stream and files the `claude_code_version` each worker-sourced `system/init` names, the worker's own statement of the version it runs. A 2.1.319 or 2.1.325 worker emits one once it has taken a turn and again after each later turn, not when its stream opens, so a session that has run no turn has no version filed yet and the self-hosted route refuses it until it has. An event a client wrote is never taken for the worker's. In memory: on the self-hosted surface a session lives exactly as long as the door that serves it. */
|
|
8449
8471
|
declare function createRcClaudeCodeVersions(fanout: RcEventFanout): RcClaudeCodeVersions;
|
|
8450
8472
|
|
|
8451
8473
|
/**
|
|
8452
|
-
* Goal and
|
|
8474
|
+
* Goal, compaction and turn control over a Remote Control session: read, set and clear its `/goal`, compact its conversation, and put a person's typed turn into it, each returning the outcome the session itself reports. One verb surface over the two routes Claude Code 2.1.319 leaves open, chosen per session:
|
|
8453
8475
|
*
|
|
8454
|
-
* - **A supervised session** (one an agent-shim supervisor launched, whatever its account or provider): the door finds the launch through the registry, by the `bridge-session` row Claude Code writes into the session's own transcript, and asks the session's in-process control plugin (`supervise/sessionControlPlugin.ts`), which runs `$.session.compact
|
|
8455
|
-
* - **A session
|
|
8476
|
+
* - **A supervised session** (one an agent-shim supervisor launched, whatever its account or provider): the door finds the launch through the registry, by the `bridge-session` row Claude Code writes into the session's own transcript, and asks the session's in-process control plugin (`supervise/sessionControlPlugin.ts`), which runs `$.session.compact`, `/goal <condition>` and `/goal clear` through the plugin API, or submits a person's turn with `$.prompt.submit` as the person's words. The goal is read from the transcript's `goal_status` rows, with no effect on the session.
|
|
8477
|
+
* - **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.
|
|
8478
|
+
* - **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`).
|
|
8456
8479
|
*
|
|
8457
|
-
* Any other session is refused with the reason: 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.
|
|
8480
|
+
* 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.
|
|
8458
8481
|
*
|
|
8459
8482
|
* 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.
|
|
8460
8483
|
*/
|
|
8461
|
-
/** The Claude Code versions both routes were verified on end to end; a session reporting any other version is refused. */
|
|
8462
|
-
declare const RC_SESSION_COMMAND_VERIFIED_VERSIONS: readonly string[];
|
|
8463
8484
|
/** 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. */
|
|
8464
8485
|
declare const RC_GOAL_CLEAR_WORDS: readonly string[];
|
|
8465
8486
|
/** The longest goal condition the 2.1.319 `/goal` command accepts, in characters; it refuses a longer one with its own message, so the set verb refuses it first, unsent. */
|
|
@@ -8468,8 +8489,8 @@ declare const RC_GOAL_CONDITION_MAX_CHARS = 4000;
|
|
|
8468
8489
|
* The longest any verb waits for the session's answer: the largest delay Node's timers accept (a signed 32-bit millisecond count), since a larger one fires after one millisecond instead. Every wait the verbs take is bounded by it, in the schema, the CLI's parser and the timer itself.
|
|
8469
8490
|
*/
|
|
8470
8491
|
declare const RC_SESSION_COMMAND_MAX_WAIT_MS = 2147483647;
|
|
8471
|
-
/** Who answered: the session
|
|
8472
|
-
type RcSessionCommandRoute = "supervised" | "self-hosted";
|
|
8492
|
+
/** Who answered: the in-process control plugin of a session an agent-shim supervisor runs (`supervised`) or of one the launcher started with no supervisor (`launched`), or the door's own self-hosted surface. */
|
|
8493
|
+
type RcSessionCommandRoute = "supervised" | "launched" | "self-hosted";
|
|
8473
8494
|
/** One goal as the session reports it. */
|
|
8474
8495
|
type RcGoal = TranscriptGoal;
|
|
8475
8496
|
/** What a goal read found: the active goal, or `null` when the session has none. */
|
|
@@ -8495,6 +8516,18 @@ interface RcCompactReport {
|
|
|
8495
8516
|
readonly preTokens?: number;
|
|
8496
8517
|
readonly postTokens?: number;
|
|
8497
8518
|
}
|
|
8519
|
+
/** 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). */
|
|
8520
|
+
interface RcTurnReport {
|
|
8521
|
+
readonly route: RcSessionCommandRoute;
|
|
8522
|
+
readonly uuid: string;
|
|
8523
|
+
}
|
|
8524
|
+
/** 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. */
|
|
8525
|
+
type RcSessionRoute = {
|
|
8526
|
+
readonly route: RcSessionCommandRoute;
|
|
8527
|
+
} | {
|
|
8528
|
+
readonly route: null;
|
|
8529
|
+
readonly refused: string;
|
|
8530
|
+
};
|
|
8498
8531
|
/** One verb's outcome: the report, or a verbose failure ready to show a user. */
|
|
8499
8532
|
type RcSessionCommandResult<T> = {
|
|
8500
8533
|
readonly ok: true;
|
|
@@ -8515,11 +8548,11 @@ interface RcCompactOptions extends RcSessionCommandOptions {
|
|
|
8515
8548
|
/** Custom summarisation instructions. A directive to the session's model, which is why the typed API serves it under its own grant. */
|
|
8516
8549
|
readonly instructions?: string;
|
|
8517
8550
|
}
|
|
8518
|
-
/** The
|
|
8551
|
+
/** The launch a Remote Control session belongs to, as the door reaches it through the launch's in-process control plugin: a supervised launch, or one the launcher started with no supervisor. */
|
|
8519
8552
|
interface RcSupervisedTarget {
|
|
8520
8553
|
/** The conversation the plugin acts on: the session's current one, which differs from its launch id after `/clear`. */
|
|
8521
8554
|
readonly conversationId: string;
|
|
8522
|
-
/** The session's current transcript, the goal's record; undefined until the session's hooks have named it. */
|
|
8555
|
+
/** The session's current transcript, the goal's record; undefined until the session's hooks (a supervisor's) or its control plugin (a launch's) have named it. */
|
|
8523
8556
|
readonly transcriptPath: string | undefined;
|
|
8524
8557
|
/** The Claude Code version the plugin reported when it loaded; undefined when it has not loaded. */
|
|
8525
8558
|
readonly version: string | undefined;
|
|
@@ -8527,6 +8560,8 @@ interface RcSupervisedTarget {
|
|
|
8527
8560
|
readonly compact: (signal: AbortSignal, instructions: string | undefined, waitMs: number) => Promise<CompactionResult>;
|
|
8528
8561
|
/** Runs `/goal <args>` through the plugin, runnable for `waitMs` and no longer. */
|
|
8529
8562
|
readonly runGoal: (args: string, signal: AbortSignal, waitMs: number) => Promise<unknown>;
|
|
8563
|
+
/** Submits `text` as the person's words through the plugin, runnable for `waitMs` and no longer. */
|
|
8564
|
+
readonly submitTurn: (text: string, signal: AbortSignal, waitMs: number) => Promise<SubmittedTurn>;
|
|
8530
8565
|
}
|
|
8531
8566
|
/** Everything the verbs need, injected so they run against fakes in unit tests. */
|
|
8532
8567
|
interface RcSessionCommandDeps {
|
|
@@ -8534,8 +8569,14 @@ interface RcSessionCommandDeps {
|
|
|
8534
8569
|
readonly supervisedOf: (sessionId: string) => Promise<RcSupervisedTarget | {
|
|
8535
8570
|
readonly refused: string;
|
|
8536
8571
|
} | undefined>;
|
|
8572
|
+
/** The unsupervised launch a `cse_` session belongs to, asked only when no supervisor owns it: undefined when no live launch's control plugin records it, a refusal when two do. Absent when the host starts no sessions with the control plugin, and then no session takes the `launched` route. */
|
|
8573
|
+
readonly launchedOf?: (sessionId: string) => Promise<RcSupervisedTarget | {
|
|
8574
|
+
readonly refused: string;
|
|
8575
|
+
} | undefined>;
|
|
8537
8576
|
/** The goal a transcript leaves active, read incrementally without blocking (`transcriptFollower.ts`); undefined when the file does not exist. */
|
|
8538
8577
|
readonly goalOf: (path: string) => Promise<RcGoal | null | undefined>;
|
|
8578
|
+
/** The turns the control plugin submitted as the person's words, as a transcript records them (`sessionPluginTurns.ts`), read the same way; undefined when the file does not exist. */
|
|
8579
|
+
readonly pluginTurnsOf: (path: string) => Promise<PluginTurns | undefined>;
|
|
8539
8580
|
/** The door's own surface, present only when the door serves Remote Control itself: the one place it writes a command as a person's app. */
|
|
8540
8581
|
readonly selfHost: RcSelfHostCommandDeps | undefined;
|
|
8541
8582
|
/** Whether the door observes the session at all, so a mistyped id is refused as unknown rather than as unsupported. */
|
|
@@ -8543,6 +8584,12 @@ interface RcSessionCommandDeps {
|
|
|
8543
8584
|
}
|
|
8544
8585
|
/** Creates the verbs over their dependencies. Verbs on one session run one at a time, in the order they were asked, so two commands never interleave on one session and one never reads the other's answer. */
|
|
8545
8586
|
declare function createRcSessionCommands(deps: RcSessionCommandDeps): {
|
|
8587
|
+
/** Which route the verbs would take for the session now, or the refusal naming why none would; reads only, outside the session's queue, so a verb waiting on the session never delays it. */
|
|
8588
|
+
routeOf: (sessionId: string) => Promise<RcSessionRoute>;
|
|
8589
|
+
/**
|
|
8590
|
+
* Puts `text` into the session as a person's typed turn, and resolves once the session recorded it as a user entry from the person, never as a peer's message: on the supervised route a transcript row the control plugin submitted as the person's words (`origin: { kind: "plugin", asUser: true }`), on the self-hosted route the worker's mirrored entry with a person's origin (`{ kind: "human" }`). The text reaches the session's model as its user's words (`docs/rc-slash-commands.md`, the trust boundary). Refused unsent: text that is empty, starts with `/` (a slash command, which the goal and compaction verbs run), or is longer than one request carries. Resolves when the turn entered the session, not when the model has answered it.
|
|
8591
|
+
*/
|
|
8592
|
+
turn: (sessionId: string, text: string, options?: RcSessionCommandOptions) => Promise<RcSessionCommandResult<RcTurnReport>>;
|
|
8546
8593
|
/** Reads the session's goal: from the transcript for a supervised session, with no effect on it; by running `/goal` on the self-hosted surface otherwise. */
|
|
8547
8594
|
goalGet: (sessionId: string, options?: RcSessionCommandOptions) => Promise<RcSessionCommandResult<RcGoalReport>>;
|
|
8548
8595
|
/**
|
|
@@ -8813,6 +8860,10 @@ interface RcApiDeps {
|
|
|
8813
8860
|
readonly goalClear: (sessionId: string, options: RcSessionCommandOptions) => Promise<RcSessionCommandResult<RcGoalClearReport>>;
|
|
8814
8861
|
/** The compaction, routed the same way. */
|
|
8815
8862
|
readonly compact: (sessionId: string, options: RcCompactOptions) => Promise<RcSessionCommandResult<RcCompactReport>>;
|
|
8863
|
+
/** A person's typed turn, routed the same way. */
|
|
8864
|
+
readonly turn: (sessionId: string, text: string, options: RcSessionCommandOptions) => Promise<RcSessionCommandResult<RcTurnReport>>;
|
|
8865
|
+
/** Which route those verbs would take for a session now, or why none would; read for every session the status read reports. */
|
|
8866
|
+
readonly routeOf: (sessionId: string) => Promise<RcSessionRoute>;
|
|
8816
8867
|
/** The client attachment's fan-out, whose events the subscription yields. */
|
|
8817
8868
|
readonly fanout: RcEventFanout;
|
|
8818
8869
|
}
|
|
@@ -8838,6 +8889,16 @@ declare function createRcApiRouter(deps: RcApiDeps): {
|
|
|
8838
8889
|
session: zod.ZodOptional<zod.ZodString>;
|
|
8839
8890
|
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
8840
8891
|
statuses: zod.ZodReadonly<zod.ZodArray<zod.ZodObject<{
|
|
8892
|
+
route: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
8893
|
+
route: zod.ZodEnum<{
|
|
8894
|
+
supervised: "supervised";
|
|
8895
|
+
launched: "launched";
|
|
8896
|
+
"self-hosted": "self-hosted";
|
|
8897
|
+
}>;
|
|
8898
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
8899
|
+
route: zod.ZodNull;
|
|
8900
|
+
refused: zod.ZodString;
|
|
8901
|
+
}, zod_v4_core.$strict>]>;
|
|
8841
8902
|
workerState: zod.ZodOptional<zod.ZodObject<{
|
|
8842
8903
|
value: zod.ZodString;
|
|
8843
8904
|
observedAt: zod.ZodNumber;
|
|
@@ -9057,6 +9118,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
|
|
|
9057
9118
|
session: zod.ZodString;
|
|
9058
9119
|
route: zod.ZodEnum<{
|
|
9059
9120
|
supervised: "supervised";
|
|
9121
|
+
launched: "launched";
|
|
9060
9122
|
"self-hosted": "self-hosted";
|
|
9061
9123
|
}>;
|
|
9062
9124
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -9070,6 +9132,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
|
|
|
9070
9132
|
session: zod.ZodString;
|
|
9071
9133
|
route: zod.ZodEnum<{
|
|
9072
9134
|
supervised: "supervised";
|
|
9135
|
+
launched: "launched";
|
|
9073
9136
|
"self-hosted": "self-hosted";
|
|
9074
9137
|
}>;
|
|
9075
9138
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -9081,6 +9144,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
|
|
|
9081
9144
|
session: zod.ZodString;
|
|
9082
9145
|
route: zod.ZodEnum<{
|
|
9083
9146
|
supervised: "supervised";
|
|
9147
|
+
launched: "launched";
|
|
9084
9148
|
"self-hosted": "self-hosted";
|
|
9085
9149
|
}>;
|
|
9086
9150
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -9094,6 +9158,7 @@ declare function createRcApiRouter(deps: RcApiDeps): {
|
|
|
9094
9158
|
session: zod.ZodString;
|
|
9095
9159
|
route: zod.ZodEnum<{
|
|
9096
9160
|
supervised: "supervised";
|
|
9161
|
+
launched: "launched";
|
|
9097
9162
|
"self-hosted": "self-hosted";
|
|
9098
9163
|
}>;
|
|
9099
9164
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -9108,6 +9173,20 @@ declare function createRcApiRouter(deps: RcApiDeps): {
|
|
|
9108
9173
|
session: zod.ZodString;
|
|
9109
9174
|
route: zod.ZodEnum<{
|
|
9110
9175
|
supervised: "supervised";
|
|
9176
|
+
launched: "launched";
|
|
9177
|
+
"self-hosted": "self-hosted";
|
|
9178
|
+
}>;
|
|
9179
|
+
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
9180
|
+
turn: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, zod.ZodObject<{
|
|
9181
|
+
session: zod.ZodString;
|
|
9182
|
+
text: zod.ZodString;
|
|
9183
|
+
waitMs: zod.ZodOptional<zod.ZodInt>;
|
|
9184
|
+
}, zod_v4_core.$strict>, zod.ZodObject<{
|
|
9185
|
+
uuid: zod.ZodString;
|
|
9186
|
+
session: zod.ZodString;
|
|
9187
|
+
route: zod.ZodEnum<{
|
|
9188
|
+
supervised: "supervised";
|
|
9189
|
+
launched: "launched";
|
|
9111
9190
|
"self-hosted": "self-hosted";
|
|
9112
9191
|
}>;
|
|
9113
9192
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -10299,7 +10378,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10299
10378
|
kind: zod.ZodLiteral<"profile">;
|
|
10300
10379
|
name: zod.ZodString;
|
|
10301
10380
|
value: zod.ZodObject<{
|
|
10302
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
10303
10381
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
10304
10382
|
value: zod.ZodBoolean;
|
|
10305
10383
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -10375,6 +10453,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10375
10453
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
10376
10454
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
10377
10455
|
}, zod_v4_core.$strict>]>>>;
|
|
10456
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
10378
10457
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
10379
10458
|
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
10380
10459
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -10463,10 +10542,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10463
10542
|
}>>;
|
|
10464
10543
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
10465
10544
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
10466
|
-
account: "account";
|
|
10467
10545
|
identity: "identity";
|
|
10468
10546
|
model: "model";
|
|
10469
10547
|
route: "route";
|
|
10548
|
+
account: "account";
|
|
10470
10549
|
provider: "provider";
|
|
10471
10550
|
version: "version";
|
|
10472
10551
|
headroom: "headroom";
|
|
@@ -10966,8 +11045,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
10966
11045
|
project: zod.ZodOptional<zod.ZodObject<{
|
|
10967
11046
|
pathLevels: zod.ZodOptional<zod.ZodEnum<{
|
|
10968
11047
|
full: "full";
|
|
10969
|
-
2: "2";
|
|
10970
11048
|
1: "1";
|
|
11049
|
+
2: "2";
|
|
10971
11050
|
3: "3";
|
|
10972
11051
|
}>>;
|
|
10973
11052
|
addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -11023,7 +11102,6 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11023
11102
|
kind: zod.ZodLiteral<"profile">;
|
|
11024
11103
|
name: zod.ZodString;
|
|
11025
11104
|
value: zod.ZodObject<{
|
|
11026
|
-
description: zod.ZodOptional<zod.ZodString>;
|
|
11027
11105
|
entries: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodObject<{
|
|
11028
11106
|
value: zod.ZodBoolean;
|
|
11029
11107
|
when: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -11099,6 +11177,7 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11099
11177
|
key: zod.ZodType<trilean.JsonValue, unknown, zod_v4_core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
11100
11178
|
}, zod_v4_core.$strip>], "kind">]>;
|
|
11101
11179
|
}, zod_v4_core.$strict>]>>>;
|
|
11180
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
11102
11181
|
models: zod.ZodOptional<zod.ZodObject<{
|
|
11103
11182
|
pickerLabelSpaces: zod.ZodOptional<zod.ZodBoolean>;
|
|
11104
11183
|
virtual: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -11187,10 +11266,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11187
11266
|
}>>;
|
|
11188
11267
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
11189
11268
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
11190
|
-
account: "account";
|
|
11191
11269
|
identity: "identity";
|
|
11192
11270
|
model: "model";
|
|
11193
11271
|
route: "route";
|
|
11272
|
+
account: "account";
|
|
11194
11273
|
provider: "provider";
|
|
11195
11274
|
version: "version";
|
|
11196
11275
|
headroom: "headroom";
|
|
@@ -11690,8 +11769,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
11690
11769
|
project: zod.ZodOptional<zod.ZodObject<{
|
|
11691
11770
|
pathLevels: zod.ZodOptional<zod.ZodEnum<{
|
|
11692
11771
|
full: "full";
|
|
11693
|
-
2: "2";
|
|
11694
11772
|
1: "1";
|
|
11773
|
+
2: "2";
|
|
11695
11774
|
3: "3";
|
|
11696
11775
|
}>>;
|
|
11697
11776
|
addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -12387,10 +12466,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12387
12466
|
}>>;
|
|
12388
12467
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
12389
12468
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
12390
|
-
account: "account";
|
|
12391
12469
|
identity: "identity";
|
|
12392
12470
|
model: "model";
|
|
12393
12471
|
route: "route";
|
|
12472
|
+
account: "account";
|
|
12394
12473
|
provider: "provider";
|
|
12395
12474
|
version: "version";
|
|
12396
12475
|
headroom: "headroom";
|
|
@@ -12890,8 +12969,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
12890
12969
|
project: zod.ZodOptional<zod.ZodObject<{
|
|
12891
12970
|
pathLevels: zod.ZodOptional<zod.ZodEnum<{
|
|
12892
12971
|
full: "full";
|
|
12893
|
-
2: "2";
|
|
12894
12972
|
1: "1";
|
|
12973
|
+
2: "2";
|
|
12895
12974
|
3: "3";
|
|
12896
12975
|
}>>;
|
|
12897
12976
|
addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -13168,10 +13247,10 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13168
13247
|
}>>;
|
|
13169
13248
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
13170
13249
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
13171
|
-
account: "account";
|
|
13172
13250
|
identity: "identity";
|
|
13173
13251
|
model: "model";
|
|
13174
13252
|
route: "route";
|
|
13253
|
+
account: "account";
|
|
13175
13254
|
provider: "provider";
|
|
13176
13255
|
version: "version";
|
|
13177
13256
|
headroom: "headroom";
|
|
@@ -13671,8 +13750,8 @@ declare function createConfigApiRouter(deps: ConfigApiDeps): {
|
|
|
13671
13750
|
project: zod.ZodOptional<zod.ZodObject<{
|
|
13672
13751
|
pathLevels: zod.ZodOptional<zod.ZodEnum<{
|
|
13673
13752
|
full: "full";
|
|
13674
|
-
2: "2";
|
|
13675
13753
|
1: "1";
|
|
13754
|
+
2: "2";
|
|
13676
13755
|
3: "3";
|
|
13677
13756
|
}>>;
|
|
13678
13757
|
addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -14185,10 +14264,10 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14185
14264
|
}>>;
|
|
14186
14265
|
layout: z.ZodOptional<z.ZodObject<{
|
|
14187
14266
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
14188
|
-
account: "account";
|
|
14189
14267
|
identity: "identity";
|
|
14190
14268
|
model: "model";
|
|
14191
14269
|
route: "route";
|
|
14270
|
+
account: "account";
|
|
14192
14271
|
provider: "provider";
|
|
14193
14272
|
version: "version";
|
|
14194
14273
|
headroom: "headroom";
|
|
@@ -14688,8 +14767,8 @@ declare const StatuslineSchema: z.ZodObject<{
|
|
|
14688
14767
|
project: z.ZodOptional<z.ZodObject<{
|
|
14689
14768
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
14690
14769
|
full: "full";
|
|
14691
|
-
2: "2";
|
|
14692
14770
|
1: "1";
|
|
14771
|
+
2: "2";
|
|
14693
14772
|
3: "3";
|
|
14694
14773
|
}>>;
|
|
14695
14774
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -14757,6 +14836,12 @@ interface SupervisedLaunch {
|
|
|
14757
14836
|
readonly settingsFile?: string;
|
|
14758
14837
|
}
|
|
14759
14838
|
|
|
14839
|
+
/** One staged control plugin as a launch uses it: the arguments that load it, and what removes it and its record. */
|
|
14840
|
+
interface StagedLaunchControl {
|
|
14841
|
+
readonly args: (args: readonly string[]) => readonly string[];
|
|
14842
|
+
readonly release: () => void;
|
|
14843
|
+
}
|
|
14844
|
+
|
|
14760
14845
|
/** The outcome of authenticating the listener a front-door state file names. */
|
|
14761
14846
|
type ListenerVerdict = {
|
|
14762
14847
|
readonly ok: true;
|
|
@@ -14886,6 +14971,8 @@ interface PrepareLaunchParams {
|
|
|
14886
14971
|
readonly hasStoredLogin?: (identity: string) => boolean;
|
|
14887
14972
|
/** 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. */
|
|
14888
14973
|
readonly hasUsableLogin?: (identity: string, claudeBin: string) => boolean | undefined;
|
|
14974
|
+
/** 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. */
|
|
14975
|
+
readonly stageControlPlugin?: () => StagedLaunchControl;
|
|
14889
14976
|
}
|
|
14890
14977
|
/** Inputs to `runLauncher`: a launch's inputs plus the port that spawns the child. */
|
|
14891
14978
|
interface RunLauncherParams extends PrepareLaunchParams {
|
|
@@ -15082,10 +15169,10 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15082
15169
|
}>>;
|
|
15083
15170
|
layout: zod.ZodOptional<zod.ZodObject<{
|
|
15084
15171
|
header: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
15085
|
-
account: "account";
|
|
15086
15172
|
identity: "identity";
|
|
15087
15173
|
model: "model";
|
|
15088
15174
|
route: "route";
|
|
15175
|
+
account: "account";
|
|
15089
15176
|
provider: "provider";
|
|
15090
15177
|
version: "version";
|
|
15091
15178
|
headroom: "headroom";
|
|
@@ -15585,8 +15672,8 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
15585
15672
|
project: zod.ZodOptional<zod.ZodObject<{
|
|
15586
15673
|
pathLevels: zod.ZodOptional<zod.ZodEnum<{
|
|
15587
15674
|
full: "full";
|
|
15588
|
-
2: "2";
|
|
15589
15675
|
1: "1";
|
|
15676
|
+
2: "2";
|
|
15590
15677
|
3: "3";
|
|
15591
15678
|
}>>;
|
|
15592
15679
|
addedDirsLayout: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -16829,10 +16916,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
16829
16916
|
}>>;
|
|
16830
16917
|
layout: z.ZodOptional<z.ZodObject<{
|
|
16831
16918
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
16832
|
-
account: "account";
|
|
16833
16919
|
identity: "identity";
|
|
16834
16920
|
model: "model";
|
|
16835
16921
|
route: "route";
|
|
16922
|
+
account: "account";
|
|
16836
16923
|
provider: "provider";
|
|
16837
16924
|
version: "version";
|
|
16838
16925
|
headroom: "headroom";
|
|
@@ -17332,8 +17419,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17332
17419
|
project: z.ZodOptional<z.ZodObject<{
|
|
17333
17420
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
17334
17421
|
full: "full";
|
|
17335
|
-
2: "2";
|
|
17336
17422
|
1: "1";
|
|
17423
|
+
2: "2";
|
|
17337
17424
|
3: "3";
|
|
17338
17425
|
}>>;
|
|
17339
17426
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -17644,7 +17731,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17644
17731
|
kind: z.ZodLiteral<"profile">;
|
|
17645
17732
|
name: z.ZodString;
|
|
17646
17733
|
value: z.ZodObject<{
|
|
17647
|
-
description: z.ZodOptional<z.ZodString>;
|
|
17648
17734
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
17649
17735
|
value: z.ZodBoolean;
|
|
17650
17736
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -17720,6 +17806,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17720
17806
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
17721
17807
|
}, z.core.$strip>], "kind">]>;
|
|
17722
17808
|
}, z.core.$strict>]>>>;
|
|
17809
|
+
description: z.ZodOptional<z.ZodString>;
|
|
17723
17810
|
models: z.ZodOptional<z.ZodObject<{
|
|
17724
17811
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
17725
17812
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -17808,10 +17895,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
17808
17895
|
}>>;
|
|
17809
17896
|
layout: z.ZodOptional<z.ZodObject<{
|
|
17810
17897
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
17811
|
-
account: "account";
|
|
17812
17898
|
identity: "identity";
|
|
17813
17899
|
model: "model";
|
|
17814
17900
|
route: "route";
|
|
17901
|
+
account: "account";
|
|
17815
17902
|
provider: "provider";
|
|
17816
17903
|
version: "version";
|
|
17817
17904
|
headroom: "headroom";
|
|
@@ -18311,8 +18398,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18311
18398
|
project: z.ZodOptional<z.ZodObject<{
|
|
18312
18399
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
18313
18400
|
full: "full";
|
|
18314
|
-
2: "2";
|
|
18315
18401
|
1: "1";
|
|
18402
|
+
2: "2";
|
|
18316
18403
|
3: "3";
|
|
18317
18404
|
}>>;
|
|
18318
18405
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -18368,7 +18455,6 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18368
18455
|
kind: z.ZodLiteral<"profile">;
|
|
18369
18456
|
name: z.ZodString;
|
|
18370
18457
|
value: z.ZodObject<{
|
|
18371
|
-
description: z.ZodOptional<z.ZodString>;
|
|
18372
18458
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
18373
18459
|
value: z.ZodBoolean;
|
|
18374
18460
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -18444,6 +18530,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18444
18530
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
18445
18531
|
}, z.core.$strip>], "kind">]>;
|
|
18446
18532
|
}, z.core.$strict>]>>>;
|
|
18533
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18447
18534
|
models: z.ZodOptional<z.ZodObject<{
|
|
18448
18535
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
18449
18536
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -18532,10 +18619,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
18532
18619
|
}>>;
|
|
18533
18620
|
layout: z.ZodOptional<z.ZodObject<{
|
|
18534
18621
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
18535
|
-
account: "account";
|
|
18536
18622
|
identity: "identity";
|
|
18537
18623
|
model: "model";
|
|
18538
18624
|
route: "route";
|
|
18625
|
+
account: "account";
|
|
18539
18626
|
provider: "provider";
|
|
18540
18627
|
version: "version";
|
|
18541
18628
|
headroom: "headroom";
|
|
@@ -19035,8 +19122,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19035
19122
|
project: z.ZodOptional<z.ZodObject<{
|
|
19036
19123
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
19037
19124
|
full: "full";
|
|
19038
|
-
2: "2";
|
|
19039
19125
|
1: "1";
|
|
19126
|
+
2: "2";
|
|
19040
19127
|
3: "3";
|
|
19041
19128
|
}>>;
|
|
19042
19129
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19732,10 +19819,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
19732
19819
|
}>>;
|
|
19733
19820
|
layout: z.ZodOptional<z.ZodObject<{
|
|
19734
19821
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19735
|
-
account: "account";
|
|
19736
19822
|
identity: "identity";
|
|
19737
19823
|
model: "model";
|
|
19738
19824
|
route: "route";
|
|
19825
|
+
account: "account";
|
|
19739
19826
|
provider: "provider";
|
|
19740
19827
|
version: "version";
|
|
19741
19828
|
headroom: "headroom";
|
|
@@ -20235,8 +20322,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20235
20322
|
project: z.ZodOptional<z.ZodObject<{
|
|
20236
20323
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
20237
20324
|
full: "full";
|
|
20238
|
-
2: "2";
|
|
20239
20325
|
1: "1";
|
|
20326
|
+
2: "2";
|
|
20240
20327
|
3: "3";
|
|
20241
20328
|
}>>;
|
|
20242
20329
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -20513,10 +20600,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
20513
20600
|
}>>;
|
|
20514
20601
|
layout: z.ZodOptional<z.ZodObject<{
|
|
20515
20602
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
20516
|
-
account: "account";
|
|
20517
20603
|
identity: "identity";
|
|
20518
20604
|
model: "model";
|
|
20519
20605
|
route: "route";
|
|
20606
|
+
account: "account";
|
|
20520
20607
|
provider: "provider";
|
|
20521
20608
|
version: "version";
|
|
20522
20609
|
headroom: "headroom";
|
|
@@ -21016,8 +21103,8 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21016
21103
|
project: z.ZodOptional<z.ZodObject<{
|
|
21017
21104
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
21018
21105
|
full: "full";
|
|
21019
|
-
2: "2";
|
|
21020
21106
|
1: "1";
|
|
21107
|
+
2: "2";
|
|
21021
21108
|
3: "3";
|
|
21022
21109
|
}>>;
|
|
21023
21110
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -21813,6 +21900,16 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
21813
21900
|
session: z.ZodOptional<z.ZodString>;
|
|
21814
21901
|
}, z.core.$strict>, z.ZodObject<{
|
|
21815
21902
|
statuses: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
21903
|
+
route: z.ZodUnion<readonly [z.ZodObject<{
|
|
21904
|
+
route: z.ZodEnum<{
|
|
21905
|
+
supervised: "supervised";
|
|
21906
|
+
launched: "launched";
|
|
21907
|
+
"self-hosted": "self-hosted";
|
|
21908
|
+
}>;
|
|
21909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21910
|
+
route: z.ZodNull;
|
|
21911
|
+
refused: z.ZodString;
|
|
21912
|
+
}, z.core.$strict>]>;
|
|
21816
21913
|
workerState: z.ZodOptional<z.ZodObject<{
|
|
21817
21914
|
value: z.ZodString;
|
|
21818
21915
|
observedAt: z.ZodNumber;
|
|
@@ -22032,6 +22129,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
22032
22129
|
session: z.ZodString;
|
|
22033
22130
|
route: z.ZodEnum<{
|
|
22034
22131
|
supervised: "supervised";
|
|
22132
|
+
launched: "launched";
|
|
22035
22133
|
"self-hosted": "self-hosted";
|
|
22036
22134
|
}>;
|
|
22037
22135
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -22045,6 +22143,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
22045
22143
|
session: z.ZodString;
|
|
22046
22144
|
route: z.ZodEnum<{
|
|
22047
22145
|
supervised: "supervised";
|
|
22146
|
+
launched: "launched";
|
|
22048
22147
|
"self-hosted": "self-hosted";
|
|
22049
22148
|
}>;
|
|
22050
22149
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -22056,6 +22155,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
22056
22155
|
session: z.ZodString;
|
|
22057
22156
|
route: z.ZodEnum<{
|
|
22058
22157
|
supervised: "supervised";
|
|
22158
|
+
launched: "launched";
|
|
22059
22159
|
"self-hosted": "self-hosted";
|
|
22060
22160
|
}>;
|
|
22061
22161
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -22069,6 +22169,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
22069
22169
|
session: z.ZodString;
|
|
22070
22170
|
route: z.ZodEnum<{
|
|
22071
22171
|
supervised: "supervised";
|
|
22172
|
+
launched: "launched";
|
|
22072
22173
|
"self-hosted": "self-hosted";
|
|
22073
22174
|
}>;
|
|
22074
22175
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -22083,6 +22184,20 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
22083
22184
|
session: z.ZodString;
|
|
22084
22185
|
route: z.ZodEnum<{
|
|
22085
22186
|
supervised: "supervised";
|
|
22187
|
+
launched: "launched";
|
|
22188
|
+
"self-hosted": "self-hosted";
|
|
22189
|
+
}>;
|
|
22190
|
+
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
22191
|
+
turn: _orpc_server.DecoratedProcedure<DoorApiContext & object, IntersectPick<TInitialContext, $OutContext>, z.ZodObject<{
|
|
22192
|
+
session: z.ZodString;
|
|
22193
|
+
text: z.ZodString;
|
|
22194
|
+
waitMs: z.ZodOptional<z.ZodInt>;
|
|
22195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
22196
|
+
uuid: z.ZodString;
|
|
22197
|
+
session: z.ZodString;
|
|
22198
|
+
route: z.ZodEnum<{
|
|
22199
|
+
supervised: "supervised";
|
|
22200
|
+
launched: "launched";
|
|
22086
22201
|
"self-hosted": "self-hosted";
|
|
22087
22202
|
}>;
|
|
22088
22203
|
}, z.core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
@@ -22373,7 +22488,6 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22373
22488
|
kind: z.ZodLiteral<"profile">;
|
|
22374
22489
|
name: z.ZodString;
|
|
22375
22490
|
value: z.ZodObject<{
|
|
22376
|
-
description: z.ZodOptional<z.ZodString>;
|
|
22377
22491
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
22378
22492
|
value: z.ZodBoolean;
|
|
22379
22493
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -22449,6 +22563,7 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22449
22563
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
22450
22564
|
}, z.core.$strip>], "kind">]>;
|
|
22451
22565
|
}, z.core.$strict>]>>>;
|
|
22566
|
+
description: z.ZodOptional<z.ZodString>;
|
|
22452
22567
|
models: z.ZodOptional<z.ZodObject<{
|
|
22453
22568
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
22454
22569
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -22537,10 +22652,10 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
22537
22652
|
}>>;
|
|
22538
22653
|
layout: z.ZodOptional<z.ZodObject<{
|
|
22539
22654
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22540
|
-
account: "account";
|
|
22541
22655
|
identity: "identity";
|
|
22542
22656
|
model: "model";
|
|
22543
22657
|
route: "route";
|
|
22658
|
+
account: "account";
|
|
22544
22659
|
provider: "provider";
|
|
22545
22660
|
version: "version";
|
|
22546
22661
|
headroom: "headroom";
|
|
@@ -23040,8 +23155,8 @@ declare const ConfigProfileAddOutputSchema: z.ZodObject<{
|
|
|
23040
23155
|
project: z.ZodOptional<z.ZodObject<{
|
|
23041
23156
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
23042
23157
|
full: "full";
|
|
23043
|
-
2: "2";
|
|
23044
23158
|
1: "1";
|
|
23159
|
+
2: "2";
|
|
23045
23160
|
3: "3";
|
|
23046
23161
|
}>>;
|
|
23047
23162
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -23099,7 +23214,6 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23099
23214
|
kind: z.ZodLiteral<"profile">;
|
|
23100
23215
|
name: z.ZodString;
|
|
23101
23216
|
value: z.ZodObject<{
|
|
23102
|
-
description: z.ZodOptional<z.ZodString>;
|
|
23103
23217
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
23104
23218
|
value: z.ZodBoolean;
|
|
23105
23219
|
when: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -23175,6 +23289,7 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23175
23289
|
key: z.ZodType<trilean.JsonValue, unknown, z.core.$ZodTypeInternals<trilean.JsonValue, unknown>>;
|
|
23176
23290
|
}, z.core.$strip>], "kind">]>;
|
|
23177
23291
|
}, z.core.$strict>]>>>;
|
|
23292
|
+
description: z.ZodOptional<z.ZodString>;
|
|
23178
23293
|
models: z.ZodOptional<z.ZodObject<{
|
|
23179
23294
|
pickerLabelSpaces: z.ZodOptional<z.ZodBoolean>;
|
|
23180
23295
|
virtual: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -23263,10 +23378,10 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23263
23378
|
}>>;
|
|
23264
23379
|
layout: z.ZodOptional<z.ZodObject<{
|
|
23265
23380
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23266
|
-
account: "account";
|
|
23267
23381
|
identity: "identity";
|
|
23268
23382
|
model: "model";
|
|
23269
23383
|
route: "route";
|
|
23384
|
+
account: "account";
|
|
23270
23385
|
provider: "provider";
|
|
23271
23386
|
version: "version";
|
|
23272
23387
|
headroom: "headroom";
|
|
@@ -23766,8 +23881,8 @@ declare const ConfigProfileSetOutputSchema: z.ZodObject<{
|
|
|
23766
23881
|
project: z.ZodOptional<z.ZodObject<{
|
|
23767
23882
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
23768
23883
|
full: "full";
|
|
23769
|
-
2: "2";
|
|
23770
23884
|
1: "1";
|
|
23885
|
+
2: "2";
|
|
23771
23886
|
3: "3";
|
|
23772
23887
|
}>>;
|
|
23773
23888
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -24465,10 +24580,10 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24465
24580
|
}>>;
|
|
24466
24581
|
layout: z.ZodOptional<z.ZodObject<{
|
|
24467
24582
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
24468
|
-
account: "account";
|
|
24469
24583
|
identity: "identity";
|
|
24470
24584
|
model: "model";
|
|
24471
24585
|
route: "route";
|
|
24586
|
+
account: "account";
|
|
24472
24587
|
provider: "provider";
|
|
24473
24588
|
version: "version";
|
|
24474
24589
|
headroom: "headroom";
|
|
@@ -24968,8 +25083,8 @@ declare const ConfigRuleAddOutputSchema: z.ZodObject<{
|
|
|
24968
25083
|
project: z.ZodOptional<z.ZodObject<{
|
|
24969
25084
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
24970
25085
|
full: "full";
|
|
24971
|
-
2: "2";
|
|
24972
25086
|
1: "1";
|
|
25087
|
+
2: "2";
|
|
24973
25088
|
3: "3";
|
|
24974
25089
|
}>>;
|
|
24975
25090
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -25248,10 +25363,10 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25248
25363
|
}>>;
|
|
25249
25364
|
layout: z.ZodOptional<z.ZodObject<{
|
|
25250
25365
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25251
|
-
account: "account";
|
|
25252
25366
|
identity: "identity";
|
|
25253
25367
|
model: "model";
|
|
25254
25368
|
route: "route";
|
|
25369
|
+
account: "account";
|
|
25255
25370
|
provider: "provider";
|
|
25256
25371
|
version: "version";
|
|
25257
25372
|
headroom: "headroom";
|
|
@@ -25751,8 +25866,8 @@ declare const ConfigRuleSetOutputSchema: z.ZodObject<{
|
|
|
25751
25866
|
project: z.ZodOptional<z.ZodObject<{
|
|
25752
25867
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
25753
25868
|
full: "full";
|
|
25754
|
-
2: "2";
|
|
25755
25869
|
1: "1";
|
|
25870
|
+
2: "2";
|
|
25756
25871
|
3: "3";
|
|
25757
25872
|
}>>;
|
|
25758
25873
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -25935,10 +26050,10 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
25935
26050
|
}>>;
|
|
25936
26051
|
layout: z.ZodOptional<z.ZodObject<{
|
|
25937
26052
|
header: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25938
|
-
account: "account";
|
|
25939
26053
|
identity: "identity";
|
|
25940
26054
|
model: "model";
|
|
25941
26055
|
route: "route";
|
|
26056
|
+
account: "account";
|
|
25942
26057
|
provider: "provider";
|
|
25943
26058
|
version: "version";
|
|
25944
26059
|
headroom: "headroom";
|
|
@@ -26438,8 +26553,8 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
26438
26553
|
project: z.ZodOptional<z.ZodObject<{
|
|
26439
26554
|
pathLevels: z.ZodOptional<z.ZodEnum<{
|
|
26440
26555
|
full: "full";
|
|
26441
|
-
2: "2";
|
|
26442
26556
|
1: "1";
|
|
26557
|
+
2: "2";
|
|
26443
26558
|
3: "3";
|
|
26444
26559
|
}>>;
|
|
26445
26560
|
addedDirsLayout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -26576,6 +26691,9 @@ declare function createQuotaExpiringPublisher(hub: DoorEventHub, deps: {
|
|
|
26576
26691
|
readonly nameOf: (id: string) => string | undefined;
|
|
26577
26692
|
}): QuotaExpiringPublisher;
|
|
26578
26693
|
|
|
26694
|
+
/** 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. */
|
|
26695
|
+
declare const RC_SESSION_COMMAND_VERIFIED_VERSIONS: readonly string[];
|
|
26696
|
+
|
|
26579
26697
|
/**
|
|
26580
26698
|
* 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.
|
|
26581
26699
|
*/
|
|
@@ -28625,4 +28743,4 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
|
|
|
28625
28743
|
declare function agentShimCliPath(distDir?: string | undefined): string;
|
|
28626
28744
|
|
|
28627
28745
|
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 };
|
|
28628
|
-
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, RcRegisteredSession, RcRegistryIdentity, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionCommandDeps, RcSessionCommandOptions, RcSessionCommandResult, RcSessionCommandRoute, RcSessionCommands, RcSessionEndReason, RcSessionEvent, RcSessionEventLog, RcSessionEventLogDeps, RcSessionEventsApiDeps, RcSessionEventsApiRouter, RcSessionEventsRead, RcSessionEventsReadInput, RcSessionRegistryDeps, RcSessionRegistryFs, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcSessionTransition, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcSupervisedTarget, 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 };
|
|
28746
|
+
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, 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 };
|