feat(FN-1757): clear residual lint debt in engine package
- Remove unused imports across 25 files in engine package - Remove unused variable declarations in ipc-worker.ts, child-process-runtime.ts, and mission-autopilot.ts - Clean up unnecessary imports in agent-instructions.ts, agent-tools.ts, cron-runner.ts, executor.ts, and other modules - Minor cleanup in notifier.ts, peer-exchange-service.ts, pi.ts, plugin-runner.ts, and other files - Improves code quality and reduces potential confusion from unused code
This commit is contained in:
@@ -226,6 +226,7 @@ export class CronRunner {
|
||||
startedAt,
|
||||
completedAt: new Date().toISOString(),
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
} catch (err: any) {
|
||||
const stdout = err.stdout ?? "";
|
||||
const stderr = err.stderr ?? "";
|
||||
@@ -333,6 +334,7 @@ export class CronRunner {
|
||||
stepIndex,
|
||||
success: false,
|
||||
output: "",
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
error: `Unknown step type: "${(step as any).type}"`,
|
||||
startedAt: stepStartedAt,
|
||||
completedAt: new Date().toISOString(),
|
||||
@@ -377,6 +379,7 @@ export class CronRunner {
|
||||
startedAt,
|
||||
completedAt: new Date().toISOString(),
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
} catch (err: any) {
|
||||
const stdout = err.stdout ?? "";
|
||||
const stderr = err.stderr ?? "";
|
||||
@@ -470,6 +473,7 @@ export class CronRunner {
|
||||
startedAt,
|
||||
completedAt: new Date().toISOString(),
|
||||
};
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
} catch (err: any) {
|
||||
const errorMessage = err.message ?? String(err);
|
||||
log.warn(` ✗ AI prompt step "${step.name}" failed: ${errorMessage}`);
|
||||
|
||||
Reference in New Issue
Block a user