You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Today:** Sentinel's phase-one CLI is functional. It scans frontend codebases, extracts API calls, and reports static analysis findings. When you point `contractSource` at a local OpenAPI v3 JSON file, it also checks **request-body shapes** against your backend schema for matched routes.
9
+
**Today:** Sentinel's phase-one CLI is functional and installable from npm. It scans frontend codebases, extracts API calls, and reports static analysis findings. When you point `contractSource` at a local OpenAPI v3 JSON file, it also checks **request-body shapes** against your backend schema for matched routes.
9
10
10
-
**Not yet in this release:** response-shape diffing, Findings for unmatched endpoints or unresolvable calls (those are skipped silently), third-party rules, and the cloud SDK, VS Code extension, and GitHub Action (future phases).
11
+
**Not yet in this release:** response-shape diffing, unmatched-endpoint flagging, third-party rules, and the cloud SDK, VS Code extension, and GitHub Action (future phases).
11
12
12
13
---
13
14
@@ -33,9 +34,7 @@ OpenAPI support is deliberately scoped: **local JSON file paths only** — no re
33
34
34
35
---
35
36
36
-
## Status
37
-
38
-
### Works today
37
+
## Current Status
39
38
40
39
-`sentinel scan` — end-to-end analysis (config load → scan → format → stdout or file)
41
40
-`sentinel init` — scaffolds `sentinel.config.ts`
@@ -45,31 +44,39 @@ OpenAPI support is deliberately scoped: **local JSON file paths only** — no re
45
44
-`api-contract-mismatch` (default: **error**, active when `contractSource` is configured)
@@ -164,9 +172,15 @@ Log output goes to stderr; scan results go to stdout (or `--output`).
164
172
165
173
---
166
174
167
-
## Using as a library
175
+
## Programmatic usage
168
176
169
-
`@sentinel/core` exposes the analysis engine for programmatic use:
177
+
`@sentinel/core` exposes the analysis engine for library consumers:
178
+
179
+
```bash
180
+
npm install @sentinel/core typescript
181
+
```
182
+
183
+
TypeScript (`>=5.0.0`) is a **required peer dependency** — it is used at runtime for AST parsing. Install it alongside core if your project does not already have it.
0 commit comments