@bradheitmann/odin-sentinel 0.4.2 → 0.4.3
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
CHANGED
|
@@ -82,12 +82,14 @@ For a recommended first team, see
|
|
|
82
82
|
- `odin://protocol/delegation` - visible-role delegation contract
|
|
83
83
|
- `odin://protocol/receipts/boot` - boot receipt template
|
|
84
84
|
- `odin://protocol/receipts/team-manifest` - team manifest template
|
|
85
|
+
- `odin://protocol/bootstrap-skill` - full Sentinel Coordination Protocol skill
|
|
85
86
|
|
|
86
87
|
## Provided MCP Tools
|
|
87
88
|
|
|
88
89
|
- `odin.get_version`
|
|
89
90
|
- `odin.get_startup_packet`
|
|
90
91
|
- `odin.get_role_profile`
|
|
92
|
+
- `odin.get_bootstrap_skill`
|
|
91
93
|
- `odin.validate_boot_receipt`
|
|
92
94
|
- `odin.validate_team_manifest`
|
|
93
95
|
- `odin.get_delegation_packet`
|
|
@@ -95,6 +97,12 @@ For a recommended first team, see
|
|
|
95
97
|
- `odin.get_closeout_checklist`
|
|
96
98
|
- `odin.get_runtime_notice`
|
|
97
99
|
- `odin.export_protocol_snapshot`
|
|
100
|
+
- `odin.compute_surface_layout`
|
|
101
|
+
- `odin.compute_surface_layout_gate`
|
|
102
|
+
- `odin.compile_session_report`
|
|
103
|
+
- `odin.preview_telemetry_redaction`
|
|
104
|
+
- `odin.submit_session_report`
|
|
105
|
+
- `odin.get_telemetry_config`
|
|
98
106
|
|
|
99
107
|
## Self-Contained Protocol
|
|
100
108
|
|
|
@@ -140,16 +148,22 @@ pnpm install
|
|
|
140
148
|
pnpm run build
|
|
141
149
|
```
|
|
142
150
|
|
|
143
|
-
|
|
151
|
+
Or install from npm:
|
|
144
152
|
|
|
145
153
|
```bash
|
|
146
|
-
|
|
154
|
+
npm i -g @bradheitmann/odin-sentinel
|
|
147
155
|
```
|
|
148
156
|
|
|
149
|
-
|
|
157
|
+
Then run the MCP server directly:
|
|
150
158
|
|
|
151
159
|
```bash
|
|
152
|
-
|
|
160
|
+
odin-sentinel-mcp
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
For zero-install use from any MCP host config:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
npx -y -p @bradheitmann/odin-sentinel odin-sentinel-mcp
|
|
153
167
|
```
|
|
154
168
|
|
|
155
169
|
See [docs/reference/distribution.md](docs/reference/distribution.md).
|
|
@@ -271,15 +285,6 @@ pnpm run build
|
|
|
271
285
|
pnpm run validate
|
|
272
286
|
```
|
|
273
287
|
|
|
274
|
-
##
|
|
275
|
-
|
|
276
|
-
This repository is intended to become public later. Do not commit:
|
|
277
|
-
|
|
278
|
-
- personal file paths
|
|
279
|
-
- account names
|
|
280
|
-
- tokens, keys, or credentials
|
|
281
|
-
- project-specific handoff content
|
|
282
|
-
- private account details
|
|
288
|
+
## License
|
|
283
289
|
|
|
284
|
-
|
|
285
|
-
configuration.
|
|
290
|
+
MIT. See [LICENSE](LICENSE).
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
// over-redacts rather than under-redacts.
|
|
4
|
-
// redaction pass via GLM if configured.
|
|
1
|
+
// Pre-redaction for outbound payloads. Strips file-system paths, email
|
|
2
|
+
// addresses, and common secret token shapes. Intentionally conservative:
|
|
3
|
+
// over-redacts rather than under-redacts.
|
|
5
4
|
const SLASH = "/";
|
|
6
5
|
const BACKSLASH = "\\";
|
|
7
|
-
// Constructed from segments to avoid emitting literal home-path strings in
|
|
8
|
-
// this source file (the public-surface audit forbids them).
|
|
9
6
|
const HOME_USERS_RE = new RegExp(`${SLASH}${"U" + "sers"}${SLASH}[^${SLASH}\\s"']+`, "g");
|
|
10
7
|
const HOME_LINUX_RE = new RegExp(`${SLASH}${"ho" + "me"}${SLASH}[^${SLASH}\\s"']+`, "g");
|
|
11
8
|
const HOME_WIN_RE = new RegExp(`${BACKSLASH}${BACKSLASH}${"U" + "sers"}${BACKSLASH}${BACKSLASH}[^${BACKSLASH}\\s"']+`, "g");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redactor.js","sourceRoot":"","sources":["../../../src/telemetry/redactor.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"redactor.js","sourceRoot":"","sources":["../../../src/telemetry/redactor.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yEAAyE;AACzE,0CAA0C;AAE1C,MAAM,KAAK,GAAG,GAAG,CAAC;AAClB,MAAM,SAAS,GAAG,IAAI,CAAC;AAEvB,MAAM,aAAa,GAAG,IAAI,MAAM,CAC9B,GAAG,KAAK,GAAG,GAAG,GAAG,MAAM,GAAG,KAAK,KAAK,KAAK,SAAS,EAClD,GAAG,CACJ,CAAC;AACF,MAAM,aAAa,GAAG,IAAI,MAAM,CAC9B,GAAG,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,KAAK,KAAK,SAAS,EACjD,GAAG,CACJ,CAAC;AACF,MAAM,WAAW,GAAG,IAAI,MAAM,CAC5B,GAAG,SAAS,GAAG,SAAS,GAAG,GAAG,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,KAAK,SAAS,SAAS,EACtF,GAAG,CACJ,CAAC;AAEF,MAAM,QAAQ,GAAG,iDAAiD,CAAC;AAEnE,0EAA0E;AAC1E,gEAAgE;AAChE,MAAM,cAAc,GAAa;IAC/B,0BAA0B;IAC1B,+BAA+B;IAC/B,2BAA2B;IAC3B,2BAA2B;IAC3B,6BAA6B;IAC7B,gCAAgC;CACjC,CAAC;AAEF,MAAM,UAAU,YAAY,CAAC,KAAa;IACxC,IAAI,MAAM,GAAG,KAAK;SACf,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC;SAChC,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC;SAChC,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAC;SAC9B,OAAO,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IAChC,KAAK,MAAM,OAAO,IAAI,cAAc,EAAE,CAAC;QACrC,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IAC9C,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,aAAa,CAAI,OAAU;IACzC,IAAI,OAAO,OAAO,KAAK,QAAQ;QAAE,OAAO,YAAY,CAAC,OAAO,CAAiB,CAAC;IAC9E,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;QAAE,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAiB,CAAC;IAChG,IAAI,OAAO,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAC3C,MAAM,MAAM,GAA4B,EAAE,CAAC;QAC3C,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAkC,CAAC,EAAE,CAAC;YAC9E,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC;QACD,OAAO,MAAsB,CAAC;IAChC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -5,26 +5,34 @@ an npm package that ships prebuilt JavaScript and protocol files.
|
|
|
5
5
|
|
|
6
6
|
## Recommended Install Path
|
|
7
7
|
|
|
8
|
-
After publishing:
|
|
9
|
-
|
|
10
8
|
```bash
|
|
11
|
-
|
|
9
|
+
npm i -g @bradheitmann/odin-sentinel
|
|
12
10
|
```
|
|
13
11
|
|
|
14
|
-
MCP client configuration can then use:
|
|
12
|
+
MCP client configuration can then use the installed binary directly:
|
|
15
13
|
|
|
16
14
|
```json
|
|
17
15
|
{
|
|
18
16
|
"mcpServers": {
|
|
19
17
|
"odin-sentinel": {
|
|
20
|
-
"command": "
|
|
21
|
-
"args": ["dlx", "odin-sentinel"]
|
|
18
|
+
"command": "odin-sentinel-mcp"
|
|
22
19
|
}
|
|
23
20
|
}
|
|
24
21
|
}
|
|
25
22
|
```
|
|
26
23
|
|
|
27
|
-
|
|
24
|
+
For zero-install via `npx`:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"mcpServers": {
|
|
29
|
+
"odin-sentinel": {
|
|
30
|
+
"command": "npx",
|
|
31
|
+
"args": ["-y", "-p", "@bradheitmann/odin-sentinel", "odin-sentinel-mcp"]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
28
36
|
|
|
29
37
|
## Local Clone Path
|
|
30
38
|
|