MCPcopy Create free account

hub / github.com/chekusu/wanman / functions

Functions987 in github.com/chekusu/wanman

↓ 12 callersFunctionmakeTmpDir
()
packages/cli/src/local-supervisor.test.ts:24
↓ 12 callersFunctionmetricCard
(label: string, value: string, helper: string)
packages/finops/src/web/app.ts:667
↓ 12 callersMethodon
(listener: (event: LoopEvent) => void)
packages/cli/src/loop-observability.ts:109
↓ 12 callersMethodwrite
Write heartbeat to file
packages/runtime/src/heartbeat.ts:58
↓ 11 callersFunctioncmds
Get all command strings passed to execSync
packages/runtime/src/__tests__/supervisor-git.test.ts:66
↓ 11 callersFunctioncountTransitions
( prev: { id: string; status: string }[], current: { id: string; status: string }[], )
packages/cli/src/loop-classifier.ts:33
↓ 11 callersMethodevaluate
( options: ExplorationOption[], criteria?: EvaluationCriteria[], budget?: number, )
packages/runtime/src/evaluation-engine.ts:148
↓ 11 callersMethodexplore
* Generate multiple implementation options for the given goal. * * @param goal - The exploration goal describing what to implement. * @param
packages/runtime/src/exploration-engine.ts:125
↓ 11 callersFunctionmakeState
(overrides: Partial<LocalObservationState> = {})
packages/cli/src/takeover-local.test.ts:20
↓ 11 callersFunctionmakeTmpDir
(prefix: string)
packages/cli/src/execution-session.test.ts:30
↓ 11 callersFunctionresolveMaybePromise
(value: MaybePromise<T>)
packages/runtime/src/runtime-contracts.ts:23
↓ 11 callersFunctionroundMoney
(amount: number)
packages/finops/src/money.ts:32
↓ 11 callersFunctionsetContext
(sv: Supervisor, key: string, value: string, agent: string)
packages/runtime/src/__tests__/agent-communication.test.ts:78
↓ 11 callersFunctionvalidateCommand
(cmd: string)
packages/cli/src/commands/skill-check.ts:61
↓ 10 callersFunctionagentsCommand
(args?: string[])
packages/cli/src/commands/agents.ts:20
↓ 10 callersFunctionautoCommit
(assignee: string, title: string)
packages/runtime/src/__tests__/supervisor-git.test.ts:171
↓ 10 callersFunctioncapsuleCommand
(args: string[])
packages/cli/src/commands/capsule.ts:11
↓ 10 callersMethodcheck
* Check if an action is allowed or needs approval.
packages/runtime/src/safety-gate.ts:53
↓ 10 callersMethodcheckBudget
Check budget status for a workflow.
packages/runtime/src/token-tracker.ts:67
↓ 10 callersFunctiongetContext
(sv: Supervisor, key: string)
packages/runtime/src/__tests__/agent-communication.test.ts:82
↓ 10 callersMethodgetPending
Get pending messages for an agent. Steer messages come first.
packages/runtime/src/message-store.ts:106
↓ 10 callersFunctionloadConfig
()
packages/runtime/src/config.ts:14
↓ 10 callersFunctionmakeOptions
()
packages/runtime/src/__tests__/evaluation-engine.test.ts:19
↓ 10 callersFunctionmakeTask
(overrides: Partial<Task> = {})
packages/runtime/src/__tests__/preamble.test.ts:6
↓ 10 callersFunctionrpc
(method: string, params?: Record<string, unknown>)
packages/runtime/src/__tests__/agent-communication.test.ts:59
↓ 10 callersMethodtick
()
packages/cli/src/loop-observability.ts:348
↓ 9 callersMethodactivateVersion
Activate a specific version (deactivates all others for that agent)
packages/runtime/src/skill-manager.ts:139
↓ 9 callersMethodcreateVersion
Create a new skill version (does NOT activate it — use activateVersion for that)
packages/runtime/src/skill-manager.ts:101
↓ 9 callersFunctiondetectFrameworks
(projectPath: string)
packages/cli/src/takeover-project.ts:174
↓ 9 callersFunctionemptyState
(label: string)
packages/finops/src/web/app.ts:744
↓ 9 callersFunctionextractFlag
Extract a flag value: --flag value
packages/cli/src/commands/artifact.ts:234
↓ 9 callersFunctionextractFlag
(args: string[], flag: string)
packages/cli/src/commands/hypothesis.ts:149
↓ 9 callersFunctionisGitHubRepoUrl
(repoUrl: string)
packages/core/src/github-repo-url.ts:12
↓ 9 callersFunctionjsonResponse
(body: unknown, init: { ok?: boolean; status?: number } = {})
packages/cli/src/runtime-client.test.ts:4
↓ 9 callersFunctionmakeMockLLM
(content?: string, tokensUsed?: number)
packages/runtime/src/__tests__/execution-planner.test.ts:53
↓ 9 callersFunctionmonthlyCosts
( provider: ProviderName, productId: string, source: string, category: string, amounts: number[], )
packages/finops/src/demo-data.ts:277
↓ 9 callersFunctionrpc
(method: string, params?: Record<string, unknown>)
packages/runtime/src/__tests__/auth.test.ts:44
↓ 9 callersFunctionsourceStatus
( provider: ProviderName, sourceUrl: string, ok: boolean, message: string, checkedAt = '2026-05-24T0
packages/finops/src/pricing-registry.ts:265
↓ 8 callersFunctionapplyCliCommand
(template: string, cliCommand: string)
packages/cli/src/takeover-project.ts:570
↓ 8 callersMethodapprove
* Approve a pending request. * Throws if the request does not exist or is not pending.
packages/runtime/src/safety-gate.ts:81
↓ 8 callersMethodcheckAuth
Check if a single provider is authenticated
packages/runtime/src/auth-manager.ts:141
↓ 8 callersMethodclassify
(agentStates: Array<{ name: string; state: string; lifecycle: string }>)
packages/cli/src/loop-observability.ts:160
↓ 8 callersFunctioncollectMatches
( refs: EnvReferenceDraft[], content: string, pattern: RegExp, evidenceKind: InventoryEvidenceKind,
packages/finops/src/key-inventory.ts:295
↓ 8 callersFunctionensureWorkspaceDirs
(config: AgentMatrixConfig)
packages/runtime/src/config.ts:83
↓ 8 callersFunctioninitiativeCommand
(args: string[])
packages/cli/src/commands/initiative.ts:10
↓ 8 callersMethodlistTasks
()
packages/cli/src/runtime-client.ts:63
↓ 8 callersFunctionmakeConfig
(overrides?: Partial<AgentMatrixConfig>)
packages/runtime/src/__tests__/supervisor-git.test.ts:54
↓ 8 callersFunctionpickNumber
(value: unknown, keys: string[])
packages/runtime/src/agent-process.ts:740
↓ 8 callersMethodprocess
* Process the next queued merge request. * * Steps: * 1. Pick the first request with status='queued' * 2. Rebase the branch onto the tar
packages/runtime/src/merge-queue.ts:76
↓ 8 callersMethodresolveSkill
* Resolve the active skill content for an agent. * Priority: db9 active version → local file system → null
packages/runtime/src/skill-manager.ts:52
↓ 8 callersMethodresumeMissed
* True when the adapter attempted to resume a session id but the runtime * could not find it locally. Used by callers to fall back to a cold start.
packages/runtime/src/agent-adapter.ts:29
↓ 8 callersFunctionsendCommand
(args: string[])
packages/cli/src/commands/send.ts:10
↓ 8 callersMethodstart
()
packages/runtime/src/__tests__/supervisor-git.test.ts:45
↓ 8 callersMethodstart
()
packages/runtime/src/__tests__/agent-communication.test.ts:42
↓ 7 callersFunctioncheckAllSkills
(skillsDir: string)
packages/cli/src/commands/skill-check.ts:95
↓ 7 callersFunctioncredential
( repo: string, productId: string, envVar: string, credentialProvider: ProviderName, provider: Provi
packages/finops/src/demo-data.ts:185
↓ 7 callersMethoddeny
* Deny a pending request with a reason. * Throws if the request does not exist or is not pending.
packages/runtime/src/safety-gate.ts:99
↓ 7 callersFunctionextractCommands
(content: string)
packages/cli/src/commands/skill-check.ts:41
↓ 7 callersMethodhasAutonomousWork
* Check whether a 24/7 agent has useful work to do even without new messages. * CEO always runs. Workers only spin when they have runnable assigned
packages/runtime/src/supervisor.ts:1765
↓ 7 callersMethodhasSteer
(agent: string)
packages/runtime/src/runtime-contracts.ts:11
↓ 7 callersFunctionhypothesisCommand
(args: string[])
packages/cli/src/commands/hypothesis.ts:24
↓ 7 callersMethodinitEventBus
Initialize the loop event bus for observability. Call before start().
packages/runtime/src/supervisor.ts:369
↓ 7 callersFunctionisStale
(distFile: string, srcDir: string)
packages/cli/src/execution-session.ts:102
↓ 7 callersFunctionmakeMockLLM
(content?: string, tokensUsed?: number)
packages/runtime/src/__tests__/exploration-engine.test.ts:36
↓ 7 callersFunctionmakeMockLLM
(content?: string, tokensUsed?: number)
packages/runtime/src/__tests__/evaluation-engine.test.ts:69
↓ 7 callersFunctionparseFinopsRoute
(hash: string)
packages/finops/src/web/routing.ts:5
↓ 7 callersMethodrecordTokenUsage
Record token usage and update context store for CEO budget awareness
packages/runtime/src/supervisor.ts:320
↓ 7 callersFunctionrecvCommand
(args: string[])
packages/cli/src/commands/recv.ts:9
↓ 7 callersFunctionresolveAgentRuntime
(definition: AgentDefinition)
packages/runtime/src/agent-adapter.ts:119
↓ 7 callersMethodresolveId
* Resolve a (possibly short) task ID to the full UUID. * Returns the full ID if exactly one task matches the prefix, null otherwise.
packages/runtime/src/task-pool.ts:284
↓ 7 callersFunctionstartServer
(overrides?: { onRpc?: (req: JsonRpcRequest) => JsonRpcResponse onEvent?: (event: ExternalEvent) => void
packages/runtime/src/__tests__/http-server.test.ts:15
↓ 7 callersMethodtoArray
Return items from oldest to newest
packages/runtime/src/loop-logger.ts:39
↓ 7 callersMethodupdateEvalPassRate
Update eval pass rate for a skill version
packages/runtime/src/skill-manager.ts:205
↓ 6 callersFunctionasString
(value: unknown)
packages/finops/src/providers/openai.ts:207
↓ 6 callersFunctioncheckSkill
(filePath: string)
packages/cli/src/commands/skill-check.ts:73
↓ 6 callersFunctioncreateLocalRuntimeClient
(port: number)
packages/cli/src/runtime-client.ts:131
↓ 6 callersMethodcreateRun
Create a run record in db9
packages/runtime/src/loop-logger.ts:101
↓ 6 callersFunctioncreateSkill
(name: string, content: string)
packages/cli/src/commands/skill-check.test.ts:26
↓ 6 callersFunctiondb9SqlJson
(query: string)
packages/runtime/src/__tests__/e2e-db9-schema.test.ts:26
↓ 6 callersFunctiondetectCI
(projectPath: string)
packages/cli/src/takeover-project.ts:192
↓ 6 callersFunctiondetectPackageManagers
(projectPath: string)
packages/cli/src/takeover-project.ts:160
↓ 6 callersFunctionescalateCommand
(args: string[])
packages/cli/src/commands/escalate.ts:8
↓ 6 callersFunctionescape
(s)
packages/cli/build-standalone.mjs:82
↓ 6 callersFunctionescapeAttr
(value: string)
packages/finops/src/web/app.ts:813
↓ 6 callersMethodgetApproval
* Get an approval request by ID. Returns null if not found.
packages/runtime/src/safety-gate.ts:117
↓ 6 callersMethodhandleSteer
()
packages/runtime/src/__tests__/auth.test.ts:28
↓ 6 callersFunctionmakeChild
()
packages/runtime/src/__tests__/auth-manager.spawn.test.ts:21
↓ 6 callersFunctionmakeConfig
(overrides?: Partial<AgentMatrixConfig>)
packages/runtime/src/__tests__/supervisor.test.ts:54
↓ 6 callersFunctionmakeMessage
(overrides: Partial<AgentMessage> = {})
packages/runtime/src/__tests__/preamble.test.ts:21
↓ 6 callersFunctionopenAiRate
( id: string, sku: string, metric: string, unitPrice: number, service = 'responses', )
packages/finops/src/pricing-registry.ts:105
↓ 6 callersMethodremove
* Remove a worktree by name. * Removes the worktree directory and prunes the git worktree list. * Also deletes the associated branch.
packages/runtime/src/worktree-manager.ts:95
↓ 6 callersMethodresume
Resume the agent — SIGCONT the current process.
packages/runtime/src/agent-process.ts:667
↓ 6 callersFunctionrowToTask
(row: TaskRow)
packages/runtime/src/task-pool.ts:124
↓ 6 callersFunctionsendJson
Send JSON response
packages/runtime/src/http-server.ts:56
↓ 6 callersMethodstart
()
packages/runtime/src/__tests__/supervisor.test.ts:34
↓ 6 callersMethodstartLogin
Start an interactive login flow, capturing URL and code from stdout
packages/runtime/src/auth-manager.ts:164
↓ 6 callersMethodsyncFromFile
Sync credentials from file after agent exit (CLI may have refreshed).
packages/runtime/src/credential-manager.ts:156
↓ 6 callersMethodwait
()
packages/runtime/src/agent-adapter.ts:14
↓ 6 callersFunctionwatchCommand
(args: string[])
packages/cli/src/commands/watch.ts:206
↓ 6 callersFunctionwriteOrPrint
(value: unknown, outPath: string | undefined)
packages/finops/src/cli.ts:181
← previousnext →101–200 of 987, ranked by callers