Files
tech/.claude/settings.json
T
arno 889b926130 配置: 修正 hooks 脚本路径为绝对路径
- 将 user-prompt-submit hook 路径从相对路径改为绝对路径
- 确保在任何工作目录下都能正确执行 hook
2026-04-10 13:24:55 +08:00

19 lines
354 B
JSON

{
"env": {
"CLAUDE_CODE_AUTO_COMPACT_WINDOW": "200000",
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "75"
},
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "/data/git/gitea/szis/isos/tech/.claude/hooks/user-prompt-submit.sh"
}
]
}
]
}
}