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

Method updateWorkspace

src/agent/ContextComponent.ts:257–261  ·  view source on GitHub ↗

* 更新工作空间信息

(updates: Partial<WorkspaceContext>)

Source from the content-addressed store, hash-verified

255 * 更新工作空间信息
256 */
257 public updateWorkspace(updates: Partial<WorkspaceContext>): void {
258 this.ensureReady();
259 this.contextManager!.updateWorkspace(updates);
260 this.log('工作空间信息已更新');
261 }
262
263 /**
264 * 获取格式化的上下文

Callers

nothing calls this directly

Calls 2

ensureReadyMethod · 0.95
logMethod · 0.95

Tested by

no test coverage detected