@agentforge/tools 0.16.13 → 0.16.15

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
@@ -4944,14 +4944,6 @@ type ConnectionConfig = {
4944
4944
  connection: SQLiteConnectionConfig | string;
4945
4945
  };
4946
4946
 
4947
- /**
4948
- * Connection manager for relational databases using Drizzle ORM
4949
- * @module connection/connection-manager
4950
- */
4951
-
4952
- /**
4953
- * Connection state enum
4954
- */
4955
4947
  declare enum ConnectionState {
4956
4948
  DISCONNECTED = "disconnected",
4957
4949
  CONNECTING = "connecting",
@@ -4959,23 +4951,27 @@ declare enum ConnectionState {
4959
4951
  RECONNECTING = "reconnecting",
4960
4952
  ERROR = "error"
4961
4953
  }
4962
- /**
4963
- * Connection lifecycle events
4964
- */
4965
- type ConnectionEvent = 'connected' | 'disconnected' | 'error' | 'reconnecting';
4966
- /**
4967
- * Reconnection configuration
4968
- */
4969
4954
  interface ReconnectionConfig {
4970
- /** Enable automatic reconnection on connection loss */
4955
+ /** Enable automatic reconnection on connection loss. */
4971
4956
  enabled: boolean;
4972
- /** Maximum number of reconnection attempts (0 = infinite) */
4957
+ /** Maximum number of reconnection attempts (0 = infinite). */
4973
4958
  maxAttempts: number;
4974
- /** Base delay in milliseconds for exponential backoff */
4959
+ /** Base delay in milliseconds for exponential backoff. */
4975
4960
  baseDelayMs: number;
4976
- /** Maximum delay in milliseconds between reconnection attempts */
4961
+ /** Maximum delay in milliseconds between reconnection attempts. */
4977
4962
  maxDelayMs: number;
4978
4963
  }
4964
+
4965
+ /**
4966
+ * Connection manager for relational databases using Drizzle ORM
4967
+ * @module connection/connection-manager
4968
+ */
4969
+
4970
+ /**
4971
+ * Connection lifecycle events
4972
+ */
4973
+ type ConnectionEvent = 'connected' | 'disconnected' | 'error' | 'reconnecting';
4974
+
4979
4975
  /**
4980
4976
  * Connection manager that handles database connections for PostgreSQL, MySQL, and SQLite
4981
4977
  * using Drizzle ORM with lifecycle management and automatic reconnection
@@ -5052,25 +5048,6 @@ declare class ConnectionManager extends EventEmitter implements DatabaseConnecti
5052
5048
  * @private
5053
5049
  */
5054
5050
  private scheduleReconnection;
5055
- /**
5056
- * Initialize PostgreSQL connection using Drizzle ORM with node-postgres
5057
- *
5058
- * Applies pool configuration options to pg.Pool for connection management.
5059
- */
5060
- private initializePostgreSQL;
5061
- /**
5062
- * Initialize MySQL connection using Drizzle ORM with mysql2
5063
- *
5064
- * Applies pool configuration options to mysql2.createPool for connection management.
5065
- */
5066
- private initializeMySQL;
5067
- /**
5068
- * Initialize SQLite connection using Drizzle ORM with better-sqlite3
5069
- *
5070
- * Note: SQLite uses a single connection. Pool configuration is logged but not applied
5071
- * as SQLite handles concurrent access through its internal locking mechanism.
5072
- */
5073
- private initializeSQLite;
5074
5051
  /**
5075
5052
  * Determine whether an error thrown by drizzle-orm's better-sqlite3 adapter
5076
5053
  * `.all()` indicates the statement does not return data (i.e. it is DML/DDL,
package/dist/index.d.ts CHANGED
@@ -4944,14 +4944,6 @@ type ConnectionConfig = {
4944
4944
  connection: SQLiteConnectionConfig | string;
4945
4945
  };
4946
4946
 
4947
- /**
4948
- * Connection manager for relational databases using Drizzle ORM
4949
- * @module connection/connection-manager
4950
- */
4951
-
4952
- /**
4953
- * Connection state enum
4954
- */
4955
4947
  declare enum ConnectionState {
4956
4948
  DISCONNECTED = "disconnected",
4957
4949
  CONNECTING = "connecting",
@@ -4959,23 +4951,27 @@ declare enum ConnectionState {
4959
4951
  RECONNECTING = "reconnecting",
4960
4952
  ERROR = "error"
4961
4953
  }
4962
- /**
4963
- * Connection lifecycle events
4964
- */
4965
- type ConnectionEvent = 'connected' | 'disconnected' | 'error' | 'reconnecting';
4966
- /**
4967
- * Reconnection configuration
4968
- */
4969
4954
  interface ReconnectionConfig {
4970
- /** Enable automatic reconnection on connection loss */
4955
+ /** Enable automatic reconnection on connection loss. */
4971
4956
  enabled: boolean;
4972
- /** Maximum number of reconnection attempts (0 = infinite) */
4957
+ /** Maximum number of reconnection attempts (0 = infinite). */
4973
4958
  maxAttempts: number;
4974
- /** Base delay in milliseconds for exponential backoff */
4959
+ /** Base delay in milliseconds for exponential backoff. */
4975
4960
  baseDelayMs: number;
4976
- /** Maximum delay in milliseconds between reconnection attempts */
4961
+ /** Maximum delay in milliseconds between reconnection attempts. */
4977
4962
  maxDelayMs: number;
4978
4963
  }
4964
+
4965
+ /**
4966
+ * Connection manager for relational databases using Drizzle ORM
4967
+ * @module connection/connection-manager
4968
+ */
4969
+
4970
+ /**
4971
+ * Connection lifecycle events
4972
+ */
4973
+ type ConnectionEvent = 'connected' | 'disconnected' | 'error' | 'reconnecting';
4974
+
4979
4975
  /**
4980
4976
  * Connection manager that handles database connections for PostgreSQL, MySQL, and SQLite
4981
4977
  * using Drizzle ORM with lifecycle management and automatic reconnection
@@ -5052,25 +5048,6 @@ declare class ConnectionManager extends EventEmitter implements DatabaseConnecti
5052
5048
  * @private
5053
5049
  */
5054
5050
  private scheduleReconnection;
5055
- /**
5056
- * Initialize PostgreSQL connection using Drizzle ORM with node-postgres
5057
- *
5058
- * Applies pool configuration options to pg.Pool for connection management.
5059
- */
5060
- private initializePostgreSQL;
5061
- /**
5062
- * Initialize MySQL connection using Drizzle ORM with mysql2
5063
- *
5064
- * Applies pool configuration options to mysql2.createPool for connection management.
5065
- */
5066
- private initializeMySQL;
5067
- /**
5068
- * Initialize SQLite connection using Drizzle ORM with better-sqlite3
5069
- *
5070
- * Note: SQLite uses a single connection. Pool configuration is logged but not applied
5071
- * as SQLite handles concurrent access through its internal locking mechanism.
5072
- */
5073
- private initializeSQLite;
5074
5051
  /**
5075
5052
  * Determine whether an error thrown by drizzle-orm's better-sqlite3 adapter
5076
5053
  * `.all()` indicates the statement does not return data (i.e. it is DML/DDL,