MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / addWorklogEntry

Method addWorklogEntry

src/session/store.ts:437–443  ·  view source on GitHub ↗

Append one accomplishment/decision/blocker/note to the project's worklog.

(cwd: string, sessionId: string | null, entry: string, kind: WorklogKind = 'work')

Source from the content-addressed store, hash-verified

435 ON CONFLICT(cwd) DO UPDATE SET
436 name = excluded.name,
437 description = COALESCE(excluded.description, projects.description),
438 updated_at = CURRENT_TIMESTAMP
439 `).run(cwd, name, description ?? null);
440 }
441
442 getProject(cwd: string): ProjectMeta | null {
443 const row = this.db.prepare(`SELECT * FROM projects WHERE cwd = ?`).get(cwd) as
444 | ProjectMeta
445 | undefined;
446 return row ?? null;

Callers 3

executeMethod · 0.80
handleSlashCommandFunction · 0.80

Calls 1

runMethod · 0.65

Tested by

no test coverage detected