@mattersec/matt 0.1.19 → 0.1.20
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 +22 -22
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# @mattersec/
|
|
1
|
+
# @mattersec/matt
|
|
2
2
|
|
|
3
3
|
AI agent telemetry collector for developer machines. Monitors Claude Code, Cursor, and Codex hooks, captures events, forwards to the Mattersec security intelligence dashboard.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install -g @mattersec/
|
|
8
|
+
npm install -g @mattersec/matt
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
### Installation notes
|
|
12
12
|
|
|
13
|
-
On POSIX platforms the postinstall step replaces the JS shim with a direct symlink to the native binary so `
|
|
13
|
+
On POSIX platforms the postinstall step replaces the JS shim with a direct symlink to the native binary so `matt` invocations skip Node cold-start entirely. If you install with `npm install -g --ignore-scripts` (common in locked-down corporate npm environments), the optimize step is skipped and every invocation pays ~30 ms of Node startup overhead. Functionally correct, just slower. To apply the optimization after an `--ignore-scripts` install:
|
|
14
14
|
|
|
15
15
|
```
|
|
16
|
-
node "$(npm root -g)/@mattersec/
|
|
16
|
+
node "$(npm root -g)/@mattersec/matt/install.js"
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Quickstart
|
|
20
20
|
|
|
21
|
-
**Easiest path:** visit [
|
|
21
|
+
**Easiest path:** visit [app.mattersec.com](https://app.mattersec.com), sign up, and follow the install wizard. It hands you a one-time `npx @mattersec/matt link --token=…` command that authenticates this machine, installs your AI tool hooks, and starts the daemon — all in one paste.
|
|
22
22
|
|
|
23
23
|
If you'd rather drive each step manually:
|
|
24
24
|
|
|
25
25
|
```
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
matt auth login # device-code flow
|
|
27
|
+
matt install-hooks claude-code # install hooks
|
|
28
|
+
matt start # register background service + start daemon
|
|
29
|
+
matt status
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## Uninstall
|
|
@@ -34,25 +34,25 @@ overwatch status
|
|
|
34
34
|
Because npm has no `preuninstall` hook, run the service cleanup explicitly before removing the package:
|
|
35
35
|
|
|
36
36
|
```
|
|
37
|
-
|
|
38
|
-
npm uninstall -g @mattersec/
|
|
37
|
+
matt uninstall-service
|
|
38
|
+
npm uninstall -g @mattersec/matt
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
## Commands
|
|
42
42
|
|
|
43
43
|
| Command | Purpose |
|
|
44
44
|
|---|---|
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
50
|
-
| `
|
|
51
|
-
| `
|
|
52
|
-
| `
|
|
53
|
-
| `
|
|
54
|
-
| `
|
|
55
|
-
| `
|
|
45
|
+
| `matt start` | Register service + start daemon |
|
|
46
|
+
| `matt stop` | Stop daemon (service registration stays) |
|
|
47
|
+
| `matt status` | Print daemon / auth / events status |
|
|
48
|
+
| `matt auth login/logout/status/whoami` | Auth subcommands |
|
|
49
|
+
| `matt install-hooks <tool>` | Install hooks for `claude-code`, `cursor`, or `codex` |
|
|
50
|
+
| `matt uninstall-hooks <tool>` | Remove hooks |
|
|
51
|
+
| `matt check` | Hook installation status |
|
|
52
|
+
| `matt buffer list/flush/clear` | Manage the encrypted event buffer |
|
|
53
|
+
| `matt dashboard` | Open Mattersec dashboard in browser |
|
|
54
|
+
| `matt update` | Update via npm registry |
|
|
55
|
+
| `matt uninstall-service` | Remove service registration |
|
|
56
56
|
|
|
57
57
|
## License
|
|
58
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattersec/matt",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "matt — AI agent telemetry for developer machines",
|
|
5
5
|
"bin": {
|
|
6
6
|
"matt": "bin/matt"
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"preuninstall": "node preuninstall.js"
|
|
11
11
|
},
|
|
12
12
|
"optionalDependencies": {
|
|
13
|
-
"@mattersec/matt-darwin-arm64": "=0.1.
|
|
14
|
-
"@mattersec/matt-darwin-x64": "=0.1.
|
|
15
|
-
"@mattersec/matt-linux-x64-gnu": "=0.1.
|
|
16
|
-
"@mattersec/matt-linux-arm64-gnu": "=0.1.
|
|
17
|
-
"@mattersec/matt-linux-x64-musl": "=0.1.
|
|
18
|
-
"@mattersec/matt-linux-arm64-musl": "=0.1.
|
|
19
|
-
"@mattersec/matt-win32-x64": "=0.1.
|
|
20
|
-
"@mattersec/matt-win32-arm64": "=0.1.
|
|
13
|
+
"@mattersec/matt-darwin-arm64": "=0.1.20",
|
|
14
|
+
"@mattersec/matt-darwin-x64": "=0.1.20",
|
|
15
|
+
"@mattersec/matt-linux-x64-gnu": "=0.1.20",
|
|
16
|
+
"@mattersec/matt-linux-arm64-gnu": "=0.1.20",
|
|
17
|
+
"@mattersec/matt-linux-x64-musl": "=0.1.20",
|
|
18
|
+
"@mattersec/matt-linux-arm64-musl": "=0.1.20",
|
|
19
|
+
"@mattersec/matt-win32-x64": "=0.1.20",
|
|
20
|
+
"@mattersec/matt-win32-arm64": "=0.1.20"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|