refactor(core): keep mcp command metadata minimal
This commit is contained in:
parent
1245420e53
commit
9b7ad8f97e
4 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
}>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ export const Plugin = define({
|
|||
draft.update(commandName(prompt), (command) => {
|
||||
command.template = ""
|
||||
command.description = prompt.description
|
||||
command.source = "mcp"
|
||||
})
|
||||
}
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -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" })
|
||||
|
|
|
|||
|
|
@ -5166,7 +5166,6 @@ export type CommandV2Info = {
|
|||
description?: string
|
||||
agent?: string
|
||||
model?: ModelRef
|
||||
source?: "command" | "mcp" | "skill"
|
||||
subtask?: boolean
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue