The open-source agent harness - the runtime layer that turns an LLM into a working agent.
Add Postgres migration infrastructure
debajyoti-truefoundry1495ab86f120
diff --git a/.gitignore b/.gitignoreindex fabadc6a1..f4c230458 100644--- a/.gitignore+++ b/.gitignore@@ -12,3 +12,4 @@ coverage/.eslintcachepackages/harness/src/core/sandbox/sandboxScripts.gen.tsui-shots/*.png+data/diff --git a/README.md b/README.mdindex 3a2ceff13..ee653d2e0 100644--- a/README.md+++ b/README.md@@ -34,6 +34,12 @@ Fill in `MODEL_API_KEY` in `packages/server/.env`, then start the server:pnpm dev:server```+Migrations run automatically on startup. To migrate without starting HTTP:++```bash+pnpm --filter @truefoundry/server migrate+```+## Run the frontend (local)With the server on `:8790`:@@ -50,10 +56,12 @@ Vite serves the UI on `http://localhost:3000` and proxies `/v1/agents/*` → `/vdocker compose up --build```+Starts Postgres 17 (data in `./data/postgres`), the API, and the frontend. The server waits for Postgres to be healthy, runs migrations, then listens.+- API: `http://localhost:8790`- UI: `http://localhost:3000` (Caddy proxies same-origin `/v1/...` to `server:8790`)-The local `.env` file and `packages/server/registry/` directory are ignored by Git. Docker Compose requires `packages/server/.env` and mounts the registry read-only into the server container.+The local `.env` file, `packages/server/registry/`, and `data/` are ignored by Git. Docker Compose requires `packages/server/.env` and mounts the registry read-only into the server container.## Library importsdiff --git a/docker-compose.yml b/docker-compose.ymlindex 66027ceb8..4ff4b6daa 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -1,4 +1,20 @@services:+ postgres:+ image: postgres:17+ env_file:+ - path: packages/server/.env+ required: true+ ports:+ - '5432:5432'+ volumes:+ - ./data/postgres:/var/lib/postgresql/data+ healthcheck:+ test: ['CMD-SHELL', 'pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB"']+ interval: 5s+ timeout: 5s+ retries: 10+ restart: unless-stopped+server:build:context: .@@ -9,7 +25,9 @@ services:environment:# PORT the server listens on inside the container (defaults to 8790).PORT: 8790- # Environment variables (MODEL_API_KEY, etc.) are read from this file.+ # Compose network hostname; credentials still come from env_file.+ POSTGRES_HOST: postgres+ # Environment variables (MODEL_API_KEY, POSTGRES_*, etc.) are read from this file.# Copy packages/server/.env.example to packages/server/.env and fill it in.env_file:- path: packages/server/.env@@ -18,6 +36,9 @@ services:# the image. Copy registry-example to registry before starting the service.volumes:- ./packages/server/registry:/app/packages/server/registry:ro+ depends_on:+ postgres:+ condition: service_healthy# Above the app's default GRACEFUL_TIMEOUT_SECONDS (30) so SIGKILL does not# cut off turn drain.stop_grace_period: 35sdiff --git a/packages/server/.env.example b/packages/server/.env.exampleindex 59a57fcd4..2aee777eb 100644--- a/packages/server/.env.example+++ b/packages/server/.env.example@@ -63,3 +63,16 @@ MODEL_API_KEY=<your-api-key># Lifetime of the signed preview URL minted for the sandbox NATS bridge# (effectively the max duration of one turn's sandbox connection). Default 1 hour.# SANDBOX_PREVIEW_URL_EXPIRY_SECONDS=3600++# ---------------------------------------------------------------------------+# Postgres (required). Used by the server pool and by the Compose postgres+# service (via env_file). Compose overrides POSTGRES_HOST=postgres for the+# server container; keep localhost here for host-side tools.+# ---------------------------------------------------------------------------+POSTGRES_USER=harness+POSTGRES_PASSWORD=harness+POSTGRES_DB=harness+POSTGRES_HOST=localhost+POSTGRES_PORT=5432+# Max connections in the pg Pool. Optional, defaults to 10.+# DATABASE_POOL_MAX=10diff --git a/packages/server/package.json b/packages/server/package.jsonindex 51e102c77..4c7f2c07e 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -9,6 +9,7 @@"scripts": {"build": "tsup","dev": "tsx --env-file=.env src/main.ts",+ "migrate": "tsx --env-file=.env src/db/migrate-cli.ts","typecheck": "tsc --noEmit","test": "tsx --test src/**/*.test.ts","start": "node dist/main.js"@@ -19,6 +20,8 @@"@hono/zod-openapi": "^0.19.10","@truefoundry/utils": "workspace:*","hono": "^4.12.31",+ "kysely": "^0.29.4",+ "pg": "^8.22.0","ulid": "^3.0.2","winston": "^3.13.0","yaml": "^2.9.0",@@ -26,6 +29,7 @@},"devDependencies": {"@types/node": "^24.12.0",+ "@types/pg": "^8.20.0","tsup": "^8.5.0","tsx": "^4.16.2","typescript": "^7.0.2"diff --git a/packages/server/src/config.ts b/packages/server/src/config.tsindex 4fe40f01b..74f0d0f7f 100644--- a/packages/server/src/config.ts+++ b/packages/server/src/config.ts@@ -136,7 +136,12 @@ export const parsePort = (raw: string | undefined): number => {};/** Parses a positive-integer env var, falling back to `defaultValue` when unset/blank. */-export const parsePositiveInt = (envKey: string, raw: string | undefined, defaultValue: number): number => {+export const parsePositiveInt = (options: {+ envKey: string;+ raw: string | undefined;+ defaultValue: number;+}): number => {+ const { envKey, raw, defaultValue } = options;if (raw === undefined || raw.trim() === '') {return defaultValue;}@@ -147,6 +152,32 @@ export const parsePositiveInt = (envKey: string, raw: string | undefined, defaulreturn value;};+/**+ * Required non-empty env var. Same `NODE_ENV=test` exemption as `getEnv({ required: true })`,+ * but also rejects blank strings outside tests.+ */+export const requireNonEmptyEnv = (key: string): string => {+ const value = getEnv(key, { required: true });+ if (value === undefined || value.trim() === '') {+ if (process.env['NODE_ENV'] === 'test') {+ return '';+ }+ throw new Error(`Environment variable ${key} is required but was not specified.`);+ }+ return value;+};++/** Builds a Postgres connection URL from discrete `POSTGRES_*` parts. */+export const buildPostgresConnectionString = (parts: {+ user: string;+ password: string;+ host: string;+ port: number;+ database: string;+}): string => {+ return `postgres://${encodeURIComponent(parts.user)}:${encodeURIComponent(parts.password)}@${parts.host}:${String(parts.port)}/${encodeURIComponent(parts.database)}`;+};+// ============================================================================// CONFIGURATION INTERFACE// ============================================================================@@ -219,12 +250,29 @@ export interface ServerConfiguration {* `server-execution-timeout`. Env: `SERVER_EXECUTION_TIMEOUT_SECONDS`. Default 600 (10 minutes).*/SERVER_EXECUTION_TIMEOUT_SECONDS: number;+ /**+ * Postgres connection string derived from `POSTGRES_*` (not read from env directly).+ * Form: `postgres://USER:PASSWORD@HOST:PORT/DB` with user/password URL-encoded.+ */+ DATABASE_URL: string;+ /** Max connections in the `pg` Pool. Env: `DATABASE_POOL_MAX`. Default 10. */+ DATABASE_POOL_MAX: number;}// ============================================================================// CONFIGURATION VALUES// ============================================================================+const postgresUser = requireNonEmptyEnv('POSTGRES_USER');+const postgresPassword = requireNonEmptyEnv('POSTGRES_PASSWORD');+const postgresDb = requireNonEmptyEnv('POSTGRES_DB');+const postgresHost = requireNonEmptyEnv('POSTGRES_HOST');+const postgresPort = parsePositiveInt({+ envKey: 'POSTGRES_PORT',+ raw: requireNonEmptyEnv('POSTGRES_PORT'),+ defaultValue: 5432,+});+const configuration: ServerConfiguration = {PORT: parsePort(getEnv('PORT')),REGISTRY_DIR: path.resolve(getEnv('REGISTRY_DIR', { defaultValue: 'registry' }) ?? 'registry'),@@ -236,18 +284,38 @@ const configuration: ServerConfiguration = {MCP_HEADERS_BY_NAME: parseHeadersByName('MCP'),SANDBOX_SETTINGS: getEnv('SANDBOX_SETTINGS'),SANDBOX_API_KEY: getEnv('SANDBOX_API_KEY'),- SANDBOX_FILE_MAX_BYTES: parsePositiveInt('SANDBOX_FILE_MAX_BYTES', getEnv('SANDBOX_FILE_MAX_BYTES'), 20_971_520),- SANDBOX_PREVIEW_URL_EXPIRY_SECONDS: parsePositiveInt(- 'SANDBOX_PREVIEW_URL_EXPIRY_SECONDS',- getEnv('SANDBOX_PREVIEW_URL_EXPIRY_SECONDS'),- 3600,- ),- GRACEFUL_TIMEOUT_SECONDS: parsePositiveInt('GRACEFUL_TIMEOUT_SECONDS', getEnv('GRACEFUL_TIMEOUT_SECONDS'), 30),- SERVER_EXECUTION_TIMEOUT_SECONDS: parsePositiveInt(- 'SERVER_EXECUTION_TIMEOUT_SECONDS',- getEnv('SERVER_EXECUTION_TIMEOUT_SECONDS'),- 600,- ),+ SANDBOX_FILE_MAX_BYTES: parsePositiveInt({+ envKey: 'SANDBOX_FILE_MAX_BYTES',+ raw: getEnv('SANDBOX_FILE_MAX_BYTES'),+ defaultValue: 20_971_520,+ }),+ SANDBOX_PREVIEW_URL_EXPIRY_SECONDS: parsePositiveInt({+ envKey: 'SANDBOX_PREVIEW_URL_EXPIRY_SECONDS',+ raw: getEnv('SANDBOX_PREVIEW_URL_EXPIRY_SECONDS'),+ defaultValue: 3600,+ }),+ GRACEFUL_TIMEOUT_SECONDS: parsePositiveInt({+ envKey: 'GRACEFUL_TIMEOUT_SECONDS',+ raw: getEnv('GRACEFUL_TIMEOUT_SECONDS'),+ defaultValue: 30,+ }),+ SERVER_EXECUTION_TIMEOUT_SECONDS: parsePositiveInt({+ envKey: 'SERVER_EXECUTION_TIMEOUT_SECONDS',+ raw: getEnv('SERVER_EXECUTION_TIMEOUT_SECONDS'),+ defaultValue: 600,+ }),+ DATABASE_URL: buildPostgresConnectionString({+ user: postgresUser,+ password: postgresPassword,+ host: postgresHost,+ port: postgresPort,+ database: postgresDb,+ }),+ DATABASE_POOL_MAX: parsePositiveInt({+ envKey: 'DATABASE_POOL_MAX',+ raw: getEnv('DATABASE_POOL_MAX'),+ defaultValue: 10,+ }),} as const;export default configuration;diff --git a/packages/server/src/db/client.ts b/packages/server/src/db/client.tsnew file mode 100644index 000000000..91d05dfeb--- /dev/null+++ b/packages/server/src/db/client.ts@@ -0,0 +1,15 @@+import { Kysely, PostgresDialect } from 'kysely';+import { Pool } from 'pg';++import type { Database } from './types';++export function createDb(connectionString: string, poolMax: number): Kysely<Database> {+ return new Kysely<Database>({+ dialect: new PostgresDialect({+ pool: new Pool({+ connectionString,+ max: poolMax,+ }),+ }),+ });+}diff --git a/packages/server/src/db/migrate-cli.ts b/packages/server/src/db/migrate-cli.tsnew file mode 100644index 000000000..ec36bfca0--- /dev/null+++ b/packages/server/src/db/migrate-cli.ts@@ -0,0 +1,14 @@+/**+ * Run pending migrations and exit. Usage: `pnpm migrate` from packages/server.+ */+import configuration from '../config';+import { createDb } from './client';+import { migrateToLatest } from './migrate';++const db = createDb(configuration.DATABASE_URL, configuration.DATABASE_POOL_MAX);++try {+ await migrateToLatest(db);+} finally {+ await db.destroy();+}diff --git a/packages/server/src/db/migrate.ts b/packages/server/src/db/migrate.tsnew file mode 100644index 000000000..e1c2df1b0--- /dev/null+++ b/packages/server/src/db/migrate.ts@@ -0,0 +1,42 @@+import { promises as fs } from 'node:fs';+import path from 'node:path';++import type { Kysely } from 'kysely';+import { FileMigrationProvider, Migrator } from 'kysely/migration';++import type { Database } from './types';++/**+ * Runs all pending migrations. On Postgres this executes inside one+ * transaction (Kysely default) unless `disableTransactions` is set — never set that.+ */+export async function migrateToLatest(db: Kysely<Database>): Promise<void> {+ const migrator = new Migrator({+ db,+ provider: new FileMigrationProvider({+ fs,+ path,+ // Absolute path required.+ // Dev (tsx): this file lives in src/db → src/db/migrations+ // Prod (bundled into dist/main.js): import.meta.dirname is dist → dist/migrations+ migrationFolder: path.join(import.meta.dirname, 'migrations'),+ }),+ });++ const { error, results } = await migrator.migrateToLatest();++ results?.forEach(it => {+ if (it.status === 'Success') {+ console.log(`migration "${it.migrationName}" was executed successfully`);+ } else if (it.status === 'Error') {+ console.error(`failed to execute migration "${it.migrationName}"`);+ }+ });++ if (error) {+ if (error instanceof Error) {+ throw error;+ }+ throw new Error('failed to migrate', { cause: error });+ }+}diff --git a/packages/server/src/db/migrations/20260727_000001_init.ts b/packages/server/src/db/migrations/20260727_000001_init.tsnew file mode 100644index 000000000..d7dfc8500--- /dev/null+++ b/packages/server/src/db/migrations/20260727_000001_init.ts@@ -0,0 +1,9 @@+import { type Kysely, sql } from 'kysely';++export async function up(db: Kysely<unknown>): Promise<void> {+ await sql`SELECT 1`.execute(db);+}++export async function down(db: Kysely<unknown>): Promise<void> {+ await sql`SELECT 1`.execute(db);+}diff --git a/packages/server/src/db/types.ts b/packages/server/src/db/types.tsnew file mode 100644index 000000000..9106ed441--- /dev/null+++ b/packages/server/src/db/types.ts@@ -0,0 +1,6 @@+/**+ * Live app schema for the runtime Kysely client / future Postgres-backed store.+ * Migrations must not use this type — use `Kysely<unknown>` instead.+ */+// TODO: Replace with an interface whose keys are tables when the first table is added.+export type Database = Record<string, never>;diff --git a/packages/server/src/main.ts b/packages/server/src/main.tsindex 45660f3e7..65fa7d912 100644--- a/packages/server/src/main.ts+++ b/packages/server/src/main.ts@@ -1,7 +1,7 @@/**- * Server entry point: validates config, loads the YAML stores, wires the- * in-memory session runtime and starts the HTTP server. Any config or store- * error aborts startup.+ * Server entry point: validates config, migrates the database, loads the YAML+ * stores, wires the in-memory session runtime and starts the HTTP server.+ * Any config, migration, or store error aborts startup.*/import { serve } from '@hono/node-server';import winston from 'winston';@@ -10,6 +10,8 @@ try {const [{ createServerApp },{ default: configuration },+ { createDb },+ { migrateToLatest },{ ModelStore },{ McpStore },{ SkillStore },@@ -19,6 +21,8 @@ try {] = await Promise.all([import('./app'),import('./config'),+ import('./db/client'),+ import('./db/migrate'),import('./store/ModelStore'),import('./store/McpStore'),import('./store/SkillStore'),@@ -34,6 +38,9 @@ try {transports: [new winston.transports.Console()],});+ const db = createDb(configuration.DATABASE_URL, configuration.DATABASE_POOL_MAX);+ await migrateToLatest(db);+const sessionStore = new InMemorySessionStore();// Throws on malformed SANDBOX_SETTINGS; undefined when sandbox is not configured.const skillStore = SkillStore.load();@@ -86,6 +93,7 @@ try {// closed covers the gap where the registry is empty before that late track().await activeTurns.shutdownAndWait(CancellationReason.Abandoned);await closed;+ await db.destroy();process.exit(0);};process.on('SIGTERM', signal => {diff --git a/packages/server/tsup.config.ts b/packages/server/tsup.config.tsindex 050f32f12..6193686e8 100644--- a/packages/server/tsup.config.ts+++ b/packages/server/tsup.config.ts@@ -1,7 +1,24 @@+import { readdirSync } from 'node:fs';+import path from 'node:path';+import { fileURLToPath } from 'node:url';+import { defineConfig } from 'tsup';+const migrationsDir = path.join(path.dirname(fileURLToPath(import.meta.url)), 'src/db/migrations');+const migrationEntries = Object.fromEntries(+ readdirSync(migrationsDir)+ .filter(name => name.endsWith('.ts'))+ .map(name => {+ const base = name.replace(/\.ts$/, '');+ return [`migrations/${base}`, path.join(migrationsDir, name)] as const;+ }),+);+export default defineConfig({- entry: { main: 'src/main.ts' },+ entry: {+ main: 'src/main.ts',+ ...migrationEntries,+ },format: ['esm'],dts: false,splitting: false,@@ -9,15 +26,4 @@ export default defineConfig({clean: true,target: 'esnext',outDir: 'dist',- external: [- '@hono/node-server',- '@hono/swagger-ui',- '@hono/zod-openapi',- '@truefoundry/utils',- 'hono',- 'ulid',- 'winston',- 'yaml',- 'zod',- ],});diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 63520e964..58b9f3d6c 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -191,6 +191,12 @@ importers:hono:specifier: ^4.12.31version: 4.12.31+ kysely:+ specifier: ^0.29.4+ version: 0.29.4+ pg:+ specifier: ^8.22.0+ version: 8.22.0ulid:specifier: ^3.0.2version: 3.0.2@@ -207,6 +213,9 @@ importers:'@types/node':specifier: ^24.12.0version: 24.13.3+ '@types/pg':+ specifier: ^8.20.0+ version: 8.20.0tsup:specifier: ^8.5.0version: 8.5.1(@swc/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -2899,6 +2908,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-bEPFOaMAHTEP1EzpvHTbmwR8UsFyHSKsRisLIHVMXnpNefSbGA1bD6CVy+qKjGSqmZqNqBDV2azOBo8TgkcVow==}+'@types/[email protected]':resolution: {integrity: sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw==}@@ -4561,6 +4573,10 @@ packages:resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==}+ resolution: {integrity: sha512-y5mVgQNkMbs1eK9Xyc0pmNdabN2wHhRYY/5r4W5HrUT1rYCEPeVNSj1RUJeSDKT3U0p+mXCvLgkrFuIafYI6BA==}+ engines: {node: '>=22.0.0'}+resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==}engines: {node: '>=6'}@@ -5046,6 +5062,40 @@ packages:resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}+ resolution: {integrity: sha512-Vo7z/6rrQYxpNRylp4Tlob2elzbh+N/MOQbxFVWCxS7oEx6jF53GTJFxK2WWpKuBRkmiin4Mt+xofFDjx09R0A==}++ resolution: {integrity: sha512-XwWDGcLRGCXAR8F/AM5bG7Q+A3Wm2s6QeEjlOKZLlH3UYcguiqCWKyWXVag5TLTIjR7oOJUY8kcADaZgWPyLeg==}++ resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==}+ engines: {node: '>=4.0.0'}++ resolution: {integrity: sha512-gKtPkFdQPU3DksooVLi9LsjZxrsBUZIpa+7aVx+LV5pNh0KzP4Zleud2po+ConrxbuXGBJ6Hfer6hdgpIBpBaw==}+ peerDependencies:+ pg: '>=8.0'++ resolution: {integrity: sha512-cq9sECI5s0+uPUXjbz8ioyPJni6RzsRib0US67i5IoTZKw8fNeYlVE7u8F4dG7vEJJtc5wdD1K189lCCUwqWTQ==}++ resolution: {integrity: sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-8wih1vVIBMxoUM2oB4soJsD9tDnDpLv4OXBJ+EJzFsvycD+lfyIreC2gGHq78f8jbLLt+bvlPTFdFZfJkOuzAA==}+ engines: {node: '>= 16.0.0'}+ peerDependencies:+ pg-native: '>=3.0.1'+ peerDependenciesMeta:+ pg-native:+ optional: true++ resolution: {integrity: sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==}+resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}@@ -5140,6 +5190,22 @@ packages:resolution: {integrity: sha512-KBDEIpLrvpv16pp3K0Fw+UCoZfopFjjgeB+0tA/aaThfEE74kKDLrgg603YvOWJyg3+WYtyq3xYsQWsIyZlPqQ==}engines: {node: ^10 || ^12 || >=14}+ resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==}+ engines: {node: '>=4'}++ resolution: {integrity: sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}engines: {node: '>= 0.8.0'}@@ -5574,6 +5640,10 @@ packages:resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}+ resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}+ engines: {node: '>= 10.x'}+resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}@@ -9089,6 +9159,12 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]':+ dependencies:+ '@types/node': 24.13.3+ pg-protocol: 1.15.0+ pg-types: 2.2.0+'@types/[email protected]': {}'@types/[email protected]': {}@@ -11033,6 +11109,8 @@ snapshots:+ [email protected]: {}+@@ -11730,6 +11808,41 @@ snapshots:+ optional: true++ [email protected]: {}++ [email protected]: {}++ dependencies:+ pg: 8.22.0++ [email protected]: {}++ dependencies:+ pg-int8: 1.0.1+ postgres-array: 2.0.0+ postgres-bytea: 1.0.1+ postgres-date: 1.0.7+ postgres-interval: 1.2.0++ dependencies:+ pg-connection-string: 2.14.0+ pg-pool: 3.14.0([email protected])+ pg-protocol: 1.15.0+ pg-types: 2.2.0+ pgpass: 1.0.5+ optionalDependencies:+ pg-cloudflare: 1.4.0++ dependencies:+ split2: 4.2.0+@@ -11800,6 +11913,16 @@ snapshots:picocolors: 1.1.1source-map-js: 1.2.1+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ xtend: 4.0.2+@@ -12409,6 +12532,8 @@ snapshots:+ [email protected]: {}+