From 2d7b5fe532650562e83aa98b1e5f2c41149dadc6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 21 Aug 2025 16:01:05 -0500 Subject: update with code snippet --- chat.proto | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chat.proto') diff --git a/chat.proto b/chat.proto index 79d2ce5..f2154eb 100644 --- a/chat.proto +++ b/chat.proto @@ -29,6 +29,11 @@ message ToolCall { int32 exit_code = 6; } +message CodeSnippet { + string filename = 1; + string content = 2; +} + message Chat { Who from = 1; google.protobuf.Timestamp ctime = 2; @@ -37,6 +42,7 @@ message Chat { repeated ToolCall ToolCalls = 5; string ContentFile = 6; // `autogenpb:unique` `autogenpb:sort` string uuid = 7; // `autogenpb:unique` `autogenpb:sort` + repeated CodeSnippet Snippets = 8; } message Chats { // `autogenpb:marshal` `autogenpb:mutex` -- cgit v1.2.3