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

Method updateStatus

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

* 更新 Agent 状态 * @param agentId Agent ID * @param status 新状态 * @returns 更新后的 Agent

(agentId: string, status: AgentStatus)

Source from the content-addressed store, hash-verified

111 * @returns 更新后的 Agent
112 */
113 private async updateStatus(agentId: string, status: AgentStatus): Promise<AgentInfo> {
114 return this.update(agentId, { status });
115 }
116
117 // ==========================================================================
118 // Agent Chat

Callers 3

activateMethod · 0.95
disableMethod · 0.95
archiveMethod · 0.95

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected