Files
reverse-engineering-anything/src/composition/sqlite.ts
T
YsopwnableandY0UW1SH aeee5074d1 feat(sqlite): inspect offline snapshots with selective evidence (#2271)
Add offline SQLite database/WAL inspection through the shared CLI/MCP.

Use compact inventory, selected-table schema, exact ordered columns and
bounded row samples while preserving source identity and lossless values.
Retain completed Evidence through late cancellation and private-root cleanup
failures, bound concurrent inspections, and recheck journal validity after
acquisition. Reuse prepared CI runtime artifacts across supported Node lines.

Co-authored-by: Y0UW1SH <29498139+Y0UW1SH@users.noreply.github.com>
Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
2026-10-12 18:33:23 +00:00

9 lines
453 B
TypeScript

import { SqliteDatabaseService } from "../application/sqlite/SqliteDatabaseService.js";
import { SqliteDatabaseProvider } from "../sqlite/SqliteDatabaseProvider.js";
/** Compose local snapshot inspection without opening a native analysis provider. */
export const createSqliteDatabaseService = (
environment: Readonly<NodeJS.ProcessEnv> = process.env,
): SqliteDatabaseService =>
new SqliteDatabaseService(new SqliteDatabaseProvider(environment));