@agentforge/tools 0.16.63 → 0.16.65

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
@@ -5322,11 +5322,6 @@ declare function benchmarkBatchExecution<TItem, TIndividualResult, TBatchResult>
5322
5322
  */
5323
5323
  declare function executeBatchedTask<TItem, TResult>(task: BatchExecutionTask<TItem, TResult>, options?: BatchExecutionOptions): Promise<BatchExecutionResult<TResult>>;
5324
5324
 
5325
- /**
5326
- * Streaming SELECT executor for large result sets.
5327
- * @module query/stream-executor
5328
- */
5329
-
5330
5325
  /** Default number of rows fetched per streaming chunk. */
5331
5326
  declare const DEFAULT_CHUNK_SIZE = 100;
5332
5327
  /**
@@ -5379,6 +5374,7 @@ interface StreamingBenchmarkResult {
5379
5374
  memorySavedBytes: number;
5380
5375
  memorySavedPercent: number;
5381
5376
  }
5377
+
5382
5378
  /**
5383
5379
  * Yield SELECT rows chunk-by-chunk using LIMIT/OFFSET pagination.
5384
5380
  *
@@ -5392,10 +5388,12 @@ declare function streamSelectChunks(executor: SqlExecutor, input: SelectQueryInp
5392
5388
  * Create a Node.js Readable stream that emits SELECT chunks in object mode.
5393
5389
  */
5394
5390
  declare function createSelectReadableStream(executor: SqlExecutor, input: SelectQueryInput, options?: StreamingSelectOptions): Readable;
5391
+
5395
5392
  /**
5396
5393
  * Execute a SELECT query in streaming mode while tracking memory usage.
5397
5394
  */
5398
5395
  declare function executeStreamingSelect(executor: SqlExecutor, input: SelectQueryInput, options?: StreamingSelectOptions): Promise<StreamingSelectResult>;
5396
+
5399
5397
  /**
5400
5398
  * Benchmark memory usage of regular SELECT execution vs streaming execution.
5401
5399
  *
@@ -5843,9 +5841,9 @@ declare const relationalSelect: _agentforge_core.Tool<{
5843
5841
  offset?: number | undefined;
5844
5842
  streaming?: {
5845
5843
  enabled?: boolean | undefined;
5846
- maxRows?: number | undefined;
5847
5844
  chunkSize?: number | undefined;
5848
5845
  sampleSize?: number | undefined;
5846
+ maxRows?: number | undefined;
5849
5847
  benchmark?: boolean | undefined;
5850
5848
  } | undefined;
5851
5849
  }, SelectResponse>;
package/dist/index.d.ts CHANGED
@@ -5322,11 +5322,6 @@ declare function benchmarkBatchExecution<TItem, TIndividualResult, TBatchResult>
5322
5322
  */
5323
5323
  declare function executeBatchedTask<TItem, TResult>(task: BatchExecutionTask<TItem, TResult>, options?: BatchExecutionOptions): Promise<BatchExecutionResult<TResult>>;
5324
5324
 
5325
- /**
5326
- * Streaming SELECT executor for large result sets.
5327
- * @module query/stream-executor
5328
- */
5329
-
5330
5325
  /** Default number of rows fetched per streaming chunk. */
5331
5326
  declare const DEFAULT_CHUNK_SIZE = 100;
5332
5327
  /**
@@ -5379,6 +5374,7 @@ interface StreamingBenchmarkResult {
5379
5374
  memorySavedBytes: number;
5380
5375
  memorySavedPercent: number;
5381
5376
  }
5377
+
5382
5378
  /**
5383
5379
  * Yield SELECT rows chunk-by-chunk using LIMIT/OFFSET pagination.
5384
5380
  *
@@ -5392,10 +5388,12 @@ declare function streamSelectChunks(executor: SqlExecutor, input: SelectQueryInp
5392
5388
  * Create a Node.js Readable stream that emits SELECT chunks in object mode.
5393
5389
  */
5394
5390
  declare function createSelectReadableStream(executor: SqlExecutor, input: SelectQueryInput, options?: StreamingSelectOptions): Readable;
5391
+
5395
5392
  /**
5396
5393
  * Execute a SELECT query in streaming mode while tracking memory usage.
5397
5394
  */
5398
5395
  declare function executeStreamingSelect(executor: SqlExecutor, input: SelectQueryInput, options?: StreamingSelectOptions): Promise<StreamingSelectResult>;
5396
+
5399
5397
  /**
5400
5398
  * Benchmark memory usage of regular SELECT execution vs streaming execution.
5401
5399
  *
@@ -5843,9 +5841,9 @@ declare const relationalSelect: _agentforge_core.Tool<{
5843
5841
  offset?: number | undefined;
5844
5842
  streaming?: {
5845
5843
  enabled?: boolean | undefined;
5846
- maxRows?: number | undefined;
5847
5844
  chunkSize?: number | undefined;
5848
5845
  sampleSize?: number | undefined;
5846
+ maxRows?: number | undefined;
5849
5847
  benchmark?: boolean | undefined;
5850
5848
  } | undefined;
5851
5849
  }, SelectResponse>;