T-197: M2.1t (port to master) — Real PostgreSQL executor factory for the MCP copilot stdio host: restore openResearchCopilotExecutor(config) in libs/data/postgres/src/research-copilot-executor.ts from prior branch studio/auto-db2c48b5 (T-189) onto master (no new deps, no DuckDB, no bin)

This commit is contained in:
Studio 2026-12-03 14:23:30 -05:00
parent 8fd525ce4e
commit 4315d956ea
7 changed files with 1347 additions and 1 deletions

View file

@ -1,6 +1,21 @@
export { PostgreSQLClient } from './client';
export { PostgreSQLTransactionManager } from './transactions';
export { runPostgresMigrations, type MigrationTrack } from './migrations';
export {
RESEARCH_COPILOT_PG_CONNECT_TIMEOUT_MS,
RESEARCH_COPILOT_PG_LOCK_TIMEOUT_MS,
RESEARCH_COPILOT_PG_POOL_MAX,
RESEARCH_COPILOT_PG_QUERY_TIMEOUT_MS,
RESEARCH_COPILOT_PG_STATEMENT_TIMEOUT_MS,
ResearchCopilotExecutorError,
openResearchCopilotExecutor,
type ManagedResearchCopilotExecutor,
type ResearchCopilotExecutor,
type ResearchCopilotExecutorConfig,
type ResearchCopilotExecutorDeps,
type ResearchCopilotExecutorErrorCode,
type ResearchCopilotExecutorPool,
} from './research-copilot-executor';
export type {
ConnectionEvents,
PoolMetrics,