@axiom-lattice/pg-stores 1.0.86 → 1.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/pg-stores@1.0.86 build /home/runner/work/agentic/agentic/packages/pg-stores
2
+ > @axiom-lattice/pg-stores@1.0.87 build /home/runner/work/agentic/agentic/packages/pg-stores
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,13 +8,13 @@
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/index.mjs 250.81 KB
12
- ESM dist/index.mjs.map 480.82 KB
13
- ESM ⚡️ Build success in 696ms
14
- CJS dist/index.js 256.93 KB
15
- CJS dist/index.js.map 481.04 KB
16
- CJS ⚡️ Build success in 707ms
11
+ CJS dist/index.js 261.80 KB
12
+ CJS dist/index.js.map 490.26 KB
13
+ CJS ⚡️ Build success in 773ms
14
+ ESM dist/index.mjs 255.60 KB
15
+ ESM dist/index.mjs.map 490.01 KB
16
+ ESM ⚡️ Build success in 775ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 16062ms
19
- DTS dist/index.d.ts 59.56 KB
20
- DTS dist/index.d.mts 59.56 KB
18
+ DTS ⚡️ Build success in 17385ms
19
+ DTS dist/index.d.ts 60.34 KB
20
+ DTS dist/index.d.mts 60.34 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @axiom-lattice/pg-stores
2
2
 
3
+ ## 1.0.87
4
+
5
+ ### Patch Changes
6
+
7
+ - aeb0bbd: add plugins
8
+ - Updated dependencies [aeb0bbd]
9
+ - @axiom-lattice/core@2.1.96
10
+ - @axiom-lattice/protocols@2.1.50
11
+
3
12
  ## 1.0.86
4
13
 
5
14
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Pool, PoolConfig, PoolClient } from 'pg';
2
2
  export { Pool, PoolConfig } from 'pg';
3
- import { ThreadStore, Thread, CreateThreadRequest, AssistantStore, Assistant, CreateAssistantRequest, DatabaseConfigStore, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, MetricsServerConfigStore, MetricsServerConfigEntry, CreateMetricsServerConfigRequest, UpdateMetricsServerConfigRequest, McpServerConfigStore, McpServerConfigEntry, CreateMcpServerConfigRequest, UpdateMcpServerConfigRequest, WorkspaceStore, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectStore, Project, CreateProjectRequest, UpdateProjectRequest, UserStore, User, CreateUserRequest, UpdateUserRequest, TenantStore, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLinkStore, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, WorkflowTrackingStore, CreateWorkflowRunRequest, WorkflowRun, UpdateWorkflowRunRequest, CreateRunStepRequest, RunStep, UpdateRunStepRequest, StepType, EvalStore, EvalProject, CreateEvalProjectRequest, EvalSuite, CreateEvalSuiteRequest, EvalCase, CreateEvalCaseRequest, EvalRun, CreateEvalRunRequest, EvalRunResult, EvalProjectReport, BindingRegistry, Binding, CreateBindingInput, ChannelInstallationStore, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, A2AApiKeyStore, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TaskStore, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, MenuRegistry, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, SharedResourceStore, ShareRecord, CollectionStore, Collection, CreateCollectionRequest, UpdateCollectionRequest, VectorStoreProvider, VectorStoreCreateParams, SkillStore, Skill, CreateSkillRequest } from '@axiom-lattice/protocols';
4
- export { Assistant, AssistantStore, Binding, BindingRegistry, ChannelInstallation, ChannelInstallationStore, CreateAssistantRequest, CreateBindingInput, CreateChannelInstallationRequest, CreateDatabaseConfigRequest, CreateEvalCaseRequest, CreateEvalProjectRequest, CreateEvalRunRequest, CreateEvalSuiteRequest, CreateMcpServerConfigRequest, CreateMenuItemInput, CreateMetricsServerConfigRequest, CreateProjectRequest, CreateRunStepRequest, CreateShareRequest, CreateSkillRequest, CreateTenantRequest, CreateThreadRequest, CreateUserRequest, CreateUserTenantLinkRequest, CreateWorkflowRunRequest, CreateWorkspaceRequest, DatabaseConfig, DatabaseConfigEntry, DatabaseConfigStore, DatabaseType, EvalCase, EvalProject, EvalProjectReport, EvalRun, EvalRunResult, EvalStore, EvalSuite, LarkChannelInstallationConfig, McpServerConfigEntry, McpServerConfigStore, MenuItem, MenuRegistry, MetricsServerConfig, MetricsServerConfigEntry, MetricsServerConfigStore, Project, ProjectStore, ResourceAddress, RunStep, ScheduleExecutionType, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ShareRecord, ShareResult, ShareVisibility, SharedResourceStore, Skill, SkillStore, StorageType, Tenant, TenantStatus, TenantStore, Thread, ThreadStore, UpdateChannelInstallationRequest, UpdateDatabaseConfigRequest, UpdateMcpServerConfigRequest, UpdateMetricsServerConfigRequest, UpdateProjectRequest, UpdateRunStepRequest, UpdateTenantRequest, UpdateUserRequest, UpdateUserTenantLinkRequest, UpdateWorkflowRunRequest, UpdateWorkspaceRequest, User, UserStore, UserTenantLink, UserTenantLinkStore, UserTenantRole, WorkflowRun, WorkflowTrackingStore, Workspace, WorkspaceStore } from '@axiom-lattice/protocols';
3
+ import { ThreadStore, Thread, CreateThreadRequest, AssistantStore, Assistant, CreateAssistantRequest, DatabaseConfigStore, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, ConnectionStore, ConnectionEntry, MetricsServerConfigStore, MetricsServerConfigEntry, CreateMetricsServerConfigRequest, UpdateMetricsServerConfigRequest, McpServerConfigStore, McpServerConfigEntry, CreateMcpServerConfigRequest, UpdateMcpServerConfigRequest, WorkspaceStore, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectStore, Project, CreateProjectRequest, UpdateProjectRequest, UserStore, User, CreateUserRequest, UpdateUserRequest, TenantStore, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLinkStore, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, WorkflowTrackingStore, CreateWorkflowRunRequest, WorkflowRun, UpdateWorkflowRunRequest, CreateRunStepRequest, RunStep, UpdateRunStepRequest, StepType, EvalStore, EvalProject, CreateEvalProjectRequest, EvalSuite, CreateEvalSuiteRequest, EvalCase, CreateEvalCaseRequest, EvalRun, CreateEvalRunRequest, EvalRunResult, EvalProjectReport, BindingRegistry, Binding, CreateBindingInput, ChannelInstallationStore, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, A2AApiKeyStore, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TaskStore, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, MenuRegistry, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, SharedResourceStore, ShareRecord, CollectionStore, Collection, CreateCollectionRequest, UpdateCollectionRequest, VectorStoreProvider, VectorStoreCreateParams, SkillStore, Skill, CreateSkillRequest } from '@axiom-lattice/protocols';
4
+ export { Assistant, AssistantStore, Binding, BindingRegistry, ChannelInstallation, ChannelInstallationStore, ConnectionEntry, ConnectionStore, CreateAssistantRequest, CreateBindingInput, CreateChannelInstallationRequest, CreateDatabaseConfigRequest, CreateEvalCaseRequest, CreateEvalProjectRequest, CreateEvalRunRequest, CreateEvalSuiteRequest, CreateMcpServerConfigRequest, CreateMenuItemInput, CreateMetricsServerConfigRequest, CreateProjectRequest, CreateRunStepRequest, CreateShareRequest, CreateSkillRequest, CreateTenantRequest, CreateThreadRequest, CreateUserRequest, CreateUserTenantLinkRequest, CreateWorkflowRunRequest, CreateWorkspaceRequest, DatabaseConfig, DatabaseConfigEntry, DatabaseConfigStore, DatabaseType, EvalCase, EvalProject, EvalProjectReport, EvalRun, EvalRunResult, EvalStore, EvalSuite, LarkChannelInstallationConfig, McpServerConfigEntry, McpServerConfigStore, MenuItem, MenuRegistry, MetricsServerConfig, MetricsServerConfigEntry, MetricsServerConfigStore, Project, ProjectStore, ResourceAddress, RunStep, ScheduleExecutionType, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ShareRecord, ShareResult, ShareVisibility, SharedResourceStore, Skill, SkillStore, StorageType, Tenant, TenantStatus, TenantStore, Thread, ThreadStore, UpdateChannelInstallationRequest, UpdateDatabaseConfigRequest, UpdateMcpServerConfigRequest, UpdateMetricsServerConfigRequest, UpdateProjectRequest, UpdateRunStepRequest, UpdateTenantRequest, UpdateUserRequest, UpdateUserTenantLinkRequest, UpdateWorkflowRunRequest, UpdateWorkspaceRequest, User, UserStore, UserTenantLink, UserTenantLinkStore, UserTenantRole, WorkflowRun, WorkflowTrackingStore, Workspace, WorkspaceStore } from '@axiom-lattice/protocols';
5
5
  import { IMessageQueueStore, AddMessageParams, PendingMessage, ThreadInfo } from '@axiom-lattice/core';
6
6
  export { AddMessageParams, PendingMessage, ThreadInfo } from '@axiom-lattice/core';
7
7
  import { PostgresSaver } from '@langchain/langgraph-checkpoint-postgres';
@@ -268,6 +268,21 @@ declare class PostgreSQLDatabaseConfigStore implements DatabaseConfigStore {
268
268
  private encryptPasswordInConfig;
269
269
  }
270
270
 
271
+ /**
272
+ * PostgreSQL implementation of ConnectionStore
273
+ */
274
+
275
+ declare class PostgreSQLConnectionStore implements ConnectionStore {
276
+ private db;
277
+ constructor(db: Pool);
278
+ listByType(tenantId: string, type: string): Promise<ConnectionEntry[]>;
279
+ getByKey(tenantId: string, type: string, key: string): Promise<ConnectionEntry | null>;
280
+ create(entry: Omit<ConnectionEntry, "id" | "createdAt" | "updatedAt">): Promise<ConnectionEntry>;
281
+ update(tenantId: string, type: string, key: string, updates: Partial<ConnectionEntry>): Promise<ConnectionEntry | null>;
282
+ delete(tenantId: string, type: string, key: string): Promise<boolean>;
283
+ private mapRow;
284
+ }
285
+
271
286
  /**
272
287
  * PostgreSQL implementation of MetricsServerConfigStore
273
288
  */
@@ -1298,6 +1313,7 @@ declare function createPgStoreConfig(connectionString: string): Promise<{
1298
1313
  channelInstallation: PostgreSQLChannelInstallationStore;
1299
1314
  thread: PostgreSQLThreadStore;
1300
1315
  database: PostgreSQLDatabaseConfigStore;
1316
+ connection: PostgreSQLConnectionStore;
1301
1317
  metrics: PostgreSQLMetricsServerConfigStore;
1302
1318
  mcp: PostgreSQLMcpServerConfigStore;
1303
1319
  assistant: PostgreSQLAssistantStore;
@@ -1776,4 +1792,4 @@ declare const addFileContentType: Migration;
1776
1792
 
1777
1793
  declare const createCollectionsTable: Migration;
1778
1794
 
1779
- export { ChannelBindingStore, type ChannelBindingStoreOptions, type ChannelIdentityMapping, ChannelIdentityMappingStore, type ChannelIdentityMappingStoreOptions, type CreateChannelIdentityMappingInput, MenuStore, type MenuStoreOptions, type Migration, MigrationManager, PGVectorStoreProvider, PostgreSQLA2AApiKeyStore, type PostgreSQLA2AApiKeyStoreOptions, PostgreSQLAssistantStore, type PostgreSQLAssistantStoreOptions, PostgreSQLChannelInstallationStore, type PostgreSQLChannelInstallationStoreOptions, PostgreSQLCollectionStore, type PostgreSQLCollectionStoreOptions, PostgreSQLDatabaseConfigStore, type PostgreSQLDatabaseConfigStoreOptions, PostgreSQLEvalStore, type PostgreSQLEvalStoreOptions, PostgreSQLMcpServerConfigStore, type PostgreSQLMcpServerConfigStoreOptions, PostgreSQLMetricsServerConfigStore, type PostgreSQLMetricsServerConfigStoreOptions, PostgreSQLProjectStore, type PostgreSQLProjectStoreOptions, PostgreSQLScheduleStorage, type PostgreSQLScheduleStorageOptions, PostgreSQLSkillStore, type PostgreSQLSkillStoreOptions, PostgreSQLTenantStore, type PostgreSQLTenantStoreOptions, type PostgreSQLThreadMessageQueueStoreOptions, PostgreSQLThreadStore, type PostgreSQLThreadStoreOptions, PostgreSQLUserStore, type PostgreSQLUserStoreOptions, PostgreSQLUserTenantLinkStore, type PostgreSQLUserTenantLinkStoreOptions, PostgreSQLWorkflowTrackingStore, type PostgreSQLWorkflowTrackingStoreOptions, PostgreSQLWorkspaceStore, type PostgreSQLWorkspaceStoreOptions, PostgresSharedResourceStore, type PostgresSharedResourceStoreOptions, ThreadMessageQueueStore, addAssistantTenantId, addFileContentType, addProjectConfigColumn, addScheduleTenantId, addSkillTenantId, addStepThreadId, addThreadTenantId, alterChannelInstallationsTable, changeAssistantPrimaryKey, changeSkillPrimaryKey, changeThreadPrimaryKey, createA2AApiKeysTable, createAssistantsTable, createChannelBindingsTable, createChannelIdentityMappingTables, createChannelInstallationsTable, createCollectionsTable, createDatabaseConfigsTable, createEvalCasesTable, createEvalProjectsTable, createEvalRunResultsTable, createEvalRunsTable, createEvalSuitesTable, createMcpServerConfigsTable, createMenuItemsTable, createMetricsConfigsTable, createPGVectorStoreProvider, createPgStoreConfig, createProjectsTable, createScheduledTasksTable, createSharedResourcesTable, createSkillsTable, createTenantsTable, createThreadMessageQueueTable, createThreadsTable, createUsersTable, createWorkflowTrackingTables, createWorkspacesTable, evalMigrations, mapRowToRunStep, mapRowToWorkflowRun, safeParse };
1795
+ export { ChannelBindingStore, type ChannelBindingStoreOptions, type ChannelIdentityMapping, ChannelIdentityMappingStore, type ChannelIdentityMappingStoreOptions, type CreateChannelIdentityMappingInput, MenuStore, type MenuStoreOptions, type Migration, MigrationManager, PGVectorStoreProvider, PostgreSQLA2AApiKeyStore, type PostgreSQLA2AApiKeyStoreOptions, PostgreSQLAssistantStore, type PostgreSQLAssistantStoreOptions, PostgreSQLChannelInstallationStore, type PostgreSQLChannelInstallationStoreOptions, PostgreSQLCollectionStore, type PostgreSQLCollectionStoreOptions, PostgreSQLConnectionStore, PostgreSQLDatabaseConfigStore, type PostgreSQLDatabaseConfigStoreOptions, PostgreSQLEvalStore, type PostgreSQLEvalStoreOptions, PostgreSQLMcpServerConfigStore, type PostgreSQLMcpServerConfigStoreOptions, PostgreSQLMetricsServerConfigStore, type PostgreSQLMetricsServerConfigStoreOptions, PostgreSQLProjectStore, type PostgreSQLProjectStoreOptions, PostgreSQLScheduleStorage, type PostgreSQLScheduleStorageOptions, PostgreSQLSkillStore, type PostgreSQLSkillStoreOptions, PostgreSQLTenantStore, type PostgreSQLTenantStoreOptions, type PostgreSQLThreadMessageQueueStoreOptions, PostgreSQLThreadStore, type PostgreSQLThreadStoreOptions, PostgreSQLUserStore, type PostgreSQLUserStoreOptions, PostgreSQLUserTenantLinkStore, type PostgreSQLUserTenantLinkStoreOptions, PostgreSQLWorkflowTrackingStore, type PostgreSQLWorkflowTrackingStoreOptions, PostgreSQLWorkspaceStore, type PostgreSQLWorkspaceStoreOptions, PostgresSharedResourceStore, type PostgresSharedResourceStoreOptions, ThreadMessageQueueStore, addAssistantTenantId, addFileContentType, addProjectConfigColumn, addScheduleTenantId, addSkillTenantId, addStepThreadId, addThreadTenantId, alterChannelInstallationsTable, changeAssistantPrimaryKey, changeSkillPrimaryKey, changeThreadPrimaryKey, createA2AApiKeysTable, createAssistantsTable, createChannelBindingsTable, createChannelIdentityMappingTables, createChannelInstallationsTable, createCollectionsTable, createDatabaseConfigsTable, createEvalCasesTable, createEvalProjectsTable, createEvalRunResultsTable, createEvalRunsTable, createEvalSuitesTable, createMcpServerConfigsTable, createMenuItemsTable, createMetricsConfigsTable, createPGVectorStoreProvider, createPgStoreConfig, createProjectsTable, createScheduledTasksTable, createSharedResourcesTable, createSkillsTable, createTenantsTable, createThreadMessageQueueTable, createThreadsTable, createUsersTable, createWorkflowTrackingTables, createWorkspacesTable, evalMigrations, mapRowToRunStep, mapRowToWorkflowRun, safeParse };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Pool, PoolConfig, PoolClient } from 'pg';
2
2
  export { Pool, PoolConfig } from 'pg';
3
- import { ThreadStore, Thread, CreateThreadRequest, AssistantStore, Assistant, CreateAssistantRequest, DatabaseConfigStore, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, MetricsServerConfigStore, MetricsServerConfigEntry, CreateMetricsServerConfigRequest, UpdateMetricsServerConfigRequest, McpServerConfigStore, McpServerConfigEntry, CreateMcpServerConfigRequest, UpdateMcpServerConfigRequest, WorkspaceStore, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectStore, Project, CreateProjectRequest, UpdateProjectRequest, UserStore, User, CreateUserRequest, UpdateUserRequest, TenantStore, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLinkStore, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, WorkflowTrackingStore, CreateWorkflowRunRequest, WorkflowRun, UpdateWorkflowRunRequest, CreateRunStepRequest, RunStep, UpdateRunStepRequest, StepType, EvalStore, EvalProject, CreateEvalProjectRequest, EvalSuite, CreateEvalSuiteRequest, EvalCase, CreateEvalCaseRequest, EvalRun, CreateEvalRunRequest, EvalRunResult, EvalProjectReport, BindingRegistry, Binding, CreateBindingInput, ChannelInstallationStore, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, A2AApiKeyStore, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TaskStore, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, MenuRegistry, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, SharedResourceStore, ShareRecord, CollectionStore, Collection, CreateCollectionRequest, UpdateCollectionRequest, VectorStoreProvider, VectorStoreCreateParams, SkillStore, Skill, CreateSkillRequest } from '@axiom-lattice/protocols';
4
- export { Assistant, AssistantStore, Binding, BindingRegistry, ChannelInstallation, ChannelInstallationStore, CreateAssistantRequest, CreateBindingInput, CreateChannelInstallationRequest, CreateDatabaseConfigRequest, CreateEvalCaseRequest, CreateEvalProjectRequest, CreateEvalRunRequest, CreateEvalSuiteRequest, CreateMcpServerConfigRequest, CreateMenuItemInput, CreateMetricsServerConfigRequest, CreateProjectRequest, CreateRunStepRequest, CreateShareRequest, CreateSkillRequest, CreateTenantRequest, CreateThreadRequest, CreateUserRequest, CreateUserTenantLinkRequest, CreateWorkflowRunRequest, CreateWorkspaceRequest, DatabaseConfig, DatabaseConfigEntry, DatabaseConfigStore, DatabaseType, EvalCase, EvalProject, EvalProjectReport, EvalRun, EvalRunResult, EvalStore, EvalSuite, LarkChannelInstallationConfig, McpServerConfigEntry, McpServerConfigStore, MenuItem, MenuRegistry, MetricsServerConfig, MetricsServerConfigEntry, MetricsServerConfigStore, Project, ProjectStore, ResourceAddress, RunStep, ScheduleExecutionType, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ShareRecord, ShareResult, ShareVisibility, SharedResourceStore, Skill, SkillStore, StorageType, Tenant, TenantStatus, TenantStore, Thread, ThreadStore, UpdateChannelInstallationRequest, UpdateDatabaseConfigRequest, UpdateMcpServerConfigRequest, UpdateMetricsServerConfigRequest, UpdateProjectRequest, UpdateRunStepRequest, UpdateTenantRequest, UpdateUserRequest, UpdateUserTenantLinkRequest, UpdateWorkflowRunRequest, UpdateWorkspaceRequest, User, UserStore, UserTenantLink, UserTenantLinkStore, UserTenantRole, WorkflowRun, WorkflowTrackingStore, Workspace, WorkspaceStore } from '@axiom-lattice/protocols';
3
+ import { ThreadStore, Thread, CreateThreadRequest, AssistantStore, Assistant, CreateAssistantRequest, DatabaseConfigStore, DatabaseConfigEntry, CreateDatabaseConfigRequest, UpdateDatabaseConfigRequest, ConnectionStore, ConnectionEntry, MetricsServerConfigStore, MetricsServerConfigEntry, CreateMetricsServerConfigRequest, UpdateMetricsServerConfigRequest, McpServerConfigStore, McpServerConfigEntry, CreateMcpServerConfigRequest, UpdateMcpServerConfigRequest, WorkspaceStore, Workspace, CreateWorkspaceRequest, UpdateWorkspaceRequest, ProjectStore, Project, CreateProjectRequest, UpdateProjectRequest, UserStore, User, CreateUserRequest, UpdateUserRequest, TenantStore, Tenant, CreateTenantRequest, UpdateTenantRequest, UserTenantLinkStore, UserTenantLink, CreateUserTenantLinkRequest, UpdateUserTenantLinkRequest, WorkflowTrackingStore, CreateWorkflowRunRequest, WorkflowRun, UpdateWorkflowRunRequest, CreateRunStepRequest, RunStep, UpdateRunStepRequest, StepType, EvalStore, EvalProject, CreateEvalProjectRequest, EvalSuite, CreateEvalSuiteRequest, EvalCase, CreateEvalCaseRequest, EvalRun, CreateEvalRunRequest, EvalRunResult, EvalProjectReport, BindingRegistry, Binding, CreateBindingInput, ChannelInstallationStore, ChannelInstallation, ChannelInstallationType, CreateChannelInstallationRequest, UpdateChannelInstallationRequest, A2AApiKeyStore, A2AApiKeyRecord, CreateA2AApiKeyInput, A2AApiKeyEntry, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ScheduleExecutionType, TaskStore, CreateTaskRequest, TaskItem, TaskListFilter, UpdateTaskRequest, MenuRegistry, MenuItem, CreateMenuItemInput, UpdateMenuItemInput, SharedResourceStore, ShareRecord, CollectionStore, Collection, CreateCollectionRequest, UpdateCollectionRequest, VectorStoreProvider, VectorStoreCreateParams, SkillStore, Skill, CreateSkillRequest } from '@axiom-lattice/protocols';
4
+ export { Assistant, AssistantStore, Binding, BindingRegistry, ChannelInstallation, ChannelInstallationStore, ConnectionEntry, ConnectionStore, CreateAssistantRequest, CreateBindingInput, CreateChannelInstallationRequest, CreateDatabaseConfigRequest, CreateEvalCaseRequest, CreateEvalProjectRequest, CreateEvalRunRequest, CreateEvalSuiteRequest, CreateMcpServerConfigRequest, CreateMenuItemInput, CreateMetricsServerConfigRequest, CreateProjectRequest, CreateRunStepRequest, CreateShareRequest, CreateSkillRequest, CreateTenantRequest, CreateThreadRequest, CreateUserRequest, CreateUserTenantLinkRequest, CreateWorkflowRunRequest, CreateWorkspaceRequest, DatabaseConfig, DatabaseConfigEntry, DatabaseConfigStore, DatabaseType, EvalCase, EvalProject, EvalProjectReport, EvalRun, EvalRunResult, EvalStore, EvalSuite, LarkChannelInstallationConfig, McpServerConfigEntry, McpServerConfigStore, MenuItem, MenuRegistry, MetricsServerConfig, MetricsServerConfigEntry, MetricsServerConfigStore, Project, ProjectStore, ResourceAddress, RunStep, ScheduleExecutionType, ScheduleStorage, ScheduledTaskDefinition, ScheduledTaskStatus, ShareRecord, ShareResult, ShareVisibility, SharedResourceStore, Skill, SkillStore, StorageType, Tenant, TenantStatus, TenantStore, Thread, ThreadStore, UpdateChannelInstallationRequest, UpdateDatabaseConfigRequest, UpdateMcpServerConfigRequest, UpdateMetricsServerConfigRequest, UpdateProjectRequest, UpdateRunStepRequest, UpdateTenantRequest, UpdateUserRequest, UpdateUserTenantLinkRequest, UpdateWorkflowRunRequest, UpdateWorkspaceRequest, User, UserStore, UserTenantLink, UserTenantLinkStore, UserTenantRole, WorkflowRun, WorkflowTrackingStore, Workspace, WorkspaceStore } from '@axiom-lattice/protocols';
5
5
  import { IMessageQueueStore, AddMessageParams, PendingMessage, ThreadInfo } from '@axiom-lattice/core';
6
6
  export { AddMessageParams, PendingMessage, ThreadInfo } from '@axiom-lattice/core';
7
7
  import { PostgresSaver } from '@langchain/langgraph-checkpoint-postgres';
@@ -268,6 +268,21 @@ declare class PostgreSQLDatabaseConfigStore implements DatabaseConfigStore {
268
268
  private encryptPasswordInConfig;
269
269
  }
270
270
 
271
+ /**
272
+ * PostgreSQL implementation of ConnectionStore
273
+ */
274
+
275
+ declare class PostgreSQLConnectionStore implements ConnectionStore {
276
+ private db;
277
+ constructor(db: Pool);
278
+ listByType(tenantId: string, type: string): Promise<ConnectionEntry[]>;
279
+ getByKey(tenantId: string, type: string, key: string): Promise<ConnectionEntry | null>;
280
+ create(entry: Omit<ConnectionEntry, "id" | "createdAt" | "updatedAt">): Promise<ConnectionEntry>;
281
+ update(tenantId: string, type: string, key: string, updates: Partial<ConnectionEntry>): Promise<ConnectionEntry | null>;
282
+ delete(tenantId: string, type: string, key: string): Promise<boolean>;
283
+ private mapRow;
284
+ }
285
+
271
286
  /**
272
287
  * PostgreSQL implementation of MetricsServerConfigStore
273
288
  */
@@ -1298,6 +1313,7 @@ declare function createPgStoreConfig(connectionString: string): Promise<{
1298
1313
  channelInstallation: PostgreSQLChannelInstallationStore;
1299
1314
  thread: PostgreSQLThreadStore;
1300
1315
  database: PostgreSQLDatabaseConfigStore;
1316
+ connection: PostgreSQLConnectionStore;
1301
1317
  metrics: PostgreSQLMetricsServerConfigStore;
1302
1318
  mcp: PostgreSQLMcpServerConfigStore;
1303
1319
  assistant: PostgreSQLAssistantStore;
@@ -1776,4 +1792,4 @@ declare const addFileContentType: Migration;
1776
1792
 
1777
1793
  declare const createCollectionsTable: Migration;
1778
1794
 
1779
- export { ChannelBindingStore, type ChannelBindingStoreOptions, type ChannelIdentityMapping, ChannelIdentityMappingStore, type ChannelIdentityMappingStoreOptions, type CreateChannelIdentityMappingInput, MenuStore, type MenuStoreOptions, type Migration, MigrationManager, PGVectorStoreProvider, PostgreSQLA2AApiKeyStore, type PostgreSQLA2AApiKeyStoreOptions, PostgreSQLAssistantStore, type PostgreSQLAssistantStoreOptions, PostgreSQLChannelInstallationStore, type PostgreSQLChannelInstallationStoreOptions, PostgreSQLCollectionStore, type PostgreSQLCollectionStoreOptions, PostgreSQLDatabaseConfigStore, type PostgreSQLDatabaseConfigStoreOptions, PostgreSQLEvalStore, type PostgreSQLEvalStoreOptions, PostgreSQLMcpServerConfigStore, type PostgreSQLMcpServerConfigStoreOptions, PostgreSQLMetricsServerConfigStore, type PostgreSQLMetricsServerConfigStoreOptions, PostgreSQLProjectStore, type PostgreSQLProjectStoreOptions, PostgreSQLScheduleStorage, type PostgreSQLScheduleStorageOptions, PostgreSQLSkillStore, type PostgreSQLSkillStoreOptions, PostgreSQLTenantStore, type PostgreSQLTenantStoreOptions, type PostgreSQLThreadMessageQueueStoreOptions, PostgreSQLThreadStore, type PostgreSQLThreadStoreOptions, PostgreSQLUserStore, type PostgreSQLUserStoreOptions, PostgreSQLUserTenantLinkStore, type PostgreSQLUserTenantLinkStoreOptions, PostgreSQLWorkflowTrackingStore, type PostgreSQLWorkflowTrackingStoreOptions, PostgreSQLWorkspaceStore, type PostgreSQLWorkspaceStoreOptions, PostgresSharedResourceStore, type PostgresSharedResourceStoreOptions, ThreadMessageQueueStore, addAssistantTenantId, addFileContentType, addProjectConfigColumn, addScheduleTenantId, addSkillTenantId, addStepThreadId, addThreadTenantId, alterChannelInstallationsTable, changeAssistantPrimaryKey, changeSkillPrimaryKey, changeThreadPrimaryKey, createA2AApiKeysTable, createAssistantsTable, createChannelBindingsTable, createChannelIdentityMappingTables, createChannelInstallationsTable, createCollectionsTable, createDatabaseConfigsTable, createEvalCasesTable, createEvalProjectsTable, createEvalRunResultsTable, createEvalRunsTable, createEvalSuitesTable, createMcpServerConfigsTable, createMenuItemsTable, createMetricsConfigsTable, createPGVectorStoreProvider, createPgStoreConfig, createProjectsTable, createScheduledTasksTable, createSharedResourcesTable, createSkillsTable, createTenantsTable, createThreadMessageQueueTable, createThreadsTable, createUsersTable, createWorkflowTrackingTables, createWorkspacesTable, evalMigrations, mapRowToRunStep, mapRowToWorkflowRun, safeParse };
1795
+ export { ChannelBindingStore, type ChannelBindingStoreOptions, type ChannelIdentityMapping, ChannelIdentityMappingStore, type ChannelIdentityMappingStoreOptions, type CreateChannelIdentityMappingInput, MenuStore, type MenuStoreOptions, type Migration, MigrationManager, PGVectorStoreProvider, PostgreSQLA2AApiKeyStore, type PostgreSQLA2AApiKeyStoreOptions, PostgreSQLAssistantStore, type PostgreSQLAssistantStoreOptions, PostgreSQLChannelInstallationStore, type PostgreSQLChannelInstallationStoreOptions, PostgreSQLCollectionStore, type PostgreSQLCollectionStoreOptions, PostgreSQLConnectionStore, PostgreSQLDatabaseConfigStore, type PostgreSQLDatabaseConfigStoreOptions, PostgreSQLEvalStore, type PostgreSQLEvalStoreOptions, PostgreSQLMcpServerConfigStore, type PostgreSQLMcpServerConfigStoreOptions, PostgreSQLMetricsServerConfigStore, type PostgreSQLMetricsServerConfigStoreOptions, PostgreSQLProjectStore, type PostgreSQLProjectStoreOptions, PostgreSQLScheduleStorage, type PostgreSQLScheduleStorageOptions, PostgreSQLSkillStore, type PostgreSQLSkillStoreOptions, PostgreSQLTenantStore, type PostgreSQLTenantStoreOptions, type PostgreSQLThreadMessageQueueStoreOptions, PostgreSQLThreadStore, type PostgreSQLThreadStoreOptions, PostgreSQLUserStore, type PostgreSQLUserStoreOptions, PostgreSQLUserTenantLinkStore, type PostgreSQLUserTenantLinkStoreOptions, PostgreSQLWorkflowTrackingStore, type PostgreSQLWorkflowTrackingStoreOptions, PostgreSQLWorkspaceStore, type PostgreSQLWorkspaceStoreOptions, PostgresSharedResourceStore, type PostgresSharedResourceStoreOptions, ThreadMessageQueueStore, addAssistantTenantId, addFileContentType, addProjectConfigColumn, addScheduleTenantId, addSkillTenantId, addStepThreadId, addThreadTenantId, alterChannelInstallationsTable, changeAssistantPrimaryKey, changeSkillPrimaryKey, changeThreadPrimaryKey, createA2AApiKeysTable, createAssistantsTable, createChannelBindingsTable, createChannelIdentityMappingTables, createChannelInstallationsTable, createCollectionsTable, createDatabaseConfigsTable, createEvalCasesTable, createEvalProjectsTable, createEvalRunResultsTable, createEvalRunsTable, createEvalSuitesTable, createMcpServerConfigsTable, createMenuItemsTable, createMetricsConfigsTable, createPGVectorStoreProvider, createPgStoreConfig, createProjectsTable, createScheduledTasksTable, createSharedResourcesTable, createSkillsTable, createTenantsTable, createThreadMessageQueueTable, createThreadsTable, createUsersTable, createWorkflowTrackingTables, createWorkspacesTable, evalMigrations, mapRowToRunStep, mapRowToWorkflowRun, safeParse };
package/dist/index.js CHANGED
@@ -40,6 +40,7 @@ __export(index_exports, {
40
40
  PostgreSQLAssistantStore: () => PostgreSQLAssistantStore,
41
41
  PostgreSQLChannelInstallationStore: () => PostgreSQLChannelInstallationStore,
42
42
  PostgreSQLCollectionStore: () => PostgreSQLCollectionStore,
43
+ PostgreSQLConnectionStore: () => PostgreSQLConnectionStore,
43
44
  PostgreSQLDatabaseConfigStore: () => PostgreSQLDatabaseConfigStore,
44
45
  PostgreSQLEvalStore: () => PostgreSQLEvalStore,
45
46
  PostgreSQLMcpServerConfigStore: () => PostgreSQLMcpServerConfigStore,
@@ -1347,6 +1348,101 @@ var PostgreSQLDatabaseConfigStore = class {
1347
1348
  }
1348
1349
  };
1349
1350
 
1351
+ // src/stores/PostgreSQLConnectionStore.ts
1352
+ var import_uuid = require("uuid");
1353
+ var TABLE = "lattice_connection_configs";
1354
+ var PostgreSQLConnectionStore = class {
1355
+ constructor(db) {
1356
+ this.db = db;
1357
+ }
1358
+ async listByType(tenantId, type) {
1359
+ const result = await this.db.query(
1360
+ `SELECT * FROM ${TABLE} WHERE tenant_id = $1 AND type = $2 ORDER BY created_at`,
1361
+ [tenantId, type]
1362
+ );
1363
+ return result.rows.map((row) => this.mapRow(row));
1364
+ }
1365
+ async getByKey(tenantId, type, key) {
1366
+ const result = await this.db.query(
1367
+ `SELECT * FROM ${TABLE} WHERE tenant_id = $1 AND type = $2 AND key = $3`,
1368
+ [tenantId, type, key]
1369
+ );
1370
+ if (result.rows.length === 0) return null;
1371
+ return this.mapRow(result.rows[0]);
1372
+ }
1373
+ async create(entry) {
1374
+ const id = (0, import_uuid.v4)();
1375
+ const now = (/* @__PURE__ */ new Date()).toISOString();
1376
+ await this.db.query(
1377
+ `INSERT INTO ${TABLE} (id, tenant_id, type, key, name, description, config, status, created_at, updated_at)
1378
+ VALUES ($1, $2, $3, $4, $5, $6, $7, 'active', $8::timestamp, $9::timestamp)`,
1379
+ [
1380
+ id,
1381
+ entry.tenantId,
1382
+ entry.type,
1383
+ entry.key,
1384
+ entry.name,
1385
+ entry.description || null,
1386
+ JSON.stringify(entry.config),
1387
+ now,
1388
+ now
1389
+ ]
1390
+ );
1391
+ return { id, ...entry, createdAt: now, updatedAt: now };
1392
+ }
1393
+ async update(tenantId, type, key, updates) {
1394
+ const existing = await this.getByKey(tenantId, type, key);
1395
+ if (!existing) return null;
1396
+ const setClauses = [];
1397
+ const values = [];
1398
+ let paramIndex = 1;
1399
+ if (updates.name !== void 0) {
1400
+ setClauses.push(`name = $${paramIndex++}`);
1401
+ values.push(updates.name);
1402
+ }
1403
+ if (updates.description !== void 0) {
1404
+ setClauses.push(`description = $${paramIndex++}`);
1405
+ values.push(updates.description || null);
1406
+ }
1407
+ if (updates.config !== void 0) {
1408
+ setClauses.push(`config = $${paramIndex++}`);
1409
+ values.push(JSON.stringify(updates.config));
1410
+ }
1411
+ if (setClauses.length === 0) return existing;
1412
+ setClauses.push(`updated_at = $${paramIndex++}::timestamp`);
1413
+ values.push((/* @__PURE__ */ new Date()).toISOString());
1414
+ values.push(tenantId, type, key);
1415
+ const whereTenant = paramIndex++;
1416
+ const whereType = paramIndex++;
1417
+ const whereKey = paramIndex;
1418
+ await this.db.query(
1419
+ `UPDATE ${TABLE} SET ${setClauses.join(", ")} WHERE tenant_id = $${whereTenant} AND type = $${whereType} AND key = $${whereKey}`,
1420
+ values
1421
+ );
1422
+ return this.getByKey(tenantId, type, key);
1423
+ }
1424
+ async delete(tenantId, type, key) {
1425
+ const result = await this.db.query(
1426
+ `DELETE FROM ${TABLE} WHERE tenant_id = $1 AND type = $2 AND key = $3`,
1427
+ [tenantId, type, key]
1428
+ );
1429
+ return (result.rowCount ?? 0) > 0;
1430
+ }
1431
+ mapRow(row) {
1432
+ return {
1433
+ id: row.id,
1434
+ tenantId: row.tenant_id,
1435
+ type: row.type,
1436
+ key: row.key,
1437
+ name: row.name,
1438
+ description: row.description || void 0,
1439
+ config: typeof row.config === "string" ? JSON.parse(row.config) : row.config,
1440
+ createdAt: row.created_at instanceof Date ? row.created_at.toISOString() : String(row.created_at),
1441
+ updatedAt: row.updated_at instanceof Date ? row.updated_at.toISOString() : String(row.updated_at)
1442
+ };
1443
+ }
1444
+ };
1445
+
1350
1446
  // src/stores/PostgreSQLMetricsServerConfigStore.ts
1351
1447
  var import_pg4 = require("pg");
1352
1448
 
@@ -3823,7 +3919,7 @@ var evalMigrations = [
3823
3919
  ];
3824
3920
 
3825
3921
  // src/stores/PostgreSQLEvalStore.ts
3826
- var import_uuid = require("uuid");
3922
+ var import_uuid2 = require("uuid");
3827
3923
  var PostgreSQLEvalStore = class {
3828
3924
  constructor(options) {
3829
3925
  this.initialized = false;
@@ -4019,7 +4115,7 @@ var PostgreSQLEvalStore = class {
4019
4115
  /** Create a new eval project */
4020
4116
  async createProject(tenantId, id, data) {
4021
4117
  await this.ensureInitialized();
4022
- const actualId = id || (0, import_uuid.v4)();
4118
+ const actualId = id || (0, import_uuid2.v4)();
4023
4119
  const { rows } = await this.pool.query(
4024
4120
  `INSERT INTO lattice_eval_projects
4025
4121
  (id, tenant_id, name, description, version, judge_model_config, target_server_config, concurrency, report_config)
@@ -4132,7 +4228,7 @@ var PostgreSQLEvalStore = class {
4132
4228
  /** Create a new eval suite */
4133
4229
  async createSuite(tenantId, projectId, id, data) {
4134
4230
  await this.ensureInitialized();
4135
- const actualId = id || (0, import_uuid.v4)();
4231
+ const actualId = id || (0, import_uuid2.v4)();
4136
4232
  const { rows } = await this.pool.query(
4137
4233
  `INSERT INTO lattice_eval_suites (id, tenant_id, project_id, name)
4138
4234
  VALUES ($1, $2, $3, $4)
@@ -4206,7 +4302,7 @@ var PostgreSQLEvalStore = class {
4206
4302
  /** Create a new test case */
4207
4303
  async createCase(tenantId, suiteId, id, data) {
4208
4304
  await this.ensureInitialized();
4209
- const actualId = id || (0, import_uuid.v4)();
4305
+ const actualId = id || (0, import_uuid2.v4)();
4210
4306
  const { rows } = await this.pool.query(
4211
4307
  `INSERT INTO lattice_eval_cases
4212
4308
  (id, tenant_id, suite_id, input_message, input_files, steps, output_type, content_assertion, rubrics)
@@ -4328,7 +4424,7 @@ var PostgreSQLEvalStore = class {
4328
4424
  /** Create a new eval run */
4329
4425
  async createRun(tenantId, projectId, id, data) {
4330
4426
  await this.ensureInitialized();
4331
- const actualId = id || (0, import_uuid.v4)();
4427
+ const actualId = id || (0, import_uuid2.v4)();
4332
4428
  const { rows } = await this.pool.query(
4333
4429
  `INSERT INTO lattice_eval_runs
4334
4430
  (id, project_id, tenant_id, status, concurrency, total_cases, passed_cases, failed_cases, avg_score, started_at)
@@ -4426,7 +4522,7 @@ var PostgreSQLEvalStore = class {
4426
4522
  /** Create a result for a case within a run */
4427
4523
  async createRunResult(tenantId, runId, id, data) {
4428
4524
  await this.ensureInitialized();
4429
- const actualId = id || (0, import_uuid.v4)();
4525
+ const actualId = id || (0, import_uuid2.v4)();
4430
4526
  const { rows } = await this.pool.query(
4431
4527
  `INSERT INTO lattice_eval_run_results
4432
4528
  (id, run_id, suite_name, case_id, pass, score, summary, dimension_results, duration_ms, messages, logs, error)
@@ -6302,7 +6398,7 @@ var createTasksTable = {
6302
6398
  };
6303
6399
 
6304
6400
  // src/stores/PostgreSQLTaskStore.ts
6305
- var import_uuid2 = require("uuid");
6401
+ var import_uuid3 = require("uuid");
6306
6402
  function mapRowToTask(row) {
6307
6403
  return {
6308
6404
  id: row.id,
@@ -6368,7 +6464,7 @@ var PostgreSQLTaskStore = class {
6368
6464
  }
6369
6465
  async create(params) {
6370
6466
  await this.ensureInitialized();
6371
- const id = (0, import_uuid2.v4)();
6467
+ const id = (0, import_uuid3.v4)();
6372
6468
  const now = (/* @__PURE__ */ new Date()).toISOString();
6373
6469
  await this.pool.query(
6374
6470
  `INSERT INTO lattice_tasks (id, tenant_id, owner_type, owner_id, title, description, status, priority, due_date, metadata, parent_id, source_id, context, created_at, updated_at)
@@ -7407,6 +7503,46 @@ var createChannelIdentityMappingTables = {
7407
7503
  }
7408
7504
  };
7409
7505
 
7506
+ // src/migrations/connection_config_migrations.ts
7507
+ var createConnectionConfigsTable = {
7508
+ version: 160,
7509
+ name: "create_connection_configs_table",
7510
+ up: async (client) => {
7511
+ await client.query(`
7512
+ CREATE TABLE IF NOT EXISTS lattice_connection_configs (
7513
+ id VARCHAR(255) NOT NULL,
7514
+ tenant_id VARCHAR(255) NOT NULL,
7515
+ type VARCHAR(255) NOT NULL,
7516
+ key VARCHAR(255) NOT NULL,
7517
+ name VARCHAR(255) NOT NULL,
7518
+ description TEXT,
7519
+ config JSONB NOT NULL DEFAULT '{}',
7520
+ status VARCHAR(32) NOT NULL DEFAULT 'active',
7521
+ last_test_result JSONB,
7522
+ metadata JSONB NOT NULL DEFAULT '{}',
7523
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
7524
+ updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
7525
+
7526
+ PRIMARY KEY (tenant_id, id),
7527
+ CONSTRAINT uk_lattice_connection_configs_tenant_type_key UNIQUE (tenant_id, type, key)
7528
+ )
7529
+ `);
7530
+ await client.query(`
7531
+ CREATE INDEX IF NOT EXISTS idx_connection_configs_tenant_id
7532
+ ON lattice_connection_configs(tenant_id)
7533
+ `);
7534
+ await client.query(`
7535
+ CREATE INDEX IF NOT EXISTS idx_connection_configs_tenant_type
7536
+ ON lattice_connection_configs(tenant_id, type)
7537
+ `);
7538
+ },
7539
+ down: async (client) => {
7540
+ await client.query("DROP INDEX IF EXISTS idx_connection_configs_tenant_type");
7541
+ await client.query("DROP INDEX IF EXISTS idx_connection_configs_tenant_id");
7542
+ await client.query("DROP TABLE IF EXISTS lattice_connection_configs");
7543
+ }
7544
+ };
7545
+
7410
7546
  // src/migrations/collection_migrations.ts
7411
7547
  var createCollectionsTable = {
7412
7548
  version: 137,
@@ -7488,6 +7624,7 @@ async function createPgStoreConfig(connectionString) {
7488
7624
  mm.register(createSharedResourcesTable);
7489
7625
  mm.register(addFileContentType);
7490
7626
  mm.register(createCollectionsTable);
7627
+ mm.register(createConnectionConfigsTable);
7491
7628
  await mm.migrate();
7492
7629
  const checkpoint = import_langgraph_checkpoint_postgres.PostgresSaver.fromConnString(connectionString);
7493
7630
  checkpoint.setup().catch((err) => {
@@ -7505,6 +7642,7 @@ async function createPgStoreConfig(connectionString) {
7505
7642
  channelInstallation: new PostgreSQLChannelInstallationStore(opts),
7506
7643
  thread: new PostgreSQLThreadStore(opts),
7507
7644
  database: new PostgreSQLDatabaseConfigStore(opts),
7645
+ connection: new PostgreSQLConnectionStore(pool),
7508
7646
  metrics: new PostgreSQLMetricsServerConfigStore(opts),
7509
7647
  mcp: new PostgreSQLMcpServerConfigStore(opts),
7510
7648
  assistant: new PostgreSQLAssistantStore(opts),
@@ -8080,6 +8218,7 @@ function mapRowToChannelIdentityMapping(row) {
8080
8218
  PostgreSQLAssistantStore,
8081
8219
  PostgreSQLChannelInstallationStore,
8082
8220
  PostgreSQLCollectionStore,
8221
+ PostgreSQLConnectionStore,
8083
8222
  PostgreSQLDatabaseConfigStore,
8084
8223
  PostgreSQLEvalStore,
8085
8224
  PostgreSQLMcpServerConfigStore,