Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
loadSession
Method · 0.80
addMessage
Method · 0.80
getFormattedContext
Method · 0.80
compressCurrentContext
Method · 0.80
saveCurrentSession
Method · 0.80
Calls
1
recordAccess
Method · 0.95
Tested by
no test coverage detected