fix: restrict --system flag to known preset IDs (#1290)

This commit is contained in:
Devansh Jain
2026-03-05 20:50:45 -08:00
committed by GitHub
parent c95c4a4722
commit 638204ab3c
3 changed files with 51 additions and 24 deletions

View File

@@ -106,8 +106,7 @@ export const CLI_FLAG_CATALOG = {
mode: "both",
help: {
argLabel: "<id>",
description:
"System prompt ID or subagent name (applies to new or existing agent)",
description: "System prompt preset ID (applies to new or existing agent)",
},
},
"system-custom": { parser: { type: "string" }, mode: "both" },