diff --git a/crates/app/cli/src/main.rs b/crates/app/cli/src/main.rs index f241ba7..0e38b1a 100644 --- a/crates/app/cli/src/main.rs +++ b/crates/app/cli/src/main.rs @@ -185,8 +185,8 @@ async fn main() -> Result<()> { // Check permission match perms.check(Tool::SlashCommand, None) { PermissionDecision::Allow => { - // Look for command file in .claude/commands/ - let command_path = format!(".claude/commands/{}.md", command_name); + // Look for command file in .owlen/commands/ + let command_path = format!(".owlen/commands/{}.md", command_name); // Read the command file let content = match tools_fs::read_file(&command_path) { diff --git a/crates/app/cli/tests/permissions.rs b/crates/app/cli/tests/permissions.rs index 629d513..6f61961 100644 --- a/crates/app/cli/tests/permissions.rs +++ b/crates/app/cli/tests/permissions.rs @@ -180,9 +180,9 @@ fn bash_command_timeout_works() { #[test] fn slash_command_works() { - // Create .claude/commands directory in temp dir + // Create .owlen/commands directory in temp dir let dir = tempdir().unwrap(); - let commands_dir = dir.path().join(".claude/commands"); + let commands_dir = dir.path().join(".owlen/commands"); fs::create_dir_all(&commands_dir).unwrap(); // Create a test slash command @@ -215,7 +215,7 @@ First: $1 #[test] fn slash_command_file_refs() { let dir = tempdir().unwrap(); - let commands_dir = dir.path().join(".claude/commands"); + let commands_dir = dir.path().join(".owlen/commands"); fs::create_dir_all(&commands_dir).unwrap(); // Create a file to reference