@agentforge/core 0.16.52 → 0.16.54

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.
package/dist/index.d.cts CHANGED
@@ -4058,9 +4058,6 @@ declare function broadcast<TData = unknown, TSocket extends WebSocketSendTarget
4058
4058
  */
4059
4059
  declare function createMessage<TData = unknown>(type: string, data?: TData, error?: string): WebSocketMessage<TData>;
4060
4060
 
4061
- /**
4062
- * Connection pooling for database and HTTP clients
4063
- */
4064
4061
  interface PoolConfig {
4065
4062
  min?: number;
4066
4063
  max?: number;
@@ -4095,22 +4092,16 @@ interface PoolStats {
4095
4092
  healthChecksPassed: number;
4096
4093
  healthChecksFailed: number;
4097
4094
  }
4095
+
4096
+ /**
4097
+ * Connection pooling for database and HTTP clients
4098
+ */
4099
+
4098
4100
  declare class ConnectionPool<T> {
4099
- private options;
4100
- private connections;
4101
- private pending;
4102
- private stats;
4103
- private evictionTimer?;
4104
- private healthCheckTimer?;
4105
- private draining;
4101
+ private readonly runtime;
4106
4102
  constructor(options: ConnectionPoolOptions<T>);
4107
- private initialize;
4108
- private createConnection;
4109
- private destroyConnection;
4110
4103
  acquire(): Promise<T>;
4111
4104
  release(connection: T): Promise<void>;
4112
- private evictIdleConnections;
4113
- private performHealthChecks;
4114
4105
  drain(): Promise<void>;
4115
4106
  clear(): Promise<void>;
4116
4107
  getStats(): PoolStats;
package/dist/index.d.ts CHANGED
@@ -4058,9 +4058,6 @@ declare function broadcast<TData = unknown, TSocket extends WebSocketSendTarget
4058
4058
  */
4059
4059
  declare function createMessage<TData = unknown>(type: string, data?: TData, error?: string): WebSocketMessage<TData>;
4060
4060
 
4061
- /**
4062
- * Connection pooling for database and HTTP clients
4063
- */
4064
4061
  interface PoolConfig {
4065
4062
  min?: number;
4066
4063
  max?: number;
@@ -4095,22 +4092,16 @@ interface PoolStats {
4095
4092
  healthChecksPassed: number;
4096
4093
  healthChecksFailed: number;
4097
4094
  }
4095
+
4096
+ /**
4097
+ * Connection pooling for database and HTTP clients
4098
+ */
4099
+
4098
4100
  declare class ConnectionPool<T> {
4099
- private options;
4100
- private connections;
4101
- private pending;
4102
- private stats;
4103
- private evictionTimer?;
4104
- private healthCheckTimer?;
4105
- private draining;
4101
+ private readonly runtime;
4106
4102
  constructor(options: ConnectionPoolOptions<T>);
4107
- private initialize;
4108
- private createConnection;
4109
- private destroyConnection;
4110
4103
  acquire(): Promise<T>;
4111
4104
  release(connection: T): Promise<void>;
4112
- private evictIdleConnections;
4113
- private performHealthChecks;
4114
4105
  drain(): Promise<void>;
4115
4106
  clear(): Promise<void>;
4116
4107
  getStats(): PoolStats;