- 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
148 lines
4.0 KiB
JSON
148 lines
4.0 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "hermes_tasks",
|
|
"title": "Task definitions within workflows with user isolation",
|
|
"primary": "id",
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "Task ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Unique task identifier"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "User ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "User who owns this task"
|
|
},
|
|
{
|
|
"name": "workflow_id",
|
|
"title": "Workflow ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Parent workflow reference"
|
|
},
|
|
{
|
|
"name": "task_name",
|
|
"title": "Task Name",
|
|
"type": "str",
|
|
"length": 200,
|
|
"nullable": "no",
|
|
"comments": "Human-readable task name"
|
|
},
|
|
{
|
|
"name": "task_type",
|
|
"title": "Task Type",
|
|
"type": "str",
|
|
"length": 30,
|
|
"nullable": "no",
|
|
"comments": "skill, tool, memory, session_search, custom"
|
|
},
|
|
{
|
|
"name": "skill_name",
|
|
"title": "Skill Name",
|
|
"type": "str",
|
|
"length": 100,
|
|
"nullable": "yes",
|
|
"comments": "Skill name for skill-type tasks"
|
|
},
|
|
{
|
|
"name": "tool_name",
|
|
"title": "Tool Name",
|
|
"type": "str",
|
|
"length": 100,
|
|
"nullable": "yes",
|
|
"comments": "Tool name for tool-type tasks"
|
|
},
|
|
{
|
|
"name": "parameters_json",
|
|
"title": "Parameters JSON",
|
|
"type": "text",
|
|
"nullable": "yes",
|
|
"comments": "JSON-encoded task parameters"
|
|
},
|
|
{
|
|
"name": "depends_on",
|
|
"title": "Depends On",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "yes",
|
|
"comments": "Task ID this task depends on"
|
|
},
|
|
{
|
|
"name": "parallel_group",
|
|
"title": "Parallel Group",
|
|
"type": "str",
|
|
"length": 50,
|
|
"nullable": "yes",
|
|
"comments": "Group identifier 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": "long",
|
|
"nullable": "no",
|
|
"default": "2",
|
|
"comments": "Task retry count"
|
|
},
|
|
{
|
|
"name": "order_index",
|
|
"title": "Order Index",
|
|
"type": "long",
|
|
"nullable": "no",
|
|
"default": "0",
|
|
"comments": "Execution order within workflow"
|
|
},
|
|
{
|
|
"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_tasks_workflow",
|
|
"idxtype": "index",
|
|
"idxfields": ["workflow_id", "order_index"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_tasks_user",
|
|
"idxtype": "index",
|
|
"idxfields": ["user_id", "workflow_id"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_tasks_depends",
|
|
"idxtype": "index",
|
|
"idxfields": ["depends_on"]
|
|
}
|
|
],
|
|
"codes": []
|
|
}
|