summaryrefslogtreecommitdiff
path: root/src/Agent.Core/Sessions/ExecutionResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Agent.Core/Sessions/ExecutionResult.cs')
-rw-r--r--src/Agent.Core/Sessions/ExecutionResult.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Agent.Core/Sessions/ExecutionResult.cs b/src/Agent.Core/Sessions/ExecutionResult.cs
new file mode 100644
index 0000000..ab665fa
--- /dev/null
+++ b/src/Agent.Core/Sessions/ExecutionResult.cs
@@ -0,0 +1,11 @@
+namespace Agent.Core.Sessions;
+
+/// <summary>
+/// A tool execution result recorded in the session for context summary and audit.
+/// The full output is stored in Audit/LLM logs; this is the context-active representation.
+/// </summary>
+public sealed record ExecutionResult(
+ Guid TaskId,
+ string ToolName,
+ bool Success,
+ string Output); \ No newline at end of file