summaryrefslogtreecommitdiff
path: root/chat.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-21 16:01:05 -0500
committerJeff Carr <[email protected]>2025-08-21 16:01:05 -0500
commit2d7b5fe532650562e83aa98b1e5f2c41149dadc6 (patch)
treeb4a70979352052bf2dc209e375c86e3354141cae /chat.proto
parentd7dec7865ad74d4ffe6f56aaf27906ea1a52171d (diff)
update with code snippet
Diffstat (limited to 'chat.proto')
-rw-r--r--chat.proto6
1 files changed, 6 insertions, 0 deletions
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`