(hash: string)
| 350 | (txn_id, session_id, operation, path, before_hash, after_hash, git_commit_sha, git_status, git_fail_reason, tool_call_id, summary) |
| 351 | VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) |
| 352 | `); |
| 353 | this.incrementStmt = this.db.prepare(`UPDATE counters SET value = value + 1 WHERE name = 'next_txn_id'`); |
| 354 | this.getNextIdStmt = this.db.prepare(`SELECT value FROM counters WHERE name = 'next_txn_id'`); |
| 355 | this.markRolledBackStmt = this.db.prepare(`UPDATE transactions SET status = 'rolled-back' WHERE txn_id = ?`); |
| 356 | } |
| 357 | |
| 358 | async begin(sessionId: string, toolCallId?: string, cwd?: string): Promise<Transaction> { |
no outgoing calls
no test coverage detected