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

Function rowToTask

packages/memos-core/src/storage/sqlite.ts:2962–2974  ·  view source on GitHub ↗
(row: TaskRow)

Source from the content-addressed store, hash-verified

2960}
2961
2962function rowToTask(row: TaskRow): Task {
2963 return {
2964 id: row.id,
2965 sessionKey: row.session_key,
2966 title: row.title,
2967 summary: row.summary,
2968 status: row.status as Task["status"],
2969 owner: row.owner ?? "agent:main",
2970 startedAt: row.started_at,
2971 endedAt: row.ended_at,
2972 updatedAt: row.updated_at,
2973 };
2974}
2975
2976interface SkillRow {
2977 id: string;

Callers 3

getTaskMethod · 0.70
getActiveTaskMethod · 0.70
getTasksBySkillMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected