harnessed_agent/models/hermes_tasks.json
2026-04-16 15:40:17 +08:00

153 lines
4.2 KiB
JSON

{
"summary": [
{
"name": "hermes_tasks",
"title": "Hermes Agent Tasks",
"primary": "id",
"catelog": "entity"
}
],
"fields": [
{
"name": "id",
"title": "Task ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Primary key - UUID format"
},
{
"name": "user_id",
"title": "User ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Owner user ID for multi-user isolation"
},
{
"name": "workflow_id",
"title": "Workflow ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Parent workflow ID"
},
{
"name": "task_name",
"title": "Task Name",
"type": "str",
"length": 128,
"nullable": "no",
"comments": "Human-readable task name"
},
{
"name": "task_type",
"title": "Task Type",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Type: skill, tool, memory, session_search, custom"
},
{
"name": "skill_name",
"title": "Skill Name",
"type": "str",
"length": 64,
"nullable": "yes",
"comments": "Referenced skill name (for skill type tasks)"
},
{
"name": "tool_name",
"title": "Tool Name",
"type": "str",
"length": 64,
"nullable": "yes",
"comments": "Referenced tool name (for tool type tasks)"
},
{
"name": "parameters_json",
"title": "Parameters JSON",
"type": "text",
"nullable": "yes",
"comments": "JSON parameters for task execution"
},
{
"name": "depends_on",
"title": "Depends On",
"type": "str",
"length": 32,
"nullable": "yes",
"comments": "Task ID this task depends on (for sequential workflows)"
},
{
"name": "parallel_group",
"title": "Parallel Group",
"type": "str",
"length": 32,
"nullable": "yes",
"comments": "Group ID for parallel execution"
},
{
"name": "timeout_seconds",
"title": "Timeout Seconds",
"type": "long",
"nullable": "no",
"default": "300",
"comments": "Task timeout in seconds"
},
{
"name": "retry_count",
"title": "Retry Count",
"type": "short",
"length": 2,
"nullable": "no",
"default": "2",
"comments": "Number of retries for failed task"
},
{
"name": "order_index",
"title": "Order Index",
"type": "short",
"length": 4,
"nullable": "no",
"default": "0",
"comments": "Execution order index"
},
{
"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_tasks_user_id",
"idxtype": "index",
"idxfields": ["user_id"]
},
{
"name": "idx_tasks_workflow_id",
"idxtype": "index",
"idxfields": ["workflow_id"]
},
{
"name": "idx_tasks_task_type",
"idxtype": "index",
"idxfields": ["task_type"]
},
{
"name": "idx_tasks_order",
"idxtype": "index",
"idxfields": ["workflow_id", "order_index"]
}
]
}