Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/echoVic/blade-code
/ getComponent
Method
getComponent
src/agent/Agent.ts:272–274 ·
view source on GitHub ↗
* 获取组件
(id: string)
Source
from the content-addressed store, hash-verified
270
* 获取组件
271
*/
272
public getComponent<T extends BaseComponent>(id: string): T | undefined {
273
return
this.componentManager.getComponent<T>(id);
274
}
275
276
/**
277
* 移除组件
Callers
5
analyzeToolNeed
Method · 0.95
callToolSmart
Method · 0.95
getToolComponent
Method · 0.95
getContextComponent
Method · 0.95
getMCPComponent
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected