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

Method saveCurrentSessionAsync

src/context/ContextManager.ts:453–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

451 }
452
453 private saveCurrentSessionAsync(): void {
454 // 异步保存,不阻塞主流程
455 this.saveCurrentSession().catch(error => {
456 console.warn('异步保存会话失败:', error);
457 });
458 }
459
460 private hashContext(contextData: ContextData): string {
461 const content = JSON.stringify({

Callers 2

addMessageMethod · 0.95
addToolCallMethod · 0.95

Calls 2

saveCurrentSessionMethod · 0.95
warnMethod · 0.45

Tested by

no test coverage detected