@massu/core 0.1.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 +40 -0
- package/dist/cli.js +7890 -0
- package/dist/hooks/cost-tracker.js +12166 -0
- package/dist/hooks/intent-suggester.js +100 -0
- package/dist/hooks/post-edit-context.js +11713 -0
- package/dist/hooks/post-tool-use.js +13024 -0
- package/dist/hooks/pre-compact.js +12273 -0
- package/dist/hooks/pre-delete-check.js +11832 -0
- package/dist/hooks/quality-event.js +12217 -0
- package/dist/hooks/security-gate.js +95 -0
- package/dist/hooks/session-end.js +13143 -0
- package/dist/hooks/session-start.js +12380 -0
- package/dist/hooks/user-prompt.js +12214 -0
- package/dist/server.js +7008 -0
- package/package.json +61 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @massu/core
|
|
2
|
+
|
|
3
|
+
AI Engineering Governance MCP Server — session memory, feature registry, code intelligence, and rule enforcement for AI coding assistants.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx massu init
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
This sets up the MCP server, configuration, and lifecycle hooks in one command.
|
|
12
|
+
|
|
13
|
+
## What is Massu?
|
|
14
|
+
|
|
15
|
+
Massu is an open-source [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that adds governance capabilities to AI coding assistants like Claude Code. It provides:
|
|
16
|
+
|
|
17
|
+
- **51 MCP Tools** — quality analytics, cost tracking, security scoring, dependency analysis, and more
|
|
18
|
+
- **11 Lifecycle Hooks** — pre-commit gates, security scanning, intent suggestion, and session management
|
|
19
|
+
- **3-Database Architecture** — code graph (read-only), data (imports/mappings), and memory (sessions/analytics)
|
|
20
|
+
- **Config-Driven** — all project-specific data lives in `massu.config.yaml`
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
After `npx massu init`, your AI assistant gains access to all governance tools automatically via the MCP protocol.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Health check
|
|
28
|
+
npx massu doctor
|
|
29
|
+
|
|
30
|
+
# Validate configuration
|
|
31
|
+
npx massu validate-config
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Documentation
|
|
35
|
+
|
|
36
|
+
Full documentation at [massu.ai](https://massu.ai).
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
[BSL 1.1](../../LICENSE) — free for non-production use. See LICENSE for details.
|