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

Method updateWorkspace

src/context/ContextManager.ts:255–261  ·  view source on GitHub ↗

* 更新工作空间信息

(updates: Partial<WorkspaceContext>)

Source from the content-addressed store, hash-verified

253 * 更新工作空间信息
254 */
255 updateWorkspace(updates: Partial<WorkspaceContext>): void {
256 if (!this.currentSessionId) {
257 throw new Error('没有活动会话');
258 }
259
260 this.memory.updateWorkspace(updates);
261 }
262
263 /**
264 * 获取格式化的上下文用于 Prompt 构建

Callers 1

exampleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected