Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
records.h File Reference

Typed record structs for storage persistence. More...

#include <cstdint>
#include <optional>
#include <string>
Include dependency graph for records.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  entropic::ConversationRecord
 Database record for a conversation. More...
 
struct  entropic::MessageRecord
 Database record for a message. More...
 
struct  entropic::DelegationRecord
 Database record for a delegation. More...
 

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Functions

std::string entropic::generate_uuid ()
 Generate a UUID v4 string.
 
std::string entropic::utc_timestamp ()
 Get current UTC time as ISO 8601 string.
 
ConversationRecord entropic::make_conversation (const std::string &title="New Conversation", const std::optional< std::string > &project_path=std::nullopt, const std::optional< std::string > &model_id=std::nullopt)
 Create a new ConversationRecord with generated UUID and timestamps.
 
DelegationRecord entropic::make_delegation (const std::string &parent_conversation_id, const std::string &child_conversation_id, const std::string &delegating_tier, const std::string &target_tier, const std::string &task)
 Create a new DelegationRecord with generated UUID and timestamp.
 

Detailed Description

Typed record structs for storage persistence.

ConversationRecord, MessageRecord, DelegationRecord — C++ structs used internally by SqliteStorageBackend. JSON serialization uses nlohmann/json (internal to .so, not in interface headers).

Version
1.8.8

Definition in file records.h.