harnessed_agent/models/hermes_workflows.json
yumoqing ca16edf609 feat: add models, CRUD UI, config functions and config model definitions
- 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
2026-05-04 11:56:37 +08:00

113 lines
3.0 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": []
}