@i4ctime/q-ring 0.9.8 → 0.11.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 +24 -3
- package/dist/{chunk-JV4JFWV6.js → chunk-A4RZVP3P.js} +669 -223
- package/dist/chunk-A4RZVP3P.js.map +1 -0
- package/dist/{chunk-ZV7LRKBA.js → chunk-MQM4DLPI.js} +693 -241
- package/dist/chunk-MQM4DLPI.js.map +1 -0
- package/dist/dashboard-FSCJDLJX.js +1313 -0
- package/dist/dashboard-FSCJDLJX.js.map +1 -0
- package/dist/dashboard-OXUD62RV.js +1313 -0
- package/dist/dashboard-OXUD62RV.js.map +1 -0
- package/dist/index.js +2455 -1993
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +1798 -1661
- package/dist/mcp.js.map +1 -1
- package/package.json +15 -3
- package/dist/chunk-JV4JFWV6.js.map +0 -1
- package/dist/chunk-ZV7LRKBA.js.map +0 -1
- package/dist/dashboard-4H474M2N.js +0 -557
- package/dist/dashboard-4H474M2N.js.map +0 -1
- package/dist/dashboard-5L4ILERJ.js +0 -557
- package/dist/dashboard-5L4ILERJ.js.map +0 -1
package/README.md
CHANGED
|
@@ -626,9 +626,23 @@ qring agent --once
|
|
|
626
626
|
|
|
627
627
|
### Quantum Status Dashboard — Live Monitoring
|
|
628
628
|
|
|
629
|
-
Launch a real-time dashboard in your browser that
|
|
629
|
+
Launch a real-time dashboard in your browser that turns the entire quantum subsystem into one glanceable page. The dashboard is a single self-contained HTML page served locally — no dependencies, no cloud, no config — and streams updates every 5 seconds via Server-Sent Events while preserving search input and scroll position across ticks.
|
|
630
630
|
|
|
631
|
-
|
|
631
|
+
What you get:
|
|
632
|
+
|
|
633
|
+
- **KPI strip** — total secrets, detected environment, protected count, active approvals, hooks, 24-hour reads, and live anomaly count.
|
|
634
|
+
- **Health summary** — donut chart of healthy / stale / expired / no-decay secrets plus per-scope counts (global / project / team / org).
|
|
635
|
+
- **Environment** — wavefunction collapse details: detected env, source, branch, and any project context.
|
|
636
|
+
- **Manifest** — `.q-ring.json` summary with declared / required / missing / expired / stale keys.
|
|
637
|
+
- **Policy** — at-a-glance view of MCP, exec, and secret policies (allow/deny tools, deny keys/tags, allow/deny commands, approval & rotation requirements).
|
|
638
|
+
- **Secrets table** — searchable, sortable view of every secret (key, scope, env, type, decay, tags, last read), with quick chips for `expired`, `stale`, and `protected` filters. Press `/` to focus the search box.
|
|
639
|
+
- **Quantum cards** — decay timers, superposition states, entanglement pairs, and active quantum tunnels.
|
|
640
|
+
- **Approvals & hooks** — live list of valid (and tampered) approval grants and every registered hook with its match summary.
|
|
641
|
+
- **Agent memory** — count of encrypted memory keys persisted at `~/.config/q-ring/agent-memory.enc`.
|
|
642
|
+
- **Anomaly alerts** — burst reads, off-hours access, tampered audit chain, and other suspicious patterns.
|
|
643
|
+
- **Audit log (24h)** — filterable feed with action chips (`read`/`write`/`delete`/`export`), source chips (`cli`/`mcp`/`hook`/`agent`), and a free-text filter.
|
|
644
|
+
|
|
645
|
+
Top-bar controls let you **pause** SSE updates (handy while reading the audit feed), **refresh** on demand, or jump to the raw JSON snapshot at `/api/status`. Keyboard shortcuts: `/` focus secrets search · `P` pause · `R` refresh.
|
|
632
646
|
|
|
633
647
|
```bash
|
|
634
648
|
# Open the dashboard (auto-launches your browser)
|
|
@@ -727,7 +741,7 @@ q-ring includes a full MCP server with 44 tools for AI agent integration.
|
|
|
727
741
|
| `verify_audit_chain` | Verify tamper-evident hash chain integrity |
|
|
728
742
|
| `export_audit` | Export audit events in jsonl, json, or csv format |
|
|
729
743
|
| `health_check` | Full health report |
|
|
730
|
-
| `status_dashboard` | Launch the quantum status dashboard
|
|
744
|
+
| `status_dashboard` | Launch the quantum status dashboard (SSE) — live KPIs, health, secrets table, manifest, policy, approvals, hooks, agent memory, anomalies, and audit feed |
|
|
731
745
|
| `agent_scan` | Run autonomous agent scan |
|
|
732
746
|
|
|
733
747
|
### Governance & Policy Tools
|
|
@@ -881,6 +895,13 @@ Optional per-project configuration:
|
|
|
881
895
|
- **`validationUrl`** configures the generic HTTP provider's endpoint for custom validation
|
|
882
896
|
- **`policy`** defines governance rules for MCP tool gating, key access restrictions, exec allowlists, and secret lifecycle requirements
|
|
883
897
|
|
|
898
|
+
## Contributing
|
|
899
|
+
|
|
900
|
+
- Run **`pnpm run lint`**, **`pnpm run typecheck`**, and **`pnpm run test:ci`** before opening a PR.
|
|
901
|
+
- Tests or sandboxes can point the audit log elsewhere with **`QRING_AUDIT_DIR`** (directory is created if missing); default is `~/.config/q-ring/audit.jsonl`.
|
|
902
|
+
- Optional local pre-commit: **`qring hook:install`** (uses this package’s `precommit` hook when `qring` is on your `PATH`).
|
|
903
|
+
- After changing the Cursor plugin under **`cursor-plugin/`**, run **`pnpm run plugin:sync`** to copy it to `~/.cursor/plugins/local/my-plugin` (or pass a custom path). See also [docs/cli-mcp-parity.md](docs/cli-mcp-parity.md).
|
|
904
|
+
|
|
884
905
|
## 📜 License
|
|
885
906
|
|
|
886
907
|
[AGPL-3.0](LICENSE) - Free to use, modify, and share. Any derivative work or hosted service must release its source code under the same license.
|