fix(slashcommand): use slash separator for nested commands

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-03-26 12:29:42 +09:00
parent b20a34bfa7
commit 7f742723b5
2 changed files with 9 additions and 3 deletions
@@ -250,7 +250,7 @@ Use nested command.
)
const commands = discoverCommandsSync(projectDir)
const nestedCommand = commands.find((command) => command.name === "refactor:code")
const nestedCommand = commands.find((command) => command.name === "refactor/code")
expect(nestedCommand?.content).toContain("Use nested command.")
expect(nestedCommand?.scope).toBe("opencode-project")