@f-o-h/cli 0.1.78 → 0.1.79
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 +1 -1
- package/dist/foh.js +12 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ AI-operator provisioning CLI for Front Of House.
|
|
|
4
4
|
|
|
5
5
|
Public mirror: https://github.com/iiko38/front-of-house-cli
|
|
6
6
|
|
|
7
|
-
Current published baseline: `@f-o-h/cli@0.1.
|
|
7
|
+
Current published baseline: `@f-o-h/cli@0.1.79`
|
|
8
8
|
|
|
9
9
|
This mirror is a generated release artifact. The private product monorepo is not
|
|
10
10
|
published here, and no open-source license is granted unless stated separately.
|
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.79";
|
|
32991
32991
|
|
|
32992
32992
|
// src/commands/mcp-serve.ts
|
|
32993
32993
|
var DEFAULT_TIMEOUT_MS = 12e4;
|
|
@@ -36829,6 +36829,13 @@ function registerOpsRecommendationCommands(ops) {
|
|
|
36829
36829
|
}
|
|
36830
36830
|
|
|
36831
36831
|
// src/commands/ops-reporting.ts
|
|
36832
|
+
function appendSetupPreviewContext(params, opts) {
|
|
36833
|
+
if (opts.agencyName) params.set("agency_name", String(opts.agencyName));
|
|
36834
|
+
if (opts.sourceUrl) params.set("source_url", String(opts.sourceUrl));
|
|
36835
|
+
if (opts.branchLocation) params.set("branch_location", String(opts.branchLocation));
|
|
36836
|
+
if (opts.tools) params.set("tools", String(opts.tools));
|
|
36837
|
+
if (opts.targetMode) params.set("target_mode", String(opts.targetMode));
|
|
36838
|
+
}
|
|
36832
36839
|
function registerOpsReportingCommands(reporting) {
|
|
36833
36840
|
reporting.command("kb-usage").description("Show KB usage aggregate report").requiredOption("--agent <id>", "Agent ID").option("--days <n>", "Lookback window in days", "7").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 () => {
|
|
36834
36841
|
const params = new URLSearchParams({
|
|
@@ -36875,18 +36882,20 @@ function registerOpsReportingCommands(reporting) {
|
|
|
36875
36882
|
});
|
|
36876
36883
|
format(data, { json: opts.json ?? false });
|
|
36877
36884
|
}));
|
|
36878
|
-
reporting.command("launch-packet").description("Show latest customer launch packet and grouped go-live blockers").option("--environment <value>", "Environment filter").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 () => {
|
|
36885
|
+
reporting.command("launch-packet").description("Show latest customer launch packet and grouped go-live blockers").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 () => {
|
|
36879
36886
|
const params = new URLSearchParams();
|
|
36880
36887
|
if (opts.environment) params.set("environment", String(opts.environment));
|
|
36888
|
+
appendSetupPreviewContext(params, opts);
|
|
36881
36889
|
const data = await apiFetch(withQuery("/v1/console/release-launch-packet", params), {
|
|
36882
36890
|
orgId: opts.org,
|
|
36883
36891
|
apiUrlOverride: opts.apiUrl
|
|
36884
36892
|
});
|
|
36885
36893
|
format(data, { json: opts.json ?? false });
|
|
36886
36894
|
}));
|
|
36887
|
-
reporting.command("launch-packet-skeletons").description("Generate customer launch evidence skeletons from latest launch packet blockers").option("--environment <value>", "Environment filter").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 () => {
|
|
36895
|
+
reporting.command("launch-packet-skeletons").description("Generate customer launch evidence skeletons from latest launch packet blockers").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 () => {
|
|
36888
36896
|
const params = new URLSearchParams();
|
|
36889
36897
|
if (opts.environment) params.set("environment", String(opts.environment));
|
|
36898
|
+
appendSetupPreviewContext(params, opts);
|
|
36890
36899
|
const data = await apiFetch(withQuery("/v1/console/release-launch-packet/evidence-skeletons", params), {
|
|
36891
36900
|
orgId: opts.org,
|
|
36892
36901
|
apiUrlOverride: opts.apiUrl
|