@liushihao456/pi-emacs 0.1.3 → 0.1.4
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.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -2,7 +2,6 @@ import type {
|
|
|
2
2
|
ExtensionAPI,
|
|
3
3
|
ExtensionContext,
|
|
4
4
|
} from "@earendil-works/pi-coding-agent";
|
|
5
|
-
import { rgPath } from "@vscode/ripgrep";
|
|
6
5
|
import { readdirSync, statSync } from "node:fs";
|
|
7
6
|
import { spawn, spawnSync } from "node:child_process";
|
|
8
7
|
import { homedir } from "node:os";
|
|
@@ -844,6 +843,7 @@ class ProjectFilePicker implements Component, Focusable {
|
|
|
844
843
|
}
|
|
845
844
|
|
|
846
845
|
async function projectFiles(cwd: string): Promise<string[]> {
|
|
846
|
+
const { rgPath } = await import("@vscode/ripgrep");
|
|
847
847
|
const output = await execText(
|
|
848
848
|
rgPath,
|
|
849
849
|
["--files", "--hidden", "--glob", "!.git/**"],
|