fix(HAI-005): fix pre-existing build errors in types, executor, and dashboard server

This commit is contained in:
Dustin Byrne
2026-03-25 20:41:06 -04:00
parent c44af7962a
commit 7f3cf51c19
3 changed files with 3 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ export interface Task {
column: Column; column: Column;
dependencies: string[]; dependencies: string[];
worktree?: string; worktree?: string;
status?: string;
steps: TaskStep[]; steps: TaskStep[];
currentStep: number; currentStep: number;
log: TaskLogEntry[]; log: TaskLogEntry[];

View File

@@ -16,7 +16,7 @@ export interface ServerOptions {
maxConcurrent?: number; maxConcurrent?: number;
} }
export function createServer(store: TaskStore, options?: ServerOptions) { export function createServer(store: TaskStore, options?: ServerOptions): ReturnType<typeof express> {
const app = express(); const app = express();
app.use(express.json()); app.use(express.json());

View File

@@ -226,7 +226,7 @@ export class TaskExecutor {
), ),
}), }),
execute: async (_toolCallId, params) => { execute: async (_toolCallId, params) => {
const { step, type: reviewType, step_name, baseline } = params; const { step, type: reviewType, step_name, baseline } = params as { step: number; type: "plan" | "code"; step_name: string; baseline?: string };
console.log( console.log(
`[reviewer] ${taskId}: ${reviewType} review for Step ${step} (${step_name})`, `[reviewer] ${taskId}: ${reviewType} review for Step ${step} (${step_name})`,