@highflame/overwatch-win32-arm64 2.0.4 → 2.0.7

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 ADDED
@@ -0,0 +1,30 @@
1
+ # @highflame/overwatch-win32-arm64
2
+
3
+ Platform-specific native binary for [`@highflame/overwatch`](https://www.npmjs.com/package/@highflame/overwatch), targeting **Windows on ARM64**.
4
+
5
+ ## Do not install this package directly
6
+
7
+ This is an internal optional dependency. npm selects it automatically (via the `os` and `cpu` fields) when you install the main package:
8
+
9
+ ```bash
10
+ npm install -g @highflame/overwatch
11
+ ```
12
+
13
+ You never need to add this package to your own dependencies. npm installs the one that matches your platform and skips the rest.
14
+
15
+ ## What's inside
16
+
17
+ It bundles the prebuilt [ramparts](https://github.com/highflame-ai/ramparts) MCP scanner binary for this platform:
18
+
19
+ - Rust target: `aarch64-pc-windows-msvc`
20
+ - Binary: `bin/ramparts-aarch64-pc-windows-msvc.exe`
21
+
22
+ The Overwatch daemon discovers and spawns this binary at runtime to scan MCP servers for security issues.
23
+
24
+ ## Documentation
25
+
26
+ See the **[Installation Guide](https://docs.highflame.ai/code-agents/installation-guide)** for setup, and the [`@highflame/overwatch`](https://www.npmjs.com/package/@highflame/overwatch) package for usage.
27
+
28
+ ## License
29
+
30
+ MIT
package/index.js CHANGED
@@ -1,39 +1,39 @@
1
- /**
2
- * @highflame/overwatch-win32-arm64
3
- * Platform-specific binaries for Windows ARM64
4
- */
5
-
6
- const path = require('path');
7
- const fs = require('fs');
8
-
9
- const PLATFORM = 'win32';
10
- const ARCH = 'arm64';
11
- const RUST_TARGET = 'aarch64-pc-windows-msvc';
12
-
13
- function getRampartsBinaryPath() {
14
- const binaryName = `ramparts-${RUST_TARGET}.exe`;
15
- const binaryPath = path.join(__dirname, 'bin', binaryName);
16
-
17
- if (fs.existsSync(binaryPath)) {
18
- return binaryPath;
19
- }
20
-
21
- const genericPath = path.join(__dirname, 'bin', 'ramparts.exe');
22
- if (fs.existsSync(genericPath)) {
23
- return genericPath;
24
- }
25
-
26
- return null;
27
- }
28
-
29
- function isCurrentPlatform() {
30
- return process.platform === PLATFORM && process.arch === ARCH;
31
- }
32
-
33
- module.exports = {
34
- platform: PLATFORM,
35
- arch: ARCH,
36
- rustTarget: RUST_TARGET,
37
- getRampartsBinaryPath,
38
- isCurrentPlatform,
39
- };
1
+ /**
2
+ * @highflame/overwatch-win32-arm64
3
+ * Platform-specific binaries for Windows ARM64
4
+ */
5
+
6
+ const path = require('path');
7
+ const fs = require('fs');
8
+
9
+ const PLATFORM = 'win32';
10
+ const ARCH = 'arm64';
11
+ const RUST_TARGET = 'aarch64-pc-windows-msvc';
12
+
13
+ function getRampartsBinaryPath() {
14
+ const binaryName = `ramparts-${RUST_TARGET}.exe`;
15
+ const binaryPath = path.join(__dirname, 'bin', binaryName);
16
+
17
+ if (fs.existsSync(binaryPath)) {
18
+ return binaryPath;
19
+ }
20
+
21
+ const genericPath = path.join(__dirname, 'bin', 'ramparts.exe');
22
+ if (fs.existsSync(genericPath)) {
23
+ return genericPath;
24
+ }
25
+
26
+ return null;
27
+ }
28
+
29
+ function isCurrentPlatform() {
30
+ return process.platform === PLATFORM && process.arch === ARCH;
31
+ }
32
+
33
+ module.exports = {
34
+ platform: PLATFORM,
35
+ arch: ARCH,
36
+ rustTarget: RUST_TARGET,
37
+ getRampartsBinaryPath,
38
+ isCurrentPlatform,
39
+ };
package/package.json CHANGED
@@ -1,28 +1,37 @@
1
- {
2
- "name": "@highflame/overwatch-win32-arm64",
3
- "version": "v2.0.4",
4
- "description": "Platform-specific binaries for @highflame/overwatch (Windows ARM64)",
5
- "os": [
6
- "win32"
7
- ],
8
- "cpu": [
9
- "arm64"
10
- ],
11
- "main": "index.js",
12
- "files": [
13
- "bin",
14
- "index.js"
15
- ],
16
- "homepage": "https://docs.highflame.ai/",
17
- "keywords": [
18
- "overwatch",
19
- "security",
20
- "windows",
21
- "arm64"
22
- ],
23
- "author": "Highflame AI",
24
- "license": "MIT",
25
- "engines": {
26
- "node": ">=18.0.0"
27
- }
28
- }
1
+ {
2
+ "name": "@highflame/overwatch-win32-arm64",
3
+ "version": "v2.0.7",
4
+ "description": "Platform-specific binaries for @highflame/overwatch (Windows ARM64)",
5
+ "os": [
6
+ "win32"
7
+ ],
8
+ "cpu": [
9
+ "arm64"
10
+ ],
11
+ "main": "index.js",
12
+ "files": [
13
+ "bin",
14
+ "index.js",
15
+ "README.md"
16
+ ],
17
+ "homepage": "https://docs.highflame.ai/code-agents/installation-guide",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/highflame-ai/highflame-overwatch.git",
21
+ "directory": "packages/platform/win32-arm64"
22
+ },
23
+ "bugs": {
24
+ "url": "https://github.com/highflame-ai/highflame-overwatch/issues"
25
+ },
26
+ "keywords": [
27
+ "overwatch",
28
+ "security",
29
+ "windows",
30
+ "arm64"
31
+ ],
32
+ "author": "Highflame AI",
33
+ "license": "MIT",
34
+ "engines": {
35
+ "node": ">=18.0.0"
36
+ }
37
+ }