File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Roda automaticamente ao iniciar cada sessão Claude Code
3+
4+ set -e
5+
6+ cd " $( git rev-parse --show-toplevel) "
7+
8+ echo " Instalando dependências..."
9+ npm install --prefer-offline 2> /dev/null || npm install
10+
11+ echo " Ambiente pronto."
Original file line number Diff line number Diff line change 1+ {
2+ "permissions" : {
3+ "allow" : [
4+ " Bash(npm run dev:*)" ,
5+ " Bash(npm run build:*)" ,
6+ " Bash(npm run lint:*)" ,
7+ " Bash(npm install:*)" ,
8+ " Bash(git status:*)" ,
9+ " Bash(git diff:*)" ,
10+ " Bash(git log:*)" ,
11+ " Bash(git add:*)" ,
12+ " Bash(git commit:*)" ,
13+ " Bash(git push:*)" ,
14+ " Bash(find .:*)" ,
15+ " Bash(ls:*)"
16+ ]
17+ },
18+ "hooks" : {
19+ "SessionStart" : [
20+ {
21+ "matcher" : " " ,
22+ "hooks" : [
23+ {
24+ "type" : " command" ,
25+ "command" : " .claude/hooks/SessionStart.sh"
26+ }
27+ ]
28+ }
29+ ]
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments