MCPcopy Create free account
hub / github.com/astercloud/aster / archive

Method archive

client-sdks/client-js/src/resources/agent.ts:103–105  ·  view source on GitHub ↗

* 归档 Agent * @param agentId Agent ID * @returns 更新后的 Agent

(agentId: string)

Source from the content-addressed store, hash-verified

101 * @returns 更新后的 Agent
102 */
103 async archive(agentId: string): Promise<AgentInfo> {
104 return this.updateStatus(agentId, "archived");
105 }
106
107 /**
108 * 更新 Agent 状态

Callers 1

mainFunction · 0.45

Calls 1

updateStatusMethod · 0.95

Tested by

no test coverage detected