feat: add agent update command and ekb commands tree

- ekb agent update: patch-style update, only overrides provided fields
- ekb commands [group]: rich tree view of full command hierarchy
- api/agent.py: add save_agent()
- CLAUDE.md/README.md: simplify to layered structure
This commit is contained in:
gitea committed 2026-04-06 00:37:20 +08:00
1 parent 1879decbcd
commit 1672d14d0b
7 files changed
+188 -49

No files matched your search

+4
View File
@@ -9,3 +9,7 @@ def list_agents(client: EkbClient, page: int = 1, size: int = 1000) -> dict:
def get_agent(client: EkbClient, agent_id: str) -> dict:
return client.get("/engine/hab/agent/detail", id=agent_id)
def save_agent(client: EkbClient, payload: dict) -> dict:
return client.post("/engine/hab/agent/save", payload)