@attest-ai/core 1.0.0-rc.5 → 1.0.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.
@@ -387,8 +387,8 @@ function extractId(response) {
387
387
  }
388
388
 
389
389
  // src/version.ts
390
- var VERSION = "1.0.0-rc.5";
391
- var ENGINE_VERSION = "1.0.0-rc.5";
390
+ var VERSION = "1.0.0";
391
+ var ENGINE_VERSION = "1.0.0";
392
392
 
393
393
  // src/engine-manager.ts
394
394
  var import_node_child_process = require("child_process");
@@ -3019,11 +3019,14 @@ async function recordExclusive(name, fn, opts) {
3019
3019
  throw new CaptureError(`capture ${name} wrote no fixture (${exitDetail(exit)})`);
3020
3020
  }
3021
3021
  const outcome = JSON.parse(lines[lines.length - 1] ?? "");
3022
- if (exit.code !== 0 || !outcome.verified) {
3022
+ if (exit.code !== 0 || outcome.outcome === "not_verified") {
3023
3023
  throw new CaptureError(`capture ${name}: fixture ${outcome.fixture} is not verified; no test drafted`, outcome.fixture);
3024
3024
  }
3025
+ if (outcome.outcome === "nothing_to_verify") {
3026
+ return { value, fixture: outcome.fixture, verified: false, outcome: "nothing_to_verify", testFile: null };
3027
+ }
3025
3028
  const testFile = opts.emitTest === false ? null : emitVitest(outcome.fixture);
3026
- return { value, fixture: outcome.fixture, verified: true, testFile };
3029
+ return { value, fixture: outcome.fixture, verified: true, outcome: "verified", testFile };
3027
3030
  }
3028
3031
 
3029
3032
  // src/replay.ts