docs: record runtime and release constraints

This commit is contained in:
morluto
2026-07-12 08:45:35 +08:00
parent e32906afb7
commit 62ede515b7
24 changed files with 206 additions and 57 deletions
+5 -1
View File
@@ -4,7 +4,11 @@ import type { HopperError } from "../domain/errors.js";
import type { Result } from "../domain/result.js";
import type { JsonValue } from "../hopper/protocol.js";
/** Translate an application result into caller-visible MCP content. */
/**
* Translate an application result into MCP text content.
* Error tags and safe messages remain visible while underlying causes, process
* output, and other potentially sensitive details stay private.
*/
export const toCallToolResult = (
result: Result<JsonValue, HopperError>,
): CallToolResult =>