claude-use 9.15.0 → 9.16.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/README.md +1 -0
- package/dist/cli.cjs +31 -12
- package/dist/index.cjs +457 -71
- package/dist/index.mjs +444 -66
- package/dist/types/index.d.ts +169 -30
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1332,8 +1332,8 @@ declare const HeadroomGlobalConfigSchema: z.ZodObject<{
|
|
|
1332
1332
|
targetRatio: z.ZodOptional<z.ZodNumber>;
|
|
1333
1333
|
ccr: z.ZodOptional<z.ZodEnum<{
|
|
1334
1334
|
default: "default";
|
|
1335
|
-
lossless: "lossless";
|
|
1336
1335
|
none: "none";
|
|
1336
|
+
lossless: "lossless";
|
|
1337
1337
|
}>>;
|
|
1338
1338
|
rolloutChannel: z.ZodOptional<z.ZodEnum<{
|
|
1339
1339
|
beta: "beta";
|
|
@@ -1460,8 +1460,8 @@ declare const GlobalConfigSchema: z.ZodObject<{
|
|
|
1460
1460
|
targetRatio: z.ZodOptional<z.ZodNumber>;
|
|
1461
1461
|
ccr: z.ZodOptional<z.ZodEnum<{
|
|
1462
1462
|
default: "default";
|
|
1463
|
-
lossless: "lossless";
|
|
1464
1463
|
none: "none";
|
|
1464
|
+
lossless: "lossless";
|
|
1465
1465
|
}>>;
|
|
1466
1466
|
rolloutChannel: z.ZodOptional<z.ZodEnum<{
|
|
1467
1467
|
beta: "beta";
|
|
@@ -3911,12 +3911,12 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
3911
3911
|
identity: z.ZodObject<{
|
|
3912
3912
|
name: z.ZodNullable<z.ZodString>;
|
|
3913
3913
|
source: z.ZodEnum<{
|
|
3914
|
-
env: "env";
|
|
3915
|
-
none: "none";
|
|
3916
3914
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
3917
3915
|
argv: "argv";
|
|
3916
|
+
env: "env";
|
|
3918
3917
|
"directory-pin": "directory-pin";
|
|
3919
3918
|
"active-identity-file": "active-identity-file";
|
|
3919
|
+
none: "none";
|
|
3920
3920
|
}>;
|
|
3921
3921
|
}, z.core.$strict>;
|
|
3922
3922
|
pool: z.ZodOptional<z.ZodObject<{
|
|
@@ -3994,11 +3994,11 @@ declare const CheckReportJsonSchema: z.ZodObject<{
|
|
|
3994
3994
|
"category-default": "category-default";
|
|
3995
3995
|
}>;
|
|
3996
3996
|
category: z.ZodNullable<z.ZodEnum<{
|
|
3997
|
+
secret: "secret";
|
|
3997
3998
|
runtime: "runtime";
|
|
3998
3999
|
history: "history";
|
|
3999
4000
|
knowledge: "knowledge";
|
|
4000
4001
|
settings: "settings";
|
|
4001
|
-
secret: "secret";
|
|
4002
4002
|
}>>;
|
|
4003
4003
|
rule: z.ZodOptional<z.ZodObject<{
|
|
4004
4004
|
key: z.ZodString;
|
|
@@ -6567,9 +6567,9 @@ declare function createLifecycleApiRouter(deps: LifecycleApiDeps): {
|
|
|
6567
6567
|
current: zod.ZodString;
|
|
6568
6568
|
latest: zod.ZodString;
|
|
6569
6569
|
action: zod.ZodEnum<{
|
|
6570
|
-
updated: "updated";
|
|
6571
6570
|
current: "current";
|
|
6572
6571
|
available: "available";
|
|
6572
|
+
updated: "updated";
|
|
6573
6573
|
}>;
|
|
6574
6574
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
6575
6575
|
};
|
|
@@ -6816,12 +6816,12 @@ declare function createLaunchApiRouter(deps: LaunchApiDeps): {
|
|
|
6816
6816
|
decision: zod.ZodObject<{
|
|
6817
6817
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
6818
6818
|
identitySource: zod.ZodEnum<{
|
|
6819
|
-
env: "env";
|
|
6820
|
-
none: "none";
|
|
6821
6819
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
6822
6820
|
argv: "argv";
|
|
6821
|
+
env: "env";
|
|
6823
6822
|
"directory-pin": "directory-pin";
|
|
6824
6823
|
"active-identity-file": "active-identity-file";
|
|
6824
|
+
none: "none";
|
|
6825
6825
|
}>;
|
|
6826
6826
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
6827
6827
|
name: zod.ZodString;
|
|
@@ -7207,12 +7207,12 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7207
7207
|
identity: zod.ZodObject<{
|
|
7208
7208
|
name: zod.ZodNullable<zod.ZodString>;
|
|
7209
7209
|
source: zod.ZodEnum<{
|
|
7210
|
-
env: "env";
|
|
7211
|
-
none: "none";
|
|
7212
7210
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
7213
7211
|
argv: "argv";
|
|
7212
|
+
env: "env";
|
|
7214
7213
|
"directory-pin": "directory-pin";
|
|
7215
7214
|
"active-identity-file": "active-identity-file";
|
|
7215
|
+
none: "none";
|
|
7216
7216
|
}>;
|
|
7217
7217
|
}, zod_v4_core.$strict>;
|
|
7218
7218
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -7290,11 +7290,11 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7290
7290
|
"category-default": "category-default";
|
|
7291
7291
|
}>;
|
|
7292
7292
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
7293
|
+
secret: "secret";
|
|
7293
7294
|
runtime: "runtime";
|
|
7294
7295
|
history: "history";
|
|
7295
7296
|
knowledge: "knowledge";
|
|
7296
7297
|
settings: "settings";
|
|
7297
|
-
secret: "secret";
|
|
7298
7298
|
}>>;
|
|
7299
7299
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
7300
7300
|
key: zod.ZodString;
|
|
@@ -7513,11 +7513,10 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7513
7513
|
"global-config": "global-config";
|
|
7514
7514
|
"config-profile": "config-profile";
|
|
7515
7515
|
identity: "identity";
|
|
7516
|
-
keychain: "keychain";
|
|
7517
7516
|
provider: "provider";
|
|
7518
|
-
headroom: "headroom";
|
|
7519
7517
|
frontdoor: "frontdoor";
|
|
7520
7518
|
pool: "pool";
|
|
7519
|
+
keychain: "keychain";
|
|
7521
7520
|
"ambient-credential": "ambient-credential";
|
|
7522
7521
|
"binary-discovery": "binary-discovery";
|
|
7523
7522
|
"claude-shim": "claude-shim";
|
|
@@ -7527,6 +7526,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7527
7526
|
"directory-rules": "directory-rules";
|
|
7528
7527
|
"categories-local": "categories-local";
|
|
7529
7528
|
"active-identity": "active-identity";
|
|
7529
|
+
headroom: "headroom";
|
|
7530
7530
|
}>;
|
|
7531
7531
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
7532
7532
|
severity: zod.ZodEnum<{
|
|
@@ -7647,12 +7647,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
7647
7647
|
decision: zod.ZodObject<{
|
|
7648
7648
|
identity: zod.ZodOptional<zod.ZodString>;
|
|
7649
7649
|
identitySource: zod.ZodEnum<{
|
|
7650
|
-
env: "env";
|
|
7651
|
-
none: "none";
|
|
7652
7650
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
7653
7651
|
argv: "argv";
|
|
7652
|
+
env: "env";
|
|
7654
7653
|
"directory-pin": "directory-pin";
|
|
7655
7654
|
"active-identity-file": "active-identity-file";
|
|
7655
|
+
none: "none";
|
|
7656
7656
|
}>;
|
|
7657
7657
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
7658
7658
|
name: zod.ZodString;
|
|
@@ -9028,9 +9028,9 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9028
9028
|
current: zod.ZodString;
|
|
9029
9029
|
latest: zod.ZodString;
|
|
9030
9030
|
action: zod.ZodEnum<{
|
|
9031
|
-
updated: "updated";
|
|
9032
9031
|
current: "current";
|
|
9033
9032
|
available: "available";
|
|
9033
|
+
updated: "updated";
|
|
9034
9034
|
}>;
|
|
9035
9035
|
}, zod_v4_core.$strict>, MergedErrorMap<$ErrorMap, TErrorMap>>;
|
|
9036
9036
|
};
|
|
@@ -9229,12 +9229,12 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9229
9229
|
identity: zod.ZodObject<{
|
|
9230
9230
|
name: zod.ZodNullable<zod.ZodString>;
|
|
9231
9231
|
source: zod.ZodEnum<{
|
|
9232
|
-
env: "env";
|
|
9233
|
-
none: "none";
|
|
9234
9232
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
9235
9233
|
argv: "argv";
|
|
9234
|
+
env: "env";
|
|
9236
9235
|
"directory-pin": "directory-pin";
|
|
9237
9236
|
"active-identity-file": "active-identity-file";
|
|
9237
|
+
none: "none";
|
|
9238
9238
|
}>;
|
|
9239
9239
|
}, zod_v4_core.$strict>;
|
|
9240
9240
|
pool: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -9312,11 +9312,11 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9312
9312
|
"category-default": "category-default";
|
|
9313
9313
|
}>;
|
|
9314
9314
|
category: zod.ZodNullable<zod.ZodEnum<{
|
|
9315
|
+
secret: "secret";
|
|
9315
9316
|
runtime: "runtime";
|
|
9316
9317
|
history: "history";
|
|
9317
9318
|
knowledge: "knowledge";
|
|
9318
9319
|
settings: "settings";
|
|
9319
|
-
secret: "secret";
|
|
9320
9320
|
}>>;
|
|
9321
9321
|
rule: zod.ZodOptional<zod.ZodObject<{
|
|
9322
9322
|
key: zod.ZodString;
|
|
@@ -9535,11 +9535,10 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9535
9535
|
"global-config": "global-config";
|
|
9536
9536
|
"config-profile": "config-profile";
|
|
9537
9537
|
identity: "identity";
|
|
9538
|
-
keychain: "keychain";
|
|
9539
9538
|
provider: "provider";
|
|
9540
|
-
headroom: "headroom";
|
|
9541
9539
|
frontdoor: "frontdoor";
|
|
9542
9540
|
pool: "pool";
|
|
9541
|
+
keychain: "keychain";
|
|
9543
9542
|
"ambient-credential": "ambient-credential";
|
|
9544
9543
|
"binary-discovery": "binary-discovery";
|
|
9545
9544
|
"claude-shim": "claude-shim";
|
|
@@ -9549,6 +9548,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9549
9548
|
"directory-rules": "directory-rules";
|
|
9550
9549
|
"categories-local": "categories-local";
|
|
9551
9550
|
"active-identity": "active-identity";
|
|
9551
|
+
headroom: "headroom";
|
|
9552
9552
|
}>;
|
|
9553
9553
|
subject: zod.ZodOptional<zod.ZodString>;
|
|
9554
9554
|
severity: zod.ZodEnum<{
|
|
@@ -11381,11 +11381,10 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
11381
11381
|
"global-config": "global-config";
|
|
11382
11382
|
"config-profile": "config-profile";
|
|
11383
11383
|
identity: "identity";
|
|
11384
|
-
keychain: "keychain";
|
|
11385
11384
|
provider: "provider";
|
|
11386
|
-
headroom: "headroom";
|
|
11387
11385
|
frontdoor: "frontdoor";
|
|
11388
11386
|
pool: "pool";
|
|
11387
|
+
keychain: "keychain";
|
|
11389
11388
|
"ambient-credential": "ambient-credential";
|
|
11390
11389
|
"binary-discovery": "binary-discovery";
|
|
11391
11390
|
"claude-shim": "claude-shim";
|
|
@@ -11395,6 +11394,7 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
11395
11394
|
"directory-rules": "directory-rules";
|
|
11396
11395
|
"categories-local": "categories-local";
|
|
11397
11396
|
"active-identity": "active-identity";
|
|
11397
|
+
headroom: "headroom";
|
|
11398
11398
|
}>;
|
|
11399
11399
|
subject: z.ZodOptional<z.ZodString>;
|
|
11400
11400
|
severity: z.ZodEnum<{
|
|
@@ -11412,11 +11412,10 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
11412
11412
|
"global-config": "global-config";
|
|
11413
11413
|
"config-profile": "config-profile";
|
|
11414
11414
|
identity: "identity";
|
|
11415
|
-
keychain: "keychain";
|
|
11416
11415
|
provider: "provider";
|
|
11417
|
-
headroom: "headroom";
|
|
11418
11416
|
frontdoor: "frontdoor";
|
|
11419
11417
|
pool: "pool";
|
|
11418
|
+
keychain: "keychain";
|
|
11420
11419
|
"ambient-credential": "ambient-credential";
|
|
11421
11420
|
"binary-discovery": "binary-discovery";
|
|
11422
11421
|
"claude-shim": "claude-shim";
|
|
@@ -11426,6 +11425,7 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
11426
11425
|
"directory-rules": "directory-rules";
|
|
11427
11426
|
"categories-local": "categories-local";
|
|
11428
11427
|
"active-identity": "active-identity";
|
|
11428
|
+
headroom: "headroom";
|
|
11429
11429
|
}>;
|
|
11430
11430
|
subject: z.ZodOptional<z.ZodString>;
|
|
11431
11431
|
severity: z.ZodEnum<{
|
|
@@ -11446,9 +11446,9 @@ declare const UpdateCheckOutputSchema: z.ZodObject<{
|
|
|
11446
11446
|
current: z.ZodString;
|
|
11447
11447
|
latest: z.ZodString;
|
|
11448
11448
|
action: z.ZodEnum<{
|
|
11449
|
-
updated: "updated";
|
|
11450
11449
|
current: "current";
|
|
11451
11450
|
available: "available";
|
|
11451
|
+
updated: "updated";
|
|
11452
11452
|
}>;
|
|
11453
11453
|
}, z.core.$strict>;
|
|
11454
11454
|
/** The Sign in with ChatGPT login's state as `codex status` reports it: no sign-in yet, signed in (with who, whether the plan scope was granted, and when the access token lapses), or a file that cannot be read. */
|
|
@@ -11498,12 +11498,12 @@ declare const LaunchResolveOutputSchema: z.ZodObject<{
|
|
|
11498
11498
|
decision: z.ZodObject<{
|
|
11499
11499
|
identity: z.ZodOptional<z.ZodString>;
|
|
11500
11500
|
identitySource: z.ZodEnum<{
|
|
11501
|
-
env: "env";
|
|
11502
|
-
none: "none";
|
|
11503
11501
|
"config-dir-escape-hatch": "config-dir-escape-hatch";
|
|
11504
11502
|
argv: "argv";
|
|
11503
|
+
env: "env";
|
|
11505
11504
|
"directory-pin": "directory-pin";
|
|
11506
11505
|
"active-identity-file": "active-identity-file";
|
|
11506
|
+
none: "none";
|
|
11507
11507
|
}>;
|
|
11508
11508
|
pool: z.ZodOptional<z.ZodObject<{
|
|
11509
11509
|
name: z.ZodString;
|
|
@@ -12182,6 +12182,145 @@ declare function collectPoolPick(params: Readonly<{
|
|
|
12182
12182
|
nowMs: number;
|
|
12183
12183
|
}>): PoolPickReport;
|
|
12184
12184
|
|
|
12185
|
+
/**
|
|
12186
|
+
* The agent tree of one session as the reader returns it, and the shape of the meta file it reads. One definition each, so the type, the validator and the published JSON Schema (`schema/AgentTree.schema.json`) cannot drift. The on-disk layout is documented in `docs/agent-transcripts.md`; it belongs to Claude Code and has changed across versions, which is why the meta file is read leniently and the tree this module returns is strict.
|
|
12187
|
+
*/
|
|
12188
|
+
/**
|
|
12189
|
+
* One subagent's `.meta.json`. `agentType` is the one field every version writes; the rest appear only for the kinds and versions that write them, and a version this schema has never seen may add more, so unknown keys are kept rather than rejected.
|
|
12190
|
+
*/
|
|
12191
|
+
declare const AgentMetaSchema: z.ZodObject<{
|
|
12192
|
+
agentType: z.ZodString;
|
|
12193
|
+
isFork: z.ZodOptional<z.ZodBoolean>;
|
|
12194
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12195
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12196
|
+
toolUseId: z.ZodOptional<z.ZodString>;
|
|
12197
|
+
spawnDepth: z.ZodOptional<z.ZodNumber>;
|
|
12198
|
+
parentAgentId: z.ZodOptional<z.ZodString>;
|
|
12199
|
+
model: z.ZodOptional<z.ZodString>;
|
|
12200
|
+
requestShape: z.ZodOptional<z.ZodString>;
|
|
12201
|
+
requestNonInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
12202
|
+
workflowPhase: z.ZodOptional<z.ZodString>;
|
|
12203
|
+
taskKind: z.ZodOptional<z.ZodString>;
|
|
12204
|
+
teamName: z.ZodOptional<z.ZodString>;
|
|
12205
|
+
worktreePath: z.ZodOptional<z.ZodString>;
|
|
12206
|
+
worktreeBranch: z.ZodOptional<z.ZodString>;
|
|
12207
|
+
stoppedByUser: z.ZodOptional<z.ZodBoolean>;
|
|
12208
|
+
}, z.core.$loose>;
|
|
12209
|
+
/** What kind of agent a node is, derived from its meta file: a fork inherits its parent's context, a workflow agent was spawned by a workflow run, a teammate belongs to a team. */
|
|
12210
|
+
declare const AgentKindSchema: z.ZodEnum<{
|
|
12211
|
+
subagent: "subagent";
|
|
12212
|
+
fork: "fork";
|
|
12213
|
+
"workflow-agent": "workflow-agent";
|
|
12214
|
+
teammate: "teammate";
|
|
12215
|
+
}>;
|
|
12216
|
+
/** One agent in a session's tree. `children` holds the agents it spawned. */
|
|
12217
|
+
interface AgentNode {
|
|
12218
|
+
/** The stem after `agent-` in its file names, which for an unnamed agent is the `task_id` Remote Control reports for it. */
|
|
12219
|
+
readonly id: string;
|
|
12220
|
+
readonly kind: z.infer<typeof AgentKindSchema>;
|
|
12221
|
+
readonly agentType: string;
|
|
12222
|
+
readonly description?: string;
|
|
12223
|
+
readonly name?: string;
|
|
12224
|
+
/** The `tool_use` block in the parent's transcript that spawned this agent. */
|
|
12225
|
+
readonly toolUseId?: string;
|
|
12226
|
+
readonly spawnDepth?: number;
|
|
12227
|
+
/** The model the spawn recorded: an alias or `inherit` as often as a concrete id, and not necessarily the model that served the agent's requests. */
|
|
12228
|
+
readonly model?: string;
|
|
12229
|
+
readonly background?: boolean;
|
|
12230
|
+
/** The workflow run this agent belongs to, when it was spawned by one. */
|
|
12231
|
+
readonly workflowRunId?: string;
|
|
12232
|
+
readonly workflowPhase?: string;
|
|
12233
|
+
readonly teamName?: string;
|
|
12234
|
+
readonly stoppedByUser?: boolean;
|
|
12235
|
+
/** The agent's transcript, relative to the identity's configuration directory. */
|
|
12236
|
+
readonly transcript: string;
|
|
12237
|
+
readonly children: readonly AgentNode[];
|
|
12238
|
+
}
|
|
12239
|
+
/** The node schema, written out so the recursive `children` field has a lazy reference to itself. */
|
|
12240
|
+
declare const AgentNodeSchema: z.ZodType<AgentNode>;
|
|
12241
|
+
/** One entry of a task list: the session's own (`tasks/<session-id>/<n>.json`, or `tasks/session-<first-eight-characters>/<n>.json` in current versions) or a shared one (`tasks/<list-id>/<n>.json`), a team's or one named by `CLAUDE_CODE_TASK_LIST_ID`. `status` is an open string: non-standard values occur. */
|
|
12242
|
+
declare const TaskItemSchema: z.ZodObject<{
|
|
12243
|
+
id: z.ZodString;
|
|
12244
|
+
subject: z.ZodString;
|
|
12245
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12246
|
+
status: z.ZodString;
|
|
12247
|
+
activeForm: z.ZodOptional<z.ZodString>;
|
|
12248
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
12249
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12250
|
+
blocks: z.ZodArray<z.ZodString>;
|
|
12251
|
+
blockedBy: z.ZodArray<z.ZodString>;
|
|
12252
|
+
taskList: z.ZodOptional<z.ZodString>;
|
|
12253
|
+
}, z.core.$strict>;
|
|
12254
|
+
/** One workflow run's record (`workflows/wf_<run-id>.json`), narrowed to what identifies and summarises it. */
|
|
12255
|
+
declare const WorkflowRunSchema: z.ZodObject<{
|
|
12256
|
+
runId: z.ZodString;
|
|
12257
|
+
workflowName: z.ZodOptional<z.ZodString>;
|
|
12258
|
+
status: z.ZodOptional<z.ZodString>;
|
|
12259
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
12260
|
+
phases: z.ZodArray<z.ZodString>;
|
|
12261
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
12262
|
+
}, z.core.$strict>;
|
|
12263
|
+
/** The whole picture of one session's agents, tasks and workflow runs. */
|
|
12264
|
+
declare const SessionAgentTreeSchema: z.ZodObject<{
|
|
12265
|
+
project: z.ZodString;
|
|
12266
|
+
sessionId: z.ZodString;
|
|
12267
|
+
superseded: z.ZodBoolean;
|
|
12268
|
+
agents: z.ZodArray<z.ZodType<AgentNode, unknown, z.core.$ZodTypeInternals<AgentNode, unknown>>>;
|
|
12269
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
12270
|
+
id: z.ZodString;
|
|
12271
|
+
subject: z.ZodString;
|
|
12272
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12273
|
+
status: z.ZodString;
|
|
12274
|
+
activeForm: z.ZodOptional<z.ZodString>;
|
|
12275
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
12276
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12277
|
+
blocks: z.ZodArray<z.ZodString>;
|
|
12278
|
+
blockedBy: z.ZodArray<z.ZodString>;
|
|
12279
|
+
taskList: z.ZodOptional<z.ZodString>;
|
|
12280
|
+
}, z.core.$strict>>;
|
|
12281
|
+
workflowRuns: z.ZodArray<z.ZodObject<{
|
|
12282
|
+
runId: z.ZodString;
|
|
12283
|
+
workflowName: z.ZodOptional<z.ZodString>;
|
|
12284
|
+
status: z.ZodOptional<z.ZodString>;
|
|
12285
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
12286
|
+
phases: z.ZodArray<z.ZodString>;
|
|
12287
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
12288
|
+
}, z.core.$strict>>;
|
|
12289
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
12290
|
+
path: z.ZodString;
|
|
12291
|
+
reason: z.ZodString;
|
|
12292
|
+
}, z.core.$strict>>;
|
|
12293
|
+
}, z.core.$strict>;
|
|
12294
|
+
type AgentKind = z.output<typeof AgentKindSchema>;
|
|
12295
|
+
type TaskItem = z.output<typeof TaskItemSchema>;
|
|
12296
|
+
type WorkflowRun = z.output<typeof WorkflowRunSchema>;
|
|
12297
|
+
type SessionAgentTree = z.output<typeof SessionAgentTreeSchema>;
|
|
12298
|
+
|
|
12299
|
+
/**
|
|
12300
|
+
* The agent tree reader: pure over an injected filesystem, so the CLI, the library surface and tests read the same way, and nothing here writes. The layout it reads is documented in `docs/agent-transcripts.md`.
|
|
12301
|
+
*/
|
|
12302
|
+
/** The filesystem reads the agent tree reader needs. */
|
|
12303
|
+
type AgentReadFs = Pick<FarmFs, "readFileUtf8" | "readdir">;
|
|
12304
|
+
/** One session found under a project: its directory name split into the session id and whether the entry is an archived copy (superseded by a resume, or orphaned) rather than the live session. */
|
|
12305
|
+
interface SessionRef {
|
|
12306
|
+
readonly project: string;
|
|
12307
|
+
readonly sessionId: string;
|
|
12308
|
+
readonly superseded: boolean;
|
|
12309
|
+
/** The directory (and transcript stem) name exactly as on disk, which differs from `sessionId` for an archived copy. */
|
|
12310
|
+
readonly entry: string;
|
|
12311
|
+
}
|
|
12312
|
+
/** Lists every session under every project: a transcript file, or a directory holding agents or workflow runs. Sorted by project then entry so output is stable. */
|
|
12313
|
+
declare function listSessions(fs: AgentReadFs, configDir: string): readonly SessionRef[];
|
|
12314
|
+
/** What a caller knows about a session that the disk does not record. */
|
|
12315
|
+
interface ReadSessionOptions {
|
|
12316
|
+
/** Task lists the session was pointed at with `CLAUDE_CODE_TASK_LIST_ID`, which is a property of the process environment and is written nowhere in the session's files. Each is read from `tasks/<id>` and its tasks carry the id as `taskList`. */
|
|
12317
|
+
readonly taskListIds?: readonly string[];
|
|
12318
|
+
}
|
|
12319
|
+
/**
|
|
12320
|
+
* Reads one session's agents, task list and workflow runs. Every file that cannot be used is listed in `problems` with the reason; a missing directory is simply an empty section, because a session that never spawned an agent has none.
|
|
12321
|
+
*/
|
|
12322
|
+
declare function readSessionAgentTree(fs: AgentReadFs, configDir: string, ref: SessionRef, options?: Readonly<ReadSessionOptions>): SessionAgentTree;
|
|
12323
|
+
|
|
12185
12324
|
/** One quota window's pool-selection facts, in the units a policy reads: fractions of the window, and hours until it resets. */
|
|
12186
12325
|
interface PoolWindowFacts {
|
|
12187
12326
|
/** The fraction of the window still unused, between zero and one. */
|
|
@@ -12820,5 +12959,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
|
|
|
12820
12959
|
*/
|
|
12821
12960
|
declare function agentShimCliPath(distDir?: string | undefined): string;
|
|
12822
12961
|
|
|
12823
|
-
export { AMBIENT_CREDENTIAL_VARS, 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, 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, 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, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, 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_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, 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_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, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, listDirectoryRules, listIdentities, listProfiles, listProviders, listUsageSnapshots, matchBranch, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, 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, setPool, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, writeDirectoryRules };
|
|
12824
|
-
export type { AddDirectoryRuleOptions, AddProviderInput, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, 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, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolMember, PoolPickReport, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation };
|
|
12962
|
+
export { AMBIENT_CREDENTIAL_VARS, AgentKindSchema, AgentMetaSchema, AgentNodeSchema, 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, 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, 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, LaunchLifecycleEventSchema, LaunchRefusedError, LaunchResolveInputSchema, LaunchResolveOutputSchema, LegacyProviderFileError, 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_IDLE_EXPIRY_MS, RC_ORPC_PATH_PREFIX, RC_PENDING_DEADLINE_MS, 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_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, RcStreamEnvelopeSchema, RcStreamEventSchema, ResetRowSchema, ResetScheduleSchema, SessionAgentTreeSchema, TaskItemSchema, USAGE_EVENT_SOURCE, UpdateCheckOutputSchema, UsageError, UsageListOutputSchema, UsageLiveOutputSchema, UsageSnapshotError, UsageSnapshotSchema, UsageWindowsInputSchema, UsageWindowsOutputSchema, WhenSchema, WorkflowRunSchema, addDirectoryRule, addIdentity, addPool, addProvider, agentShimCliPath, answerRcControlRequest, authenticateRcSessionMcpServer, buildEntryFacts, buildLayoutPaths, buildRcControlRequestPayload, buildRcControlResponsePayload, buildRcEndSessionPayload, buildRcEventWriteBody, buildRcFileSuggestionsPayload, buildRcGetContextUsagePayload, buildRcGetUsagePayload, buildRcInterruptPayload, buildRcKeepAlivePayload, buildRcMarkReadBody, buildRcMcpAuthenticatePayload, buildRcMcpOAuthCallbackUrlPayload, buildRcMcpReconnectPayload, buildRcMcpStatusPayload, buildRcReadFilePayload, buildRcSetModelPayload, buildRcSetPermissionModePayload, buildRcUserMessagePayload, carryOver, checkReportHasWarnings, checkReportToJson, collectCheckReport, collectDoctorReport, collectFrontDoorStatus, collectPoolPick, collectResets, createCodexApiRouter, createConfigApiRouter, createControlApiRouter, createDoorApiNodeHandler, createDoorApiRouter, createDoorEventHub, createDoorHealthPublisher, createEventsApiRouter, createLaunchApiRouter, createLaunchEventPublisher, createLeafCache, createLifecycleApiRouter, createProfile, createQuotaExpiringPublisher, createRcApiNodeHandler, createRcApiRouter, createRcControlHandler, createRcCredentialStore, createRcEventFanout, createRcLiveUsage, createRcSelfHostSurface, createRcSessionTracker, createRcStreamHub, createSseParser, describeProviderEndpoint, detectAmbientCredential, doorApiAuth, doorApiNodeHandlerOf, effectiveWindow, endRcSession, ensureCa, ensureFrontDoor, ensureHeadroom, evaluateAmbientCredentialGuard, evaluateWhen, fetchThroughWebProxy, formatAmbientCredentialGuardMessage, formatCheckReport, formatDoctorReport, formatFrontDoorStatus, forwardableHeaders, frontDoorApiClient, frontDoorApiFromState, frontDoorApiLink, frontDoorRcApiClient, frontDoorRcControl, generateCa, getRcSessionContextUsage, getRcSessionMcpStatus, getRcSessionUsage, headroomSocketTarget, identityExists, injectRcUserMessage, interruptRcSession, isIdentityDirectoryName, isInterceptedHost, isPrivateAddress, isRcContextUsageDetail, isRcPermissionMode, isRcReadFileEncoding, lateRcEventDial, lateRcStreamDial, listDirectoryRules, listIdentities, listProfiles, listProviders, listSessions, listUsageSnapshots, matchBranch, mintLeaf, mintRcSelfHostCredential, observingRoutedRoute, parseConnectTarget, parseRcStreamEnvelope, planOf, poolIdentities, poolSelectedByLaunch, prepareClaudeLaunch, prepareLaunch, profileExists, providerExists, rankPool, rcEventWriteResultFromAnswer, rcFanoutOnDoorHub, rcObserverAsPassthrough, rcRateLimitInfoOf, rcSelfHostFromEnv, rcWebFetchAllowsPrivateFromEnv, readActiveIdentity, readCodexAccount, readCodexRateLimits, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readSessionAgentTree, readUsageSnapshot, realCodexAppServerPort, realConnectCertStore, realConnectEffects, realRcControlTransport, realRcEventDial, realRcStreamDial, realRcWebFetch, 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, setPool, setProfileCategories, setProfileEntries, setProfileLaunchFlags, setProfileMetadata, setRcSessionModel, setRcSessionPermissionMode, snapshotPath, spawnClaude, startConnectServer, submitRcSessionMcpOAuthCallbackUrl, suggestRcSessionFiles, teleportRcSession, topLevelNames, updateDirectoryRule, updateProvider, useIdentity, watchedInstallEntry, writeDirectoryRules };
|
|
12963
|
+
export type { AddDirectoryRuleOptions, AddProviderInput, AgentKind, AgentNode, AgentReadFs, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, 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, InjectedCredential, LaunchApiDeps, LaunchApiRouter, LaunchDecision, LaunchEventPublisher, LaunchLifecycleEvent, LaunchPlan, LaunchPoolDecision, LaunchResolution, LaunchSelection, Layer, LayerId, LayoutPaths, LeafCert, LifecycleApiClient, LifecycleApiDeps, LifecycleApiRouter, NestedContribution, OwnExecutableStat, PlanClass, Pool, PoolMember, PoolPickReport, PoolRanking, PortableConfig, PrepareClaudeLaunchOptions, PrepareLaunchParams, ProfileListEntry, Provider, ProviderListEntry, QuotaExpiringEvent, QuotaExpiringPublisher, RankPoolInput, RcAnswerDecision, RcAnswerDeps, RcApiClient, RcApiDeps, RcApiRouter, RcContextUsageDetail, RcControlAnswer, RcControlHandlerDeps, RcControlRequestDeps, RcControlTransport, RcCredentialStore, RcDialAnswer, RcDialTarget, RcEventDial, RcEventFanout, RcEventWriteResult, RcExchangeObserver, RcInjectDeps, RcLiveRateLimit, RcLiveUsage, RcLiveUsageDeps, RcObservedCredential, RcObservedRequest, RcPendingRequestSummary, RcPermissionMode, RcPresenceAnswer, RcRateLimitInfo, RcRateLimitWindow, RcReadFileEncoding, RcReadFileOptions, RcSelfHostCredentialRecord, RcSelfHostDeps, RcSelfHostMintResult, RcSelfHostSurface, RcSessionStatus, RcSessionSummary, RcSessionTracker, RcSessionTrackerDeps, RcStreamAnswer, RcStreamDial, RcStreamEnvelope, RcStreamEvent, RcStreamHub, RcStreamHubDeps, RcWebFetchDeps, RcWebFetchHop, RcWebFetchOutcome, RcWebFetcher, RcWorkerFact, RcWriteHeaders, ReadSessionOptions, RecoverFarmParams, RecoveryResult, RefreshLaunchPoolUsageOptions, RefreshPoolUsageParams, RefreshStalePoolMembersParams, ResetRow, ResetSchedule, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SessionAgentTree, SessionRef, 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": "claude-use",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.16.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>",
|