新增:ekb agent create / copy 命令,支持新建和复制 Agent

This commit is contained in:
gitea committed 2026-04-08 00:09:44 +08:00
1 parent 21d8832e44
commit 4d9b0b8f35
5 files changed
+132

No files matched your search

+4
View File
@@ -5,6 +5,8 @@ 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.create import cmd_create
from ekb_cli.commands.agent.copy import cmd_copy
from ekb_cli.commands.agent.rule_list import cmd_rule_list
from ekb_cli.commands.agent.rule_detail import cmd_rule_detail
from ekb_cli.commands.agent.rule_create import cmd_rule_create
@@ -13,6 +15,8 @@ app = typer.Typer(help="智能审核 Agent 管理")
app.command("list")(cmd_list)
app.command("get")(cmd_detail)
app.command("create")(cmd_create)
app.command("copy")(cmd_copy)
app.command("update")(cmd_update)
app.command("logs")(cmd_logs)
app.command("rules")(cmd_rule_list)