MCPcopy Create free account

hub / github.com/crshdn/mission-control / functions

Functions874 in github.com/crshdn/mission-control

↓ 2 callersFunctionoutputSnippet
(value: unknown)
src/lib/repo-preflight.ts:37
↓ 2 callersFunctionoutputSnippet
(value: unknown)
src/lib/github-cli.ts:15
↓ 2 callersFunctionoutputSnippet
(value: unknown)
src/lib/workspace-isolation.ts:87
↓ 2 callersFunctionparseGitHubPrUrl
(prUrl: string)
src/lib/rollback.ts:140
↓ 2 callersFunctionparseMetadata
(metadata?: AgentHealth['metadata'])
src/lib/agent-health.ts:123
↓ 2 callersFunctionparseTimestampMs
(value?: string | null)
src/lib/chat-listener.ts:52
↓ 2 callersMethodperformCacheCleanup
* Perform LRU cleanup of the event cache. * Removes the oldest entries based on access time when size exceeds limit. * Also removes entries olde
src/lib/openclaw/client.ts:90
↓ 2 callersFunctionpopulateTaskRolesFromAgents
(taskId: string, workspaceId: string)
src/lib/workflow-engine.ts:301
↓ 2 callersFunctionreadLimited
(response: Response, maxBytes: number)
src/app/api/products/scan-url/route.ts:126
↓ 2 callersFunctionrecordDispatchError
(taskId: string, error: string)
src/app/api/tasks/[id]/dispatch/route.ts:22
↓ 2 callersFunctionredactRepoUrl
(repoUrl: string)
src/lib/repo-preflight.ts:26
↓ 2 callersFunctionresolve_agent_name
Map a Clawdbot session label to a Mission Control agent name.
scripts/mc-bridge.py:100
↓ 2 callersFunctionresurfaceIdea
(ideaId: string, reason?: string)
src/lib/autopilot/maybe-pool.ts:21
↓ 2 callersFunctionrunHealthCheckCycle
()
src/lib/agent-health.ts:499
↓ 2 callersFunctionsetupTestDb
()
src/lib/autopilot/similarity.test.ts:91
↓ 2 callersFunctionshouldTriggerAutoDispatch
( previousStatus: string | undefined, newStatus: string, assignedAgentId: string | null )
src/lib/auto-dispatch.ts:46
↓ 2 callersFunctionstoreIdeasFromPhaseData
( ideationId: string, productId: string, researchCycleId: string | null, ideasData: unknown[], llmUs
src/lib/autopilot/ideation.ts:241
↓ 2 callersFunctionstripMarkdownFormatting
(text: string)
src/app/api/products/scan-url/route.ts:63
↓ 2 callersFunctionsummarizeExecFailure
(error: unknown)
src/lib/workspace-isolation.ts:94
↓ 2 callersFunctiontaskCanBeDone
(taskId: string)
src/lib/task-governance.ts:101
↓ 2 callersFunctiontriggerAutoDispatch
(options: AutoDispatchOptions)
src/lib/auto-dispatch.ts:15
↓ 2 callersFunctiontrimDetail
(value: string, max = 600)
src/lib/task-flight-recorder.ts:198
↓ 2 callersFunctionupdateConvoyProgress
(convoyId: string)
src/lib/convoy.ts:126
↓ 2 callersFunctionupdateProductSettings
(productId: string, updates: Partial<ProductSettings>)
src/lib/rollback.ts:66
↓ 2 callersFunctionupdateTaskStatusWithPersist
(task: Task, targetStatus: TaskStatus)
src/components/MissionQueue.tsx:95
↓ 2 callersFunctionupdateWeights
(productId: string, newWeights: Partial<HealthWeightConfig>)
src/lib/autopilot/health-score.ts:462
↓ 2 callersFunctionuseToast
()
src/components/Toast.tsx:27
↓ 2 callersFunctionvalidateRepoSettingName
(name: string)
src/lib/repo-readiness.ts:438
↓ 1 callersFunctionacknowledgeRollback
(id: string, acknowledgedBy: string = 'user')
src/lib/rollback.ts:376
↓ 1 callersFunctionacquireMergeLock
(productId: string)
src/lib/workspace-isolation.ts:763
↓ 1 callersFunctionactivitySeverity
(activity: ActivityRow)
src/lib/task-flight-recorder.ts:183
↓ 1 callersFunctionaddSubtasks
(convoyId: string, subtasks: CreateSubtaskInput[])
src/lib/convoy.ts:256
↓ 1 callersFunctionallocatePort
(taskId: string, productId?: string)
src/lib/workspace-isolation.ts:153
↓ 1 callersFunctionanalyzeWinnerDelta
(testId: string)
src/lib/autopilot/ab-testing.ts:541
↓ 1 callersFunctionapplyRepoReadinessFix
( productId: string, input: { kind: RepoReadinessActionKind; targetName?: string; value?: string } )
src/lib/repo-readiness.ts:446
↓ 1 callersFunctionarchiveProduct
(id: string)
src/lib/autopilot/products.ts:78
↓ 1 callersFunctionassertGitHubRepo
(product: Product)
src/lib/repo-readiness.ts:432
↓ 1 callersFunctionauditBoardOverride
(taskId: string, fromStatus: string, toStatus: string, reason?: string)
src/lib/task-governance.ts:21
↓ 1 callersFunctionauthHintForGitError
(errorText: string)
src/lib/repo-preflight.ts:60
↓ 1 callersFunctionbackfillAllPreferences
()
src/lib/autopilot/preferences.ts:252
↓ 1 callersFunctionbackfillEmbeddings
(productId: string)
src/lib/autopilot/similarity.ts:375
↓ 1 callersFunctionbatchCheckSimilarity
( productId: string, candidates: Array<{ title: string; description: string; index: number }> )
src/lib/autopilot/similarity.ts:289
↓ 1 callersFunctionbatchSwipe
( productId: string, actions: Array<{ idea_id: string; action: 'approve' | 'reject' | 'maybe' | 'fire'; no
src/lib/autopilot/swipe.ts:226
↓ 1 callersFunctionbayesianConfidence
(succeeded: number, used: number)
src/lib/skills.ts:63
↓ 1 callersFunctionbootstrapCoreAgents
(workspaceId: string)
src/lib/bootstrap-agents.ts:180
↓ 1 callersFunctionbuildDecompositionPrompt
* Build the AI decomposition prompt from the task's spec and description.
src/app/api/tasks/[id]/convoy/route.ts:20
↓ 1 callersFunctionbuildDefaultCommands
(options: { selectedTaskId?: string; onNavigateToTask?: (taskId: string) => void; onToggleChat?: () => v
src/components/chat/CommandPalette.tsx:169
↓ 1 callersFunctionbuildDeviceAuthPayload
(params: { deviceId: string; clientId: string; clientMode: string; role: string; scopes: string[];
src/lib/openclaw/device-identity.ts:98
↓ 1 callersFunctionbuildIdeationPrompt
( product: Product, researchReport: string | null, swipeHistory: SwipeHistoryEntry[], learnedPreferenc
src/lib/autopilot/ideation.ts:11
↓ 1 callersFunctionbuildResearchPrompt
(product: Product, learnedPreferences?: string)
src/lib/autopilot/research.ts:12
↓ 1 callersFunctioncanUseBoardOverride
(request: Request)
src/lib/task-governance.ts:16
↓ 1 callersFunctioncancelTest
(testId: string)
src/lib/autopilot/ab-testing.ts:191
↓ 1 callersFunctionchatBadge
(status: FlightRecorderPayload['summary']['chat_status'])
src/components/TaskFlightRecorder.tsx:102
↓ 1 callersFunctioncheckAgentHealth
(agentId: string)
src/lib/agent-health.ts:466
↓ 1 callersFunctioncheckAgents
()
src/lib/health.ts:170
↓ 1 callersFunctioncheckCaps
(workspaceId: string, productId?: string)
src/lib/costs/caps.ts:73
↓ 1 callersFunctioncheckConvoyCompletion
(convoyId: string)
src/lib/convoy.ts:154
↓ 1 callersFunctioncheckCosts
()
src/lib/health.ts:259
↓ 1 callersFunctioncheckDb
()
src/lib/health.ts:122
↓ 1 callersFunctioncheckGateway
()
src/lib/health.ts:156
↓ 1 callersFunctioncheckHealth
(url: string)
src/lib/rollback.ts:84
↓ 1 callersFunctioncheckOpenClaw
()
src/app/workspace/[slug]/page.tsx:104
↓ 1 callersFunctioncheckQueue
()
src/lib/health.ts:204
↓ 1 callersFunctioncheckRepoAccess
()
src/app/autopilot/new/page.tsx:97
↓ 1 callersFunctioncheckResearch
()
src/lib/health.ts:233
↓ 1 callersFunctioncheckSimilarity
( productId: string, title: string, description: string )
src/lib/autopilot/similarity.ts:222
↓ 1 callersFunctionchiSquaredSurvival
* Approximation of chi-squared survival function (1 - CDF) for df=1. * Uses the relationship: P(X > x) = 2 * (1 - Phi(sqrt(x))) for df=1, * where Ph
src/lib/autopilot/ab-testing.ts:365
↓ 1 callersFunctionclassifyActionRun
(run: { conclusion?: string; name: string })
src/lib/pr-recovery.ts:76
↓ 1 callersFunctioncleanupWorkspace
(task: Task)
src/lib/workspace-isolation.ts:658
↓ 1 callersFunctioncloneWorkflowTemplates
(db: Database.Database, targetWorkspaceId: string)
src/lib/bootstrap-agents.ts:235
↓ 1 callersFunctioncompleteJSON
(prompt: string, options: CompletionOptions = {})
src/lib/autopilot/llm.ts:148
↓ 1 callersFunctioncompleteSubAgentSession
(sessionId: string, summary?: string)
src/lib/orchestration.ts:126
↓ 1 callersFunctioncomputeBuildSuccess
* Build Success Rate: 0-100 * 100 = all dispatched tasks resulted in merged PRs * 0 = no merges (or no tasks)
src/lib/autopilot/health-score.ts:152
↓ 1 callersFunctioncomputeCostEfficiency
* Cost Efficiency: 0-100 * 100 = $0/merged PR (or very low) * 0 = $50+/merged PR * Inverse relationship — lower cost = higher score
src/lib/autopilot/health-score.ts:178
↓ 1 callersFunctioncomputeGaps
(events: FlightRecorderEvent[])
src/lib/task-flight-recorder.ts:217
↓ 1 callersFunctioncomputePipelineDepth
* Pipeline Depth: 0-100 * 100 = 10+ pending ideas (healthy pipeline) * 0 = no pending ideas
src/lib/autopilot/health-score.ts:116
↓ 1 callersFunctioncomputeResearchFreshness
* Research Freshness: 0-100 * 100 = completed cycle within last day * 0 = no cycle in 30+ days (or never)
src/lib/autopilot/health-score.ts:95
↓ 1 callersFunctioncomputeSwipeVelocity
* Swipe Velocity: 0-100 * 100 = 5+ ideas reviewed per day (7-day rolling avg) * 0 = no swipes
src/lib/autopilot/health-score.ts:132
↓ 1 callersFunctionconcludeTest
( testId: string, winnerVariantId: string )
src/lib/autopilot/ab-testing.ts:165
↓ 1 callersFunctionconnect
()
src/hooks/useSSE.ts:36
↓ 1 callersFunctionconnectSSE
()
src/components/AgentActivityDashboard.tsx:100
↓ 1 callersFunctioncreateBackup
()
src/lib/backup.ts:85
↓ 1 callersFunctioncreateCostCap
(input: { workspace_id?: string; product_id?: string | null; cap_type: string; limit_usd: number; pe
src/lib/costs/caps.ts:6
↓ 1 callersFunctioncreateManualIdea
(productId: string, input: { title: string; description: string; category: string; complexity?: string
src/lib/autopilot/ideation.ts:446
↓ 1 callersFunctioncreatePreMigrationBackup
(db: Database.Database)
src/lib/db/migrations.ts:1649
↓ 1 callersFunctioncreateProduct
(input: { workspace_id?: string; name: string; description?: string; repo_url?: string; live_url?: s
src/lib/autopilot/products.ts:6
↓ 1 callersFunctioncreateRevertPR
( mergedPrUrl: string, mergedCommitSha: string, reason: string, defaultBranch: string = 'main' )
src/lib/rollback.ts:146
↓ 1 callersFunctioncreateSandboxWorkspace
( task: Task, projectDir: string, workspaceDir: string, baseBranch: string, port: number )
src/lib/workspace-isolation.ts:398
↓ 1 callersFunctioncreateSchedule
(productId: string, input: { schedule_type: string; cron_expression: string; timezone?: string; enable
src/lib/autopilot/scheduling.ts:5
↓ 1 callersMethodcreateSession
(channel: string, peer?: string)
src/lib/openclaw/client.ts:479
↓ 1 callersFunctioncreateSwipeHistory
(productId: string, count: number, daysAgo: number = 0)
src/lib/autopilot/health-score.test.ts:48
↓ 1 callersFunctioncreateVariant
(input: { product_id: string; name: string; content: string; is_control?: boolean; })
src/lib/autopilot/ab-testing.ts:23
↓ 1 callersFunctioncreateWorktreeWorkspace
( task: Task, projectDir: string, workspaceDir: string, baseBranch: string, port: number )
src/lib/workspace-isolation.ts:293
↓ 1 callersFunctioncronMatches
* Simple cron matcher — checks if a schedule is due. * Supports: minute, hour, day-of-month, month, day-of-week
src/lib/autopilot/scheduling.ts:70
↓ 1 callersFunctioncycleLabel
(cycleType: string, index: number)
src/components/autopilot/ActivityPanel.tsx:51
↓ 1 callersFunctiondeleteBackup
(filename: string)
src/lib/backup.ts:248
↓ 1 callersFunctiondeleteConvoy
(convoyId: string)
src/lib/convoy.ts:315
↓ 1 callersFunctiondeleteCostCap
(id: string)
src/lib/costs/caps.ts:68
↓ 1 callersFunctiondeleteFromS3
(key: string)
src/lib/backup.ts:339
↓ 1 callersFunctiondeleteSchedule
(schedId: string)
src/lib/autopilot/scheduling.ts:62
← previousnext →201–300 of 874, ranked by callers