Add insight stats query

This commit is contained in:
gitea committed 2026-09-11 01:42:41 +08:00
1 parent d3c9302c14
commit a946cf45c9
9 files changed
+112

No files matched your search

+7
View File
@@ -6,6 +6,7 @@ import { createSealClient } from "../core/http/factory.js";
import type { CorpConfig } from "../core/config/types.js";
import { VERSION } from "../version.js";
import { handleApprovalRunsCommand } from "./commands/approval-runs.js";
import { handleAnalyticsCommand } from "./commands/analytics.js";
import { handleAuthCommand } from "./commands/auth.js";
import { handleBillingCommand } from "./commands/billing.js";
import { handleConfigCommand } from "./commands/config.js";
@@ -73,6 +74,7 @@ const KNOWN_AREAS = new Set([
"context",
"rules",
"approval-runs",
"analytics",
"simulation",
"deploy",
"preference",
@@ -362,6 +364,11 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
return;
}
if (area === "analytics") {
await handleAnalyticsCommand(action, client, corp, args);
return;
}
if (area === "simulation") {
await handleSimulationCommand(action, maybeName, client, corp, args);
return;