@highflame/overwatch-v2 2.0.0-internal.1
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/LICENSE +21 -0
- package/README.md +36 -0
- package/bin/overwatch +12 -0
- package/dist/bin/overwatch +12 -0
- package/dist/cli.d.ts +5 -0
- package/dist/cli.js +6295 -0
- package/dist/daemon.d.ts +10 -0
- package/dist/daemon.js +3578 -0
- package/dist/hooks/claudecode/hooks.json.template +20 -0
- package/dist/hooks/cursor/hooks.json.template +62 -0
- package/dist/hooks/universal-hook.ps1 +118 -0
- package/dist/hooks/universal-hook.sh +60 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +3429 -0
- package/dist/installer.d.ts +30 -0
- package/dist/module.d.ts +55 -0
- package/dist/scanner.d.ts +79 -0
- package/dist/version.d.ts +4 -0
- package/lib/platform-loader.js +234 -0
- package/package.json +75 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Highflame AI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Overwatch
|
|
2
|
+
|
|
3
|
+
A lightweight security proxy that forwards AI coding assistant hook events to the Cerberus service for real-time threat detection and policy enforcement. Supports Cursor, Claude Code, GitHub Copilot, and more.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Install globally via npm
|
|
9
|
+
npm install -g @highflame/overwatch-v2
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Quick Start
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
# Start the daemon
|
|
16
|
+
overwatch start
|
|
17
|
+
|
|
18
|
+
# Verify it's running
|
|
19
|
+
overwatch status
|
|
20
|
+
|
|
21
|
+
# (Optional) Auto-start on boot
|
|
22
|
+
overwatch install-service
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Requirements
|
|
26
|
+
|
|
27
|
+
- Node.js 18+
|
|
28
|
+
- Supported IDE (Cursor, Claude Code, or GitHub Copilot CLI)
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
For detailed setup guides, configuration options, CLI reference, and troubleshooting, see the [Documentation](https://docs.highflame.ai/)
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
MIT
|
package/bin/overwatch
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Overwatch CLI Entry Point
|
|
4
|
+
* This script is the main entry point for the overwatch command
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Resolve the CLI module path relative to this script
|
|
8
|
+
const path = require('path');
|
|
9
|
+
const cliPath = path.join(__dirname, '..', 'dist', 'cli.js');
|
|
10
|
+
|
|
11
|
+
// Load and run the CLI
|
|
12
|
+
require(cliPath);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Overwatch CLI Entry Point
|
|
4
|
+
* This script is the main entry point for the overwatch command
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Resolve the CLI module path relative to this script
|
|
8
|
+
const path = require('path');
|
|
9
|
+
const cliPath = path.join(__dirname, '..', 'dist', 'cli.js');
|
|
10
|
+
|
|
11
|
+
// Load and run the CLI
|
|
12
|
+
require(cliPath);
|