fix: disable tool approve for old claude code version

This commit is contained in:
d-kimsuon
2025-10-14 12:18:29 +09:00
parent 1a29bc9612
commit b483e7e918
14 changed files with 295 additions and 96 deletions

View File

@@ -1,8 +1,8 @@
import { homedir } from "node:os";
import { resolve } from "node:path";
import { env } from "../lib/env";
// biome-ignore lint/complexity/useLiteralKeys: typescript restriction
const GLOBAL_CLAUDE_DIR = process.env["GLOBAL_CLAUDE_DIR"];
const GLOBAL_CLAUDE_DIR = env.get("GLOBAL_CLAUDE_DIR");
export const globalClaudeDirectoryPath =
GLOBAL_CLAUDE_DIR === undefined