MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / prereqStatus

Function prereqStatus

apps/cli/src/commands/integrations/feishu.ts:10386–10394  ·  view source on GitHub ↗
(
  hasIntegration: boolean,
  conditionMet: boolean,
)

Source from the content-addressed store, hash-verified

10384}
10385
10386function prereqStatus(
10387 hasIntegration: boolean,
10388 conditionMet: boolean,
10389): FeishuSmokePlanStep["status"] {
10390 if (conditionMet) {
10391 return "done";
10392 }
10393 return hasIntegration ? "pending" : "blocked";
10394}
10395
10396function collectSetupIssues(
10397 candidate: FeishuIntegrationReadiness | undefined,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected