mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 02:06:43 +00:00
* refactor: compose native SQLite bootstrap tables * refactor: share native SQLite state bootstrap * refactor(macos): move PortGuardian state to SQLite * test: align PortGuardian future-schema fixture * fix(macos): reserve PortGuardian ledger across tunnel spawn * fix(ci): align PortGuardian migration gates * fix(macos): tolerate vanished SQLite sidecars * fix(macos): revalidate PortGuardian writes * test(macos): use sqlite identity bootstrap
30 lines
744 B
TypeScript
30 lines
744 B
TypeScript
#!/usr/bin/env node
|
|
export function collectDatabaseFirstLegacyStoreSourceFiles(
|
|
sourceRoots: string[],
|
|
): Promise<string[]>;
|
|
/**
|
|
* Finds database-first legacy-store violations in one native Swift source file.
|
|
*/
|
|
export function collectDatabaseFirstNativeLegacyStoreViolations(
|
|
content: string,
|
|
relativePath: string,
|
|
): {
|
|
kind: string;
|
|
line: number;
|
|
}[];
|
|
/**
|
|
* Finds database-first legacy-store violations in one TypeScript/JavaScript source file.
|
|
*/
|
|
export function collectDatabaseFirstLegacyStoreViolations(
|
|
content: string,
|
|
relativePath?: string,
|
|
scanOptions?: Record<string, unknown>,
|
|
): {
|
|
kind: string;
|
|
line: number;
|
|
}[];
|
|
/**
|
|
* Runs the database-first legacy-store guard.
|
|
*/
|
|
export function main(): Promise<void>;
|