chore: remove dead code (pairedCursorKey, unused ARBITER_AGENT_TYPE import)

This commit is contained in:
Eyejoker
2026-03-30 22:59:18 +09:00
parent 14d70f345a
commit d3df67e08c
2 changed files with 0 additions and 9 deletions

View File

@@ -31,14 +31,6 @@ export function advanceLastAgentCursor(
saveState(); saveState();
} }
/** Returns the cursor key for a paired room role. */
export function pairedCursorKey(
chatJid: string,
isReviewerTurn: boolean,
): string {
return isReviewerTurn ? `${chatJid}:reviewer` : chatJid;
}
/** Map task status to the active role. */ /** Map task status to the active role. */
export function resolveActiveRole( export function resolveActiveRole(
taskStatus?: string | null, taskStatus?: string | null,

View File

@@ -21,7 +21,6 @@ import {
type WorkItem, type WorkItem,
} from './db.js'; } from './db.js';
import { import {
ARBITER_AGENT_TYPE,
CLAUDE_SERVICE_ID, CLAUDE_SERVICE_ID,
CODEX_MAIN_SERVICE_ID, CODEX_MAIN_SERVICE_ID,
CODEX_REVIEW_SERVICE_ID, CODEX_REVIEW_SERVICE_ID,