MCPcopy Create free account
hub / github.com/Louisym/MiniCC / get_status

Method get_status

mini_claude_code/multi_agent.py:320–326  ·  view source on GitHub ↗

读 manifest JSON,返回 AgentManifest。

(self, agent_id: str)

Source from the content-addressed store, hash-verified

318 # --------------------------------------------------------
319
320 def get_status(self, agent_id: str) -> AgentManifest:
321 """读 manifest JSON,返回 AgentManifest。"""
322 manifest_file = self._store_dir / f"{agent_id}.json"
323 if not manifest_file.exists():
324 raise FileNotFoundError(f"agent manifest not found: {agent_id}")
325 data = json.loads(manifest_file.read_text(encoding="utf-8"))
326 return AgentManifest.model_validate(data)
327
328 # --------------------------------------------------------
329 # list_agents — 列出所有 agent

Callers 2

complete_agentMethod · 0.95
fail_agentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected