mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-14 03:56:55 +03:00
fix: preserve metadata from MCP tool results in tool.execute.after hook (#3573)
This commit is contained in:
committed by
GitHub
Unverified
parent
42e0b47a7d
commit
149f5eaa2e
@@ -618,7 +618,7 @@ export namespace SessionPrompt {
|
||||
|
||||
return {
|
||||
title: "",
|
||||
metadata: {},
|
||||
metadata: result.metadata ?? {},
|
||||
output,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user