summaryrefslogtreecommitdiff
path: root/chat.proto
diff options
context:
space:
mode:
Diffstat (limited to 'chat.proto')
-rw-r--r--chat.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat.proto b/chat.proto
index 4f50fbb..19b42e1 100644
--- a/chat.proto
+++ b/chat.proto
@@ -34,6 +34,17 @@ message CodeSnippet { // `autogenpb:nomute
string content = 2;
}
+message ChatEntry { // `autogenpb:nomutex`
+ Who from = 1;
+ google.protobuf.Timestamp ctime = 2;
+ string content = 3;
+ Table table = 4;
+ repeated ToolCall ToolCalls = 5;
+ string ContentFile = 6; // `autogenpb:unique` `autogenpb:sort`
+ string uuid = 7; // `autogenpb:unique` `autogenpb:sort`
+ repeated CodeSnippet Snippets = 8;
+}
+
message Chat { // `autogenpb:nomutex`
Who from = 1;
google.protobuf.Timestamp ctime = 2;
@@ -43,6 +54,8 @@ message Chat { // `autogenpb:nomute
string ContentFile = 6; // `autogenpb:unique` `autogenpb:sort`
string uuid = 7; // `autogenpb:unique` `autogenpb:sort`
repeated CodeSnippet Snippets = 8;
+ string ChatName = 9;
+ repeated ChatEntry Entries = 10;
}
message Chats { // `autogenpb:marshal` `autogenpb:mutex`