MCPcopy Create free account

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

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

↓ 295 callersMethodjson
()
tools/mock-coasty/test/helpers.ts:8
↓ 193 callersFunctioncall
( m: MockCoasty, path: string, opts: InjectOpts = {}, )
tools/mock-coasty/test/helpers.ts:27
↓ 181 callersMethodclick
(x: number, y: number, button: MouseButton, clicks: number)
packages/executor/src/local/bridge.ts:36
↓ 134 callersMethodapi
(path: string, method: string, body?: unknown)
apps/desktop/src/localRuns.ts:446
↓ 123 callersFunctionmock
(opts: Parameters<typeof createMockCoasty>[0] = {})
tools/mock-coasty/test/helpers.ts:16
↓ 71 callersFunctionsetClientForTests
(c: BackendClient | null)
apps/web/src/store.ts:47
↓ 69 callersFunctionstartHarness
(opts: HarnessOptions = {})
apps/backend/test/helpers.ts:48
↓ 68 callersFunctionsendError
( reply: FastifyReply, status: number, code: string, message: string, extras: Record<string, unknown
tools/mock-coasty/src/util.ts:42
↓ 59 callersMethodparse
(code: string, extras?: RequestExtras)
packages/core/src/client.ts:281
↓ 57 callersFunctionstubClient
(overrides: Stub = {})
apps/web/test/helpers.tsx:16
↓ 53 callersMethodexecute
(action: CuaAction)
packages/executor/src/executor.ts:25
↓ 47 callersFunctionwaitFor
(url, timeoutMs = 30000)
e2e/bootstrap-smoke.mjs:35
↓ 46 callersMethodrequest
Request with the retry policy described in the module docs.
packages/core/src/client.ts:206
↓ 45 callersFunctionerr
(res: { json<T = unknown>(): T })
tools/mock-coasty/test/edge-cases.test.ts:38
↓ 42 callersFunctioncreateMachine
(m: MockCoasty, key = TEST_KEY)
tools/mock-coasty/test/helpers.ts:47
↓ 39 callersFunctionjsonRes
(body: unknown, status = 200)
apps/mobile/test/helpers.ts:9
↓ 38 callersMethodclose
()
apps/backend/src/db.ts:179
↓ 36 callersFunctionrequestId
()
tools/mock-coasty/src/util.ts:11
↓ 35 callersMethodon
(event: 'error', listener: ProxyErrorListener)
apps/web/dev-proxy.ts:162
↓ 34 callersMethodstatus
Secret-free status for the renderer.
apps/desktop/src/providerStore.ts:138
↓ 33 callersFunctionexpectIssue
(def: unknown, code: string)
packages/core/test/validate.test.ts:12
↓ 33 callersFunctionmapProviderError
(err: unknown, key?: string)
packages/llm/src/errors.ts:76
↓ 32 callersFunctioncx
(...parts: ReadonlyArray<string | false | null | undefined>)
packages/ui/src/cx.ts:6
↓ 30 callersMethodrequest
(path: string, init: RequestInit = {})
apps/web/src/api/client.ts:276
↓ 29 callersMethodemit
Append an event to a stream (seq starts at 1) and notify live listeners.
tools/mock-coasty/src/state.ts:161
↓ 28 callersFunctiont
(cond: Condition)
packages/core/test/template-conditions.test.ts:66
↓ 27 callersFunctiononlyCall
Find the single recorded call (asserts exactly one was made).
packages/executor/test/unixBridges.test.ts:126
↓ 26 callersFunctionnormalizeAction
(action: CuaAction)
packages/core/src/types.ts:166
↓ 26 callersFunctionresolveTemplate
(value: unknown, scope: TemplateScope)
packages/core/src/workflow/template.ts:32
↓ 25 callersFunctionscriptedFetch
A scripted fetch: returns queued responses in order; records every call.
packages/core/test/client.test.ts:21
↓ 24 callersFunctionstubFetch
(handler: FetchHandler)
apps/mobile/test/helpers.ts:25
↓ 24 callersFunctiontoCuaAction
(a: ModelAction)
packages/llm/src/actionParser.ts:79
↓ 23 callersFunctionmakeRun
(overrides: Record<string, unknown> = {})
apps/web/test/helpers.tsx:111
↓ 22 callersFunctionclient
( fetchImpl: FetchLike, extra: Partial<ConstructorParameters<typeof CoastyClient>[0]> = {}, )
packages/core/test/client.test.ts:46
↓ 21 callersFunctionjson
(data: unknown, status = 200, headers: Record<string, string> = {})
packages/core/test/client.test.ts:39
↓ 21 callersFunctionquietLoad
(env: NodeJS.ProcessEnv)
apps/backend/test/config.test.ts:16
↓ 21 callersMethodstart
* Start a local run: register it with the backend, open a proxied Coasty * session sized to the real screen, then drive the agent loop in the *
apps/desktop/src/localRuns.ts:127
↓ 20 callersFunctiontask
(id: string, text = 'do something', save?: string)
tools/mock-coasty/test/workflows-machines.test.ts:11
↓ 19 callersFunctionformatApiError
(err: unknown)
apps/web/src/api/client.ts:127
↓ 19 callersFunctionnowIso
()
tools/mock-coasty/src/util.ts:12
↓ 18 callersMethodclear
Remove any BYO config → revert to the Coasty default.
apps/desktop/src/providerStore.ts:133
↓ 18 callersFunctionexecuteWorkflow
(opts: ExecuteWorkflowOptions)
packages/core/src/workflow/evaluator.ts:86
↓ 18 callersFunctionfakeBackend
(opts: FakeBackendOpts = {})
apps/desktop/test/localRuns.test.ts:70
↓ 18 callersFunctionfakeExecutor
(opts: FakeExecutorOpts = {})
apps/desktop/test/localRuns.test.ts:35
↓ 18 callersFunctionmakeWorkflowRun
(overrides: Record<string, unknown> = {})
apps/web/test/helpers.tsx:156
↓ 18 callersFunctionpollUntil
( fn: () => Promise<T | undefined | false>, timeoutMs = 8000, stepMs = 25, )
apps/backend/test/helpers.ts:104
↓ 17 callersMethodgetRun
(userId: string, id: string)
apps/backend/src/db.ts:261
↓ 17 callersFunctionmakeManager
( backend: ReturnType<typeof fakeBackend>, executor: Executor, overrides: Partial<ConstructorParameters<
apps/desktop/test/localRuns.test.ts:144
↓ 17 callersFunctionpollUntil
( fn: () => Promise<T | undefined | false>, timeoutMs = 6000, )
tools/mock-coasty/test/helpers.ts:57
↓ 17 callersMethodscreenshot
(options?: { type?: 'png' | 'jpeg' })
packages/executor/src/browser.ts:12
↓ 16 callersMethodhide
()
apps/desktop/src/windowGuard.ts:46
↓ 16 callersMethodpredict
Predict the next action(s). Returns the loop's existing result shape.
packages/llm/src/types.ts:82
↓ 16 callersFunctionpredictResponse
(partial: Partial<SessionPredictResponse>)
apps/desktop/test/localRuns.test.ts:17
↓ 16 callersMethodupdateRun
( id: string, patch: Partial< Pick< RunRow, | 'status' | 'cost_cents'
apps/backend/src/db.ts:287
↓ 15 callersFunctioncleanup
()
e2e/bootstrap-smoke.mjs:57
↓ 15 callersMethodenqueue
(runId: string, event: BackendRunEvent)
apps/desktop/src/localRuns.ts:394
↓ 15 callersFunctionfindCall
( mock: FetchMock, fragment: string, )
apps/mobile/test/helpers.ts:44
↓ 15 callersFunctionformatCents
(cents: number)
packages/core/src/cost.ts:227
↓ 15 callersFunctionload
()
apps/web/src/pages/HomePage.tsx:61
↓ 15 callersFunctionrequest
(path: string, opts: RequestOptions = {})
apps/mobile/src/api.ts:121
↓ 15 callersFunctionrunAgentLoop
(opts: AgentLoopOptions)
packages/core/src/agentLoop.ts:75
↓ 15 callersMethodwrite
(data: string)
apps/desktop/src/providerStore.ts:42
↓ 14 callersFunctionasString
(v: unknown)
apps/web/src/mapEvents.ts:8
↓ 14 callersFunctiongetMachineOr404
( id: string, reply: Parameters<typeof sendError>[0], )
tools/mock-coasty/src/machines.ts:53
↓ 14 callersFunctionmakeRun
(overrides: Partial<RunDto> = {})
apps/mobile/test/helpers.ts:54
↓ 14 callersMethodrestore
()
apps/desktop/src/windowGuard.ts:49
↓ 14 callersMethodscreenSize
Target screen size — the coordinate space the model's coordinates live in.
packages/executor/src/local/bridge.ts:35
↓ 14 callersFunctionsignWebhookPayload
(opts: SignWebhookOptions)
packages/core/src/webhook.ts:52
↓ 13 callersFunctiongetClient
()
apps/web/src/store.ts:34
↓ 13 callersFunctionnotFound
(what: string)
apps/backend/src/errors.ts:16
↓ 13 callersMethodscroll
(direction: ScrollDirection, amount: number, x?: number, y?: number)
packages/executor/src/local/bridge.ts:44
↓ 13 callersFunctionsetToken
(token: string | null)
apps/mobile/src/api.ts:106
↓ 13 callersFunctiontask
(id: string)
packages/core/test/validate.test.ts:10
↓ 13 callersFunctiontoPlaywrightKey
(key: string)
packages/executor/src/browser.ts:61
↓ 13 callersFunctionuseAuth
()
apps/mobile/src/auth.tsx:33
↓ 13 callersMethodwhenIdle
Resolves when the current run (if any) has fully settled.
apps/desktop/src/localRuns.ts:117
↓ 12 callersMethodcapture
Capture the target screen (the configured {@link ScreenRegion}, else primary).
packages/executor/src/local/bridge.ts:33
↓ 12 callersFunctionfile
(op: string, params: Record<string, unknown>)
tools/mock-coasty/test/edge-cases.test.ts:610
↓ 12 callersMethodhit
(name: string)
apps/desktop/test/windowGuard.test.ts:29
↓ 12 callersFunctionmachineRuntimeCentsPerHour
( os: MachineOsType, state: 'running' | 'stopped' | 'terminated' | 'creating', )
packages/core/src/cost.ts:215
↓ 12 callersFunctionparsePyautogui
(code: string)
tools/mock-coasty/src/inference.ts:319
↓ 12 callersFunctionresolveWindowBounds
(opts: ResolveOptions)
apps/desktop/src/windowBounds.ts:180
↓ 12 callersFunctionstubClient
(overrides: Stub = {})
apps/web/test/pages.test.tsx:18
↓ 12 callersFunctionstubRunTask
A runTask stub: succeeds with a canned result; tasks containing FAIL fail.
packages/core/test/evaluator.test.ts:10
↓ 12 callersFunctionwaitForStatus
(id: string, status: string, timeoutMs = 6000)
tools/mock-coasty/test/workflows-machines.test.ts:35
↓ 11 callersMethodbeginRun
Run setup. Throws {@link LlmProviderError} `NO_VISION` if the model can't see.
packages/llm/src/types.ts:80
↓ 11 callersFunctioncollect
(stream: ReadableStream<Uint8Array>)
packages/core/test/sse.test.ts:15
↓ 11 callersFunctioncreateTestMachine
(harness: Harness, osType: 'linux' | 'windows' = 'linux')
apps/backend/test/integration-extra.test.ts:30
↓ 11 callersFunctionextractJson
(text: string)
packages/llm/src/actionParser.ts:231
↓ 11 callersFunctionfakeBridge
(opts: FakeBridgeOptions = {})
packages/executor/test/localExecutor.test.ts:9
↓ 11 callersFunctiongetRun
(id: string, key = TEST_KEY)
tools/mock-coasty/test/runs.test.ts:32
↓ 11 callersFunctionhex
(n: number)
tools/mock-coasty/src/util.ts:10
↓ 11 callersFunctionisRetryableError
(err: unknown)
packages/core/src/errors.ts:85
↓ 11 callersFunctionline
(mark, msg)
scripts/doctor.mjs:19
↓ 11 callersFunctionpredict
(body: Record<string, unknown>)
tools/mock-coasty/test/inference.test.ts:56
↓ 11 callersFunctionrenderRun
()
apps/web/test/runDetail.test.tsx:24
↓ 11 callersMethodsave
Persist a BYO config; the key (if given) is encrypted, never plaintext.
apps/desktop/src/providerStore.ts:109
↓ 11 callersFunctionstartRun
(task: string, extra: Record<string, unknown> = {}, key = TEST_KEY)
tools/mock-coasty/test/runs.test.ts:22
↓ 11 callersFunctionstreamFromChunks
(chunks: string[])
packages/core/test/sse.test.ts:4
↓ 11 callersFunctionstubSse
Stub global fetch so any /events stream yields the given frames once.
apps/web/test/runDetail.test.tsx:14
next →1–100 of 994, ranked by callers