MCPcopy
hub / github.com/zgsm-ai/costrict / isTaskInHistory

Method isTaskInHistory

src/extension/api.ts:238–245  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

236 }
237
238 public async isTaskInHistory(taskId: string): Promise<boolean> {
239 try {
240 await this.sidebarProvider.getTaskWithId(taskId)
241 return true
242 } catch {
243 return false
244 }
245 }
246
247 public getCurrentTaskStack() {
248 return this.sidebarProvider.getCurrentTaskStack()

Callers

nothing calls this directly

Calls 1

getTaskWithIdMethod · 0.65

Tested by

no test coverage detected