@cortexkit/anthropic-auth-core 2.0.2 → 2.1.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/accounts.d.ts +7 -1
- package/dist/cache1h.d.ts +2 -0
- package/dist/cachekeep-registry.d.ts +3 -0
- package/dist/cachekeep.d.ts +2 -0
- package/dist/cch.d.ts +19 -0
- package/dist/claude-code.d.ts +8 -2
- package/dist/claustrum-enrollment.d.ts +5 -1
- package/dist/constants.d.ts +15 -3
- package/dist/dump.d.ts +4 -0
- package/dist/fast.d.ts +2 -0
- package/dist/index.d.ts +15 -8
- package/dist/index.js +29647 -25296
- package/dist/insula-quota.d.ts +25 -0
- package/dist/internal-types/auth-menu/terminal.d.ts +43 -0
- package/dist/internal-types/claustrum/availability.d.ts +89 -0
- package/dist/internal-types/claustrum/consumer.d.ts +172 -0
- package/dist/internal-types/claustrum/custody.d.ts +299 -0
- package/dist/internal-types/claustrum/enrollment.d.ts +164 -0
- package/dist/internal-types/claustrum/errors.d.ts +17 -0
- package/dist/internal-types/claustrum/host-slot.d.ts +39 -0
- package/dist/internal-types/claustrum/index.d.ts +21 -0
- package/dist/internal-types/claustrum/insula.d.ts +117 -0
- package/dist/internal-types/claustrum/interlock.d.ts +27 -0
- package/dist/internal-types/claustrum/roster.d.ts +221 -0
- package/dist/internal-types/claustrum/watch.d.ts +141 -0
- package/dist/internal-types/fs/refresh-file-lock.d.ts +8 -2
- package/dist/internal-types/quota/format.d.ts +43 -3
- package/dist/internal-types/quota/index.d.ts +3 -3
- package/dist/internal-types/quota/projection.d.ts +16 -0
- package/dist/internal-types/routing/admission.d.ts +93 -0
- package/dist/internal-types/routing/index.d.ts +8 -0
- package/dist/internal-types/routing/ordered.d.ts +47 -0
- package/dist/internal-types/routing/pins.d.ts +22 -0
- package/dist/internal-types/routing/sticky.d.ts +158 -0
- package/dist/internal-types/setup/command-error.d.ts +32 -0
- package/dist/internal-types/setup/command.d.ts +3 -0
- package/dist/internal-types/setup/detect.d.ts +6 -0
- package/dist/internal-types/setup/index.d.ts +6 -0
- package/dist/internal-types/setup/process-fence.d.ts +43 -0
- package/dist/internal-types/setup/register.d.ts +11 -0
- package/dist/internal-types/setup/types.d.ts +150 -0
- package/dist/internal-types/store/pool.d.ts +1 -1
- package/dist/internal-types/store/refresh-lock.d.ts +0 -1
- package/dist/logging.d.ts +2 -0
- package/dist/mid-conversation-output-config.d.ts +34 -2
- package/dist/migration-source.d.ts +2 -0
- package/dist/native-account-runtime.d.ts +9 -4
- package/dist/native-account-view.d.ts +19 -3
- package/dist/native-custody-activation.d.ts +1 -1
- package/dist/native-custody.d.ts +130 -0
- package/dist/native-enrollment-authority.d.ts +5 -1
- package/dist/native-host-auth-read.d.ts +2 -1
- package/dist/native-host-auth-write.d.ts +2 -0
- package/dist/native-menu-executor.d.ts +1 -1
- package/dist/native-migration.d.ts +25 -4
- package/dist/native-quota-observations.d.ts +26 -0
- package/dist/native-runtime.d.ts +5 -1
- package/dist/native-transient-account.d.ts +3 -4
- package/dist/native-ui.d.ts +2 -0
- package/dist/native-usage-publication.d.ts +5 -0
- package/dist/native-vault-invalidation.d.ts +9 -0
- package/dist/native-vault-runtime.d.ts +36 -3
- package/dist/network-errors.d.ts +1 -0
- package/dist/owner-only.d.ts +19 -0
- package/dist/pool-authority.d.ts +27 -8
- package/dist/pool-paths.d.ts +2 -0
- package/dist/provider-error.d.ts +34 -0
- package/dist/publication-rename.d.ts +11 -0
- package/dist/quota-manager.d.ts +21 -4
- package/dist/quotas.d.ts +31 -2
- package/dist/relay.d.ts +20 -0
- package/dist/request-gzip.d.ts +99 -0
- package/package.json +4 -4
package/dist/accounts.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export type ClaustrumConfig = {
|
|
|
61
61
|
credentialId: string;
|
|
62
62
|
accountId: ProviderAccountUuid;
|
|
63
63
|
state: string;
|
|
64
|
+
enabled?: boolean;
|
|
64
65
|
};
|
|
65
66
|
/** Preserve explicit exclusions when a vaulted account disappears and returns. */
|
|
66
67
|
disabledAccountIdentities?: string[];
|
|
@@ -251,7 +252,13 @@ export type AccountStorage = {
|
|
|
251
252
|
enabled?: boolean;
|
|
252
253
|
url?: string;
|
|
253
254
|
token?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Whether a private relay token is stored. Native account snapshots set
|
|
257
|
+
* this instead of `token`, which they never include.
|
|
258
|
+
*/
|
|
259
|
+
tokenConfigured?: boolean;
|
|
254
260
|
fallbackToDirect?: boolean;
|
|
261
|
+
/** When missing, inferred from `url`; see `effectiveRelayTransport`. */
|
|
255
262
|
transport?: 'http' | 'websocket';
|
|
256
263
|
};
|
|
257
264
|
claustrum?: ClaustrumConfig;
|
|
@@ -310,7 +317,6 @@ export declare function acquireRefreshFileLock(options: {
|
|
|
310
317
|
name: string;
|
|
311
318
|
ttlMs: number;
|
|
312
319
|
path?: string;
|
|
313
|
-
now?: () => number;
|
|
314
320
|
renew?: boolean;
|
|
315
321
|
renewIntervalMs?: number;
|
|
316
322
|
onStep?: (step: 'stale-marker-stat' | 'stale-marker-claimed' | 'stale-lock-confirmed' | 'eviction-marker-acquired') => void | Promise<void>;
|
package/dist/cache1h.d.ts
CHANGED
|
@@ -25,9 +25,11 @@ export declare function parseCache1hCommandAction(argumentsText: string): Cache1
|
|
|
25
25
|
export declare function buildCache1hStatusSummary(input?: {
|
|
26
26
|
enabled?: boolean;
|
|
27
27
|
mode?: Cache1hMode;
|
|
28
|
+
settingsPath?: string;
|
|
28
29
|
}): string;
|
|
29
30
|
export declare function executeCache1hCommand(input: {
|
|
30
31
|
argumentsText: string;
|
|
31
32
|
enabled?: boolean;
|
|
32
33
|
mode?: Cache1hMode;
|
|
34
|
+
settingsPath?: string;
|
|
33
35
|
}): string;
|
|
@@ -9,6 +9,7 @@ export declare class CacheKeepSessionRegistry {
|
|
|
9
9
|
private readonly options;
|
|
10
10
|
private readonly filePath;
|
|
11
11
|
private writeChain;
|
|
12
|
+
private lastSweepAt?;
|
|
12
13
|
constructor(options: {
|
|
13
14
|
directory: string;
|
|
14
15
|
now?: () => number;
|
|
@@ -18,4 +19,6 @@ export declare class CacheKeepSessionRegistry {
|
|
|
18
19
|
publish(sessions: readonly CacheKeepTrackedSession[]): Promise<void>;
|
|
19
20
|
list(localSessions?: readonly CacheKeepTrackedSession[]): Promise<CacheKeepTrackedSession[]>;
|
|
20
21
|
dispose(): Promise<void>;
|
|
22
|
+
private sweepExpiredRecords;
|
|
23
|
+
private restoreSweptRecord;
|
|
21
24
|
}
|
package/dist/cachekeep.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AccountStorage } from './accounts.ts';
|
|
2
2
|
import type { CacheKeepTrackedSession } from './cachekeep-registry.ts';
|
|
3
|
+
import { type ProviderErrorSummary } from './provider-error.ts';
|
|
3
4
|
export declare const CLAUDE_CACHE_KEEP_COMMAND_NAME = "claude-cachekeep";
|
|
4
5
|
export declare const CACHE_KEEP_TTL_MS: number;
|
|
5
6
|
export declare const CACHE_KEEP_PREWARM_LEAD_MS: number;
|
|
@@ -97,6 +98,7 @@ export type CacheKeepPrewarmResult = {
|
|
|
97
98
|
reason: string;
|
|
98
99
|
status?: number;
|
|
99
100
|
transient?: true;
|
|
101
|
+
provider_error?: ProviderErrorSummary['provider_error'];
|
|
100
102
|
};
|
|
101
103
|
export declare class CacheKeepManager {
|
|
102
104
|
private readonly options;
|
package/dist/cch.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
export interface BillingLineageFields {
|
|
2
2
|
previousRequestId?: string;
|
|
3
3
|
promptId?: string;
|
|
4
|
+
/**
|
|
5
|
+
* 1-based position of the current user prompt in the conversation. Claude
|
|
6
|
+
* Code sends it as `cc_prompt_index` and `cc_turn_index` (equal for a turn a
|
|
7
|
+
* person started) after `cc_turn_origin=human`, and keeps it for every
|
|
8
|
+
* request that serves the same prompt, tool-result follow-ups included.
|
|
9
|
+
*/
|
|
10
|
+
promptIndex?: number;
|
|
4
11
|
}
|
|
5
12
|
export declare function isValidAnthropicRequestId(value: string): boolean;
|
|
6
13
|
export declare function isValidBillingPromptId(value: string): boolean;
|
|
@@ -40,11 +47,23 @@ export declare function signRequestBody(bodyString: string): Promise<string>;
|
|
|
40
47
|
* Compute Claude Code's 3-character suffix for cc_version.
|
|
41
48
|
*/
|
|
42
49
|
export declare function computeCcVersionSuffix(firstUserText: string, version?: string): string;
|
|
50
|
+
/**
|
|
51
|
+
* Number of user prompts in a Messages API history: user messages that carry
|
|
52
|
+
* anything besides tool results. A tool-result message continues the prompt
|
|
53
|
+
* before it, so the request that answers a tool call keeps that prompt's
|
|
54
|
+
* position, as Claude Code's `cc_prompt_index` does.
|
|
55
|
+
*/
|
|
56
|
+
export declare function countUserPrompts(messages: unknown): number;
|
|
43
57
|
/**
|
|
44
58
|
* Build the billing header with a cch placeholder.
|
|
45
59
|
* signRequestBody() must run after final request serialization to replace it.
|
|
46
60
|
*/
|
|
47
61
|
export declare function buildBillingHeaderValue(messages: Message[], version: string | undefined, entrypoint: string, pinnedFirstUserText?: string, lineage?: BillingLineageFields): string;
|
|
62
|
+
/**
|
|
63
|
+
* The `cc_prompt_id` in a signed body's billing block, or undefined. Claude
|
|
64
|
+
* Code also sends this id as the `x-claude-code-prompt-id` header.
|
|
65
|
+
*/
|
|
66
|
+
export declare function extractBillingPromptId(body: Record<string, unknown> | null | undefined): string | undefined;
|
|
48
67
|
/** Remove request-scoped Claude Code lineage from a billing header string. */
|
|
49
68
|
export declare function stripBillingLineageFields(value: string): string;
|
|
50
69
|
/** Remove request-scoped Claude Code lineage before reusing a request body. */
|
package/dist/claude-code.d.ts
CHANGED
|
@@ -32,12 +32,18 @@ export declare class ClaudeUnsupportedAccessError extends Error {
|
|
|
32
32
|
export declare function resolveClaudeCodeAccountIdentity(accessToken: string, model: string | undefined, accountIdentity: string | undefined): Promise<ClaudeCodeIdentity>;
|
|
33
33
|
export declare function buildClaudeCodeMetadataUserId(identity: ClaudeCodeIdentity): string | null;
|
|
34
34
|
export declare function applyClaudeCodeMetadata(body: Record<string, unknown>, identity: ClaudeCodeIdentity): boolean;
|
|
35
|
-
export declare const CLAUDE_CODE_FULL_AGENT_BETAS: readonly ['oauth-2025-04-20', 'interleaved-thinking-2025-05-14', 'thinking-token-count-2026-05-13', 'context-management-2025-06-27', 'prompt-caching-scope-2026-01-05', '
|
|
36
|
-
export declare function selectClaudeCodeBetas(body?: Record<string, unknown> | null, extraBetas?: string[]): string;
|
|
35
|
+
export declare const CLAUDE_CODE_FULL_AGENT_BETAS: readonly ['claude-code-20250219', 'oauth-2025-04-20', 'interleaved-thinking-2025-05-14', 'thinking-token-count-2026-05-13', 'context-management-2025-06-27', 'prompt-caching-scope-2026-01-05', 'mid-conversation-tool-changes-2026-07-01', 'advanced-tool-use-2025-11-20', 'mid-conversation-system-clear-at-2026-08-21', 'effort-2025-11-24', 'thinking-binding-controls-2026-08-01', 'thinking-display-updates-2026-08-18', 'extended-cache-ttl-2025-04-11', 'cache-diagnosis-2026-04-07'];
|
|
36
|
+
export declare function selectClaudeCodeBetas(body?: Record<string, unknown> | null, extraBetas?: string[], requestClass?: ClaudeCodeRequestClass): string;
|
|
37
|
+
export type ClaudeCodeRequestClass = 'main' | 'auxiliary';
|
|
37
38
|
export declare function applyClaudeCodeHeaders(headers: Headers, accessToken: string, options?: {
|
|
38
39
|
body?: Record<string, unknown> | null;
|
|
39
40
|
identity?: ClaudeCodeIdentity;
|
|
40
41
|
extraBetas?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* Claude Code's `x-claude-code-request-class`: `main` for a conversation
|
|
44
|
+
* turn, `auxiliary` for background requests such as title generation.
|
|
45
|
+
*/
|
|
46
|
+
requestClass?: ClaudeCodeRequestClass;
|
|
41
47
|
}): Headers;
|
|
42
48
|
export declare function orderClaudeCodeBody<T extends Record<string, unknown>>(body: T): T;
|
|
43
49
|
export declare function claudeCodeEntrypoint(): string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ClaustrumClientOptions as ClaustrumEnrollmentClientOptions, type EnrollmentPollOutcome, type EnrollmentTokenFile, writeEnrollmentTokenFile } from '@cortexkit/claustrum-client';
|
|
2
|
+
import { type OwnerOnlyOptions } from './owner-only.ts';
|
|
2
3
|
export declare const CLAUSTRUM_OPENCODE_ENROLLMENT_NAME = "anthropic-auth-opencode";
|
|
3
4
|
export declare const CLAUSTRUM_PI_ENROLLMENT_NAME = "anthropic-auth-pi";
|
|
4
5
|
export interface ClaustrumEnrollmentClient {
|
|
@@ -50,7 +51,10 @@ export interface ClaustrumEnrollmentPaths {
|
|
|
50
51
|
export declare function getClaustrumEnrollmentPaths(tokenPath: string): ClaustrumEnrollmentPaths;
|
|
51
52
|
/** Resolve the independently enrolled host's owner-only token and state paths. */
|
|
52
53
|
export declare function getHostClaustrumEnrollmentPaths(host: 'opencode' | 'pi', env?: NodeJS.ProcessEnv, cwd?: string): ClaustrumEnrollmentPaths;
|
|
53
|
-
export declare function
|
|
54
|
+
export declare function refuseWritableAncestor(parent: string, ownership?: OwnerOnlyOptions, metadataAt?: (path: string) => Promise<{
|
|
55
|
+
mode: number;
|
|
56
|
+
} | undefined>): Promise<void>;
|
|
57
|
+
export declare function readClaustrumEnrollmentStatus(paths: ClaustrumEnrollmentPaths, proposedName?: string, ownership?: OwnerOnlyOptions): Promise<ClaustrumEnrollmentStatus>;
|
|
54
58
|
/** Read fresh bearer material for a scoped operation; never publish this value. */
|
|
55
59
|
export declare function readClaustrumEnrollmentToken(tokenPath: string): Promise<EnrollmentTokenFile>;
|
|
56
60
|
export declare class ClaustrumEnrollmentManager {
|
package/dist/constants.d.ts
CHANGED
|
@@ -19,11 +19,23 @@ export declare const CLAUDE_CODE_IDENTITY = "You are Claude Code, Anthropic's of
|
|
|
19
19
|
export declare const PARALLEL_TOOL_CALLS_SYSTEM_PROMPT: string;
|
|
20
20
|
export declare const CCH_SALT = "59cf53e54c78";
|
|
21
21
|
export declare const CCH_POSITIONS: number[];
|
|
22
|
-
export declare const CLAUDE_CODE_VERSION = "2.1.
|
|
22
|
+
export declare const CLAUDE_CODE_VERSION = "2.1.302";
|
|
23
23
|
export declare const CLAUDE_CODE_ENTRYPOINT = "cli";
|
|
24
|
-
export declare const CLAUDE_CODE_STAINLESS_PACKAGE_VERSION = "0.
|
|
24
|
+
export declare const CLAUDE_CODE_STAINLESS_PACKAGE_VERSION = "0.128.0";
|
|
25
25
|
export declare const CLAUDE_CODE_STAINLESS_RUNTIME_VERSION = "v26.3.0";
|
|
26
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Whether the emulated Claude Code version gzips request bodies. Claude Code
|
|
28
|
+
* 2.1.302 compresses every request body of at least
|
|
29
|
+
* `CLAUDE_CODE_GZIP_MIN_BODY_CHARS` characters that goes straight to
|
|
30
|
+
* api.anthropic.com, and leaves it uncompressed behind a proxy, a custom CA
|
|
31
|
+
* or client certificates. A gzipped body carries `cch=00000` and trailing
|
|
32
|
+
* whitespace padding, which only a gzipping version sends, so this switch
|
|
33
|
+
* belongs to the version above and must change with it.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CLAUDE_CODE_GZIPS_REQUEST_BODIES = true;
|
|
36
|
+
/** Smallest body, in UTF-16 characters (`string.length`), Claude Code gzips. */
|
|
37
|
+
export declare const CLAUDE_CODE_GZIP_MIN_BODY_CHARS = 4096;
|
|
38
|
+
export declare const USER_AGENT = "claude-cli/2.1.302 (external, cli)";
|
|
27
39
|
export declare const CACHE_1H_MODES: readonly ['explicit', 'automatic', 'hybrid'];
|
|
28
40
|
export type Cache1hMode = (typeof CACHE_1H_MODES)[number];
|
|
29
41
|
export declare const DEFAULT_CACHE_1H_MODE: Cache1hMode;
|
package/dist/dump.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ProviderErrorSummary } from './provider-error.ts';
|
|
1
2
|
type DumpHeaders = ConstructorParameters<typeof Headers>[0];
|
|
2
3
|
export declare const CLAUDE_DUMP_COMMAND_NAME = "claude-dump";
|
|
3
4
|
export type DumpCommandAction = {
|
|
@@ -40,10 +41,12 @@ export declare function sweepDumpDirectory(options: {
|
|
|
40
41
|
export declare function parseDumpCommandAction(argumentsText: string): DumpCommandAction;
|
|
41
42
|
export declare function buildDumpStatusSummary(input?: {
|
|
42
43
|
enabled?: boolean;
|
|
44
|
+
settingsPath?: string;
|
|
43
45
|
}): string;
|
|
44
46
|
export declare function executeDumpCommand(input: {
|
|
45
47
|
argumentsText: string;
|
|
46
48
|
enabled?: boolean;
|
|
49
|
+
settingsPath?: string;
|
|
47
50
|
}): string;
|
|
48
51
|
export declare function dumpDirectRequest(input: {
|
|
49
52
|
affinity?: string | null;
|
|
@@ -72,5 +75,6 @@ export declare function dumpResponseArtifact(handle: DumpHandle | null, input: {
|
|
|
72
75
|
status: number;
|
|
73
76
|
message: unknown;
|
|
74
77
|
complete?: boolean;
|
|
78
|
+
provider_error?: ProviderErrorSummary['provider_error'];
|
|
75
79
|
}): Promise<void>;
|
|
76
80
|
export {};
|
package/dist/fast.d.ts
CHANGED
|
@@ -14,8 +14,10 @@ export declare function resetFastModeState(): void;
|
|
|
14
14
|
export declare function parseFastModeCommandAction(argumentsText: string): FastModeCommandAction;
|
|
15
15
|
export declare function buildFastModeStatusSummary(input?: {
|
|
16
16
|
enabled?: boolean;
|
|
17
|
+
settingsPath?: string;
|
|
17
18
|
}): string;
|
|
18
19
|
export declare function executeFastModeCommand(input: {
|
|
19
20
|
argumentsText: string;
|
|
20
21
|
enabled?: boolean;
|
|
22
|
+
settingsPath?: string;
|
|
21
23
|
}): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export type { CommandResult, CommandRunner, HostDetection, OpenCodeGeneration, ProcessFence, SetupCallbackContext, SetupDetection, SetupEnvironment, SetupFileSystem, SetupHost, SetupIO, SetupPlugin, SetupResult, } from "./internal-types/setup/index.js";
|
|
2
|
+
export { assertHostsStopped, createProcessFence, runSetup, setupEnrollment, } from "./internal-types/setup/index.js";
|
|
1
3
|
export * from './accounts.ts';
|
|
2
4
|
export * from './auth.ts';
|
|
3
5
|
export * from './cache1h.ts';
|
|
@@ -22,15 +24,17 @@ export * from './models.ts';
|
|
|
22
24
|
export type { NativeAccountRuntime, NativeAccountRuntimeOptions, NativeAccountWriteInput, NativeApiSubject, NativeLocalAuthorizeOptions, NativeRelayUpdate, } from './native-account-runtime.ts';
|
|
23
25
|
export { acquireNativeAccountRuntime, createNativeAccountRuntime, nativeAccountPolicy, } from './native-account-runtime.ts';
|
|
24
26
|
export type { NativeAccountMetadataPatch, NativeAccountSnapshot, NativeAccountView, } from './native-account-view.ts';
|
|
25
|
-
export { formatNativeAccountState } from './native-account-view.ts';
|
|
27
|
+
export { formatNativeAccountState, nativeAccountCanServe, } from './native-account-view.ts';
|
|
26
28
|
export * from './native-credential-validation.ts';
|
|
27
|
-
export type { NativeCustody, NativeCustodyClient, NativeCustodyErrorCode, NativeCustodyIdentity, NativeCustodyInventory, NativeCustodyLogger, NativeCustodyOptions, NativeCustodyReceipt, NativeCustodyReporterSource, NativeCustodyRetry, } from './native-custody.ts';
|
|
29
|
+
export type { NativeCustody, NativeCustodyClient, NativeCustodyErrorCode, NativeCustodyIdentity, NativeCustodyInventory, NativeCustodyLogger, NativeCustodyOptions, NativeCustodyReceipt, NativeCustodyReporterSource, NativeCustodyRetry, NativeRosterWatch, NativeRosterWatchMode, NativeRosterWatchOptions, NativeScopedWatchEnd, NativeScopedWatchHandle, NativeScopedWatchNotice, } from './native-custody.ts';
|
|
28
30
|
export { createNativeCustody, NativeCustodyError } from './native-custody.ts';
|
|
29
31
|
export type { NativeCustodyActivationErrorCode, NativeCustodyActivationHooks, NativeCustodyActivationOptions, NativeCustodyActivationResult, } from './native-custody-activation.ts';
|
|
30
32
|
export { NativeCustodyActivationError, runNativeCustodyActivation, } from './native-custody-activation.ts';
|
|
31
33
|
export { readNativeEnrollmentMode } from './native-enrollment-authority.ts';
|
|
32
34
|
export { inspectNativeHostAuthEntry, NativeHostAuthError, requireNoSupervisedAuthContentSnapshot, } from './native-host-auth.ts';
|
|
33
35
|
export { readNativeHostAuthKind } from './native-host-auth-read.ts';
|
|
36
|
+
export type { NativeHostAuthWriteHooks, NativeHostAuthWriteInput, NativeHostAuthWriteOutcome, } from './native-host-auth-write.ts';
|
|
37
|
+
export { writeNativeHostAuth } from './native-host-auth-write.ts';
|
|
34
38
|
export type { NativeLocalAttributedFailure, NativeLocalCredentialService, NativeLocalCredentialServiceOptions, NativeLocalFailurePolicyInput, } from './native-local-credential-service.ts';
|
|
35
39
|
export { createNativeLocalCredentialService } from './native-local-credential-service.ts';
|
|
36
40
|
export type { NativeLocalExternalPolicy } from './native-local-runtime-readers.ts';
|
|
@@ -38,8 +42,9 @@ export type { NativeMenuActionValues, NativeMenuCapabilityOutcome, NativeMenuDis
|
|
|
38
42
|
export { createNativeMenuExecutor } from './native-menu-executor.ts';
|
|
39
43
|
export type { NativeMenuAction, NativeMenuActionId, NativeMenuCacheMode, NativeMenuChoiceParameter, NativeMenuCommandId, NativeMenuCustodyMode, NativeMenuGroup, NativeMenuGroupId, NativeMenuHost, NativeMenuLogLevel, NativeMenuModel, NativeMenuParameter, NativeMenuParameterId, NativeMenuRefusalCode, NativeMenuRoutingMode, NativeMenuStatus, } from './native-menu-model.ts';
|
|
40
44
|
export { getNativeMenuModel } from './native-menu-model.ts';
|
|
41
|
-
export type { NativeMigrationCustody, NativeMigrationHooks, NativeMigrationOptions, NativeMigrationPreflight, } from './native-migration.ts';
|
|
42
|
-
export { NativeMigrationError, prepareNativeMigration, releaseNativeMigrationPreflight, runNativeMigration, } from './native-migration.ts';
|
|
45
|
+
export type { NativeEmptyInitHooks, NativeEmptyInitOptions, NativeMigrationCustody, NativeMigrationHooks, NativeMigrationOptions, NativeMigrationPreflight, } from './native-migration.ts';
|
|
46
|
+
export { NativeMigrationError, nativePoolHoldsAccountData, prepareNativeMigration, publishNativeEmptyInit, releaseNativeMigrationPreflight, runNativeMigration, snapshotHasServableLocalOAuth, } from './native-migration.ts';
|
|
47
|
+
export * from './native-quota-observations.ts';
|
|
43
48
|
export type { NativeCommittedMaterial, NativeIdentityBootstrap, NativeRefreshContext, NativeRefreshDispatchVersion, NativeRefreshFailure, NativeRefreshHandoff, NativeRefreshObservation, NativeRefreshRequest, NativeRefreshRestriction, NativeRefreshResult, NativeRefreshSubject, NativeServingAdmission, } from './native-refresh-coordinator.ts';
|
|
44
49
|
export type { NativeLocalFailureAttribution, NativeLocalFailurePolicy, NativeLocalFailureSkipReason, } from './native-runtime.ts';
|
|
45
50
|
export { nativeRuntimeOptionIdentity } from './native-runtime-registry.ts';
|
|
@@ -51,11 +56,12 @@ export * from './native-usage-publication.ts';
|
|
|
51
56
|
export { NATIVE_VAULT_NO_ACCOUNT_MESSAGE, NativeVaultNoAccountError, readNativeAccountsForRequest, } from './native-vault-admission.ts';
|
|
52
57
|
export type { NativePiAuthSlot, NativePiAuthSlotErrorCode, NativePiAuthSlotInspection, NativePiAuthSlotOptions, NativeVaultDisconnectOptions, NativeVaultDisconnectResult, } from './native-vault-connection.ts';
|
|
53
58
|
export { disconnectNativeVaultForHost, NativePiAuthSlotError, nativePiAuthSlotPaths, openNativePiAuthSlot, } from './native-vault-connection.ts';
|
|
54
|
-
export type { NativeVaultRuntime, NativeVaultRuntimeOptions, NativeVaultWatch, NativeVaultWatchOptions, } from './native-vault-runtime.ts';
|
|
59
|
+
export type { NativeVaultQuotaPurpose, NativeVaultRuntime, NativeVaultRuntimeOptions, NativeVaultWatch, NativeVaultWatchOptions, } from './native-vault-runtime.ts';
|
|
55
60
|
export { acquireNativeVaultRuntime, createNativeVaultRuntime, discoverNativeVaultInventory, publishNativeVaultRosterSeed, publishNativeVaultRuntimeSeed, } from './native-vault-runtime.ts';
|
|
56
61
|
export * from './oauth-profile.ts';
|
|
62
|
+
export { createWindowsOwnerOnly, ensureWindowsOwnerOnlyDirectory, isOwnerOnly, type OwnerOnlyOptions, } from './owner-only.ts';
|
|
57
63
|
export * from './pkce.ts';
|
|
58
|
-
export type { NativeMigrationJournal } from './pool-authority.ts';
|
|
64
|
+
export type { NativeEmptyInitJournal, NativeLegacyMigrationJournal, NativeMigrationJournal, } from './pool-authority.ts';
|
|
59
65
|
export { nativeMigrationAuthorityPhase, readNativeMigrationJournal, } from './pool-authority.ts';
|
|
60
66
|
export type { NativeLocalPoolBinding } from './pool-binding.ts';
|
|
61
67
|
export { captureNativeLocalPoolBinding } from './pool-binding.ts';
|
|
@@ -63,13 +69,14 @@ export * from './pool-paths.ts';
|
|
|
63
69
|
export * from './pool-store.ts';
|
|
64
70
|
export * from './prime.ts';
|
|
65
71
|
export * from './provider.ts';
|
|
66
|
-
export type { ProviderErrorRedactor, ProviderErrorResponseScope, ProviderResponseMode, ProviderResponseSettlement, } from './provider-error.ts';
|
|
67
|
-
export { createProviderErrorRedactor, createProviderErrorResponseScope, } from './provider-error.ts';
|
|
72
|
+
export type { ProviderErrorRedactor, ProviderErrorResponseScope, ProviderErrorSummary, ProviderResponseMode, ProviderResponseSettlement, } from './provider-error.ts';
|
|
73
|
+
export { createProviderErrorRedactor, createProviderErrorResponseScope, summarizePrewarmProviderError, } from './provider-error.ts';
|
|
68
74
|
export * from './quota-header-feed.ts';
|
|
69
75
|
export * from './quota-headers.ts';
|
|
70
76
|
export * from './quota-manager.ts';
|
|
71
77
|
export * from './quotas.ts';
|
|
72
78
|
export * from './relay.ts';
|
|
79
|
+
export * from './request-gzip.ts';
|
|
73
80
|
export * from './request-history.ts';
|
|
74
81
|
export * from './routing.ts';
|
|
75
82
|
export type { SseEvent, SseFramer, SseFramerOptions } from './sse.ts';
|