fix: resolve biome CI errors (noExplicitAny + formatting)

- Replace catch(error: any) with catch(error: unknown) in mcp client
- Fix extra blank line left by refactor in renderer.ts
This commit is contained in:
Vorflux AI 2026-03-28 07:01:50 +00:00
parent 60a809d1e9
commit 06e51f2126
2 changed files with 6 additions and 3 deletions

View file

@ -160,9 +160,13 @@ export class SupermemoryClient {
message: `Successfully forgot memory (exact match) with ID: ${result.id}`,
containerTag: this.containerTag,
}
} catch (error: any) {
} catch (error: unknown) {
// If not 404, it's a real error - re-throw it
if (error?.status !== 404) {
const status =
error && typeof error === "object" && "status" in error
? (error as Record<string, unknown>).status
: undefined
if (status !== 404) {
throw error
}
// Otherwise continue to semantic search fallback

View file

@ -686,7 +686,6 @@ function drawHexagon(
ctx.closePath()
}
/** Lighten a 6-digit hex color by a fraction (0-1). Cached to avoid per-frame parsing. */
export function lightenColor(hex: string, amount: number): string {
if (