@f-o-h/cli 0.1.67 → 0.1.68

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
@@ -89,7 +89,7 @@ returned short-lived token. Credential auth remains available as fallback.
89
89
  `foh prove` produces a compact signed proof report across auth, org context,
90
90
  agent validation, contact phone readiness, voice provider health, widget
91
91
  channel/embed readiness, and widget smoke. It does not run release
92
- certification by default; run `foh certify run --agent <id> --profile release`
92
+ certification by default; run `foh certify run --agent <id> --profile release` (budget-safe default)
93
93
  before publish, or pass `--include-certification` only when you intentionally
94
94
  want the slower certification check inside proof. It is read-only by default;
95
95
  pass `--mutation-mode ensure` or `--repair` only when you explicitly want proof
package/dist/foh.js CHANGED
@@ -32786,7 +32786,7 @@ var StdioServerTransport = class {
32786
32786
  };
32787
32787
 
32788
32788
  // src/lib/cli-version.ts
32789
- var CLI_VERSION = "0.1.67";
32789
+ var CLI_VERSION = "0.1.68";
32790
32790
 
32791
32791
  // src/commands/mcp-serve.ts
32792
32792
  var DEFAULT_TIMEOUT_MS = 12e4;
@@ -35415,6 +35415,11 @@ function modeForProfile(profile) {
35415
35415
  if (profile === "stress") return "stress";
35416
35416
  return "full";
35417
35417
  }
35418
+ function defaultAdaptiveRuns(profile) {
35419
+ if (profile === "smoke") return 1;
35420
+ if (profile === "stress") return 30;
35421
+ return 5;
35422
+ }
35418
35423
  function csv(raw) {
35419
35424
  if (!raw) return void 0;
35420
35425
  const values = String(raw).split(",").map((value) => value.trim()).filter(Boolean);
@@ -35427,11 +35432,11 @@ function channel(raw) {
35427
35432
  }
35428
35433
  function registerCertify(program3) {
35429
35434
  const certify = program3.command("certify").description("Produce release certification evidence for an agent");
35430
- certify.command("run").description("Run certification for an exact agent draft/profile and emit release evidence").requiredOption("--agent <id>", "Agent ID to certify").option("--profile <profile>", "Certification profile: smoke, release, or stress", "release").option("--adaptive-runs <n>", "Adaptive runs for release/stress profiles", "30").option("--journeys <list>", "Comma-separated journey allowlist").option("--scenario-ids <list>", "Comma-separated scenario ID allowlist").option("--channel <channel>", "Channel filter: chat, voice, or mixed", "mixed").option("--out <path>", "Write certification run JSON to this file path").option("--api-url <url>", "API base URL override").option("--json", "Output as machine-readable JSON").action(async (opts) => {
35435
+ certify.command("run").description("Run certification for an exact agent draft/profile and emit release evidence").requiredOption("--agent <id>", "Agent ID to certify").option("--profile <profile>", "Certification profile: smoke, release, or stress", "release").option("--adaptive-runs <n>", "Adaptive runs override; release defaults to a budget-safe 5").option("--journeys <list>", "Comma-separated journey allowlist").option("--scenario-ids <list>", "Comma-separated scenario ID allowlist").option("--channel <channel>", "Channel filter: chat, voice, or mixed", "mixed").option("--out <path>", "Write certification run JSON to this file path").option("--api-url <url>", "API base URL override").option("--json", "Output as machine-readable JSON").action(async (opts) => {
35431
35436
  try {
35432
35437
  const profile = normalizeProfile(opts.profile);
35433
35438
  const mode = modeForProfile(profile);
35434
- const adaptiveRuns = Math.max(1, Math.min(120, Number(opts.adaptiveRuns ?? 30) || 30));
35439
+ const adaptiveRuns = Math.max(1, Math.min(120, Number(opts.adaptiveRuns ?? defaultAdaptiveRuns(profile)) || defaultAdaptiveRuns(profile)));
35435
35440
  const response = await apiFetch(
35436
35441
  `/v1/console/agents/${opts.agent}/sim-certify`,
35437
35442
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@f-o-h/cli",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "description": "FOH CLI - AI-operator provisioning tool for Front Of House",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {