@cortexkit/opencode-anthropic-auth 2.11.4 → 2.12.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.js +36 -36
- package/dist/index-z31s2mjs.js +47 -0
- package/dist/index.js +1 -1
- package/dist/setup/native-local.d.ts +3 -0
- package/dist/v2/server.js +11 -9
- package/package.json +2 -2
- package/dist/index-sqmwhrzx.js +0 -45
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as a}from"./index-
|
|
1
|
+
import{u as a}from"./index-z31s2mjs.js";import"./index-6q2f3m0v.js";import"./index-77sph3hf.js";import"./index-427t44z7.js";import"./index-0btjtgy5.js";import"./index-27dah13x.js";import"./index-dpxaxyck.js";export{a as AnthropicAuthPlugin};
|
|
@@ -19,6 +19,7 @@ export interface NativeLocalSetupOptions {
|
|
|
19
19
|
preflight?: NativeMigrationPreflight;
|
|
20
20
|
skipMigration?: boolean;
|
|
21
21
|
beforeCommit?: () => Promise<void>;
|
|
22
|
+
reportSettings?: (message: string) => void;
|
|
22
23
|
}
|
|
23
24
|
export declare const SEPARATE_HOST_LOGIN_NOTICE = "OpenCode's separate Anthropic login is not used. Add that account through /claude Accounts if needed, or remove the separate login from OpenCode.";
|
|
24
25
|
export declare function requireNativeLocalEnrollment(hosts: readonly HarnessKind[], env: NodeJS.ProcessEnv): Promise<void>;
|
|
@@ -46,5 +47,7 @@ export declare function fingerprintNativeLocalPlan(plan: NativeLocalPlan, env: N
|
|
|
46
47
|
export declare function planNativeLocalSetup(host: HarnessKind, options: NativeLocalSetupOptions, generation2: boolean): Promise<NativeLocalPlan>;
|
|
47
48
|
export declare function revalidateNativeLocalPlan(plan: NativeLocalPlan, options: NativeLocalSetupOptions): Promise<void>;
|
|
48
49
|
export declare function installAbsentNativePlaceholder(plan: Pick<NativeLocalPlan, 'paths' | 'slot'>, options: NativeLocalSetupOptions): Promise<void>;
|
|
50
|
+
/** Route raw, deferred settings after credential commit without starting the settings move. */
|
|
51
|
+
export declare function writeNativeLocalSetupSettings(host: HarnessKind, plan: NativeSetupPaths, options: NativeLocalSetupOptions, settings: Readonly<Record<string, unknown>>): Promise<import("@cortexkit/anthropic-auth-core").NativeSetupSettingsResult>;
|
|
49
52
|
/** Transfer local credentials while hosts are stopped, before telling the user to restart. */
|
|
50
53
|
export declare function migrateNativeLocalForHost(host: HarnessKind, options: NativeLocalSetupOptions): Promise<void>;
|