@f-o-h/cli 0.1.79 → 0.1.80
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/dist/foh.js +12 -2
- package/package.json +1 -1
package/dist/foh.js
CHANGED
|
@@ -32987,7 +32987,7 @@ var StdioServerTransport = class {
|
|
|
32987
32987
|
};
|
|
32988
32988
|
|
|
32989
32989
|
// src/lib/cli-version.ts
|
|
32990
|
-
var CLI_VERSION = "0.1.
|
|
32990
|
+
var CLI_VERSION = "0.1.80";
|
|
32991
32991
|
|
|
32992
32992
|
// src/commands/mcp-serve.ts
|
|
32993
32993
|
var DEFAULT_TIMEOUT_MS = 12e4;
|
|
@@ -36902,7 +36902,7 @@ function registerOpsReportingCommands(reporting) {
|
|
|
36902
36902
|
});
|
|
36903
36903
|
format(data, { json: opts.json ?? false });
|
|
36904
36904
|
}));
|
|
36905
|
-
reporting.command("launch-packet-evidence-check").description("Dry-run customer launch evidence before any release gate can consume it").requiredOption("--evidence <json|@file>", 'Evidence JSON object, usually { "evidence": [{ "id": "...", "payload": {...} }] }').option("--apply", "
|
|
36905
|
+
reporting.command("launch-packet-evidence-check").description("Dry-run customer launch evidence before any release gate can consume it").requiredOption("--evidence <json|@file>", 'Evidence JSON object, usually { "evidence": [{ "id": "...", "payload": {...} }] }').option("--apply", "Store completed redacted evidence through the API-owned atomic apply path").option("--org <id>", "Org ID (default: stored org from foh org use)").option("--api-url <url>", "API base URL override").option("--json", "Output as JSON").action(async (opts) => withCommandErrorHandling(async () => {
|
|
36906
36906
|
const parsed = await parseJsonOption(opts.evidence, "--evidence");
|
|
36907
36907
|
const body = parsed && typeof parsed === "object" && !Array.isArray(parsed) ? { ...parsed } : { evidence: parsed };
|
|
36908
36908
|
if (opts.apply) body.apply = true;
|
|
@@ -36914,6 +36914,16 @@ function registerOpsReportingCommands(reporting) {
|
|
|
36914
36914
|
});
|
|
36915
36915
|
format(data, { json: opts.json ?? false });
|
|
36916
36916
|
}));
|
|
36917
|
+
reporting.command("voice-proof-summary").description("Show operator summary for current voice proof ladder and next command").option("--environment <value>", "Environment filter").option("--agency-name <name>", "Agency name for setup-preview fallback when no release packet exists").option("--source-url <url>", "Official source URL for setup-preview fallback").option("--branch-location <value>", "Branch/location for setup-preview fallback").option("--tools <csv>", "Requested tool surface for setup-preview fallback").option("--target-mode <mode>", "Target exposure mode for setup-preview fallback").option("--org <id>", "Org ID (default: stored org from foh org use)").option("--api-url <url>", "API base URL override").option("--json", "Output as JSON").action(async (opts) => withCommandErrorHandling(async () => {
|
|
36918
|
+
const params = new URLSearchParams();
|
|
36919
|
+
if (opts.environment) params.set("environment", String(opts.environment));
|
|
36920
|
+
appendSetupPreviewContext(params, opts);
|
|
36921
|
+
const data = await apiFetch(withQuery("/v1/console/voice-proof-summary", params), {
|
|
36922
|
+
orgId: opts.org,
|
|
36923
|
+
apiUrlOverride: opts.apiUrl
|
|
36924
|
+
});
|
|
36925
|
+
format(data, { json: opts.json ?? false });
|
|
36926
|
+
}));
|
|
36917
36927
|
reporting.command("release-scorecard").description("Show deterministic release scorecard for an agent").requiredOption("--agent <id>", "Agent ID").option("--limit <n>", "Number of runs to include", "10").option("--api-url <url>", "API base URL override").option("--json", "Output as JSON").action(async (opts) => withCommandErrorHandling(async () => {
|
|
36918
36928
|
const limit = Math.max(1, Math.min(100, Number(opts.limit || 10) || 10));
|
|
36919
36929
|
const data = await apiFetch(`/v1/console/agents/${opts.agent}/release-scorecard?limit=${limit}`, {
|