fix(coding-agent): rename SlashCommandSource "template" to "prompt" for consistency
BREAKING CHANGE: RPC get_commands response and SlashCommandSource type now use "prompt" instead of "template" to match the rest of the codebase.
This commit is contained in:
@@ -1799,7 +1799,7 @@ export class AgentSession {
|
||||
const templates: SlashCommandInfo[] = this.promptTemplates.map((template) => ({
|
||||
name: template.name,
|
||||
description: template.description,
|
||||
source: "template",
|
||||
source: "prompt",
|
||||
location: normalizeLocation(template.source),
|
||||
path: template.filePath,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user