mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
docs(errors): keep projectAnalysisError's doc on its declaration (#11660)
This commit is contained in:
1 parent
0c45258da0
commit
ad4cc7536f
1 file changed
+7
-7
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user