99 lines
2.7 KiB
JSON
99 lines
2.7 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "hermes_memory",
|
|
"title": "Persistent memory storage with user isolation and intelligent filtering",
|
|
"primary": "id",
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "Memory ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Unique memory entry identifier"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "User ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "User who owns this memory entry"
|
|
},
|
|
{
|
|
"name": "target",
|
|
"title": "Memory Target",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"comments": "Target: memory or user"
|
|
},
|
|
{
|
|
"name": "content",
|
|
"title": "Memory Content",
|
|
"type": "text",
|
|
"nullable": "no",
|
|
"comments": "Actual memory content"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"title": "Priority",
|
|
"type": "short",
|
|
"length": 3,
|
|
"nullable": "no",
|
|
"default": "50",
|
|
"comments": "Memory priority (0-100) for intelligent filtering"
|
|
},
|
|
{
|
|
"name": "access_count",
|
|
"title": "Access Count",
|
|
"type": "long",
|
|
"nullable": "no",
|
|
"default": "0",
|
|
"comments": "Usage statistics for optimization"
|
|
},
|
|
{
|
|
"name": "last_accessed",
|
|
"title": "Last Accessed",
|
|
"type": "timestamp",
|
|
"nullable": "yes",
|
|
"comments": "Last access timestamp for relevance ranking"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "Created At",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Creation timestamp"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "Updated At",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Last update timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_hermes_memory_user",
|
|
"idxtype": "index",
|
|
"idxfields": ["user_id", "priority"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_memory_target",
|
|
"idxtype": "index",
|
|
"idxfields": ["target"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_memory_priority",
|
|
"idxtype": "index",
|
|
"idxfields": ["priority", "last_accessed"]
|
|
}
|
|
],
|
|
"codes": []
|
|
} |