feat: wire duckdb through cli runtime

This commit is contained in:
Andrey Avtomonov 2026-05-18 15:25:33 +02:00
parent 22ad9dca99
commit 460c6fae63
17 changed files with 308 additions and 8 deletions

View file

@ -321,6 +321,11 @@ function buildConnectionStatus(
if (typeof path === 'string' && path.length > 0) return ok(`path: ${path}`);
return warn('path not set', 'Rerun `ktx setup`');
}
case 'duckdb': {
const path = (conn as Record<string, unknown>).path ?? (conn as Record<string, unknown>).url;
if (typeof path === 'string' && path.length > 0) return ok(`path: ${path}`);
return warn('path not set', 'Rerun `ktx setup`');
}
case 'notion': {
const tokenRef =
(conn as Record<string, unknown>).auth_token_ref ??