feat(cli): add unknown command registry support

This commit is contained in:
morluto
2026-07-14 06:03:07 +00:00
parent 998697155d
commit 9b0cb95786
7 changed files with 539 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const logLevelSchema = z
export const parseLogLevel = (value: unknown): LogLevel =>
logLevelSchema.parse(value);
/** Create a JSON logger on stderr so protocol and CLI result stdout stay valid. */
/** Create a JSON logger whose stderr destination cannot corrupt structured output. */
export const createLogger = (mode: "mcp" | "cli", level: LogLevel): Logger =>
pino(
{