42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"tblname": "hermes_memory",
|
|
"title": "Hermes Agent Intelligent Memory",
|
|
"params": {
|
|
"sortby": ["priority desc", "last_accessed desc"],
|
|
"logined_userid": "user_id",
|
|
"confidential_fields": [],
|
|
"editor": {
|
|
"binds": [
|
|
{
|
|
"wid": "target",
|
|
"event": "changed",
|
|
"actiontype": "script",
|
|
"target": "priority",
|
|
"script": "if (source.value === 'user') { target.value = 80; } else { target.value = 50; }"
|
|
}
|
|
]
|
|
},
|
|
"browserfields": {
|
|
"exclouded": ["id", "access_count", "last_accessed", "created_at", "updated_at"],
|
|
"alters": {
|
|
"target": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{"value": "memory", "text": "System Memory"},
|
|
{"value": "user", "text": "User Preferences"}
|
|
]
|
|
},
|
|
"priority": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{"value": "0", "text": "Low (0-29)"},
|
|
{"value": "30", "text": "Medium (30-69)"},
|
|
{"value": "70", "text": "High (70-100)"}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": ["id", "user_id", "access_count", "last_accessed", "created_at", "updated_at"]
|
|
}
|
|
}
|