@cortexkit/opencode-anthropic-auth 2.15.2 → 2.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +40 -40
- package/dist/index-gn7zf03j.js +47 -0
- package/dist/index.js +1 -1
- package/dist/plugin-test-handles.d.ts +1 -0
- package/dist/setup/native-activation.d.ts +2 -2
- package/dist/v2/server.js +12 -12
- package/dist/v2/source.d.ts +2 -1
- package/package.json +2 -2
- package/dist/index-d6y78qfh.js +0 -47
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as a}from"./index-
|
|
1
|
+
import{u as a}from"./index-gn7zf03j.js";import"./index-6q2f3m0v.js";import"./index-ct4m3d80.js";import"./index-yrce651f.js";import"./index-pvvgy8yx.js";import"./index-txrrjz4d.js";import"./index-k9d2hevp.js";export{a as AnthropicAuthPlugin};
|
|
@@ -20,6 +20,7 @@ export interface PluginTestHandles {
|
|
|
20
20
|
}>;
|
|
21
21
|
refreshSidebarQuota: () => Promise<void>;
|
|
22
22
|
fallbackRefreshReady: Promise<void>;
|
|
23
|
+
readonly nativeAccounts: ReturnType<typeof acquireNativeAccountRuntime>;
|
|
23
24
|
readonly scopedRuntime: ReturnType<typeof acquireNativeAccountRuntime>['vault'];
|
|
24
25
|
notificationMessageIdBeforeAssistant: (latestAssistantMessageId: string, latestUserMessageId?: string) => string | undefined;
|
|
25
26
|
trackDesktopNoticeMessageId: (sessionId: string, messageId: string) => void;
|
|
@@ -16,7 +16,7 @@ export interface NativeVaultActivationOptions extends SharedSetupRunnerEntry {
|
|
|
16
16
|
env: NodeJS.ProcessEnv;
|
|
17
17
|
runner: CommandRunner;
|
|
18
18
|
fence: ProcessFence;
|
|
19
|
-
/** Consent to
|
|
19
|
+
/** Consent to delete Pi's saved authentication for vault use, without restoration. */
|
|
20
20
|
removePiAnthropicAuth: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* Tests override the host paths, enrollment client and vault listing;
|
|
@@ -37,7 +37,7 @@ export interface NativeVaultPreflight {
|
|
|
37
37
|
export declare function fingerprintNativeVaultInputs(host: HarnessKind, options: NativeVaultActivationOptions): Promise<string>;
|
|
38
38
|
/** Validate vault inputs before the runner enrolls any selected host. */
|
|
39
39
|
export declare function preflightNativeVaultForHost(host: HarnessKind, options: NativeVaultActivationOptions): Promise<NativeVaultPreflight>;
|
|
40
|
-
/**
|
|
40
|
+
/** Verify the vault's default Claude account before deleting Pi's saved login. */
|
|
41
41
|
export declare function completeNativeVaultActivation(host: HarnessKind, options: NativeVaultActivationOptions, preflight: NativeVaultPreflight): Promise<'committed' | 'already-vault'>;
|
|
42
42
|
/** Outside runSetup, check inputs, enroll the host, then grant and activate vault access. runSetup owns enrollment and calls preflight and completion separately. */
|
|
43
43
|
export declare function activateNativeVaultForHost(host: HarnessKind, options: NativeVaultActivationOptions): Promise<'committed' | 'already-vault'>;
|