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
↓ 1 callers
Function
providerFromHost
(host: string)
packages/finops/src/provider-classifier.ts:50
↓ 1 callers
Function
providerModelOverride
(runtime: AgentRuntime)
packages/runtime/src/agent-adapter.ts:95
↓ 1 callers
Function
providerSpendList
(rows: ProviderSpendSummary[])
packages/finops/src/web/app.ts:421
↓ 1 callers
Function
providersInDataset
(options: BuildFinopsDashboardOptions)
packages/finops/src/dashboard-model.ts:256
↓ 1 callers
Function
pushLine
(line: string)
packages/cli/src/local-supervisor.ts:54
↓ 1 callers
Function
readLocalGitState
(worktreePath: string)
packages/cli/src/takeover-local.ts:219
↓ 1 callers
Function
readOptionalConfig
(configPath: string | undefined)
packages/finops/src/cli.ts:175
↓ 1 callers
Function
readTextSnippet
(filePath: string, maxChars = 1600)
packages/cli/src/takeover-project.ts:276
↓ 1 callers
Function
readTokenUsageRecord
(value: unknown)
packages/runtime/src/agent-process.ts:712
↓ 1 callers
Function
readUsageEntries
(input: string | undefined)
packages/finops/src/cli.ts:214
↓ 1 callers
Method
recordError
()
packages/cli/src/loop-observability.ts:174
↓ 1 callers
Function
recordRunInBrain
(runId: string, goal: string, brainName?: string)
packages/cli/src/execution-session.ts:470
↓ 1 callers
Function
refreshPricesCommand
(args: string[])
packages/finops/src/cli.ts:127
↓ 1 callers
Method
removeAllListeners
()
packages/cli/src/loop-observability.ts:178
↓ 1 callers
Function
renderAgentInstructions
( agentName: string, intent: ProjectIntent, paths: TakeoverRuntimePaths = SANDBOX_RUNTIME_PATHS, )
packages/cli/src/takeover-project.ts:683
↓ 1 callers
Function
renderTakeoverContextSkill
( profile: ProjectProfile, intent: ProjectIntent, paths: TakeoverRuntimePaths = SANDBOX_RUNTIME_PATHS, )
packages/cli/src/takeover-project.ts:599
↓ 1 callers
Function
repoButton
(repo: string)
packages/finops/src/web/app.ts:504
↓ 1 callers
Function
repoTargetForPath
(repoPath: string)
packages/finops/src/key-inventory.ts:400
↓ 1 callers
Function
resetDb
()
packages/runtime/src/__tests__/e2e-autoresearch-patterns.test.ts:34
↓ 1 callers
Function
resetDb
()
packages/runtime/src/__tests__/e2e-skill-evolution.test.ts:33
↓ 1 callers
Method
resolveId
(idOrPrefix: string)
packages/runtime/src/change-capsule-pool.ts:185
↓ 1 callers
Method
resolveId
(idOrPrefix: string)
packages/runtime/src/initiative-board.ts:96
↓ 1 callers
Function
resolveProduct
(repo: string, products: ProductConfig[] = [])
packages/finops/src/key-inventory.ts:406
↓ 1 callers
Function
resolveProductId
(source: StripeBalanceTransaction['source'], options: StripeSyncOptions)
packages/finops/src/providers/stripe.ts:151
↓ 1 callers
Function
resolveSecretKey
(options: StripeSyncOptions)
packages/finops/src/providers/stripe.ts:142
↓ 1 callers
Method
resolveSkillVersion
(skillName: string, content: string)
packages/runtime/src/shared-skill-manager.ts:292
↓ 1 callers
Function
resolveSnapshotsRoot
* Resolve the on-disk root for materialized skill-activation snapshots. * * Resolution order: * 1. Explicit `snapshotsRoot` argument (highest pri
packages/runtime/src/shared-skill-manager.ts:23
↓ 1 callers
Function
resolveTotalTokens
(usage: TokenUsage)
packages/runtime/src/token-tracker.ts:83
↓ 1 callers
Function
restoreEnv
()
packages/runtime/src/__tests__/config.test.ts:31
↓ 1 callers
Function
restoreEnv
()
packages/runtime/src/__tests__/credential-manager.test.ts:59
↓ 1 callers
Function
resultErrorText
* Pull every plausible error-text field off a Claude `result` event and * concatenate them. Claude emits errors in a few shapes depending on * subty
packages/runtime/src/claude-code.ts:42
↓ 1 callers
Function
revenue
( id: string, productId: string, amount: number, source: string, reportingCategory: string, period
packages/finops/src/demo-data.ts:252
↓ 1 callers
Function
roiCommand
(args: string[])
packages/finops/src/cli.ts:136
↓ 1 callers
Function
run
(command: string | undefined, args: string[])
packages/finops/src/cli.ts:31
↓ 1 callers
Function
runCommand
(args: string[])
packages/cli/src/commands/run.ts:122
↓ 1 callers
Function
runGoal
( goal: string, opts: RunOptions, spec: ProjectRunSpec = {}, bindings: HostRunBindings = {}, )
packages/cli/src/run-host.ts:18
↓ 1 callers
Method
runGoal
( goal: string, options: RunOptions, spec: TProjectRunSpec, bindings: WanmanHostSdkBindings,
packages/host-sdk/src/host-sdk-factory.ts:18
↓ 1 callers
Method
runLoop
Run loop for 24/7 agents — spawn, wait for exit, respawn.
packages/runtime/src/agent-process.ts:224
↓ 1 callers
Function
runWithGoal
(goal: string, opts: RunOptions, spec: ProjectRunSpec = {})
packages/cli/src/commands/run.ts:118
↓ 1 callers
Function
runtimeDefaultModel
(runtime: AgentRuntime, tier: ModelQuality)
packages/runtime/src/agent-adapter.ts:101
↓ 1 callers
Function
safeJoin
(root: string, pathname: string)
packages/finops/src/web/dev-server.ts:62
↓ 1 callers
Function
safeJsonObject
(content: string)
packages/finops/src/key-inventory.ts:520
↓ 1 callers
Function
safeUrl
(value: string)
packages/finops/src/key-inventory.ts:512
↓ 1 callers
Function
sanitizeInventoryForRuntime
(inventory: ApiKeyInventory)
packages/finops/src/runtime-data.ts:78
↓ 1 callers
Function
saveEnv
(...keys: string[])
packages/runtime/src/__tests__/config.test.ts:25
↓ 1 callers
Function
scopesOverlap
(a: TaskScope, b: TaskScope)
packages/runtime/src/task-pool.ts:88
↓ 1 callers
Function
scoreDocument
(relativePath: string)
packages/cli/src/takeover-project.ts:302
↓ 1 callers
Function
selectedCredential
(references: ApiKeyReference[])
packages/finops/src/web/app.ts:487
↓ 1 callers
Function
selectedProduct
()
packages/finops/src/web/app.ts:460
↓ 1 callers
Function
selectedProductId
()
packages/finops/src/web/app.ts:710
↓ 1 callers
Function
selectedRepository
(product: ProductDashboardSummary)
packages/finops/src/web/app.ts:481
↓ 1 callers
Method
sendMessage
Send a user message via stdin (stream-json format)
packages/runtime/src/claude-code.ts:78
↓ 1 callers
Method
setNewMessageCallback
(cb: NewMessageCallback)
packages/runtime/src/runtime-contracts.ts:14
↓ 1 callers
Function
setSpawnResumeMissed
(idx: number, missed: boolean)
packages/runtime/src/__tests__/agent-process.test.ts:35
↓ 1 callers
Function
shouldScanFile
(filePath: string, repoPath: string, includeLocalEnvFiles: boolean)
packages/finops/src/key-inventory.ts:377
↓ 1 callers
Function
skillCheckCommand
(args: string[])
packages/cli/src/commands/skill-check.ts:140
↓ 1 callers
Function
sortPricingEntries
(entries: ProviderPricingEntry[])
packages/finops/src/pricing-registry.ts:275
↓ 1 callers
Function
sourceCustomerId
(source: StripeBalanceTransaction['source'])
packages/finops/src/providers/stripe.ts:172
↓ 1 callers
Function
sourceIdentifier
(source: StripeBalanceTransaction['source'])
packages/finops/src/providers/stripe.ts:166
↓ 1 callers
Function
sourceMetadata
(source: StripeBalanceTransaction['source'])
packages/finops/src/providers/stripe.ts:161
↓ 1 callers
Method
spawnAgent
(template: string, name: string)
packages/cli/src/runtime-client.ts:83
↓ 1 callers
Method
spawnAndWait
Spawn a command and wait for exit code
packages/runtime/src/auth-manager.ts:311
↓ 1 callers
Method
spawnDynamicAgent
* Dynamically spawn a clone of an existing agent role. * * Creates a new AgentProcess with the same CLAUDE.md, model, and skills * as the tem
packages/runtime/src/supervisor.ts:529
↓ 1 callers
Function
splitTakeoverArgs
(args: string[])
packages/cli/src/commands/takeover.ts:96
↓ 1 callers
Method
start
* Start the agent. Behaviour depends on the configured lifecycle: * - `24/7`: enter a respawn loop. Each loop iteration spawns a fresh CLI * s
packages/runtime/src/agent-process.ts:200
↓ 1 callers
Method
start
Start the supervisor: create agent processes, start HTTP server.
packages/runtime/src/supervisor.ts:703
↓ 1 callers
Method
start
()
packages/runtime/src/__tests__/e2e-supervisor-events.test.ts:40
↓ 1 callers
Method
start
()
packages/runtime/src/__tests__/e2e-supervisor-lifecycle.test.ts:41
↓ 1 callers
Method
start
()
packages/runtime/src/__tests__/e2e-token-budget.test.ts:31
↓ 1 callers
Method
start
()
packages/runtime/src/__tests__/supervisor-flow-integration.test.ts:43
↓ 1 callers
Function
statusEmoji
(status: string)
packages/runtime/src/preamble.ts:84
↓ 1 callers
Method
stop
()
packages/cli/src/loop-observability.ts:342
↓ 1 callers
Function
stripCodeFences
* Strip markdown code fences (```json ... ```) that LLMs commonly wrap * around structured output.
packages/runtime/src/exploration-engine.ts:70
↓ 1 callers
Function
stripCodeFences
* Strip markdown code fences (```json ... ```) that LLMs commonly wrap * around structured output.
packages/runtime/src/execution-planner.ts:50
↓ 1 callers
Function
stripCodeFences
* Strip markdown code fences (```json ... ```) that LLMs commonly wrap * around structured output.
packages/runtime/src/evaluation-engine.ts:88
↓ 1 callers
Function
stripeLedgerCommand
(args: string[])
packages/finops/src/cli.ts:116
↓ 1 callers
Function
summarizeArtifacts
(artifacts: RuntimeArtifactRecord[])
packages/cli/src/runtime-client.ts:92
↓ 1 callers
Function
summarizeByCompany
(refs: ApiKeyReference[])
packages/finops/src/key-inventory.ts:441
↓ 1 callers
Function
summarizeByProduct
(refs: ApiKeyReference[])
packages/finops/src/key-inventory.ts:417
↓ 1 callers
Function
summarizeRepositories
( references: ProductDashboardSummary['repositories'][number]['references'], repositories: ApiKeyInventory
packages/finops/src/dashboard-model.ts:179
↓ 1 callers
Method
syncRuntimeHome
(sourceRoot: string, targetRoot: string)
packages/runtime/src/agent-home-manager.ts:61
↓ 1 callers
Function
taskIcon
(status: string)
packages/cli/src/tui/dashboard.ts:62
↓ 1 callers
Function
taskIdsMatch
(taskId: string, reference: string)
packages/cli/src/commands/task.ts:202
↓ 1 callers
Method
tick
()
packages/cli/src/loop-observability.ts:143
↓ 1 callers
Method
tick
Manual tick — check all jobs against current time. Exposed for testing.
packages/runtime/src/cron-scheduler.ts:84
↓ 1 callers
Function
titleFromContent
(filePath: string, content: string)
packages/cli/src/takeover-project.ts:293
↓ 1 callers
Method
toArray
()
packages/cli/src/loop-observability.ts:231
↓ 1 callers
Function
tryParseJson
(s: string)
packages/runtime/src/message-store.ts:14
↓ 1 callers
Function
uniqueEvidenceKinds
(items: InventoryEvidenceKind[])
packages/finops/src/key-inventory.ts:500
↓ 1 callers
Function
uniqueStrings
(items: string[])
packages/finops/src/dashboard-model.ts:252
↓ 1 callers
Function
uniqueStrings
(items: string[])
packages/finops/src/key-inventory.ts:504
↓ 1 callers
Method
updateTokenUsage
(event: AgentRunEvent)
packages/runtime/src/agent-process.ts:650
↓ 1 callers
Function
usageCapabilitiesForProviders
(providers: Iterable<ProviderName>)
packages/finops/src/usage-capabilities.ts:198
↓ 1 callers
Function
validateRawEvaluation
( parsed: unknown, )
packages/runtime/src/evaluation-engine.ts:95
↓ 1 callers
Function
validateRawOptions
(parsed: unknown)
packages/runtime/src/exploration-engine.ts:78
↓ 1 callers
Function
validateRawTasks
(parsed: unknown)
packages/runtime/src/execution-planner.ts:57
↓ 1 callers
Method
verifySkillRuntime
()
packages/runtime/src/supervisor.ts:427
↓ 1 callers
Function
waitForEarlyExit
(supervisor: LocalSupervisorHandle)
packages/cli/src/local-supervisor-session.ts:31
↓ 1 callers
Method
waitForHealth
(timeoutMs?: number)
packages/cli/src/runtime-client.ts:61
↓ 1 callers
Function
waitForHealthWith
(getHealth: () => Promise<RuntimeHealth>, timeoutMs = 120_000)
packages/cli/src/runtime-client.ts:103
← previous
next →
701–800 of 987, ranked by callers