feat: opencode command 文件加 rune- 前缀

This commit is contained in:
2026-06-08 18:36:13 +08:00
parent 0f356bc201
commit 97d64e48db
2 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ export async function injectOpenCode(projectRoot: string): Promise<void> {
const commandDir = join(projectRoot, COMMANDS_DIR);
await mkdir(commandDir, { recursive: true });
const commandPath = join(commandDir, `${stage}.md`);
const commandPath = join(commandDir, `rune-${stage}.md`);
if (!existsSync(commandPath)) {
await writeFile(commandPath, generateCommand(stage, hasChangeName));
}