prae-cli 0.3.0 → 0.4.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
@@ -33,6 +33,22 @@ engine, and answering it should not require running an agent.
33
33
  It also says when no capability claims the named tool, so a reader cannot infer
34
34
  coverage that is not there.
35
35
 
36
+ ### `prae scan <file> [--pack <pack.json>] [--json]`
37
+
38
+ Inspect a file for credentials the way the gate does before a read: provider
39
+ formats plus entropy, placeholders dropped. Findings name the type, rule,
40
+ line and confidence — structurally never the secret, so the output is safe to
41
+ paste anywhere. With `--pack`, also prints the verdict that pack would reach.
42
+
43
+ ### `prae mcp --root <dir> [--pack <pack.json>] [--ledger <file>]`
44
+
45
+ Serve gated filesystem access over MCP stdio. Any MCP-capable IDE or agent
46
+ mounts this as its file tool; every `read_file` is inspected before its
47
+ contents are returned, refusals are structured JSON with `"retry": false`,
48
+ and every decision lands in the ledger. Reads are confined to `--root`. With
49
+ no `--pack`, the bundled `secret-catcher` pack mounts. See
50
+ `docs/secret-catcher.md` for client configuration.
51
+
36
52
  ### `prae verify <ledger.jsonl>`
37
53
 
38
54
  Re-derive every hash in a decision log and report any break. Prints the limit
package/lib/bin.js CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { t as main } from "./cli-DZ0FPdSr.js";
3
- import "./src-DGWTvmRZ.js";
4
- import "./views-CLLfJPWB.js";
2
+ import "./evaluate-BilZez15.js";
3
+ import { t as main } from "./cli-BvAYSK5w.js";
4
+ import "./src-CAUNqZJ1.js";
5
+ import "./views-DalPkBZZ.js";
5
6
 
6
7
  //#region src/bin.ts
7
8
  main(process.argv.slice(2)).catch((error) => {