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

118 lines
3.2 KiB
JSON

{
"summary": [
{
"name": "hermes_workflows",
"title": "Hermes Agent Workflows",
"primary": "id",
"catelog": "entity"
}
],
"fields": [
{
"name": "id",
"title": "Workflow 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": "name",
"title": "Workflow Name",
"type": "str",
"length": 128,
"nullable": "no",
"comments": "Human-readable workflow name"
},
{
"name": "description",
"title": "Description",
"type": "text",
"nullable": "yes",
"comments": "Workflow description"
},
{
"name": "workflow_type",
"title": "Workflow Type",
"type": "str",
"length": 32,
"nullable": "no",
"default": "sequential",
"comments": "Type: sequential, parallel, or hybrid"
},
{
"name": "max_concurrent_tasks",
"title": "Max Concurrent Tasks",
"type": "short",
"length": 3,
"nullable": "no",
"default": "3",
"comments": "Maximum number of concurrent tasks (1-10)"
},
{
"name": "timeout_seconds",
"title": "Timeout Seconds",
"type": "long",
"nullable": "no",
"default": "1800",
"comments": "Total workflow timeout in seconds"
},
{
"name": "retry_count",
"title": "Retry Count",
"type": "short",
"length": 2,
"nullable": "no",
"default": "2",
"comments": "Number of retries for failed tasks"
},
{
"name": "status",
"title": "Status",
"type": "str",
"length": 16,
"nullable": "no",
"default": "active",
"comments": "Workflow status: active, inactive, archived"
},
{
"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_workflows_user_id",
"idxtype": "index",
"idxfields": ["user_id"]
},
{
"name": "idx_workflows_status",
"idxtype": "index",
"idxfields": ["status"]
},
{
"name": "idx_workflows_name",
"idxtype": "index",
"idxfields": ["name"]
}
]
}