harnessed_agent/models/harnessed_agent_config.json
yumoqing ca16edf609 feat: add models, CRUD UI, config functions and config model definitions
- Add hermes_executions, hermes_tasks, hermes_workflows, task_dependencies models
- Add harnessed_agent_config model and view CRUD JSON
- Add config_functions.py for agent configuration
- Add agent_config.ui and ios_design.css frontend files
2026-05-04 11:56:37 +08:00

104 lines
2.8 KiB
JSON

{
"summary": [
{
"name": "harnessed_agent_config",
"title": "Hermes Agent module configuration settings",
"primary": "id"
}
],
"fields": [
{
"name": "id",
"title": "Unique configuration identifier",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "user_id",
"title": "User ID for multi-user isolation",
"type": "str",
"length": 32,
"nullable": "no"
},
{
"name": "work_dir",
"title": "Working directory path",
"type": "str",
"length": 255,
"nullable": "no",
"default": "./hermes_work"
},
{
"name": "skills_path",
"title": "Skills directory path",
"type": "str",
"length": 255,
"nullable": "no",
"default": "~/.hermes/skills"
},
{
"name": "max_memory_tokens",
"title": "Maximum tokens for memory context",
"type": "int",
"nullable": "no",
"default": "2000"
},
{
"name": "default_priority",
"title": "Default priority for new memories (0-100)",
"type": "int",
"nullable": "no",
"default": "50"
},
{
"name": "high_priority_threshold",
"title": "Threshold for high priority memories",
"type": "int",
"nullable": "no",
"default": "70"
},
{
"name": "low_priority_threshold",
"title": "Threshold for low priority memories",
"type": "int",
"nullable": "no",
"default": "30"
},
{
"name": "auto_cleanup_enabled",
"title": "Enable automatic memory cleanup",
"type": "str",
"length": "1",
"nullable": "no",
"default": "1"
},
{
"name": "min_retention_days",
"title": "Minimum days to retain memories",
"type": "int",
"nullable": "no",
"default": "30"
},
{
"name": "created_at",
"title": "Creation timestamp",
"type": "timestamp",
"nullable": "no"
},
{
"name": "updated_at",
"title": "Last update timestamp",
"type": "timestamp",
"nullable": "no"
}
],
"indexes": [
{
"name": "idx_user_agent_config",
"idxtype": "index",
"idxfields": ["user_id"]
}
],
"codes": []
}