mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 13:21:17 +08: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 {
|
||||
title: "",
|
||||
metadata: {},
|
||||
metadata: result.metadata ?? {},
|
||||
output,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user