- 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
134 lines
3.7 KiB
JSON
134 lines
3.7 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "hermes_executions",
|
|
"title": "Task execution records with user isolation",
|
|
"primary": "id",
|
|
"catelog": "relation"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "Execution ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Unique execution identifier"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "User ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "User who owns this execution"
|
|
},
|
|
{
|
|
"name": "workflow_id",
|
|
"title": "Workflow ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Parent workflow reference"
|
|
},
|
|
{
|
|
"name": "task_id",
|
|
"title": "Task ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "yes",
|
|
"comments": "Associated task reference"
|
|
},
|
|
{
|
|
"name": "execution_status",
|
|
"title": "Execution Status",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"default": "pending",
|
|
"comments": "pending, running, completed, failed, cancelled"
|
|
},
|
|
{
|
|
"name": "start_time",
|
|
"title": "Start Time",
|
|
"type": "timestamp",
|
|
"nullable": "yes",
|
|
"comments": "Execution start timestamp"
|
|
},
|
|
{
|
|
"name": "end_time",
|
|
"title": "End Time",
|
|
"type": "timestamp",
|
|
"nullable": "yes",
|
|
"comments": "Execution end timestamp"
|
|
},
|
|
{
|
|
"name": "duration_seconds",
|
|
"title": "Duration Seconds",
|
|
"type": "long",
|
|
"nullable": "yes",
|
|
"comments": "Execution duration in seconds"
|
|
},
|
|
{
|
|
"name": "result_json",
|
|
"title": "Result JSON",
|
|
"type": "text",
|
|
"nullable": "yes",
|
|
"comments": "JSON-encoded execution result"
|
|
},
|
|
{
|
|
"name": "error_message",
|
|
"title": "Error Message",
|
|
"type": "text",
|
|
"nullable": "yes",
|
|
"comments": "Error message if execution failed"
|
|
},
|
|
{
|
|
"name": "retry_count",
|
|
"title": "Retry Count",
|
|
"type": "long",
|
|
"nullable": "no",
|
|
"default": "0",
|
|
"comments": "Number of retries attempted"
|
|
},
|
|
{
|
|
"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_executions_workflow",
|
|
"idxtype": "index",
|
|
"idxfields": ["workflow_id", "created_at"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_executions_task",
|
|
"idxtype": "index",
|
|
"idxfields": ["task_id", "created_at"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_executions_user",
|
|
"idxtype": "index",
|
|
"idxfields": ["user_id", "created_at"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_executions_status",
|
|
"idxtype": "index",
|
|
"idxfields": ["execution_status", "created_at"]
|
|
}
|
|
],
|
|
"codes": []
|
|
}
|