@xsilen 在 自已用的claude 切换脚本 中发帖
由于公益站太多,所以弄了个脚本可以改claude 配置,佬友们可以拿去用,可以用bun run 执行
import * as fs from 'fs';
import * as os from 'os';
import * as path from 'path';
import * as process from 'process';
import * as readline from 'readline';
// 1. Define our TypeScript interfaces
interface EnvValues {
ANTHROPIC_BASE_URL: string;
ANTHROPIC_AUTH_TOKEN: string;
[key: string]: string;
}
interface ConfigProfile {
env?: Reado...