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:
Fusion
2026-04-15 02:20:39 -07:00
committed by gsxdsm
parent d87ab0e26f
commit d2bf84538f
25 changed files with 47 additions and 44 deletions

View File

@@ -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}`);