fix(test): align trace directive type stubs

This commit is contained in:
Peter Steinberger
2026-04-12 19:29:34 +01:00
parent d77360c076
commit 9dbbee8a02
3 changed files with 3 additions and 1 deletions

View File

@@ -1199,7 +1199,7 @@ async function readActiveMemorySearchDebug(
continue; continue;
} }
const details = asRecord(message.details); const details = asRecord(message.details);
const debug = asRecord(details?.debug); const debug = asRecord(details?.debug) ?? {};
const warning = normalizeOptionalString(details?.warning); const warning = normalizeOptionalString(details?.warning);
const action = normalizeOptionalString(details?.action); const action = normalizeOptionalString(details?.action);
const error = normalizeOptionalString(details?.error); const error = normalizeOptionalString(details?.error);

View File

@@ -165,6 +165,7 @@ function buildCommandParams(params?: {
hasVerboseDirective: false, hasVerboseDirective: false,
hasFastDirective: false, hasFastDirective: false,
hasReasoningDirective: false, hasReasoningDirective: false,
hasTraceDirective: false,
hasElevatedDirective: false, hasElevatedDirective: false,
hasExecDirective: false, hasExecDirective: false,
hasExecOptions: false, hasExecOptions: false,

View File

@@ -47,6 +47,7 @@ function buildContext(params?: {
hasVerboseDirective: false, hasVerboseDirective: false,
hasFastDirective: false, hasFastDirective: false,
hasReasoningDirective: false, hasReasoningDirective: false,
hasTraceDirective: false,
hasElevatedDirective: false, hasElevatedDirective: false,
hasExecDirective: false, hasExecDirective: false,
hasExecOptions: false, hasExecOptions: false,