Files
hose-use/src/ekb_cli/commands/agent/__init__.py
T
gitea fd41415d83 新增:ekb agent rules 命令,列出企业所有审核规则
- api/agent.py 增加 list_rules / save_rule / update_rule 封装
- 新增 commands/agent/rule_list.py,支持 --full 展开截断字段
- 注册 rules 子命令,更新命令树和 CLAUDE.md API 路径
2026-04-06 01:12:15 +08:00

17 lines
517 B
Python

"""agent 子命令组"""
import typer
from ekb_cli.commands.agent.list import cmd_list
from ekb_cli.commands.agent.detail import cmd_detail
from ekb_cli.commands.agent.logs import cmd_logs
from ekb_cli.commands.agent.update import cmd_update
from ekb_cli.commands.agent.rule_list import cmd_rule_list
app = typer.Typer(help="智能审核 Agent 管理")
app.command("list")(cmd_list)
app.command("get")(cmd_detail)
app.command("update")(cmd_update)
app.command("logs")(cmd_logs)
app.command("rules")(cmd_rule_list)