MCPcopy Create free account

hub / github.com/chekusu/wanman / functions

Functions987 in github.com/chekusu/wanman

↓ 5 callersFunctionaddUnique
(items: T[], item: T)
packages/finops/src/key-inventory.ts:463
↓ 5 callersFunctionasObject
(value: unknown)
packages/finops/src/providers/stripe.ts:180
↓ 5 callersFunctionbarWidthPercent
(value: number, maxValue: number, minimum = 4)
packages/finops/src/web/charts.ts:34
↓ 5 callersMethodcall
( systemPrompt: string, userPrompt: string, )
packages/runtime/src/exploration-engine.ts:42
↓ 5 callersFunctioncollectLocalObservationState
( runtime: RuntimeClient, worktreePath: string, logLines: string[], )
packages/cli/src/takeover-local.ts:274
↓ 5 callersFunctioncreateBranchWithCommit
Helper: create a branch with a file commit, then go back to main.
packages/runtime/src/__tests__/merge-queue.test.ts:29
↓ 5 callersFunctioncreateRpcRequest
(method: string, params?: Record<string, unknown>)
packages/core/src/protocol.ts:308
↓ 5 callersFunctiondeferred
()
packages/runtime/src/__tests__/brain-integration.test.ts:35
↓ 5 callersFunctiondetectTests
(projectPath: string)
packages/cli/src/takeover-project.ts:207
↓ 5 callersMethodensureFresh
Ensure credentials are fresh before spawning an agent.
packages/runtime/src/credential-manager.ts:146
↓ 5 callersFunctionescLike
(s: string)
packages/runtime/src/sql-escape.ts:25
↓ 5 callersFunctionexecGit
(cwd: string, args: string)
packages/cli/src/takeover-local.test.ts:269
↓ 5 callersFunctionformatPeriod
(period: string)
packages/finops/src/web/app.ts:739
↓ 5 callersFunctionformatRoi
(value: number | null)
packages/finops/src/web/app.ts:722
↓ 5 callersFunctiongetRunSourceLabel
( plan: Pick<RunLaunchPlan, 'projectDir' | 'requestedProjectDir'>, options: { standalone: boolean }, )
packages/cli/src/run-orchestrator.ts:57
↓ 5 callersMethodgetStatus
* Get a specific merge request by ID. Returns null if not found.
packages/runtime/src/merge-queue.ts:155
↓ 5 callersMethodgetVersions
Get all versions of a skill for an agent
packages/runtime/src/skill-manager.ts:79
↓ 5 callersFunctioninferGoal
(profile: ProjectProfile, intent = buildProjectIntent(profile))
packages/cli/src/takeover-project.ts:495
↓ 5 callersFunctioninventoryRepo
(repo: string, productId: string, keyCount: number)
packages/finops/src/demo-data.ts:217
↓ 5 callersFunctionmakeBackend
(overrides: Partial<TakeoverCoordinationBackend> = {})
packages/cli/src/takeover-coordination.test.ts:74
↓ 5 callersFunctionmakeLLMResponse
(overrides?: { scores?: Array<{ optionId: string scores: Record<string, number> reasoning: strin
packages/runtime/src/__tests__/evaluation-engine.test.ts:44
↓ 5 callersFunctionmaybeNudgeLocalPrExecution
( runtime: RuntimeClient, state: LocalObservationState, nudgeState: LocalPrNudgeState, )
packages/cli/src/takeover-local.ts:383
↓ 5 callersFunctionmonth
(id: string, startTime: string, endTime: string)
packages/finops/src/demo-data.ts:273
↓ 5 callersFunctionnumberOr
(value: unknown, fallback: number)
packages/finops/src/web/app.ts:800
↓ 5 callersMethodoff
(listener: (event: LoopEvent) => void)
packages/cli/src/loop-observability.ts:113
↓ 5 callersMethodonEvent
(handler: (event: AgentRunEvent) => void)
packages/runtime/src/agent-adapter.ts:15
↓ 5 callersMethodonResult
(handler: (result: string, isError: boolean) => void)
packages/runtime/src/agent-adapter.ts:16
↓ 5 callersFunctionparseField
(field: string, min: number, max: number)
packages/runtime/src/cron-scheduler.ts:132
↓ 5 callersFunctionparseLocalGitStatus
(raw: string)
packages/cli/src/takeover-local.ts:141
↓ 5 callersMethodprepareAgentHome
(agentName: string, snapshot?: ActivationSnapshotRecord | null)
packages/runtime/src/agent-home-manager.ts:27
↓ 5 callersMethodreadLogs
(cursor: number)
packages/cli/src/local-supervisor.ts:39
↓ 5 callersFunctionreadPackageJson
(projectPath: string)
packages/cli/src/takeover-project.ts:266
↓ 5 callersMethodreleaseByAssignee
* Revert claimed tasks back to 'pending' when their agent dies. * Tasks in 'review' / 'done' / 'failed' are left alone. * Returns the number of
packages/runtime/src/task-pool.ts:395
↓ 5 callersFunctionrender
()
packages/finops/src/web/app.ts:99
↓ 5 callersFunctionresolveCliEntrypoint
( moduleDir: string = MODULE_DIR, argv: string[] = process.argv, )
packages/cli/src/local-supervisor.ts:121
↓ 5 callersFunctionrouteToHash
(route: FinopsRoute)
packages/finops/src/web/routing.ts:18
↓ 5 callersFunctionrpc
(method: string, params: Record<string, unknown> = {})
packages/runtime/src/__tests__/e2e-supervisor-lifecycle.test.ts:89
↓ 5 callersFunctionrunLocalSupervisorSession
(params: RunLocalSupervisorSessionParams)
packages/cli/src/local-supervisor-session.ts:42
↓ 5 callersFunctionscanReadme
(projectPath: string)
packages/cli/src/takeover-project.ts:239
↓ 5 callersMethodsetSteerCallback
(cb: SteerCallback)
packages/runtime/src/runtime-contracts.ts:13
↓ 5 callersMethodstartRefreshLoop
Start the periodic refresh loop (every 5 minutes).
packages/runtime/src/credential-manager.ts:117
↓ 4 callersMethodafterPoll
(ctx: PollExecutionContext)
packages/cli/src/execution-session.ts:64
↓ 4 callersMethodautoPromote
* Auto-promote: compare latest inactive version's eval pass rate against * the active version. If better, activate it. If worse or insufficient dat
packages/runtime/src/skill-manager.ts:174
↓ 4 callersFunctionbuildLineChartPath
( values: number[], dimensions: ChartDimensions, domain = chartDomain(values), )
packages/finops/src/web/charts.ts:14
↓ 4 callersMethodbuildRunCompleteCallback
Build a run-complete callback that writes feedback to db9
packages/runtime/src/supervisor.ts:447
↓ 4 callersFunctionbuildTakeoverExecutionHooks
( profile: ProjectProfile, intent: ProjectIntent, )
packages/cli/src/takeover-hooks.ts:13
↓ 4 callersFunctionchartDomain
(values: number[])
packages/finops/src/web/charts.ts:7
↓ 4 callersMethodcleanup
()
packages/cli/src/execution-session.ts:138
↓ 4 callersFunctioncopyDirectoryContents
(sourceDir: string, targetDir: string)
packages/cli/src/execution-session.ts:155
↓ 4 callersFunctioncreateAgentAdapter
(runtime: AgentRuntime)
packages/runtime/src/agent-adapter.ts:123
↓ 4 callersFunctioncreateManagerWithSkill
(skillName: string, content: string)
packages/runtime/src/__tests__/shared-skill-manager.test.ts:82
↓ 4 callersFunctioncreateWanmanHostSdk
( config: WanmanHostSdkConfig = {}, adapters: WanmanHostSdkAdapters<TProjectRunSpec, TPreparedTakeoverPlan
packages/host-sdk/src/host-sdk-factory.ts:49
↓ 4 callersFunctionescJson
(s: string)
packages/runtime/src/sql-escape.ts:22
↓ 4 callersFunctionextractCsvFlag
(args: string[], flag: string)
packages/cli/src/commands/capsule.ts:171
↓ 4 callersMethodfinalizeRun
Update a run record with final stats
packages/runtime/src/loop-logger.ts:112
↓ 4 callersFunctionflushEvents
()
packages/runtime/src/__tests__/codex-adapter.test.ts:48
↓ 4 callersFunctionformatDashboard
(state: DashboardState)
packages/cli/src/tui/dashboard.ts:87
↓ 4 callersFunctionformatDashboard
(results: SkillCheckResult[])
packages/cli/src/commands/skill-check.ts:111
↓ 4 callersMethodgetHealth
()
packages/cli/src/runtime-client.ts:62
↓ 4 callersMethodgetJobs
Get all registered jobs (for testing/debugging).
packages/runtime/src/cron-scheduler.ts:105
↓ 4 callersMethodgetLoginStatus
Get the current login status for a provider
packages/runtime/src/auth-manager.ts:296
↓ 4 callersMethodgetProviders
Get all providers and their current auth status
packages/runtime/src/auth-manager.ts:114
↓ 4 callersFunctiongetSelectedConfigText
( projectDir: string | null | undefined, opts: RunOptions, )
packages/cli/src/execution-session.ts:366
↓ 4 callersMethodgetSkillMetrics
Get aggregated metrics for all agents from run_feedback (last 30 days)
packages/runtime/src/skill-manager.ts:213
↓ 4 callersMethodhasBlockedTasksOnly
* Check if an agent's assigned tasks ALL have unmet dependencies. * Returns true only if every assigned/pending task for this agent is blocked.
packages/runtime/src/supervisor.ts:1748
↓ 4 callersFunctionhasFlag
(args: string[], name: string)
packages/finops/src/cli.ts:235
↓ 4 callersFunctioninferProjectName
(profile: ProjectProfile, docs: ProjectDocument[])
packages/cli/src/takeover-project.ts:414
↓ 4 callersFunctionisDirectCliExecution
(metaUrl = import.meta.url, argv = process.argv)
packages/cli/src/index.ts:140
↓ 4 callersFunctionlocalRpc
(port: number, method: string, params: Record<string, unknown>)
packages/cli/src/runtime-client.ts:117
↓ 4 callersFunctionlog
(level: LogLevel, msg: string, data?: Record<string, unknown>)
packages/runtime/src/logger.ts:22
↓ 4 callersFunctionmakeConfig
()
packages/runtime/src/__tests__/auth.test.ts:48
↓ 4 callersFunctionmakeContext
(runtime: RuntimeClient)
packages/cli/src/takeover-hooks.test.ts:101
↓ 4 callersFunctionmakeIntent
(overrides: Partial<ProjectIntent> = {})
packages/cli/src/takeover-coordination.test.ts:34
↓ 4 callersFunctionmakeIntent
(overrides: Partial<ProjectIntent> = {})
packages/cli/src/takeover-hooks.test.ts:28
↓ 4 callersFunctionmakeProfile
(overrides: Partial<ProjectProfile> = {})
packages/cli/src/takeover-hooks.test.ts:8
↓ 4 callersFunctionmakeProfile
(overrides: Partial<ProjectProfile> = {})
packages/cli/src/commands/takeover.test.ts:31
↓ 4 callersFunctionmakeSupervisor
(overrides: Partial<LocalSupervisorHandle> = {})
packages/cli/src/local-supervisor-session.test.ts:13
↓ 4 callersFunctionmakeTmpDir
()
packages/cli/src/execution-session.run.test.ts:39
↓ 4 callersMethodmine
(ownerAgent: string, status?: ChangeCapsuleStatus)
packages/runtime/src/change-capsule-pool.ts:293
↓ 4 callersFunctionmonthlyRevenue
( productId: string, source: string, reportingCategory: string, amounts: number[], )
packages/finops/src/demo-data.ts:295
↓ 4 callersMethodoff
Unsubscribe
packages/runtime/src/loop-event-bus.ts:48
↓ 4 callersMethodonExit
(handler: (code: number) => void)
packages/runtime/src/agent-adapter.ts:23
↓ 4 callersMethodonSessionId
* Adapter-reported session id (e.g. Claude `system/init` event). May fire * zero, one, or multiple times depending on the adapter. Adapters that
packages/runtime/src/agent-adapter.ts:22
↓ 4 callersFunctionpickString
(value: unknown)
packages/runtime/src/codex-adapter.ts:36
↓ 4 callersFunctionplanLocalDynamicClone
(state: LocalObservationState)
packages/cli/src/takeover-local.ts:317
↓ 4 callersMethodrecordError
Record an error in the current loop
packages/runtime/src/loop-event-bus.ts:174
↓ 4 callersFunctionresolveSelectedConfigName
( projectDir: string | null | undefined, opts: RunOptions, )
packages/cli/src/execution-session.ts:357
↓ 4 callersMethodsaveToVault
()
packages/runtime/src/credential-manager.ts:295
↓ 4 callersFunctionsendKickoffSteer
( backend: TakeoverCoordinationBackend, intent: ProjectIntent, from = 'takeover-bootstrap', )
packages/cli/src/takeover-coordination.ts:135
↓ 4 callersMethodsendMessage
(input: { from: string to: string payload: string priority?: 'normal' | 'steer' type?: 'me
packages/cli/src/runtime-client.ts:76
↓ 4 callersFunctionsleep
(ms: number, signal?: AbortSignal)
packages/runtime/src/agent-process.ts:750
↓ 4 callersFunctionsnapshotBoard
(items: T[])
packages/cli/src/takeover-local.ts:112
↓ 4 callersFunctionsqlStringOrNull
(value: string | undefined)
packages/runtime/src/supervisor.ts:2003
↓ 4 callersMethodstopRefreshLoop
Stop the periodic refresh loop.
packages/runtime/src/credential-manager.ts:137
↓ 4 callersMethodtoResult
Strip internal config from state to produce a public WorkflowResult.
packages/runtime/src/workflow-orchestrator.ts:246
↓ 4 callersFunctiontruncate
(s: string, max: number)
packages/cli/src/tui/dashboard.ts:36
↓ 4 callersFunctionunixToIso
(value: number | undefined)
packages/finops/src/providers/openai.ts:195
↓ 4 callersFunctionusage
( id: string, provider: ProviderName, productId: string, metric: string, quantity: number, unit: s
packages/finops/src/demo-data.ts:311
↓ 3 callersFunctionaddUniqueProviderEvidence
(items: ApiKeyProviderEvidence[], item: ApiKeyProviderEvidence)
packages/finops/src/key-inventory.ts:467
↓ 3 callersFunctionappendLogLines
(buffer: string[], lines: string[], maxLines = 200)
packages/cli/src/takeover-local.ts:264
← previousnext →201–300 of 987, ranked by callers