mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-17 14:53:24 +02:00
fix(test): align trace directive type stubs
This commit is contained in:
@@ -1199,7 +1199,7 @@ async function readActiveMemorySearchDebug(
|
||||
continue;
|
||||
}
|
||||
const details = asRecord(message.details);
|
||||
const debug = asRecord(details?.debug);
|
||||
const debug = asRecord(details?.debug) ?? {};
|
||||
const warning = normalizeOptionalString(details?.warning);
|
||||
const action = normalizeOptionalString(details?.action);
|
||||
const error = normalizeOptionalString(details?.error);
|
||||
|
||||
@@ -165,6 +165,7 @@ function buildCommandParams(params?: {
|
||||
hasVerboseDirective: false,
|
||||
hasFastDirective: false,
|
||||
hasReasoningDirective: false,
|
||||
hasTraceDirective: false,
|
||||
hasElevatedDirective: false,
|
||||
hasExecDirective: false,
|
||||
hasExecOptions: false,
|
||||
|
||||
@@ -47,6 +47,7 @@ function buildContext(params?: {
|
||||
hasVerboseDirective: false,
|
||||
hasFastDirective: false,
|
||||
hasReasoningDirective: false,
|
||||
hasTraceDirective: false,
|
||||
hasElevatedDirective: false,
|
||||
hasExecDirective: false,
|
||||
hasExecOptions: false,
|
||||
|
||||
Reference in New Issue
Block a user