refactor(core): keep mcp command metadata minimal

This commit is contained in:
Aiden Cline 2026-06-29 19:00:12 -05:00
commit 9b7ad8f97e
4 changed files with 0 additions and 4 deletions

View file

@ -2564,7 +2564,6 @@ export type CommandsListOutput = {
readonly description?: string
readonly agent?: string
readonly model?: { readonly id: string; readonly providerID: string; readonly variant?: string }
readonly source?: "command" | "mcp" | "skill"
readonly subtask?: boolean
}>
}

View file

@ -17,7 +17,6 @@ export const Plugin = define({
draft.update(commandName(prompt), (command) => {
command.template = ""
command.description = prompt.description
command.source = "mcp"
})
}
}),

View file

@ -11,6 +11,5 @@ export const Info = Schema.Struct({
description: Schema.String.pipe(optional),
agent: Schema.String.pipe(optional),
model: Model.Ref.pipe(optional),
source: Schema.Literals(["command", "mcp", "skill"]).pipe(optional),
subtask: Schema.Boolean.pipe(optional),
}).annotate({ identifier: "CommandV2.Info" })

View file

@ -5166,7 +5166,6 @@ export type CommandV2Info = {
description?: string
agent?: string
model?: ModelRef
source?: "command" | "mcp" | "skill"
subtask?: boolean
}