@danypops/lector 0.1.4 → 0.1.6

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/README.md CHANGED
@@ -9,7 +9,7 @@ the overall architecture and how `packages/pi-lector` fits in.
9
9
  Requires Bun and systemd user services on Linux.
10
10
 
11
11
  ```bash
12
- npm install --global @danypops/lector
12
+ bun add --global @danypops/lector
13
13
  lector service install
14
14
  ```
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danypops/lector",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Platform-neutral filesystem & code-intelligence capability: core, service, and driven adapters",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -134,7 +134,7 @@ function isHierarchicalDocumentSymbol(item: LspDocumentSymbol | LspSymbolInforma
134
134
  /** Resolves a descriptor's launch into a spawnable command + args. */
135
135
  function resolveLanguageServerCommand(descriptor: LanguageServerDescriptor): { command: string; args: string[] } {
136
136
  if (descriptor.launch.kind === "npm-module") {
137
- return { command: "bun", args: [fileURLToPath(import.meta.resolve(descriptor.launch.entryModule)), ...descriptor.args] };
137
+ return { command: process.execPath, args: [fileURLToPath(import.meta.resolve(descriptor.launch.entryModule)), ...descriptor.args] };
138
138
  }
139
139
  return { command: descriptor.launch.command, args: [...descriptor.args] };
140
140
  }