@mathew-cf/rag-cli 0.5.0 → 0.6.0

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 @@ rag index ./my-project
9
9
  rag search "how does authentication work"
10
10
  ```
11
11
 
12
- On install, npm fetches the prebuilt binary for your platform via `optionalDependencies`. Supported platforms: macOS ARM64, macOS x86_64, Linux x86_64, Linux ARM64.
12
+ On install, npm fetches the prebuilt binary for your platform via `optionalDependencies`. Supported platforms: macOS ARM64, macOS x86_64, Linux x86_64, Linux ARM64, Windows x86_64.
13
13
 
14
14
  On any other platform, install from source instead:
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathew-cf/rag-cli",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Local-first RAG CLI — semantic search over your files using local embeddings",
5
5
  "license": "Apache-2.0",
6
6
  "author": "mathew-cf",
@@ -24,10 +24,11 @@
24
24
  "src"
25
25
  ],
26
26
  "optionalDependencies": {
27
- "@mathew-cf/rag-cli-darwin-arm64": "0.5.0",
28
- "@mathew-cf/rag-cli-darwin-x64": "0.5.0",
29
- "@mathew-cf/rag-cli-linux-x64": "0.5.0",
30
- "@mathew-cf/rag-cli-linux-arm64": "0.5.0"
27
+ "@mathew-cf/rag-cli-darwin-arm64": "0.6.0",
28
+ "@mathew-cf/rag-cli-darwin-x64": "0.6.0",
29
+ "@mathew-cf/rag-cli-linux-x64": "0.6.0",
30
+ "@mathew-cf/rag-cli-linux-arm64": "0.6.0",
31
+ "@mathew-cf/rag-cli-win32-x64": "0.6.0"
31
32
  },
32
33
  "engines": {
33
34
  "node": ">=18"
package/src/platform.js CHANGED
@@ -31,6 +31,7 @@ const SUPPORTED_PLATFORMS = Object.freeze([
31
31
  "darwin-x64",
32
32
  "linux-x64",
33
33
  "linux-arm64",
34
+ "win32-x64",
34
35
  ]);
35
36
 
36
37
  /**
@@ -51,9 +52,7 @@ function subpackageName(key) {
51
52
 
52
53
  /**
53
54
  * Name of the binary file inside a subpackage's `bin/` directory.
54
- * Windows binaries would be `rag.exe`; Unix platforms use `rag`.
55
- * Currently all supported platforms are Unix — this helper is the
56
- * single place to update when/if win32 support lands.
55
+ * Windows binaries are `rag.exe`; Unix platforms use `rag`.
57
56
  */
58
57
  function binaryFilename(platform) {
59
58
  return platform === "win32" ? "rag.exe" : "rag";