chore: fix linting issues

This commit is contained in:
rhit-lid2
2026-07-19 22:18:42 +05:30
parent 01ec062194
commit 8f6fe0dc28
21 changed files with 105 additions and 94 deletions

View File

@@ -1,5 +1,5 @@
import Database from "better-sqlite3";
import { Entity, resolveAlias } from "@omnia/core";
import { Entity } from "@omnia/core";
import { Intent } from "@omnia/intent";
import { hydrate } from "@omnia/voice";

View File

@@ -208,7 +208,7 @@ export interface HandoffRunResult {
systemPrompt?: string;
userContext?: string;
promptComponents?: PromptComponent[];
response?: any;
response?: unknown;
}
export class HandoffEngine {
@@ -267,7 +267,11 @@ export class HandoffEngine {
};
const result = response.data;
const db = (this.bufferRepo as any).db;
const db = (
this.bufferRepo as unknown as {
db: { transaction: (fn: () => void) => () => void };
}
).db;
const ledgerEntries: LedgerEntry[] = [];
for (const chunk of result.chunks) {