namespace AIStudio.Tools.ChatArchive; /// /// Central definition of the chat archive format. A chat archive is a ZIP file which mirrors /// the chat storage layout, so that exported chats can be restored without any conversion. /// public static class ChatArchiveFormat { /// /// The archive format version written by this app version. The importer refuses archives /// with a higher version, because it cannot know what those archives contain. /// public const int FORMAT_VERSION = 1; /// /// The file extension used for chat archives. /// public const string FILE_EXTENSION = ".aistudio-chats"; /// /// The manifest file at the archive root. It describes what the archive contains. /// public const string MANIFEST_FILE_NAME = "manifest.json"; /// /// The archive directory containing all exported workspaces. /// public const string WORKSPACES_DIRECTORY = "workspaces"; /// /// The archive directory containing all exported temporary chats. /// public const string TEMPORARY_CHATS_DIRECTORY = "tempChats"; /// /// The file storing the workspace or chat name. /// public const string NAME_FILE_NAME = "name"; /// /// The file storing the serialized chat thread. /// public const string THREAD_FILE_NAME = "thread.json"; /// /// The separator used inside ZIP archives. ZIP entries always use forward slashes, /// regardless of the operating system. /// public const char ENTRY_SEPARATOR = '/'; }