fix: trim persisted tool results and sanitize MCP schemas
This commit is contained in:
@@ -290,6 +290,14 @@ export type ToolUseContext = {
|
||||
* resumeAgentBackground threads one reconstructed from sidechain records.
|
||||
*/
|
||||
contentReplacementState?: ContentReplacementState
|
||||
/**
|
||||
* Interactive REPL only: mirror persisted tool-result replacements back
|
||||
* into the live transcript so the original oversized payloads can be
|
||||
* released from heap once the replacement decision is known.
|
||||
*/
|
||||
syncToolResultReplacements?: (
|
||||
replacements: ReadonlyMap<string, string>,
|
||||
) => void
|
||||
/**
|
||||
* Parent's rendered system prompt bytes, frozen at turn start.
|
||||
* Used by fork subagents to share the parent's prompt cache — re-calling
|
||||
|
||||
Reference in New Issue
Block a user