Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coasty-ai/open-cowork
/ functions
Functions
994 in github.com/coasty-ai/open-cowork
⨍
Functions
994
◇
Types & classes
338
↓ 11 callers
Function
task
(id: string)
packages/core/test/cost.test.ts:113
↓ 11 callers
Function
verifyWebhookSignature
( opts: VerifyWebhookOptions, )
packages/core/src/webhook.ts:88
↓ 11 callers
Function
withRetry
( fn: (attempt: number) => Promise<T>, opts: RetryOptions = {}, )
packages/core/src/retry.ts:65
↓ 10 callers
Function
api
(path: string, init: RequestInit = {})
apps/backend/test/config-route.test.ts:65
↓ 10 callers
Function
coerceModelStep
(raw: unknown)
packages/llm/src/actionParser.ts:181
↓ 10 callers
Method
dispose
Release resources (processes, sessions, pages). Idempotent.
packages/executor/src/executor.ts:29
↓ 10 callers
Function
errCode
(res: { json<T = unknown>(): T })
tools/mock-coasty/test/coverage-gaps.test.ts:19
↓ 10 callers
Function
expectInvalid
(definition: unknown, fragment: string)
tools/mock-coasty/test/workflows-machines.test.ts:43
↓ 10 callers
Function
fakeIo
In-memory IO with a reversible "encryption" (base64 with a marker).
apps/desktop/test/providerStore.test.ts:5
↓ 10 callers
Function
fakeScreen
(overrides: Partial<AgentScreen> = {})
packages/core/test/agentLoop.test.ts:14
↓ 10 callers
Function
finish
(status: AgentLoopOutcome['status'], reason?: string)
packages/core/src/agentLoop.ts:92
↓ 10 callers
Function
flush
Flush pending fake timers + microtasks inside act.
apps/mobile/test/RunDetailScreen.test.tsx:22
↓ 10 callers
Function
installBridge
(over: Partial<NonNullable<Window['cowork']>> = {})
apps/web/test/providerSettings.test.tsx:28
↓ 10 callers
Function
isBackendUnreachable
(err: unknown)
apps/web/src/api/client.ts:116
↓ 10 callers
Function
machine
(overrides: Partial<MachineSummary> = {})
packages/ui/test/MachineCard.test.tsx:7
↓ 10 callers
Function
need
(value: number | undefined, what: string)
packages/llm/src/actionParser.ts:63
↓ 10 callers
Function
validateWorkflowDefinition
(definition: unknown)
packages/core/src/workflow/validate.ts:343
↓ 10 callers
Function
workflowEstimateCents
( definition: WorkflowDefinition, opts: WorkflowEstimateOptions = {}, )
packages/core/src/cost.ts:135
↓ 9 callers
Function
adhoc
( definition: Record<string, unknown>, extra: Record<string, unknown> = {}, key = TEST_KEY, )
tools/mock-coasty/test/workflows-machines.test.ts:18
↓ 9 callers
Function
bootAndLogin
Boot, then log in to get an auth token (mirrors helpers.ts).
apps/backend/test/config-route.test.ts:53
↓ 9 callers
Method
call
(op: string, args: Record<string, unknown> = {})
packages/executor/src/local/windowsBridge.ts:279
↓ 9 callers
Function
collectSse
( url: string, token: string, opts: { lastEventId?: number; until?: (e: CollectedEvent) => boolean; maxM
apps/backend/test/helpers.ts:125
↓ 9 callers
Function
displayForRect
(rect: WindowBox, displays: DisplayLike[])
apps/desktop/src/windowBounds.ts:101
↓ 9 callers
Function
done
()
packages/executor/test/agentLoopIntegration.test.ts:44
↓ 9 callers
Function
input
(over = {})
packages/llm/test/openaiCompatibleProvider.test.ts:14
↓ 9 callers
Function
json
(data: unknown, status = 200)
apps/desktop/test/localRuns.test.ts:81
↓ 9 callers
Function
makeResponse
( overrides: Partial<Pick<ProxyHttpResponse, 'headersSent' | 'writableEnded'>> = {}, )
apps/web/test/devProxy.test.ts:32
↓ 9 callers
Function
predictCallCents
(input: PredictCostInput = {})
packages/core/src/cost.ts:61
↓ 9 callers
Method
publish
(event: BusEvent)
apps/backend/src/bus.ts:27
↓ 9 callers
Function
renderWorkflows
()
apps/web/test/workflows.test.tsx:14
↓ 9 callers
Function
resolveTemplate
(value: unknown, scope: Scope)
tools/mock-coasty/src/workflows.ts:175
↓ 9 callers
Function
scriptedPredict
predictStep that yields the given results in order; repeats the last.
packages/core/test/agentLoop.test.ts:27
↓ 9 callers
Method
url
(path: string)
apps/web/src/api/client.ts:267
↓ 9 callers
Function
useSse
(opts: UseSseOptions)
apps/web/src/api/useSse.ts:32
↓ 9 callers
Function
waitFor
(id: string, status: string, timeoutMs = 8000)
tools/mock-coasty/test/edge-cases.test.ts:741
↓ 9 callers
Function
waitFor
(id: string, status: string, timeoutMs = 8000)
tools/mock-coasty/test/coverage-gaps.test.ts:38
↓ 8 callers
Function
adhoc
(definition: Record<string, unknown>, extra: Record<string, unknown> = {})
tools/mock-coasty/test/coverage-gaps.test.ts:29
↓ 8 callers
Function
buildSignature
(secret: string, body: string, timestampSeconds: number)
tools/mock-coasty/src/util.ts:21
↓ 8 callers
Function
click
(over: Partial<ModelAction> = {})
packages/llm/test/actionParser.test.ts:14
↓ 8 callers
Function
createLocalRun
(harness: Harness)
apps/backend/test/local-frames.test.ts:26
↓ 8 callers
Function
createRun
(harness: Harness, task: string, extra: Record<string, unknown> = {})
apps/backend/test/integration.test.ts:27
↓ 8 callers
Function
effectiveVision
( model: { vision?: ModelInfo['vision'] }, override?: boolean, )
packages/llm/src/capabilities.ts:82
↓ 8 callers
Function
encodeSseFrames
(frames: SseFrame[])
apps/web/test/helpers.tsx:183
↓ 8 callers
Method
ensureAlwaysOnTop
Re-assert always-on-top if the OS dropped it (call on focus/blur/show).
apps/desktop/src/windowGuard.ts:101
↓ 8 callers
Function
fakePage
( viewport: { width: number; height: number } | null = { width: 1280, height: 720 }, )
packages/executor/test/executorBranches.test.ts:231
↓ 8 callers
Function
finishRun
(run: RunRec, status: string, extra: Partial<RunRec> = {})
tools/mock-coasty/src/runs.ts:70
↓ 8 callers
Method
getWorkflowRun
(userId: string, id: string)
apps/backend/src/db.ts:346
↓ 8 callers
Method
isDestroyed
()
apps/desktop/src/windowGuard.ts:33
↓ 8 callers
Function
isReachable
(rect: WindowBox, displays: DisplayLike[])
apps/desktop/src/windowBounds.ts:133
↓ 8 callers
Function
jsonResponse
(body: unknown, init: { ok?: boolean; status?: number } = {})
apps/web/test/client.test.ts:15
↓ 8 callers
Method
listModels
Models the user can pick (+ capabilities where the provider exposes them).
packages/llm/src/types.ts:75
↓ 8 callers
Method
load
The saved BYO config + decrypted key, or null when none is configured.
apps/desktop/src/providerStore.ts:99
↓ 8 callers
Function
loadConfig
(env: NodeJS.ProcessEnv = process.env)
apps/backend/src/config.ts:104
↓ 8 callers
Function
loadWindowState
(filePath: string)
apps/desktop/src/windowState.ts:19
↓ 8 callers
Function
makeProvider
( config: ProviderConfig, deps: MakeProviderDeps = {}, )
packages/llm/src/factory.ts:23
↓ 8 callers
Function
makeWorkflow
(overrides: Record<string, unknown> = {})
apps/web/test/helpers.tsx:132
↓ 8 callers
Method
models
(extras?: RequestExtras)
packages/core/src/client.ts:285
↓ 8 callers
Function
parseStoredConfig
(raw: unknown)
apps/desktop/src/providerStore.ts:56
↓ 8 callers
Function
pngDimensions
(buf: Uint8Array)
packages/executor/src/local/unixBridges.ts:38
↓ 8 callers
Function
post
(path, body, token)
e2e/bootstrap-smoke.mjs:92
↓ 8 callers
Function
renderRun
()
apps/web/test/workflowRunDetail.test.tsx:24
↓ 8 callers
Function
resolveBackendTarget
(env: Env = process.env)
apps/web/dev-proxy.ts:47
↓ 8 callers
Function
runEstimateCents
(opts: { cuaVersion?: CuaVersion; maxSteps?: number; })
packages/core/src/cost.ts:106
↓ 8 callers
Function
scriptedModel
A mock model whose nth doGenerate returns the nth scripted text. Last repeats.
packages/llm/test/openaiCompatibleProvider.test.ts:31
↓ 8 callers
Function
stubSse
(frames: SseFrame[])
apps/web/test/workflowRunDetail.test.tsx:14
↓ 8 callers
Function
task
(id: string, text = 'do', save?: string)
tools/mock-coasty/test/edge-cases.test.ts:725
↓ 8 callers
Method
toggle
Toggle: hide if visible, restore if hidden. The global-hotkey entry point.
apps/desktop/src/windowGuard.ts:170
↓ 8 callers
Method
updateWorkflowRun
( id: string, patch: Partial< Pick<WorkflowRunRow, 'status' | 'spent_cents' | 'awaiting_step_id'
apps/backend/src/db.ts:364
↓ 7 callers
Method
action
(command: string, parameters: Record<string, unknown>)
packages/executor/src/remoteMachine.ts:115
↓ 7 callers
Method
cancel
Abort the in-flight run (loop settles as 'aborted' → mirrored as 'cancelled').
apps/desktop/src/localRuns.ts:199
↓ 7 callers
Method
drag
(fromX: number, fromY: number, toX: number, toY: number, button: MouseButton)
packages/executor/src/local/bridge.ts:38
↓ 7 callers
Method
eventsAfter
(streamId: string, after: number)
tools/mock-coasty/src/state.ts:179
↓ 7 callers
Function
executeSteps
(steps: WorkflowStep[])
packages/core/src/workflow/evaluator.ts:143
↓ 7 callers
Function
fakeTransport
(failCommand?: string)
packages/executor/test/remoteMachine.test.ts:13
↓ 7 callers
Function
fn
(input)
packages/executor/test/agentLoopIntegration.test.ts:32
↓ 7 callers
Function
getToken
()
apps/mobile/src/api.ts:110
↓ 7 callers
Method
keyCombo
Press keys together as a chord.
packages/executor/src/local/bridge.ts:43
↓ 7 callers
Function
load
()
apps/web/src/pages/MachinesPage.tsx:43
↓ 7 callers
Function
onAnyDisplay
(b: WindowBox, displays: DisplayLike[])
apps/desktop/test/windowBounds.test.ts:46
↓ 7 callers
Function
publicRun
(run: RunRec, includeSecret: boolean)
tools/mock-coasty/src/runs.ts:37
↓ 7 callers
Function
publicWorkflowRun
( run: WorkflowRunRec, includeSecret: boolean, )
tools/mock-coasty/src/workflows.ts:261
↓ 7 callers
Function
renderDetail
()
apps/web/test/workflowDetail.test.tsx:14
↓ 7 callers
Function
renderHome
()
apps/web/test/pages.test.tsx:146
↓ 7 callers
Function
resolveModelVision
( modelId: string, providerVision: boolean | 'unknown' | undefined, )
packages/llm/src/capabilities.ts:66
↓ 7 callers
Function
run
(over)
e2e/scripts/render-screens.mjs:99
↓ 7 callers
Function
runToDto
(row: RunRow)
apps/backend/src/routes/runs.ts:53
↓ 7 callers
Function
sleep
(ms: number, signal: AbortSignal)
apps/web/src/api/useSse.ts:121
↓ 7 callers
Function
sseStream
(text: string, chunkSize = 0)
apps/web/test/helpers.tsx:197
↓ 6 callers
Function
adhoc
(definition: Record<string, unknown>, extra: Record<string, unknown> = {})
tools/mock-coasty/test/edge-cases.test.ts:732
↓ 6 callers
Method
appendEvent
Append an event; seq is assigned atomically per stream. Returns the seq.
apps/backend/src/db.ts:382
↓ 6 callers
Function
base64Bytes
(base64: string)
packages/llm/src/image.ts:15
↓ 6 callers
Function
bodyOf
(init: RequestInit | undefined)
apps/mobile/test/helpers.ts:34
↓ 6 callers
Function
buildServer
(deps: ServerDeps)
apps/backend/src/server.ts:67
↓ 6 callers
Function
cont
(actions: CuaAction[])
packages/executor/test/agentLoopIntegration.test.ts:41
↓ 6 callers
Function
countSteps
(steps: WorkflowStep[])
packages/core/src/cost.ts:147
↓ 6 callers
Method
createRun
(req: CreateRunRequest, extras?: RequestExtras)
packages/core/src/client.ts:295
↓ 6 callers
Function
createTestMachine
(harness: Harness)
apps/backend/test/integration.test.ts:15
↓ 6 callers
Method
dimensions
Current screen dimensions (the coordinate space of `execute`).
packages/executor/src/executor.ts:27
↓ 6 callers
Method
endRun
Teardown (Coasty deletes its session). Idempotent.
packages/llm/src/types.ts:84
↓ 6 callers
Method
eventsAfter
(streamKind: string, streamId: string, afterSeq: number)
apps/backend/src/db.ts:413
← previous
next →
101–200 of 994, ranked by callers