diff --git a/.gitignore b/.gitignore index a630ed4..d4c9d4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.swp go.mod go.sum +*.pb.go diff --git a/chat.proto b/chat.proto new file mode 100644 index 0000000..4b1f68f --- /dev/null +++ b/chat.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + +package main; + +message Row { + repeated string fields = 1; +} + +message Table { + int32 columns = 1; + repeated Row rows = 2; +} +message Chat { + bool gemini = 1; + bool user = 2; + string content = 3; + repeated string mountpoints = 4; +} + +message Chats { // `autogenpb:marshal` `autogenpb:mutex` + string uuid = 1; // `autogenpb:uuid:9fd31f10-c25d-4d66-bc8d-5f6eb7c79057` + string version = 2; // `autogenpb:version:v0.0.1` + repeated Chat Chats = 3; // THIS MUST BE Chat and then Chats +}