domniguard 0.1.6 → 0.1.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 (2) hide show
  1. package/README.md +38 -10
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -26,16 +26,44 @@ sudo npm install -g domniguard@latest && sudo domniguard upgrade
26
26
  ```
27
27
  `upgrade` replaces `/usr/local/bin/domniguard`, refreshes the systemd/OpenRC unit, and restarts — it never overwrites config or secrets.
28
28
 
29
- ## Quick Commands
30
- - `domniguard run --config /etc/domniguard/config.yaml` — Run the daemon
31
- - `domniguard mcp --stdio` — Bridge stdio MCP client to running daemon Unix socket
32
- - `domniguard mcp credentials [--show-token]` — Print MCP URL / socket / token + agent connect guide
33
- - `domniguard validate-config --config /etc/domniguard/config.yaml` — Validate YAML config
34
- - `domniguard doctor --config /etc/domniguard/config.yaml` — Inspect OS, backends, and connectivity
35
- - `domniguard actions list|approve|reject|rollback` — Manage approval actions via CLI
36
- - `domniguard audit show <event_id>` — View incident timeline
37
- - `domniguard setup` / `domniguard upgrade` / `domniguard uninstall [--purge]` — Install / upgrade / remove
38
- - `domniguard vira connect|status|test|disconnect|set-webhook` — Connect first-party Vira AI agent
29
+ ## Commands
30
+
31
+ ### Day-to-day ops
32
+ | Command | Purpose |
33
+ |---|---|
34
+ | `domniguard status` | Service/daemon up?, webhook min_severity, MCP listen, Vira |
35
+ | `domniguard config show` | Safe config summary (no secret values) |
36
+ | `domniguard config set <key> <value>` | Set allowlisted keys (e.g. `webhook.min_severity MEDIUM`) |
37
+ | `domniguard doctor [--json]` | Deeper health: OS, firewall/service backends, config validity |
38
+ | `domniguard validate-config` | Validate `/etc/domniguard/config.yaml` |
39
+ | `domniguard version` | Binary version / commit |
40
+
41
+ ### Install / upgrade
42
+ | Command | Purpose |
43
+ |---|---|
44
+ | `domniguard setup` | First-time install (dirs, secrets, TLS, unit, optional Vira) |
45
+ | `domniguard upgrade` | Replace binary + refresh unit + restart (keeps config) |
46
+ | `domniguard uninstall [--purge]` | Stop service / remove unit (`--purge` wipes data) |
47
+
48
+ ### Agent / MCP / Vira
49
+ | Command | Purpose |
50
+ |---|---|
51
+ | `domniguard mcp credentials [--show-token]` | MCP URL + Bearer token for Vira/agents |
52
+ | `domniguard mcp --stdio` | Local stdio bridge to daemon socket |
53
+ | `domniguard vira connect\|status\|test\|disconnect\|set-webhook` | First-party Vira webhook connect |
54
+
55
+ ### Incident / approvals
56
+ | Command | Purpose |
57
+ |---|---|
58
+ | `domniguard actions list\|approve\|reject\|rollback` | Human approval queue |
59
+ | `domniguard audit show <event_id>` | Incident timeline |
60
+ | `domniguard run` | Foreground daemon (normally via systemd) |
61
+
62
+ Example:
63
+ ```bash
64
+ sudo domniguard config set webhook.min_severity MEDIUM
65
+ sudo domniguard status
66
+ ```
39
67
 
40
68
  ## Connect Vira AI agent
41
69
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domniguard",
3
- "version": "0.1.6",
3
+ "version": "0.1.9",
4
4
  "description": "DOmniGuard AI-Driven Linux Server Security Daemon (MCP + Webhook)",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -15,7 +15,7 @@
15
15
  "node": ">=18"
16
16
  },
17
17
  "optionalDependencies": {
18
- "domniguard-linux-x64": "0.1.6",
19
- "domniguard-linux-arm64": "0.1.6"
18
+ "domniguard-linux-x64": "0.1.9",
19
+ "domniguard-linux-arm64": "0.1.9"
20
20
  }
21
21
  }