mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-09-20 12:13:38 +08:00
fix(s03): match Windows del as a command word
This commit is contained in:
@@ -169,6 +169,10 @@ MCP error: TypeError: <lambda>() missing 1 required argument: 'query'
|
||||
|
||||
---
|
||||
|
||||
## 继承的权限规则
|
||||
|
||||
本章沿用 s04 的权限 hook:只在命令开头或 shell 分隔符(`;`、`&&`、`||`、`|`、`&`、括号或换行)之后,按大小写不敏感方式识别完整的 `rm`/`del` 命令词。`model`、`delimiter` 和 `echo del test.txt` 不会被当成危险命令。
|
||||
|
||||
## 试一下
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user