MCPcopy Create free account

hub / github.com/coasty-ai/open-cowork / functions

Functions994 in github.com/coasty-ai/open-cowork

↓ 11 callersFunctiontask
(id: string)
packages/core/test/cost.test.ts:113
↓ 11 callersFunctionverifyWebhookSignature
( opts: VerifyWebhookOptions, )
packages/core/src/webhook.ts:88
↓ 11 callersFunctionwithRetry
( fn: (attempt: number) => Promise<T>, opts: RetryOptions = {}, )
packages/core/src/retry.ts:65
↓ 10 callersFunctionapi
(path: string, init: RequestInit = {})
apps/backend/test/config-route.test.ts:65
↓ 10 callersFunctioncoerceModelStep
(raw: unknown)
packages/llm/src/actionParser.ts:181
↓ 10 callersMethoddispose
Release resources (processes, sessions, pages). Idempotent.
packages/executor/src/executor.ts:29
↓ 10 callersFunctionerrCode
(res: { json<T = unknown>(): T })
tools/mock-coasty/test/coverage-gaps.test.ts:19
↓ 10 callersFunctionexpectInvalid
(definition: unknown, fragment: string)
tools/mock-coasty/test/workflows-machines.test.ts:43
↓ 10 callersFunctionfakeIo
In-memory IO with a reversible "encryption" (base64 with a marker).
apps/desktop/test/providerStore.test.ts:5
↓ 10 callersFunctionfakeScreen
(overrides: Partial<AgentScreen> = {})
packages/core/test/agentLoop.test.ts:14
↓ 10 callersFunctionfinish
(status: AgentLoopOutcome['status'], reason?: string)
packages/core/src/agentLoop.ts:92
↓ 10 callersFunctionflush
Flush pending fake timers + microtasks inside act.
apps/mobile/test/RunDetailScreen.test.tsx:22
↓ 10 callersFunctioninstallBridge
(over: Partial<NonNullable<Window['cowork']>> = {})
apps/web/test/providerSettings.test.tsx:28
↓ 10 callersFunctionisBackendUnreachable
(err: unknown)
apps/web/src/api/client.ts:116
↓ 10 callersFunctionmachine
(overrides: Partial<MachineSummary> = {})
packages/ui/test/MachineCard.test.tsx:7
↓ 10 callersFunctionneed
(value: number | undefined, what: string)
packages/llm/src/actionParser.ts:63
↓ 10 callersFunctionvalidateWorkflowDefinition
(definition: unknown)
packages/core/src/workflow/validate.ts:343
↓ 10 callersFunctionworkflowEstimateCents
( definition: WorkflowDefinition, opts: WorkflowEstimateOptions = {}, )
packages/core/src/cost.ts:135
↓ 9 callersFunctionadhoc
( definition: Record<string, unknown>, extra: Record<string, unknown> = {}, key = TEST_KEY, )
tools/mock-coasty/test/workflows-machines.test.ts:18
↓ 9 callersFunctionbootAndLogin
Boot, then log in to get an auth token (mirrors helpers.ts).
apps/backend/test/config-route.test.ts:53
↓ 9 callersMethodcall
(op: string, args: Record<string, unknown> = {})
packages/executor/src/local/windowsBridge.ts:279
↓ 9 callersFunctioncollectSse
( url: string, token: string, opts: { lastEventId?: number; until?: (e: CollectedEvent) => boolean; maxM
apps/backend/test/helpers.ts:125
↓ 9 callersFunctiondisplayForRect
(rect: WindowBox, displays: DisplayLike[])
apps/desktop/src/windowBounds.ts:101
↓ 9 callersFunctiondone
()
packages/executor/test/agentLoopIntegration.test.ts:44
↓ 9 callersFunctioninput
(over = {})
packages/llm/test/openaiCompatibleProvider.test.ts:14
↓ 9 callersFunctionjson
(data: unknown, status = 200)
apps/desktop/test/localRuns.test.ts:81
↓ 9 callersFunctionmakeResponse
( overrides: Partial<Pick<ProxyHttpResponse, 'headersSent' | 'writableEnded'>> = {}, )
apps/web/test/devProxy.test.ts:32
↓ 9 callersFunctionpredictCallCents
(input: PredictCostInput = {})
packages/core/src/cost.ts:61
↓ 9 callersMethodpublish
(event: BusEvent)
apps/backend/src/bus.ts:27
↓ 9 callersFunctionrenderWorkflows
()
apps/web/test/workflows.test.tsx:14
↓ 9 callersFunctionresolveTemplate
(value: unknown, scope: Scope)
tools/mock-coasty/src/workflows.ts:175
↓ 9 callersFunctionscriptedPredict
predictStep that yields the given results in order; repeats the last.
packages/core/test/agentLoop.test.ts:27
↓ 9 callersMethodurl
(path: string)
apps/web/src/api/client.ts:267
↓ 9 callersFunctionuseSse
(opts: UseSseOptions)
apps/web/src/api/useSse.ts:32
↓ 9 callersFunctionwaitFor
(id: string, status: string, timeoutMs = 8000)
tools/mock-coasty/test/edge-cases.test.ts:741
↓ 9 callersFunctionwaitFor
(id: string, status: string, timeoutMs = 8000)
tools/mock-coasty/test/coverage-gaps.test.ts:38
↓ 8 callersFunctionadhoc
(definition: Record<string, unknown>, extra: Record<string, unknown> = {})
tools/mock-coasty/test/coverage-gaps.test.ts:29
↓ 8 callersFunctionbuildSignature
(secret: string, body: string, timestampSeconds: number)
tools/mock-coasty/src/util.ts:21
↓ 8 callersFunctionclick
(over: Partial<ModelAction> = {})
packages/llm/test/actionParser.test.ts:14
↓ 8 callersFunctioncreateLocalRun
(harness: Harness)
apps/backend/test/local-frames.test.ts:26
↓ 8 callersFunctioncreateRun
(harness: Harness, task: string, extra: Record<string, unknown> = {})
apps/backend/test/integration.test.ts:27
↓ 8 callersFunctioneffectiveVision
( model: { vision?: ModelInfo['vision'] }, override?: boolean, )
packages/llm/src/capabilities.ts:82
↓ 8 callersFunctionencodeSseFrames
(frames: SseFrame[])
apps/web/test/helpers.tsx:183
↓ 8 callersMethodensureAlwaysOnTop
Re-assert always-on-top if the OS dropped it (call on focus/blur/show).
apps/desktop/src/windowGuard.ts:101
↓ 8 callersFunctionfakePage
( viewport: { width: number; height: number } | null = { width: 1280, height: 720 }, )
packages/executor/test/executorBranches.test.ts:231
↓ 8 callersFunctionfinishRun
(run: RunRec, status: string, extra: Partial<RunRec> = {})
tools/mock-coasty/src/runs.ts:70
↓ 8 callersMethodgetWorkflowRun
(userId: string, id: string)
apps/backend/src/db.ts:346
↓ 8 callersMethodisDestroyed
()
apps/desktop/src/windowGuard.ts:33
↓ 8 callersFunctionisReachable
(rect: WindowBox, displays: DisplayLike[])
apps/desktop/src/windowBounds.ts:133
↓ 8 callersFunctionjsonResponse
(body: unknown, init: { ok?: boolean; status?: number } = {})
apps/web/test/client.test.ts:15
↓ 8 callersMethodlistModels
Models the user can pick (+ capabilities where the provider exposes them).
packages/llm/src/types.ts:75
↓ 8 callersMethodload
The saved BYO config + decrypted key, or null when none is configured.
apps/desktop/src/providerStore.ts:99
↓ 8 callersFunctionloadConfig
(env: NodeJS.ProcessEnv = process.env)
apps/backend/src/config.ts:104
↓ 8 callersFunctionloadWindowState
(filePath: string)
apps/desktop/src/windowState.ts:19
↓ 8 callersFunctionmakeProvider
( config: ProviderConfig, deps: MakeProviderDeps = {}, )
packages/llm/src/factory.ts:23
↓ 8 callersFunctionmakeWorkflow
(overrides: Record<string, unknown> = {})
apps/web/test/helpers.tsx:132
↓ 8 callersMethodmodels
(extras?: RequestExtras)
packages/core/src/client.ts:285
↓ 8 callersFunctionparseStoredConfig
(raw: unknown)
apps/desktop/src/providerStore.ts:56
↓ 8 callersFunctionpngDimensions
(buf: Uint8Array)
packages/executor/src/local/unixBridges.ts:38
↓ 8 callersFunctionpost
(path, body, token)
e2e/bootstrap-smoke.mjs:92
↓ 8 callersFunctionrenderRun
()
apps/web/test/workflowRunDetail.test.tsx:24
↓ 8 callersFunctionresolveBackendTarget
(env: Env = process.env)
apps/web/dev-proxy.ts:47
↓ 8 callersFunctionrunEstimateCents
(opts: { cuaVersion?: CuaVersion; maxSteps?: number; })
packages/core/src/cost.ts:106
↓ 8 callersFunctionscriptedModel
A mock model whose nth doGenerate returns the nth scripted text. Last repeats.
packages/llm/test/openaiCompatibleProvider.test.ts:31
↓ 8 callersFunctionstubSse
(frames: SseFrame[])
apps/web/test/workflowRunDetail.test.tsx:14
↓ 8 callersFunctiontask
(id: string, text = 'do', save?: string)
tools/mock-coasty/test/edge-cases.test.ts:725
↓ 8 callersMethodtoggle
Toggle: hide if visible, restore if hidden. The global-hotkey entry point.
apps/desktop/src/windowGuard.ts:170
↓ 8 callersMethodupdateWorkflowRun
( id: string, patch: Partial< Pick<WorkflowRunRow, 'status' | 'spent_cents' | 'awaiting_step_id'
apps/backend/src/db.ts:364
↓ 7 callersMethodaction
(command: string, parameters: Record<string, unknown>)
packages/executor/src/remoteMachine.ts:115
↓ 7 callersMethodcancel
Abort the in-flight run (loop settles as 'aborted' → mirrored as 'cancelled').
apps/desktop/src/localRuns.ts:199
↓ 7 callersMethoddrag
(fromX: number, fromY: number, toX: number, toY: number, button: MouseButton)
packages/executor/src/local/bridge.ts:38
↓ 7 callersMethodeventsAfter
(streamId: string, after: number)
tools/mock-coasty/src/state.ts:179
↓ 7 callersFunctionexecuteSteps
(steps: WorkflowStep[])
packages/core/src/workflow/evaluator.ts:143
↓ 7 callersFunctionfakeTransport
(failCommand?: string)
packages/executor/test/remoteMachine.test.ts:13
↓ 7 callersFunctionfn
(input)
packages/executor/test/agentLoopIntegration.test.ts:32
↓ 7 callersFunctiongetToken
()
apps/mobile/src/api.ts:110
↓ 7 callersMethodkeyCombo
Press keys together as a chord.
packages/executor/src/local/bridge.ts:43
↓ 7 callersFunctionload
()
apps/web/src/pages/MachinesPage.tsx:43
↓ 7 callersFunctiononAnyDisplay
(b: WindowBox, displays: DisplayLike[])
apps/desktop/test/windowBounds.test.ts:46
↓ 7 callersFunctionpublicRun
(run: RunRec, includeSecret: boolean)
tools/mock-coasty/src/runs.ts:37
↓ 7 callersFunctionpublicWorkflowRun
( run: WorkflowRunRec, includeSecret: boolean, )
tools/mock-coasty/src/workflows.ts:261
↓ 7 callersFunctionrenderDetail
()
apps/web/test/workflowDetail.test.tsx:14
↓ 7 callersFunctionrenderHome
()
apps/web/test/pages.test.tsx:146
↓ 7 callersFunctionresolveModelVision
( modelId: string, providerVision: boolean | 'unknown' | undefined, )
packages/llm/src/capabilities.ts:66
↓ 7 callersFunctionrun
(over)
e2e/scripts/render-screens.mjs:99
↓ 7 callersFunctionrunToDto
(row: RunRow)
apps/backend/src/routes/runs.ts:53
↓ 7 callersFunctionsleep
(ms: number, signal: AbortSignal)
apps/web/src/api/useSse.ts:121
↓ 7 callersFunctionsseStream
(text: string, chunkSize = 0)
apps/web/test/helpers.tsx:197
↓ 6 callersFunctionadhoc
(definition: Record<string, unknown>, extra: Record<string, unknown> = {})
tools/mock-coasty/test/edge-cases.test.ts:732
↓ 6 callersMethodappendEvent
Append an event; seq is assigned atomically per stream. Returns the seq.
apps/backend/src/db.ts:382
↓ 6 callersFunctionbase64Bytes
(base64: string)
packages/llm/src/image.ts:15
↓ 6 callersFunctionbodyOf
(init: RequestInit | undefined)
apps/mobile/test/helpers.ts:34
↓ 6 callersFunctionbuildServer
(deps: ServerDeps)
apps/backend/src/server.ts:67
↓ 6 callersFunctioncont
(actions: CuaAction[])
packages/executor/test/agentLoopIntegration.test.ts:41
↓ 6 callersFunctioncountSteps
(steps: WorkflowStep[])
packages/core/src/cost.ts:147
↓ 6 callersMethodcreateRun
(req: CreateRunRequest, extras?: RequestExtras)
packages/core/src/client.ts:295
↓ 6 callersFunctioncreateTestMachine
(harness: Harness)
apps/backend/test/integration.test.ts:15
↓ 6 callersMethoddimensions
Current screen dimensions (the coordinate space of `execute`).
packages/executor/src/executor.ts:27
↓ 6 callersMethodendRun
Teardown (Coasty deletes its session). Idempotent.
packages/llm/src/types.ts:84
↓ 6 callersMethodeventsAfter
(streamKind: string, streamId: string, afterSeq: number)
apps/backend/src/db.ts:413
← previousnext →101–200 of 994, ranked by callers