@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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. 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/**"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liushihao456/pi-emacs",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Pi extension that allows switching to emacs seamlessly in a popup terminal.",
5
5
  "type": "module",
6
6
  "keywords": [