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

Method getContext

src/context/storage/MemoryStore.ts:27–32  ·  view source on GitHub ↗

* 获取完整上下文数据

()

Source from the content-addressed store, hash-verified

25 * 获取完整上下文数据
26 */
27 getContext(): ContextData | null {
28 if (this.contextData) {
29 this.recordAccess('context');
30 }
31 return this.contextData;
32 }
33
34 /**
35 * 添加消息到对话上下文

Callers 5

loadSessionMethod · 0.80
addMessageMethod · 0.80
getFormattedContextMethod · 0.80
saveCurrentSessionMethod · 0.80

Calls 1

recordAccessMethod · 0.95

Tested by

no test coverage detected