grok-search-rs-pc 0.2.7 → 0.2.9

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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -4
  3. package/run.js +2 -1
package/README.md CHANGED
@@ -13,4 +13,4 @@ command: npx
13
13
  args: [-y, "grok-search-rs-pc@latest"]
14
14
  ```
15
15
 
16
- Platforms: macOS (universal), Windows x64.
16
+ Platforms: macOS (universal), Linux x64, Windows x64.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "grok-search-rs-pc",
3
- "version": "0.2.7",
4
- "description": "personal-compat GrokSearch-rs (macOS + Windows x64): time inject, no double web_search tool, GROK_API_* aliases",
3
+ "version": "0.2.9",
4
+ "description": "personal-compat GrokSearch-rs (macOS, Linux x64 + Windows x64): time inject, no double web_search tool, GROK_API_* aliases",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -36,6 +36,7 @@
36
36
  },
37
37
  "os": [
38
38
  "darwin",
39
+ "linux",
39
40
  "win32"
40
41
  ],
41
42
  "cpu": [
@@ -43,7 +44,8 @@
43
44
  "arm64"
44
45
  ],
45
46
  "optionalDependencies": {
46
- "grok-search-rs-pc-darwin-universal": "0.2.7",
47
- "grok-search-rs-pc-win32-x64": "0.2.7"
47
+ "grok-search-rs-pc-darwin-universal": "0.2.9",
48
+ "grok-search-rs-pc-linux-x64": "0.2.9",
49
+ "grok-search-rs-pc-win32-x64": "0.2.9"
48
50
  }
49
51
  }
package/run.js CHANGED
@@ -9,6 +9,7 @@ const BIN_NAME = "grok-search-rs";
9
9
  const PLATFORMS = {
10
10
  "darwin-x64": "grok-search-rs-pc-darwin-universal",
11
11
  "darwin-arm64": "grok-search-rs-pc-darwin-universal",
12
+ "linux-x64": "grok-search-rs-pc-linux-x64",
12
13
  "win32-x64": "grok-search-rs-pc-win32-x64",
13
14
  };
14
15
 
@@ -18,7 +19,7 @@ function getBinaryPath() {
18
19
 
19
20
  if (!pkgName) {
20
21
  console.error(`Unsupported platform: ${process.platform}-${process.arch}`);
21
- console.error(`Supported: ${Object.keys(PLATFORMS).join(", ")} (macOS / Windows x64)`);
22
+ console.error(`Supported: ${Object.keys(PLATFORMS).join(", ")} (macOS / Linux x64 / Windows x64)`);
22
23
  process.exit(1);
23
24
  }
24
25