fix(HAI-005): fix pre-existing build errors in types, executor, and dashboard server
This commit is contained in:
@@ -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[];
|
||||||
|
|||||||
@@ -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());
|
||||||
|
|
||||||
|
|||||||
@@ -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})`,
|
||||||
|
|||||||
Reference in New Issue
Block a user