@optiqcode/cli 2.7.0 → 2.8.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -299,7 +299,7 @@ async function indexOnce(targetPath, config) {
299
299
  // Generate repository ID from path
300
300
  const repoId = generateRepoId(targetPath);
301
301
  // Upload in batches
302
- const BATCH_SIZE = 50;
302
+ const BATCH_SIZE = 1000;
303
303
  let totalChunks = 0;
304
304
  if (DEBUG) {
305
305
  console.log(chalk.gray(`\n[DEBUG] Sending to: ${ENGINE_URL}/api/v1/index`));
@@ -403,7 +403,7 @@ async function watchDirectory(targetPath, config) {
403
403
  spinner.text = `Reading... ${Math.min(i + PARALLEL_READS, files.length)}/${files.length}`;
404
404
  }
405
405
  // Upload in small batches to avoid gateway timeouts
406
- const BATCH_SIZE = 50;
406
+ const BATCH_SIZE = 1000;
407
407
  for (let i = 0; i < filesArray.length; i += BATCH_SIZE) {
408
408
  const batch = filesArray.slice(i, i + BATCH_SIZE);
409
409
  const batchNum = Math.floor(i / BATCH_SIZE) + 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optiqcode/cli",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "CLI tool for Optiq - automatic code indexing and context engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",