MCPcopy Create free account
hub / github.com/MemTensor/MemOS / getTask

Method getTask

packages/memos-core/src/storage/sqlite.ts:1583–1586  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

1581 }
1582
1583 getTask(taskId: string): Task | null {
1584 const row = this.db.prepare("SELECT * FROM tasks WHERE id = ?").get(taskId) as TaskRow | undefined;
1585 return row ? rowToTask(row) : null;
1586 }
1587
1588 getActiveTask(sessionKey: string, owner?: string): Task | null {
1589 if (owner) {

Callers 11

finalizeTaskMethod · 0.45
serveTaskSearchMethod · 0.45
serveTaskDetailMethod · 0.45
handleTaskRetrySkillMethod · 0.45
handleTaskUpdateMethod · 0.45
handleTaskScopeMethod · 0.45
serveAdminSharedTasksMethod · 0.45
processAgentMethod · 0.45

Calls 3

prepareMethod · 0.80
rowToTaskFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected