Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chekusu/wanman
/ functions
Functions
987 in github.com/chekusu/wanman
⨍
Functions
987
◇
Types & classes
334
↓ 5 callers
Function
addUnique
(items: T[], item: T)
packages/finops/src/key-inventory.ts:463
↓ 5 callers
Function
asObject
(value: unknown)
packages/finops/src/providers/stripe.ts:180
↓ 5 callers
Function
barWidthPercent
(value: number, maxValue: number, minimum = 4)
packages/finops/src/web/charts.ts:34
↓ 5 callers
Method
call
( systemPrompt: string, userPrompt: string, )
packages/runtime/src/exploration-engine.ts:42
↓ 5 callers
Function
collectLocalObservationState
( runtime: RuntimeClient, worktreePath: string, logLines: string[], )
packages/cli/src/takeover-local.ts:274
↓ 5 callers
Function
createBranchWithCommit
Helper: create a branch with a file commit, then go back to main.
packages/runtime/src/__tests__/merge-queue.test.ts:29
↓ 5 callers
Function
createRpcRequest
(method: string, params?: Record<string, unknown>)
packages/core/src/protocol.ts:308
↓ 5 callers
Function
deferred
()
packages/runtime/src/__tests__/brain-integration.test.ts:35
↓ 5 callers
Function
detectTests
(projectPath: string)
packages/cli/src/takeover-project.ts:207
↓ 5 callers
Method
ensureFresh
Ensure credentials are fresh before spawning an agent.
packages/runtime/src/credential-manager.ts:146
↓ 5 callers
Function
escLike
(s: string)
packages/runtime/src/sql-escape.ts:25
↓ 5 callers
Function
execGit
(cwd: string, args: string)
packages/cli/src/takeover-local.test.ts:269
↓ 5 callers
Function
formatPeriod
(period: string)
packages/finops/src/web/app.ts:739
↓ 5 callers
Function
formatRoi
(value: number | null)
packages/finops/src/web/app.ts:722
↓ 5 callers
Function
getRunSourceLabel
( plan: Pick<RunLaunchPlan, 'projectDir' | 'requestedProjectDir'>, options: { standalone: boolean }, )
packages/cli/src/run-orchestrator.ts:57
↓ 5 callers
Method
getStatus
* Get a specific merge request by ID. Returns null if not found.
packages/runtime/src/merge-queue.ts:155
↓ 5 callers
Method
getVersions
Get all versions of a skill for an agent
packages/runtime/src/skill-manager.ts:79
↓ 5 callers
Function
inferGoal
(profile: ProjectProfile, intent = buildProjectIntent(profile))
packages/cli/src/takeover-project.ts:495
↓ 5 callers
Function
inventoryRepo
(repo: string, productId: string, keyCount: number)
packages/finops/src/demo-data.ts:217
↓ 5 callers
Function
makeBackend
(overrides: Partial<TakeoverCoordinationBackend> = {})
packages/cli/src/takeover-coordination.test.ts:74
↓ 5 callers
Function
makeLLMResponse
(overrides?: { scores?: Array<{ optionId: string scores: Record<string, number> reasoning: strin
packages/runtime/src/__tests__/evaluation-engine.test.ts:44
↓ 5 callers
Function
maybeNudgeLocalPrExecution
( runtime: RuntimeClient, state: LocalObservationState, nudgeState: LocalPrNudgeState, )
packages/cli/src/takeover-local.ts:383
↓ 5 callers
Function
month
(id: string, startTime: string, endTime: string)
packages/finops/src/demo-data.ts:273
↓ 5 callers
Function
numberOr
(value: unknown, fallback: number)
packages/finops/src/web/app.ts:800
↓ 5 callers
Method
off
(listener: (event: LoopEvent) => void)
packages/cli/src/loop-observability.ts:113
↓ 5 callers
Method
onEvent
(handler: (event: AgentRunEvent) => void)
packages/runtime/src/agent-adapter.ts:15
↓ 5 callers
Method
onResult
(handler: (result: string, isError: boolean) => void)
packages/runtime/src/agent-adapter.ts:16
↓ 5 callers
Function
parseField
(field: string, min: number, max: number)
packages/runtime/src/cron-scheduler.ts:132
↓ 5 callers
Function
parseLocalGitStatus
(raw: string)
packages/cli/src/takeover-local.ts:141
↓ 5 callers
Method
prepareAgentHome
(agentName: string, snapshot?: ActivationSnapshotRecord | null)
packages/runtime/src/agent-home-manager.ts:27
↓ 5 callers
Method
readLogs
(cursor: number)
packages/cli/src/local-supervisor.ts:39
↓ 5 callers
Function
readPackageJson
(projectPath: string)
packages/cli/src/takeover-project.ts:266
↓ 5 callers
Method
releaseByAssignee
* 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 callers
Function
render
()
packages/finops/src/web/app.ts:99
↓ 5 callers
Function
resolveCliEntrypoint
( moduleDir: string = MODULE_DIR, argv: string[] = process.argv, )
packages/cli/src/local-supervisor.ts:121
↓ 5 callers
Function
routeToHash
(route: FinopsRoute)
packages/finops/src/web/routing.ts:18
↓ 5 callers
Function
rpc
(method: string, params: Record<string, unknown> = {})
packages/runtime/src/__tests__/e2e-supervisor-lifecycle.test.ts:89
↓ 5 callers
Function
runLocalSupervisorSession
(params: RunLocalSupervisorSessionParams)
packages/cli/src/local-supervisor-session.ts:42
↓ 5 callers
Function
scanReadme
(projectPath: string)
packages/cli/src/takeover-project.ts:239
↓ 5 callers
Method
setSteerCallback
(cb: SteerCallback)
packages/runtime/src/runtime-contracts.ts:13
↓ 5 callers
Method
startRefreshLoop
Start the periodic refresh loop (every 5 minutes).
packages/runtime/src/credential-manager.ts:117
↓ 4 callers
Method
afterPoll
(ctx: PollExecutionContext)
packages/cli/src/execution-session.ts:64
↓ 4 callers
Method
autoPromote
* 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 callers
Function
buildLineChartPath
( values: number[], dimensions: ChartDimensions, domain = chartDomain(values), )
packages/finops/src/web/charts.ts:14
↓ 4 callers
Method
buildRunCompleteCallback
Build a run-complete callback that writes feedback to db9
packages/runtime/src/supervisor.ts:447
↓ 4 callers
Function
buildTakeoverExecutionHooks
( profile: ProjectProfile, intent: ProjectIntent, )
packages/cli/src/takeover-hooks.ts:13
↓ 4 callers
Function
chartDomain
(values: number[])
packages/finops/src/web/charts.ts:7
↓ 4 callers
Method
cleanup
()
packages/cli/src/execution-session.ts:138
↓ 4 callers
Function
copyDirectoryContents
(sourceDir: string, targetDir: string)
packages/cli/src/execution-session.ts:155
↓ 4 callers
Function
createAgentAdapter
(runtime: AgentRuntime)
packages/runtime/src/agent-adapter.ts:123
↓ 4 callers
Function
createManagerWithSkill
(skillName: string, content: string)
packages/runtime/src/__tests__/shared-skill-manager.test.ts:82
↓ 4 callers
Function
createWanmanHostSdk
( config: WanmanHostSdkConfig = {}, adapters: WanmanHostSdkAdapters<TProjectRunSpec, TPreparedTakeoverPlan
packages/host-sdk/src/host-sdk-factory.ts:49
↓ 4 callers
Function
escJson
(s: string)
packages/runtime/src/sql-escape.ts:22
↓ 4 callers
Function
extractCsvFlag
(args: string[], flag: string)
packages/cli/src/commands/capsule.ts:171
↓ 4 callers
Method
finalizeRun
Update a run record with final stats
packages/runtime/src/loop-logger.ts:112
↓ 4 callers
Function
flushEvents
()
packages/runtime/src/__tests__/codex-adapter.test.ts:48
↓ 4 callers
Function
formatDashboard
(state: DashboardState)
packages/cli/src/tui/dashboard.ts:87
↓ 4 callers
Function
formatDashboard
(results: SkillCheckResult[])
packages/cli/src/commands/skill-check.ts:111
↓ 4 callers
Method
getHealth
()
packages/cli/src/runtime-client.ts:62
↓ 4 callers
Method
getJobs
Get all registered jobs (for testing/debugging).
packages/runtime/src/cron-scheduler.ts:105
↓ 4 callers
Method
getLoginStatus
Get the current login status for a provider
packages/runtime/src/auth-manager.ts:296
↓ 4 callers
Method
getProviders
Get all providers and their current auth status
packages/runtime/src/auth-manager.ts:114
↓ 4 callers
Function
getSelectedConfigText
( projectDir: string | null | undefined, opts: RunOptions, )
packages/cli/src/execution-session.ts:366
↓ 4 callers
Method
getSkillMetrics
Get aggregated metrics for all agents from run_feedback (last 30 days)
packages/runtime/src/skill-manager.ts:213
↓ 4 callers
Method
hasBlockedTasksOnly
* 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 callers
Function
hasFlag
(args: string[], name: string)
packages/finops/src/cli.ts:235
↓ 4 callers
Function
inferProjectName
(profile: ProjectProfile, docs: ProjectDocument[])
packages/cli/src/takeover-project.ts:414
↓ 4 callers
Function
isDirectCliExecution
(metaUrl = import.meta.url, argv = process.argv)
packages/cli/src/index.ts:140
↓ 4 callers
Function
localRpc
(port: number, method: string, params: Record<string, unknown>)
packages/cli/src/runtime-client.ts:117
↓ 4 callers
Function
log
(level: LogLevel, msg: string, data?: Record<string, unknown>)
packages/runtime/src/logger.ts:22
↓ 4 callers
Function
makeConfig
()
packages/runtime/src/__tests__/auth.test.ts:48
↓ 4 callers
Function
makeContext
(runtime: RuntimeClient)
packages/cli/src/takeover-hooks.test.ts:101
↓ 4 callers
Function
makeIntent
(overrides: Partial<ProjectIntent> = {})
packages/cli/src/takeover-coordination.test.ts:34
↓ 4 callers
Function
makeIntent
(overrides: Partial<ProjectIntent> = {})
packages/cli/src/takeover-hooks.test.ts:28
↓ 4 callers
Function
makeProfile
(overrides: Partial<ProjectProfile> = {})
packages/cli/src/takeover-hooks.test.ts:8
↓ 4 callers
Function
makeProfile
(overrides: Partial<ProjectProfile> = {})
packages/cli/src/commands/takeover.test.ts:31
↓ 4 callers
Function
makeSupervisor
(overrides: Partial<LocalSupervisorHandle> = {})
packages/cli/src/local-supervisor-session.test.ts:13
↓ 4 callers
Function
makeTmpDir
()
packages/cli/src/execution-session.run.test.ts:39
↓ 4 callers
Method
mine
(ownerAgent: string, status?: ChangeCapsuleStatus)
packages/runtime/src/change-capsule-pool.ts:293
↓ 4 callers
Function
monthlyRevenue
( productId: string, source: string, reportingCategory: string, amounts: number[], )
packages/finops/src/demo-data.ts:295
↓ 4 callers
Method
off
Unsubscribe
packages/runtime/src/loop-event-bus.ts:48
↓ 4 callers
Method
onExit
(handler: (code: number) => void)
packages/runtime/src/agent-adapter.ts:23
↓ 4 callers
Method
onSessionId
* 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 callers
Function
pickString
(value: unknown)
packages/runtime/src/codex-adapter.ts:36
↓ 4 callers
Function
planLocalDynamicClone
(state: LocalObservationState)
packages/cli/src/takeover-local.ts:317
↓ 4 callers
Method
recordError
Record an error in the current loop
packages/runtime/src/loop-event-bus.ts:174
↓ 4 callers
Function
resolveSelectedConfigName
( projectDir: string | null | undefined, opts: RunOptions, )
packages/cli/src/execution-session.ts:357
↓ 4 callers
Method
saveToVault
()
packages/runtime/src/credential-manager.ts:295
↓ 4 callers
Function
sendKickoffSteer
( backend: TakeoverCoordinationBackend, intent: ProjectIntent, from = 'takeover-bootstrap', )
packages/cli/src/takeover-coordination.ts:135
↓ 4 callers
Method
sendMessage
(input: { from: string to: string payload: string priority?: 'normal' | 'steer' type?: 'me
packages/cli/src/runtime-client.ts:76
↓ 4 callers
Function
sleep
(ms: number, signal?: AbortSignal)
packages/runtime/src/agent-process.ts:750
↓ 4 callers
Function
snapshotBoard
(items: T[])
packages/cli/src/takeover-local.ts:112
↓ 4 callers
Function
sqlStringOrNull
(value: string | undefined)
packages/runtime/src/supervisor.ts:2003
↓ 4 callers
Method
stopRefreshLoop
Stop the periodic refresh loop.
packages/runtime/src/credential-manager.ts:137
↓ 4 callers
Method
toResult
Strip internal config from state to produce a public WorkflowResult.
packages/runtime/src/workflow-orchestrator.ts:246
↓ 4 callers
Function
truncate
(s: string, max: number)
packages/cli/src/tui/dashboard.ts:36
↓ 4 callers
Function
unixToIso
(value: number | undefined)
packages/finops/src/providers/openai.ts:195
↓ 4 callers
Function
usage
( id: string, provider: ProviderName, productId: string, metric: string, quantity: number, unit: s
packages/finops/src/demo-data.ts:311
↓ 3 callers
Function
addUniqueProviderEvidence
(items: ApiKeyProviderEvidence[], item: ApiKeyProviderEvidence)
packages/finops/src/key-inventory.ts:467
↓ 3 callers
Function
appendLogLines
(buffer: string[], lines: string[], maxLines = 200)
packages/cli/src/takeover-local.ts:264
← previous
next →
201–300 of 987, ranked by callers