refactor(hooks): rename interactive-bash-blocker to non-interactive-env

- Replace regex-based command blocking with environment configuration
- Add cross-platform null device support (NUL for Windows, /dev/null for Unix)
- Wrap all bash commands with non-interactive environment variables
- Only block TUI programs that require full PTY
- Update schema, README docs, and all imports/exports

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-14 22:34:55 +09:00
parent e098d9bc6a
commit 4b50c77b4a
11 changed files with 1169 additions and 277 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export const HookNameSchema = z.enum([
"startup-toast",
"keyword-detector",
"agent-usage-reminder",
"interactive-bash-blocker",
"non-interactive-env",
])
export const AgentOverrideConfigSchema = z.object({