harnessed_agent/models/hermes_workflows.json

120 lines
3.2 KiB
JSON

{
"summary": [
{
"name": "hermes_workflows",
"title": "Workflow definitions with user isolation",
"primary": [
"id"
],
"catelog": "entity"
}
],
"fields": [
{
"name": "id",
"title": "Workflow ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Unique workflow identifier"
},
{
"name": "user_id",
"title": "User ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "User who owns this workflow"
},
{
"name": "name",
"title": "Workflow Name",
"type": "str",
"length": 200,
"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": 20,
"nullable": "no",
"default": "sequential",
"comments": "sequential, parallel, or hybrid"
},
{
"name": "max_concurrent_tasks",
"title": "Max Concurrent Tasks",
"type": "long",
"nullable": "no",
"default": "3",
"comments": "Maximum concurrent tasks for parallel execution"
},
{
"name": "timeout_seconds",
"title": "Timeout Seconds",
"type": "long",
"nullable": "no",
"default": "1800",
"comments": "Workflow timeout in seconds"
},
{
"name": "retry_count",
"title": "Retry Count",
"type": "long",
"nullable": "no",
"default": "2",
"comments": "Default retry count for tasks"
},
{
"name": "status",
"title": "Status",
"type": "str",
"length": 20,
"nullable": "no",
"default": "active",
"comments": "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_hermes_workflows_user",
"idxtype": "index",
"idxfields": [
"user_id",
"created_at"
]
},
{
"name": "idx_hermes_workflows_status",
"idxtype": "index",
"idxfields": [
"user_id",
"status"
]
}
],
"codes": []
}