zyntry-verdict 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/README.md +59 -16
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -11,46 +11,89 @@ Zero dependencies. Node >= 18.
11
11
  ## Quick start
12
12
 
13
13
  ```bash
14
- npx zyntry-verdict signup # API key + $5 trial credits (no card)
14
+ npx zyntry-verdict signup # API key + $1 trial credit (no card)
15
15
  npx zyntry-verdict provider meta --key <YOUR_MODEL_KEY> # BYOK: your model, your tokens
16
16
  npx zyntry-verdict run multi-tenant-auth # watch the courtroom live
17
17
  ```
18
18
 
19
+ Or point it at **your own repo**:
20
+
21
+ ```bash
22
+ cd your-repo
23
+ npx zyntry-verdict init # scans your repo, generates .zyntry.case.json
24
+ npx zyntry-verdict run # three agents review YOUR code, live
25
+ ```
26
+
19
27
  The run streams the proceedings in your terminal — every proposal, APPROVED /
20
- REJECTED rulings, claim transitions (`asserted → refuted → verified`) — and exits
21
- `0` only when the verdict is `resolved-verified`, so it composes with scripts
22
- and CI.
28
+ REJECTED rulings, claim transitions (asserted → refuted → verified) — and exits
29
+ 0 only when the verdict is `resolved-verified`, so it composes with scripts
30
+ and CI. If the stream is interrupted, the verdict completes server-side and
31
+ the CLI polls it to the end.
23
32
 
24
33
  ## Commands
25
34
 
26
35
  ```
27
- signup create an API key with trial credits
36
+ init scan YOUR repo and generate .zyntry.case.json
37
+ signup create an API key with trial credits [--email <addr>]
28
38
  balance credits + usage
29
39
  topup <amount 5-500> pay via hosted checkout (card, bank transfer, mobile
30
40
  money, crypto) — credits land automatically
31
41
  provider [name] show or set YOUR model provider (meta | openai | ollama |
32
- custom) — [--key <KEY>] or ZV_PROVIDER_KEY env
42
+ custom) — [--key <KEY>] [--baseUrl <url>] or ZV_PROVIDER_KEY env
33
43
  cases list available case packs
34
- run <caseId> open the courtroom and stream the verdict live
35
- [--mode route|courtroom] [--gateway <url>]
44
+ run [caseId] open the courtroom and stream the verdict live
45
+ (auto-detects .zyntry.case.json) [--mode route|courtroom]
46
+ watch [caseId] auto-verdict on file change (the safety net)
47
+ gate [caseId] one-shot for git pre-commit hooks
48
+ (exits 0 only on resolved-verified)
49
+ stats <caseId> per-repo dashboard: win rate, escalation rate, spend
50
+ certify <verdictId> export a signed verdict certificate (compliance proof)
51
+ explain <verdictId> the full trial: verdict reasoning, every claim,
52
+ what the challenger proved
53
+ standards <caseId> show the sealed standard's growth (the visible moat)
36
54
  ```
37
55
 
38
56
  ## How it works
39
57
 
40
- 1. **Route** — a cheap triage pass checks the work first ($0.03). If the sealed
41
- standard passes, you're done. If it fails, the full courtroom opens ($0.75).
42
- 2. **Court** — an Investigigator builds the picture, a Challenger writes
43
- exploit tests to break claims, a Proponent defends and fixes the code.
44
- Claims are only `verified` when an executed test proves them.
45
- 3. **Verdict** — streamed live, stored forever, exportable as a markdown audit
46
- report.
58
+ - **Route** — a cheap triage pass checks the work first ($0.03). If the sealed
59
+ standard passes, you're done. If it fails, the full courtroom opens ($0.75).
60
+ - **Court** — an Investigator builds the picture, a Challenger writes exploit
61
+ tests to break claims, a Proponent defends and fixes the code. Claims are
62
+ only verified when an executed test proves them.
63
+ - **Verdict** — streamed live, persisted, exportable as a signed certificate.
64
+ Every exploit test the Challenger ever proved is promoted into the sealed
65
+ standard: the bar rises with every run, and `standards` shows the timeline.
47
66
 
48
67
  Bring your own model key (Meta, OpenAI, Ollama, or any OpenAI-compatible
49
68
  endpoint). You pay your own token costs at cost — Zyntry charges only the
50
69
  verdict fees.
51
70
 
71
+ ## MCP for your AI coding agent
72
+
73
+ The same gateway is an MCP server (10 tools). One config line gives any
74
+ MCP-capable tool — Claude Code, Cursor, Windsurf, VS Code Copilot, Cline, Zed —
75
+ a verifier it cannot charm:
76
+
77
+ ```json
78
+ {
79
+ "mcpServers": {
80
+ "zyntry-verdict": {
81
+ "url": "https://verdict.zyntry.space/v1/mcp",
82
+ "headers": { "Authorization": "Bearer zv_live_YOUR_KEY" }
83
+ }
84
+ }
85
+ }
86
+ ```
87
+
88
+ The agent can then generate its own case (`zyntry_init_case`), submit its
89
+ work, read structured fix instructions (`zyntry_verify_and_fix`), explain the
90
+ verdict with evidence (`zyntry_explain_verdict`), and hand you a signed
91
+ certificate — the full self-correction loop without a human touching a terminal.
92
+
52
93
  ## Links
53
94
 
54
95
  - Gateway: https://verdict.zyntry.space
96
+ - Docs: https://zyntry.space/products/zyntry-verdict/docs
97
+ - Public records — benchmarks, dogfood, security audit: https://github.com/devspak-s8/zyntry-verdict
55
98
  - MCP: same gateway, `/v1/mcp`
56
- - GitHub Action: submit PRs to the courtroom from CI
99
+ - GitHub Action: submit PRs to the courtroom from CI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zyntry-verdict",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Thin client for the Zyntry Verdict hosted AI courtroom — submit code, watch the adversarial courtroom stream live, get a verdict that can withstand scrutiny.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -36,3 +36,4 @@
36
36
 
37
37
 
38
38
 
39
+