MCPcopy Create free account
hub / github.com/echoVic/blade-code / registerComponent

Method registerComponent

src/agent/Agent.ts:265–267  ·  view source on GitHub ↗

* 注册组件

(component: BaseComponent)

Source from the content-addressed store, hash-verified

263 * 注册组件
264 */
265 public async registerComponent(component: BaseComponent): Promise<void> {
266 return await this.componentManager.registerComponent(component);
267 }
268
269 /**
270 * 获取组件

Callers 2

demonstrateAdvancedUsageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected