mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-27 19:54:56 +01:00
fix: preserve metadata from MCP tool results in tool.execute.after hook (#3573)
This commit is contained in:
@@ -618,7 +618,7 @@ export namespace SessionPrompt {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
title: "",
|
title: "",
|
||||||
metadata: {},
|
metadata: result.metadata ?? {},
|
||||||
output,
|
output,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user