@grepai/cli 0.7.1 → 0.7.2
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/index.js +3 -3
- package/index.js.map +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -104579,7 +104579,7 @@ var CodebaseScannerAgentFs = scoped3(CodebaseScanner, gen2(function* () {
|
|
|
104579
104579
|
yield* forEach5(entries2, (entry) => gen2(function* () {
|
|
104580
104580
|
const normalizedPath = path5 === "/" ? "" : path5.replace(/\/$/, "");
|
|
104581
104581
|
const normalizedEntry = entry.replace(/^\//, "");
|
|
104582
|
-
const fullPath = normalizedPath + normalizedEntry;
|
|
104582
|
+
const fullPath = normalizedPath + "/" + normalizedEntry;
|
|
104583
104583
|
const stats = yield* useAgentFs((a) => a.fs.stat(fullPath));
|
|
104584
104584
|
if (stats.isDirectory()) {
|
|
104585
104585
|
const subFiles = yield* readDirRecursiveAgentFs(fullPath);
|
|
@@ -112476,11 +112476,11 @@ var program = gen2(function* () {
|
|
|
112476
112476
|
const command = exports_Command.make("grepai").pipe(exports_Command.withSubcommands([indexCommand, searchCommand]));
|
|
112477
112477
|
const cli = exports_Command.run(command, {
|
|
112478
112478
|
name: "GREP AI",
|
|
112479
|
-
version: "v0.7.
|
|
112479
|
+
version: "v0.7.2"
|
|
112480
112480
|
});
|
|
112481
112481
|
yield* cli(process.argv);
|
|
112482
112482
|
});
|
|
112483
112483
|
program.pipe(provide2(mergeAll5(GrepAi.Default).pipe(provideMerge2(Clack.Default), provideMerge2(exports_BunContext.layer))), exports_BunRuntime.runMain);
|
|
112484
112484
|
|
|
112485
|
-
//# debugId=
|
|
112485
|
+
//# debugId=7BD0B0EB6FAF885664756E2164756E21
|
|
112486
112486
|
//# sourceMappingURL=index.js.map
|