harnessed_agent/models/task_dependencies.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

99 lines
2.7 KiB
JSON

{
"summary": [
{
"name": "task_dependencies",
"title": "Task dependency relationships within workflows",
"primary": "id",
"catelog": "relation"
}
],
"fields": [
{
"name": "id",
"title": "Dependency ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Unique dependency identifier"
},
{
"name": "user_id",
"title": "User ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "User who owns this dependency"
},
{
"name": "workflow_id",
"title": "Workflow ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Parent workflow reference"
},
{
"name": "dependent_task_id",
"title": "Dependent Task ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Task that depends on another"
},
{
"name": "dependency_task_id",
"title": "Dependency Task ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Task that is depended upon"
},
{
"name": "dependency_type",
"title": "Dependency Type",
"type": "str",
"length": 20,
"nullable": "no",
"default": "completion",
"comments": "completion, success, failure, data_available"
},
{
"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_task_dep_workflow",
"idxtype": "index",
"idxfields": ["workflow_id"]
},
{
"name": "idx_task_dep_dependent",
"idxtype": "index",
"idxfields": ["dependent_task_id"]
},
{
"name": "idx_task_dep_dependency",
"idxtype": "index",
"idxfields": ["dependency_task_id"]
},
{
"name": "idx_task_dep_unique",
"idxtype": "unique",
"idxfields": ["dependent_task_id", "dependency_task_id"]
}
],
"codes": []
}