@f-o-h/cli 0.1.74 → 0.1.75

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/dist/foh.js +11 -2
  2. package/package.json +1 -1
package/dist/foh.js CHANGED
@@ -14383,6 +14383,11 @@ async function runSetupCertifyLoop(agentId, params) {
14383
14383
  }
14384
14384
 
14385
14385
  // src/lib/agent-publish-gate.ts
14386
+ function normalizePublishCertificationEvidence(publish) {
14387
+ const evidence = publish.certification_evidence;
14388
+ if (!evidence || typeof evidence !== "object" || Array.isArray(evidence)) return null;
14389
+ return evidence;
14390
+ }
14386
14391
  async function validateCertifyAndPublishAgent(opts) {
14387
14392
  const validation = await apiFetch(
14388
14393
  `/v1/console/agents/${opts.agentId}/validate`,
@@ -14403,11 +14408,14 @@ async function validateCertifyAndPublishAgent(opts) {
14403
14408
  apiUrlOverride: opts.apiUrlOverride,
14404
14409
  orgId: opts.orgId
14405
14410
  });
14411
+ const evidence = normalizePublishCertificationEvidence(publish);
14406
14412
  return {
14407
14413
  validation,
14408
14414
  certification: {
14409
14415
  status: "not_run",
14410
- reason_code: "publish_consumes_existing_certification_evidence"
14416
+ reason_code: "publish_consumes_existing_certification_evidence",
14417
+ evidence_source: evidence?.source ?? null,
14418
+ evidence
14411
14419
  },
14412
14420
  publish
14413
14421
  };
@@ -32790,7 +32798,7 @@ var StdioServerTransport = class {
32790
32798
  };
32791
32799
 
32792
32800
  // src/lib/cli-version.ts
32793
- var CLI_VERSION = "0.1.74";
32801
+ var CLI_VERSION = "0.1.75";
32794
32802
 
32795
32803
  // src/commands/mcp-serve.ts
32796
32804
  var DEFAULT_TIMEOUT_MS = 12e4;
@@ -38057,6 +38065,7 @@ function registerProve(program3) {
38057
38065
  attempts: loop.attempts?.length ?? 0,
38058
38066
  improvement_runs: loop.improvement_runs,
38059
38067
  scenario_summary: loop.certificate?.scenario_summary,
38068
+ performance_summary: loop.certificate?.performance_summary ?? null,
38060
38069
  proof_cache: cached2.metadata
38061
38070
  }));
38062
38071
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@f-o-h/cli",
3
- "version": "0.1.74",
3
+ "version": "0.1.75",
4
4
  "description": "FOH CLI - AI-operator provisioning tool for Front Of House",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {