chore: change slash command directory from .claude to .owlen

Changes slash command directory from `.claude/commands/` to
`.owlen/commands/` to reflect that owlen is its own tool while
maintaining compatibility with claude-code slash command syntax.

Updated locations:
- CLI main: command file path lookup
- Tests: slash_command_works and slash_command_file_refs

All 56 tests passing.
This commit is contained in:
2025-11-01 19:46:40 +01:00
parent 5134462deb
commit 686526bbd4
2 changed files with 5 additions and 5 deletions

View File

@@ -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) {