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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user