GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — claude-code-source-code/src/utils/authPortable.ts at main · wangwang4git/claude-code-source-code Expand file tree/ Copy pathauthPortable.tsMore file actions 19 lines (17 loc) · 674 Bytes / Copy pathauthPortable.tsFile metadata and controls19 lines (17 loc) · 674 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 import { execa } from 'execa' import { getMacOsKeychainStorageServiceName } from 'src/utils/secureStorage/macOsKeychainHelpers.js' export async function maybeRemoveApiKeyFromMacOSKeychainThrows(): Promise<void> { if (process.platform === 'darwin') { const storageServiceName = getMacOsKeychainStorageServiceName() const result = await execa( `security delete-generic-password -a $USER -s "${storageServiceName}"`, { shell: true, reject: false }, ) if (result.exitCode !== 0) { throw new Error('Failed to delete keychain entry') } } } export function normalizeApiKeyForConfig(apiKey: string): string { return apiKey.slice(-20) } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |