zyntry-verdict 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/bin/zv.mjs +8 -1
  2. package/package.json +3 -2
package/bin/zv.mjs CHANGED
@@ -368,10 +368,11 @@ function renderStream() {
368
368
  // --- commands -----------------------------------------------------------------
369
369
 
370
370
  async function cmdSignup(flags) {
371
+ const email = typeof flags.email === "string" ? flags.email.trim() : "";
371
372
  const res = await fetch(`${gatewayUrl(flags)}/v1/keys`, {
372
373
  method: "POST",
373
374
  headers: { "Content-Type": "application/json" },
374
- body: JSON.stringify({ label: "cli" }),
375
+ body: JSON.stringify({ label: "cli", ...(email ? { email } : {}) }),
375
376
  });
376
377
  const body = await res.json();
377
378
  if (!res.ok) {
@@ -381,6 +382,7 @@ async function cmdSignup(flags) {
381
382
  await saveConfig({ ...((await loadConfig()) ?? {}), key: body.key, gateway: gatewayUrl(flags) });
382
383
  console.log(GREEN("✓ key created") + ` — $${body.creditsUsd.toFixed(2)} trial credits`);
383
384
  console.log(` stored at ${CONFIG_PATH}`);
385
+ console.log(DIM(" next: zyntry-verdict cases · docs: https://verdict.zyntry.space/docs"));
384
386
  }
385
387
 
386
388
  async function cmdBalance(config, flags) {
@@ -705,6 +707,11 @@ switch (command) {
705
707
 
706
708
  git hook: zyntry-verdict gate --case my-case # in .git/hooks/pre-commit
707
709
 
710
+ links: docs & API https://zyntry.space/products/zyntry-verdict/docs
711
+ results https://verdict.zyntry.space/docs/results
712
+ dogfood https://verdict.zyntry.space/docs/dogfood
713
+ security https://verdict.zyntry.space/docs/security-audit
714
+
708
715
  env: ZV_GATEWAY (default https://verdict.zyntry.space)`);
709
716
  process.exit(command ? 2 : 0);
710
717
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zyntry-verdict",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
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": {
@@ -30,4 +30,5 @@
30
30
  "engines": {
31
31
  "node": ">=18"
32
32
  }
33
- }
33
+ }
34
+