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

Method generateTaskId

src/prompt/WorkflowManager.ts:273–277  ·  view source on GitHub ↗

* 生成任务ID

()

Source from the content-addressed store, hash-verified

271 * 生成任务ID
272 */
273 private generateTaskId(): string {
274 const timestamp = Date.now().toString(36);
275 const random = Math.random().toString(36).substring(2, 8);
276 return `task-${timestamp}-${random}`;
277 }
278
279 /**
280 * 添加任务

Callers 2

parseTaskLineMethod · 0.95
addTaskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected