feat: correct package.json dependencies and remove libsql

This commit is contained in:
Aarnav Tale
2026-03-17 13:31:35 -04:00
parent 4fb1cf059e
commit 5f81822366
8 changed files with 86 additions and 93 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
import { inArray } from "drizzle-orm";
import { LibSQLDatabase } from "drizzle-orm/libsql/driver-core";
import { ChildProcessWithoutNullStreams, spawn } from "node:child_process";
import EventEmitter from "node:events";
import { access, constants, mkdir, open } from "node:fs/promises";
import { getegid, geteuid } from "node:process";
import { createInterface, Interface } from "node:readline";
import { inArray } from "drizzle-orm";
import { NodeSQLiteDatabase } from "drizzle-orm/node-sqlite";
import { HostInfo } from "~/types";
import log from "~/utils/log";
@@ -15,7 +16,7 @@ import { hostInfo } from "./db/schema";
export async function createHeadplaneAgent(
config: NonNullable<HeadplaneConfig["integration"]>["agent"] | undefined,
headscaleUrl: string,
db: LibSQLDatabase,
db: NodeSQLiteDatabase,
) {
if (!config?.enabled) {
return;