claude-use 9.7.2 → 9.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +418 -367
- package/dist/index.cjs +890 -597
- package/dist/index.mjs +875 -592
- package/dist/types/index.d.ts +144 -3
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -3712,6 +3712,141 @@ declare function frontDoorApiLink(port: number, ca: string, token: string): RPCL
|
|
|
3712
3712
|
/** Builds the typed API's client for the door's provider listener: the same address, CA and per-generation control token the bespoke control client uses. */
|
|
3713
3713
|
declare function frontDoorRcApiClient(port: number, ca: string, token: string): RcApiClient;
|
|
3714
3714
|
|
|
3715
|
+
/**
|
|
3716
|
+
* The Codex release whose app-server protocol these schemas were written against. The shapes are the stable surface of `codex app-server generate-json-schema` (the `account/read` and `account/rateLimits/read` methods and the `initialize` handshake), checked against that release's output. A different installed release is not refused for being different: the answer is validated against these schemas, and a mismatch is reported naming both versions.
|
|
3717
|
+
*/
|
|
3718
|
+
declare const CODEX_APP_SERVER_GENERATED_AGAINST = "0.160.0";
|
|
3719
|
+
/** The answer to `account/read`: the login, or none, and whether Codex needs one before it can serve requests. */
|
|
3720
|
+
declare const CodexAccountReadSchema: z.ZodObject<{
|
|
3721
|
+
account: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3722
|
+
type: z.ZodLiteral<"apiKey">;
|
|
3723
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3724
|
+
type: z.ZodLiteral<"chatgpt">;
|
|
3725
|
+
email: z.ZodNullable<z.ZodString>;
|
|
3726
|
+
planType: z.ZodString;
|
|
3727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3728
|
+
type: z.ZodLiteral<"amazonBedrock">;
|
|
3729
|
+
usesCodexManagedCredentials: z.ZodDefault<z.ZodBoolean>;
|
|
3730
|
+
}, z.core.$strip>], "type">>;
|
|
3731
|
+
requiresOpenaiAuth: z.ZodBoolean;
|
|
3732
|
+
}, z.core.$strip>;
|
|
3733
|
+
/** The answer to `account/rateLimits/read`: the windows (the single-bucket view and the view by metered limit id) and the banked reset credits. */
|
|
3734
|
+
declare const CodexRateLimitsReadSchema: z.ZodObject<{
|
|
3735
|
+
rateLimits: z.ZodObject<{
|
|
3736
|
+
limitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3737
|
+
limitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3738
|
+
planType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3739
|
+
primary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3740
|
+
usedPercent: z.ZodNumber;
|
|
3741
|
+
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3742
|
+
windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3743
|
+
}, z.core.$strip>>>;
|
|
3744
|
+
secondary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3745
|
+
usedPercent: z.ZodNumber;
|
|
3746
|
+
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3747
|
+
windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3748
|
+
}, z.core.$strip>>>;
|
|
3749
|
+
rateLimitReachedType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3750
|
+
spendControlReached: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3751
|
+
}, z.core.$strip>;
|
|
3752
|
+
rateLimitsByLimitId: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3753
|
+
limitId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3754
|
+
limitName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3755
|
+
planType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3756
|
+
primary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3757
|
+
usedPercent: z.ZodNumber;
|
|
3758
|
+
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3759
|
+
windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3760
|
+
}, z.core.$strip>>>;
|
|
3761
|
+
secondary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3762
|
+
usedPercent: z.ZodNumber;
|
|
3763
|
+
resetsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3764
|
+
windowDurationMins: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3765
|
+
}, z.core.$strip>>>;
|
|
3766
|
+
rateLimitReachedType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3767
|
+
spendControlReached: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3768
|
+
}, z.core.$strip>>>>;
|
|
3769
|
+
rateLimitResetCredits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3770
|
+
availableCount: z.ZodNumber;
|
|
3771
|
+
credits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3772
|
+
id: z.ZodString;
|
|
3773
|
+
grantedAt: z.ZodNumber;
|
|
3774
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3775
|
+
resetType: z.ZodString;
|
|
3776
|
+
status: z.ZodString;
|
|
3777
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3778
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3779
|
+
}, z.core.$strip>>>>;
|
|
3780
|
+
}, z.core.$strip>>>;
|
|
3781
|
+
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3782
|
+
ordinaryUsageAllowed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3783
|
+
}, z.core.$strip>;
|
|
3784
|
+
type CodexAccountRead = z.infer<typeof CodexAccountReadSchema>;
|
|
3785
|
+
type CodexRateLimitsRead = z.infer<typeof CodexRateLimitsReadSchema>;
|
|
3786
|
+
|
|
3787
|
+
/**
|
|
3788
|
+
* A reader for what Codex itself knows about a login: the account behind a Codex home and its rate limits, asked of `codex app-server` over stdio so no consumer opens `auth.json` or depends on a private file format. Each read starts a short-lived app-server under the given home, asks one question and ends it. It never starts a login and never sends a prompt.
|
|
3789
|
+
*/
|
|
3790
|
+
/** Raised when the Codex binary cannot be started (not installed, not executable) or ends before it answers. */
|
|
3791
|
+
declare class CodexAppServerUnavailableError extends CliError {
|
|
3792
|
+
constructor(detail: string);
|
|
3793
|
+
}
|
|
3794
|
+
/** Raised when the app-server answers a request with a JSON-RPC error; `rpcCode` and the message are the server's own, so a signed-out home reads as the server's "authentication required". */
|
|
3795
|
+
declare class CodexAppServerRequestError extends CliError {
|
|
3796
|
+
readonly method: string;
|
|
3797
|
+
readonly rpcCode: number;
|
|
3798
|
+
constructor(method: string, rpcCode: number, detail: string);
|
|
3799
|
+
}
|
|
3800
|
+
/** Raised when an answer does not have the shape this reader was written against, naming the installed Codex version and the one the shapes were generated against. */
|
|
3801
|
+
declare class CodexAppServerProtocolError extends CliError {
|
|
3802
|
+
readonly method: string;
|
|
3803
|
+
readonly installedVersion: string | undefined;
|
|
3804
|
+
constructor(method: string, installedVersion: string | undefined, detail: string);
|
|
3805
|
+
}
|
|
3806
|
+
/** One open conversation with an app-server process. */
|
|
3807
|
+
interface CodexAppServerConnection {
|
|
3808
|
+
/** Writes one JSON-RPC message. */
|
|
3809
|
+
readonly send: (message: unknown) => void;
|
|
3810
|
+
/** The next message the server wrote, or undefined once it has ended. */
|
|
3811
|
+
readonly receive: () => Promise<unknown>;
|
|
3812
|
+
/** Ends the conversation: closes the server's input, waits for it to exit and stops it if it does not. Safe to call twice. */
|
|
3813
|
+
readonly close: () => Promise<void>;
|
|
3814
|
+
}
|
|
3815
|
+
/** Starts app-server processes. Injected so the reader runs against a scripted server in tests and against the real `codex` binary in use. */
|
|
3816
|
+
interface CodexAppServerPort {
|
|
3817
|
+
/** Starts `bin app-server` with `CODEX_HOME` set to `codexHome`. Rejects with `CodexAppServerUnavailableError` when it cannot start. */
|
|
3818
|
+
readonly open: (options: Readonly<{
|
|
3819
|
+
bin: string;
|
|
3820
|
+
codexHome: string;
|
|
3821
|
+
}>) => Promise<CodexAppServerConnection>;
|
|
3822
|
+
}
|
|
3823
|
+
/** What a read needs from its caller. */
|
|
3824
|
+
interface CodexAppServerReadOptions {
|
|
3825
|
+
/** The Codex home to read: the directory `codex` keeps its login in, `~/.codex` unless `CODEX_HOME` says otherwise. */
|
|
3826
|
+
readonly codexHome: string;
|
|
3827
|
+
/** The Codex executable; `codex` on `PATH` when absent. */
|
|
3828
|
+
readonly bin?: string;
|
|
3829
|
+
/** Stops the read: the server is ended and the read rejects with the signal's reason. */
|
|
3830
|
+
readonly signal?: AbortSignal;
|
|
3831
|
+
/** How long the read may take, `CODEX_APP_SERVER_TIMEOUT_MS` when absent. A read that exceeds it rejects with `CodexAppServerUnavailableError`. */
|
|
3832
|
+
readonly timeoutMs?: number;
|
|
3833
|
+
}
|
|
3834
|
+
/**
|
|
3835
|
+
* How long a read may take before it is abandoned. An app-server start plus one backend call for the usage windows is network bound; this bounds a hung server rather than describing a normal read.
|
|
3836
|
+
*/
|
|
3837
|
+
declare const CODEX_APP_SERVER_TIMEOUT_MS = 30000;
|
|
3838
|
+
/**
|
|
3839
|
+
* Reads the account behind a Codex home through `account/read`: its type, and for a ChatGPT sign-in the email and plan. The token is never part of the answer. A home with no login answers `account: null`.
|
|
3840
|
+
*/
|
|
3841
|
+
declare function readCodexAccount(port: CodexAppServerPort, options: Readonly<CodexAppServerReadOptions>): Promise<CodexAccountRead>;
|
|
3842
|
+
/**
|
|
3843
|
+
* Reads a Codex home's rate limits through `account/rateLimits/read`: the windows by their length and the banked reset credits. A home with no login is refused by the server, reported as `CodexAppServerRequestError`.
|
|
3844
|
+
*/
|
|
3845
|
+
declare function readCodexRateLimits(port: CodexAppServerPort, options: Readonly<CodexAppServerReadOptions>): Promise<CodexRateLimitsRead>;
|
|
3846
|
+
|
|
3847
|
+
/** The real app-server port: `codex app-server` as a child process speaking one JSON message per line on standard input and output, with `CODEX_HOME` set for it alone. */
|
|
3848
|
+
declare const realCodexAppServerPort: CodexAppServerPort;
|
|
3849
|
+
|
|
3715
3850
|
/**
|
|
3716
3851
|
* The Zod schema of `agent-shim check --json`'s output: one definition of the report's wire shape, so the JSON conversion (`checkReportToJson`, whose return type is this schema's inferred type, which makes the compiler prove the two agree) and every programmatic consumer of the report (the front door's `check.run` procedure above all) validate through the same source. A plain Zod leaf mirroring the shapes the report's own modules define; the vocabularies it switches on (layer kinds, decision routes, diagnostic codes and severities, decision sources) are imported as const arrays from those modules rather than restated here, so a vocabulary added there is a compile error here until this schema names it.
|
|
3717
3852
|
*/
|
|
@@ -4467,7 +4602,7 @@ type ClaudeBinaryResolver = (request?: Readonly<ClaudeBinaryRequest>) => Discove
|
|
|
4467
4602
|
|
|
4468
4603
|
declare const DOCTOR_SEVERITIES: readonly ["pass", "warn", "fail"];
|
|
4469
4604
|
type DoctorSeverity = (typeof DOCTOR_SEVERITIES)[number];
|
|
4470
|
-
declare const DOCTOR_SECTIONS: readonly ["ambient-credential", "binary-discovery", "claude-shim", "path-resolution", "legacy-name", "config-profile", "identity", "pool", "provider", "keychain", "directory-rules", "global-config", "categories-local", "active-identity", "headroom"];
|
|
4605
|
+
declare const DOCTOR_SECTIONS: readonly ["ambient-credential", "binary-discovery", "claude-shim", "path-resolution", "legacy-name", "config-profile", "identity", "sign-in", "pool", "provider", "keychain", "directory-rules", "global-config", "categories-local", "active-identity", "headroom"];
|
|
4471
4606
|
type DoctorSection = (typeof DOCTOR_SECTIONS)[number];
|
|
4472
4607
|
/** One line of `agent-shim doctor`'s report. `subject` names the identity/profile/rule the finding is about, when the section has more than one of those. */
|
|
4473
4608
|
interface DoctorFinding {
|
|
@@ -4488,6 +4623,8 @@ interface DoctorIdentityInput {
|
|
|
4488
4623
|
readonly raw: string | undefined;
|
|
4489
4624
|
/** The identity's own farm root (`identitiesDir/<name>`) — the account name the Keychain lookup uses. */
|
|
4490
4625
|
readonly farmRoot: string;
|
|
4626
|
+
/** Whether the identity's `.credentials.json` exists, pre-resolved by the wiring layer since it is a file-existence check. */
|
|
4627
|
+
readonly credentialsFilePresent: boolean;
|
|
4491
4628
|
}
|
|
4492
4629
|
/** One configuration profile's raw `<name>.json`, unparsed. */
|
|
4493
4630
|
interface DoctorConfigProfileInput {
|
|
@@ -7243,6 +7380,7 @@ declare function createControlApiRouter(deps: ControlApiDeps): {
|
|
|
7243
7380
|
"claude-shim": "claude-shim";
|
|
7244
7381
|
"path-resolution": "path-resolution";
|
|
7245
7382
|
"legacy-name": "legacy-name";
|
|
7383
|
+
"sign-in": "sign-in";
|
|
7246
7384
|
"directory-rules": "directory-rules";
|
|
7247
7385
|
"categories-local": "categories-local";
|
|
7248
7386
|
"active-identity": "active-identity";
|
|
@@ -9212,6 +9350,7 @@ declare function createDoorApiRouter(deps: DoorApiDeps): {
|
|
|
9212
9350
|
"claude-shim": "claude-shim";
|
|
9213
9351
|
"path-resolution": "path-resolution";
|
|
9214
9352
|
"legacy-name": "legacy-name";
|
|
9353
|
+
"sign-in": "sign-in";
|
|
9215
9354
|
"directory-rules": "directory-rules";
|
|
9216
9355
|
"categories-local": "categories-local";
|
|
9217
9356
|
"active-identity": "active-identity";
|
|
@@ -11017,6 +11156,7 @@ declare const DoctorFindingSchema: z.ZodObject<{
|
|
|
11017
11156
|
"claude-shim": "claude-shim";
|
|
11018
11157
|
"path-resolution": "path-resolution";
|
|
11019
11158
|
"legacy-name": "legacy-name";
|
|
11159
|
+
"sign-in": "sign-in";
|
|
11020
11160
|
"directory-rules": "directory-rules";
|
|
11021
11161
|
"categories-local": "categories-local";
|
|
11022
11162
|
"active-identity": "active-identity";
|
|
@@ -11046,6 +11186,7 @@ declare const DoctorRunOutputSchema: z.ZodObject<{
|
|
|
11046
11186
|
"claude-shim": "claude-shim";
|
|
11047
11187
|
"path-resolution": "path-resolution";
|
|
11048
11188
|
"legacy-name": "legacy-name";
|
|
11189
|
+
"sign-in": "sign-in";
|
|
11049
11190
|
"directory-rules": "directory-rules";
|
|
11050
11191
|
"categories-local": "categories-local";
|
|
11051
11192
|
"active-identity": "active-identity";
|
|
@@ -12396,5 +12537,5 @@ declare const OWN_CLI_FILE_NAME = "cli.cjs";
|
|
|
12396
12537
|
*/
|
|
12397
12538
|
declare function agentShimCliPath(distDir?: string | undefined): string;
|
|
12398
12539
|
|
|
12399
|
-
export { AMBIENT_CREDENTIAL_VARS, CHECK_CREDENTIAL_APPLIES, CONNECT_INTERCEPT_HOST, CONNECT_INTERCEPT_HOSTS, CONNECT_LIMITS, CONTROL_PATH_PREFIX, CategoryClassificationOverlaySchema, CategoryClassificationSchema, CategoryMapSchema, CheckReportJsonSchema, CheckRunInputSchema, CliError, CodexLogoutOutputSchema, 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, 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, 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, readDirectoryRules, readFarmManifest, readFrontDoorControlMaterial, readGlobalConfig, readIdentity, readPools, readProfile, readProvider, readRcSelfHostRecord, readRcSessionFile, readUsageSnapshot, 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 };
|
|
12400
|
-
export type { AddDirectoryRuleOptions, AddProviderInput, AmbientCredentialDetection, AmbientCredentialGuardResult, AmbientCredentialVar, AnthropicUsageRefresher, BuildEntryFactsParams, CaMaterial, Candidate, CarryOverParams, CarryOverResult, CategoryMap, CheckReport, CheckReportJson, ClaudeLaunchResolution, CodexApiClient, CodexApiDeps, CodexApiRouter, 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, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation };
|
|
12540
|
+
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, 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, 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 };
|
|
12541
|
+
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, ResolveClaudeLaunchOptions, ResolveDecisionsInput, ResolveLaunchSelectionParams, ResolvedState, ResyncFarmParams, ResyncFarmResult, RunCheckParams, RunClaudeLaunchOptions, RunDoctorParams, RunFrontDoorSupervisorOptions, RunLauncherParams, RunSupervisorOptions, SpawnClaudeParams, SseParsedEvent, StickyPick, SupervisorPorts, UnreadableIdentityListEntry, UpdateDirectoryRuleOptions, UpdateProviderInput, UsageChangeEvent, UsageReadFs, UsageSnapshot, WhenCondition, WhenEvaluation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.9.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>",
|