| fix(context): handle tool_result_reference in pairing, projection, and subagent filtering
Treat tool_result_reference as a valid tool result in collectToolResultIds,
stripUnpairedToolResults, repairToolResultPairing, isToolResultOnly, and
filterIncompleteToolCalls so externalized results are not orphaned.
Co-authored-by: Cursor <cursoragent@cursor.com>
| 20 天前 |