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

Method getStats

src/agent/ContextComponent.ts:322–330  ·  view source on GitHub ↗

* 获取统计信息

()

Source from the content-addressed store, hash-verified

320 * 获取统计信息
321 */
322 public async getStats(): Promise<{
323 currentSession: string | null;
324 memory: any;
325 cache: any;
326 storage: any;
327 }> {
328 this.ensureReady();
329 return await this.contextManager!.getStats();
330 }
331
332 /**
333 * 构建包含上下文的消息列表

Callers

nothing calls this directly

Calls 1

ensureReadyMethod · 0.95

Tested by

no test coverage detected