simplify claude code config
This commit is contained in:
parent
0cef7a78b9
commit
9beca0e952
1 changed files with 3 additions and 25 deletions
|
|
@ -35,19 +35,6 @@ let
|
||||||
"Bash(git remote:*)"
|
"Bash(git remote:*)"
|
||||||
"Bash(git ls-files:*)"
|
"Bash(git ls-files:*)"
|
||||||
|
|
||||||
# Development tools - testing and linting
|
|
||||||
"Bash(npm run test:*)"
|
|
||||||
"Bash(npm run lint:*)"
|
|
||||||
"Bash(npm run format:*)"
|
|
||||||
"Bash(npm run check:*)"
|
|
||||||
|
|
||||||
# Package managers (read-only operations)
|
|
||||||
"Bash(npm list:*)"
|
|
||||||
"Bash(npm outdated:*)"
|
|
||||||
"Bash(cargo --version)"
|
|
||||||
"Bash(pip list:*)"
|
|
||||||
"Bash(pip show:*)"
|
|
||||||
|
|
||||||
# Nix operations
|
# Nix operations
|
||||||
"Bash(nix-shell:*)"
|
"Bash(nix-shell:*)"
|
||||||
"Bash(nix develop:*)"
|
"Bash(nix develop:*)"
|
||||||
|
|
@ -83,16 +70,6 @@ let
|
||||||
"Read(.env*)"
|
"Read(.env*)"
|
||||||
"Read(*.env*)"
|
"Read(*.env*)"
|
||||||
"Read(./.env*)"
|
"Read(./.env*)"
|
||||||
"Read(./secrets/**)"
|
|
||||||
"Read(./private/**)"
|
|
||||||
"Read(/etc/passwd)"
|
|
||||||
"Read(/etc/shadow)"
|
|
||||||
"Read(/etc/sudoers*)"
|
|
||||||
"Read(~/.ssh/id_*)"
|
|
||||||
"Read(~/.gnupg/**)"
|
|
||||||
"Read(~/.aws/credentials)"
|
|
||||||
"Read(~/.config/gcloud/**)"
|
|
||||||
"Read(*/node_modules/.cache/**)"
|
|
||||||
|
|
||||||
# Prevent dangerous system operations
|
# Prevent dangerous system operations
|
||||||
"Bash(rm -rf:*)"
|
"Bash(rm -rf:*)"
|
||||||
|
|
@ -111,8 +88,6 @@ let
|
||||||
"Bash(fdisk:*)"
|
"Bash(fdisk:*)"
|
||||||
"Bash(mkfs:*)"
|
"Bash(mkfs:*)"
|
||||||
"Bash(dd:*)"
|
"Bash(dd:*)"
|
||||||
"Bash(curl:*)"
|
|
||||||
"Bash(wget:*)"
|
|
||||||
|
|
||||||
# Prevent network/security risks
|
# Prevent network/security risks
|
||||||
"Bash(nc:*)"
|
"Bash(nc:*)"
|
||||||
|
|
@ -156,6 +131,9 @@ let
|
||||||
"Bash(nix-channel:*)"
|
"Bash(nix-channel:*)"
|
||||||
"Bash(oss:*)"
|
"Bash(oss:*)"
|
||||||
"Bash(hms:*)"
|
"Bash(hms:*)"
|
||||||
|
|
||||||
|
"Bash(curl:*)"
|
||||||
|
"Bash(wget:*)"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue