23 lines
1.2 KiB
JSON
23 lines
1.2 KiB
JSON
{
|
||
"summary": [
|
||
{
|
||
"name": "pipeline_agent_instances",
|
||
"title": "角色agent实例注册表(项目×角色→稳定实例id;m0002建表未进models,2026-09-10归籍;唯一写入方agent_instance.py,44行活表)",
|
||
"primary": ["id"],
|
||
"catelog": "entity"
|
||
}
|
||
],
|
||
"fields": [
|
||
{"name": "id", "title": "主键ID", "type": "str", "length": 32, "nullable": "no"},
|
||
{"name": "project_id", "title": "项目ID(空串=全局)", "type": "str", "length": 32, "nullable": "no", "default": ""},
|
||
{"name": "role", "title": "角色名", "type": "str", "length": 64, "nullable": "no"},
|
||
{"name": "agent_id", "title": "稳定agent实例ID", "type": "str", "length": 32, "nullable": "no"},
|
||
{"name": "status", "title": "状态", "type": "str", "length": 16, "nullable": "no", "default": "active"},
|
||
{"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no"},
|
||
{"name": "updated_at", "title": "更新时间", "type": "timestamp", "nullable": "no"}
|
||
],
|
||
"indexes": [
|
||
{"name": "idx_pai_pr", "idxtype": "unique", "idxfields": ["project_id", "role"]}
|
||
]
|
||
}
|