@corgea/cli 1.8.6 → 1.9.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 CHANGED
@@ -26,6 +26,29 @@ Once the binary is installed, login with your token from the Corgea app.
26
26
  corgea login <token>
27
27
  ```
28
28
 
29
+ ## Dependency Inventory (offline)
30
+
31
+ `corgea deps` builds a dependency inventory from npm, Python, and Java manifests
32
+ and lockfiles, then evaluates a pinning policy (DEP rules). Runs fully offline —
33
+ no token or network required.
34
+
35
+ ```bash
36
+ corgea deps scan # table report for the current directory
37
+ corgea deps scan --format agent # compact TSV for coding agents
38
+ corgea deps scan --format json # JSON inventory on stdout
39
+ corgea deps scan --format quiet # no stdout; exit code still applies
40
+ corgea deps scan --fail-on high # exit 1 if any finding is >= high
41
+ corgea deps scan --out-format json # machine-readable (json or sarif)
42
+ corgea deps graph --format json # print the resolved dependency graph
43
+ corgea deps explain <package> --format agent # show why a package is present
44
+ corgea deps diff --base origin/main --format json
45
+ corgea deps sbom --format cyclonedx # emit a CycloneDX SBOM
46
+ corgea deps policy init --exist-ok # write starter policy, or keep existing file
47
+ ```
48
+
49
+ `corgea deps` defaults to `--format agent` when an agent environment is detected (`AI_AGENT`, `CODEX_SANDBOX`, `CLAUDECODE`, and related agent variables). Use `--format human` to force the normal terminal output.
50
+
51
+ See [Dependency Scanning (CLI)](https://docs.corgea.app/cli/deps) for the full flag and exit-code reference.
29
52
 
30
53
  ## Development Setup
31
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corgea/cli",
3
- "version": "1.8.6",
3
+ "version": "1.9.0",
4
4
  "description": "The Corgea CLI. Scan for vulnerabilities, create fixes.",
5
5
  "license": "LGPL-2.1-only",
6
6
  "homepage": "https://corgea.com",