File tree Expand file tree Collapse file tree
cli/assets/generated/config/claude Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "hooks" : [
88 {
99 "type" : " command" ,
10- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce policy bash"
10+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce policy bash"
1111 }
1212 ]
1313 }
1818 "hooks" : [
1919 {
2020 "type" : " command" ,
21- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks diff-trace"
21+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks diff-trace"
2222 }
2323 ]
2424 },
2525 {
2626 "hooks" : [
2727 {
2828 "type" : " command" ,
29- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks conversation-trace"
29+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks conversation-trace"
3030 }
3131 ]
3232 }
3636 "hooks" : [
3737 {
3838 "type" : " command" ,
39- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks conversation-trace"
39+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks conversation-trace"
4040 }
4141 ]
4242 }
4646 "hooks" : [
4747 {
4848 "type" : " command" ,
49- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks conversation-trace"
49+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks conversation-trace"
5050 }
5151 ]
5252 }
Original file line number Diff line number Diff line change 77 "hooks" : [
88 {
99 "type" : " command" ,
10- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce policy bash"
10+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce policy bash"
1111 }
1212 ]
1313 }
1818 "hooks" : [
1919 {
2020 "type" : " command" ,
21- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks diff-trace"
21+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks diff-trace"
2222 }
2323 ]
2424 },
2525 {
2626 "hooks" : [
2727 {
2828 "type" : " command" ,
29- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks conversation-trace"
29+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks conversation-trace"
3030 }
3131 ]
3232 }
3636 "hooks" : [
3737 {
3838 "type" : " command" ,
39- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks conversation-trace"
39+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks conversation-trace"
4040 }
4141 ]
4242 }
4646 "hooks" : [
4747 {
4848 "type" : " command" ,
49- "command" : " bash .claude/hooks/run-sce-or-show-install-guidance.sh sce hooks conversation-trace"
49+ "command" : " bash \" $CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh\" sce hooks conversation-trace"
5050 }
5151 ]
5252 }
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import "claude-metadata.pkl" as metadata
44
55local missingSceInstallMessage = "sce CLI not found. Install it from https://sce.crocoder.dev/docs/getting-started#install-cli"
66
7- local claudeSceHookScriptPath = ".claude/hooks/run-sce-or-show-install-guidance.sh"
7+ local claudeSceHookScriptPath = "$CLAUDE_PROJECT_DIR/ .claude/hooks/run-sce-or-show-install-guidance.sh"
88
9- local function sceHookCommand (arguments : String ): String = "bash \(claudeSceHookScriptPath) \(arguments) "
9+ local function sceHookCommand (arguments : String ): String = "bash \\\"\ (claudeSceHookScriptPath)\\\" \(arguments) "
1010
1111local agentFrontmatterBySlug = new Mapping {
1212 for (unitSlug , _ in shared.agents) {
You can’t perform that action at this time.
0 commit comments