docs(errors): keep projectAnalysisError's doc on its declaration (#11660)

This commit is contained in:
morluto authored and GitHub committed 2026-11-15 21:20:35 -05:00
1 parent 0c45258da0
commit ad4cc7536f
1 file changed
+7 -7
+7 -7
View File
@@ -65,13 +65,6 @@ import { analysisErrorRefusal } from "./analysisErrorRefusal.js";
import { analysisRefusalDetails } from "./analysisRefusal.js";
import { isRecord } from "../kernel/isRecord.js";
/**
* Project expected failures into exhaustive, secret-safe caller fields. The
* default describes a continuing caller, such as an MCP connection, and is
* also the adapter-independent form retained inside Evidence. An adapter that
* releases its provider session and runtime after this request, such as a
* one-shot CLI command, passes `"invocation"`.
*/
/**
* Inputs the recovery names, by contract field and operation name. Each
* adapter renders them in its own spelling.
@@ -87,6 +80,13 @@ const relatedInputDetails = (
: { related_operations: [...related.operations] }),
});
/**
* Project expected failures into exhaustive, secret-safe caller fields. The
* default describes a continuing caller, such as an MCP connection, and is
* also the adapter-independent form retained inside Evidence. An adapter that
* releases its provider session and runtime after this request, such as a
* one-shot CLI command, passes `"invocation"`.
*/
export const projectAnalysisError = (
error: AnalysisError,
callerLifetime: AnalysisCallerLifetime = "continuing",