落地并存测服全端:智能体 Graph/路由、后台切 8180、主账与部署脚本齐备,便于线上重发与验收。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 21:15:58 +08:00
co-authored by Cursor
parent 0eb1adecc8
commit 8103b3b651
143 changed files with 8968 additions and 277 deletions
+21
View File
@@ -0,0 +1,21 @@
"""
Schema / 字段合同包。
校验规则读 contracts JSON;本包不做自然语言抽取。
"""
from agent.schema.contracts_loader import (
contracts_dir,
load_contract,
require_formal_contract,
resolve_contract_path,
)
from agent.schema.field_validate import validate_required_fields_shell
__all__ = [
"contracts_dir",
"load_contract",
"require_formal_contract",
"resolve_contract_path",
"validate_required_fields_shell",
]