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

Method getContextComponent

src/agent/Agent.ts:592–594  ·  view source on GitHub ↗

* 获取上下文组件

()

Source from the content-addressed store, hash-verified

590 * 获取上下文组件
591 */
592 public getContextComponent(): ContextComponent | undefined {
593 return this.getComponent<ContextComponent>('context');
594 }
595
596 /**
597 * 获取 MCP 组件

Callers 7

createContextSessionMethod · 0.95
loadContextSessionMethod · 0.95
getCurrentSessionIdMethod · 0.95
searchContextSessionsMethod · 0.95
chatWithContextMethod · 0.95
smartChatWithContextMethod · 0.95
getContextStatsMethod · 0.95

Calls 1

getComponentMethod · 0.95

Tested by

no test coverage detected