feat: initial release v0.3.0

This commit is contained in:
saturn
2026-03-08 03:15:27 +08:00
commit 881ed44996
1311 changed files with 225407 additions and 0 deletions

8
lib/prompts/proxy.ts Normal file
View File

@@ -0,0 +1,8 @@
export async function setProxy() {
if (process.env.PROXY_URL) { // If you are in China, you must use this proxy:
const { setGlobalDispatcher, ProxyAgent } = await import("undici");
const proxyAgent = new ProxyAgent(process.env.PROXY_URL);
setGlobalDispatcher(proxyAgent);
}
}