(cwd: string, limit = 20)
| 443 | const row = this.db.prepare(`SELECT * FROM projects WHERE cwd = ?`).get(cwd) as |
| 444 | | ProjectMeta |
| 445 | | undefined; |
| 446 | return row ?? null; |
| 447 | } |
| 448 | |
| 449 | /** Append one accomplishment/decision/blocker/note to the project's worklog. */ |
| 450 | addWorklogEntry(cwd: string, sessionId: string | null, entry: string, kind: WorklogKind = 'work'): void { |
| 451 | this.db.prepare( |
| 452 | `INSERT INTO project_worklog (cwd, session_id, kind, entry) VALUES (?, ?, ?, ?)`, |
no outgoing calls
no test coverage detected