mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
* fix(runtime): gate node:sqlite on a NUL round-trip capability probe Validate the loaded SQLite library and TEXT, BLOB, and JSON round trips across startup, doctor, Gateway install, update preflight, and installers. Admit capable Node 24+ vendor builds with a support-policy note while retaining the package engines and Node 22 exclusion. Refs #140465 #140672. * fix(runtime): expose capability diagnostics through doctor Register the runtime check in the ordered Doctor contribution catalog. Keep shared audit types in a leaf module, include the bootstrap probe in duplicate scanning, and update native runtime and compiled-worker fixtures for the capability protocol. * fix(update): preserve target Node version requirements * fix(install): remove unused Node major probe state
16 lines
549 B
TypeScript
16 lines
549 B
TypeScript
export type SqliteCapabilities = {
|
|
available: boolean;
|
|
version: string | null;
|
|
text: boolean;
|
|
blob: boolean;
|
|
json: boolean;
|
|
error?: string;
|
|
};
|
|
export function detectCurrentSqliteCapabilities(): SqliteCapabilities;
|
|
export function isSqliteWalResetSafeVersion(value: string): boolean;
|
|
export function nodeRuntimeFailure(
|
|
version: string | null,
|
|
probe: SqliteCapabilities,
|
|
): string | null;
|
|
export function nodeRuntimeNote(version: string | null, probe: SqliteCapabilities): string | null;
|
|
export const SQLITE_CAPABILITY_PROBE: string;
|