MCPcopy Create free account

hub / github.com/acoyfellow/cloudbox / functions

Functions387 in github.com/acoyfellow/cloudbox

↓ 99 callersMethodfetch
(request: Request)
src/computer-do.ts:80
↓ 76 callersMethodget
(key: string)
tests/run-history.test.ts:49
↓ 67 callersFunctionjsonError
(c: any, status: number, code: string, detail: string)
src/http-errors.ts:1
↓ 31 callersFunctionjsonErrorResponse
(status: number, code: string, detail: string)
src/http-errors.ts:5
↓ 28 callersMethodhas
(ownerId: string, computerId: string, kind: RepoGrantKind, repoKey: string)
src/computer-grants.ts:61
↓ 26 callersFunctionjsonError
(status: number, code: string, detail: string)
src/computer-do.ts:411
↓ 24 callersMethodrun
()
tests/run-history.test.ts:8
↓ 23 callersMethoddelete
(key: string)
tests/run-history.test.ts:53
↓ 22 callersFunctionfetch
(request: Request)
src/worker-lite.ts:2
↓ 22 callersFunctionrequest
(body: unknown, headers: Record<string, string> = {})
tests/http-runs.test.ts:11
↓ 21 callersMethodprepare
(sql: string)
tests/run-history.test.ts:43
↓ 19 callersFunctionnormalize
(value: string)
src/computer-grants.ts:21
↓ 15 callersFunctioninternalComputerOwner
(request: Request, expectedOwner: string, env: CloudboxBindings)
src/http-personal-computers.ts:239
↓ 15 callersFunctionjson
(body, status = 200)
runner/server.mjs:11
↓ 14 callersFunctionvalidated
* Validate a value against a Zod schema but preserve the original narrow type. * Zod's parse() widens literal types (e.g., "UnknownApp" → string). *
oauth-proxy/src/durable-objects/oauth-client.ts:95
↓ 13 callersFunctionauthorize
(request: Request, spec: ComputerSpec | null, env: CloudboxBindings)
src/http.ts:281
↓ 13 callersFunctionbodyOf
(response: Response)
tests/http-runs.test.ts:19
↓ 12 callersFunctionjsonOk
(body: unknown)
src/computer-do.ts:404
↓ 11 callersFunctionwriteFile
(path: string, content: string)
tests/personal-computer.test.ts:14
↓ 10 callersMethodbind
(...values: unknown[])
tests/run-history.test.ts:7
↓ 10 callersFunctionjsonError
(status: number, code: string, detail: string)
web/src/pages/runs.ts:55
↓ 9 callersFunctioncall
(suffix, method = "GET", body, extraHeaders = {})
scripts/private-repo-e2e.mjs:15
↓ 9 callersMethodgrant
(ownerId: string, computerId: string, kind: RepoGrantKind, repoKey: string, ttlMs = DEFAULT_REPO_GRANT_TTL_MS)
src/computer-grants.ts:44
↓ 9 callersFunctionreadFile
(path: string)
tests/personal-computer.test.ts:13
↓ 9 callersFunctionrunnerForRun
(env: CloudboxBindings, row: RunRecord)
src/http.ts:277
↓ 8 callersFunctionassertComputerPath
(path: string)
src/sandbox-computer.ts:39
↓ 8 callersMethodgetClientStub
(userId: string)
oauth-proxy/src/worker-entrypoint.ts:217
↓ 8 callersFunctiongetRegistry
()
oauth-proxy/src/applications.ts:164
↓ 8 callersFunctionjsonError
(status: number, code: string, detail: string)
web/src/pages/computers.ts:37
↓ 8 callersFunctionreadState
()
scripts/cloudbox-live.mjs:24
↓ 8 callersFunctionrequestJson
(path, init)
scripts/cloudbox-live.mjs:17
↓ 8 callersFunctionrun
(cmd, cwd, timeoutMs = MAX_TIMEOUT_MS)
runner/server.mjs:73
↓ 8 callersFunctionrunnerJson
(runner: unknown, path: string, body?: unknown)
src/container-runner.ts:151
↓ 8 callersFunctionsummarizeRunnerReceipt
(receipt: RunnerLifecycleReceipt)
web/src/components/runner-receipts.ts:9
↓ 7 callersFunctionappend
(state: LocalState, kind: string, payload: Record<string, unknown>)
src/local-demo.ts:75
↓ 7 callersMethodappendReceipt
(kind: ReceiptKind, payload: Record<string, unknown>)
src/computer-do.ts:380
↓ 7 callersFunctioncall
( thought: string, tool: keyof AgentTools, args: Record<string, unknown> = {}, )
src/agent.ts:33
↓ 7 callersFunctioncomputerGrantStore
(env: CloudboxBindings)
src/http-personal-computers.ts:253
↓ 7 callersFunctionemit
(event: RunnerEvent)
src/runner-lifecycle.ts:49
↓ 7 callersFunctionisoNow
()
tests/runner-lifecycle.test.ts:5
↓ 7 callersFunctionok
(label, detail = "")
scripts/demo.mjs:29
↓ 7 callersFunctionreq
(path, init)
scripts/demo.mjs:16
↓ 7 callersFunctionrequireRunnableLiveRun
(db: D1Database | undefined, id: string)
src/http.ts:492
↓ 7 callersFunctionrpcCatchAll
( fn: () => Promise<RpcResult<T, E>>, )
oauth-proxy/src/types.ts:176
↓ 7 callersFunctionrunCommand
(cmd: string, cwd: string)
src/run.ts:78
↓ 7 callersMethodscheduleNextAlarm
()
oauth-proxy/src/durable-objects/oauth-client.ts:948
↓ 6 callersFunctionclassifyGitLabSmartHttp
( request: EgressRequestShape, canonicalHost = "gitlab.cfdata.org", aliases = ["gitlab-access.cfdata.org
src/gitlab-egress.ts:35
↓ 6 callersFunctioncommand
(cmd, args, options = {})
scripts/runner-desktop-smoke.mjs:11
↓ 6 callersMethodencrypt
(plaintext: string)
oauth-proxy/src/durable-objects/oauth-client.ts:188
↓ 6 callersFunctionfetchWithRunnerLifecycle
(args: Parameters<typeof runnerLifecycle>[0])
src/runner-lifecycle.ts:96
↓ 6 callersFunctionnormalizeCloneOptions
(input)
runner/server.mjs:54
↓ 6 callersFunctionpost
(path: string, body: unknown)
src/live-run-tools.ts:45
↓ 6 callersFunctionredact
(value)
runner/server.mjs:28
↓ 6 callersFunctionrequireLiveWorkspace
(runId)
runner/server.mjs:154
↓ 6 callersFunctionrunInContainer
(runner: unknown, input: ContainerRunRequest, runId?: string)
src/container-runner.ts:109
↓ 6 callersFunctionshell
(value)
runner/server.mjs:50
↓ 5 callersFunctioncomputerEgressHandler
( request: Request, env: ComputerEgressEnv, ctx: OutboundHandlerContext<ComputerEgressParams>, )
src/computer-egress.ts:30
↓ 5 callersFunctioncreateCloudbox
({ baseUrl = "", token, fetcher = fetch }: CloudboxClientOptions = {})
src/client.ts:10
↓ 5 callersFunctionfetch
(request: Request)
web/src/worker.ts:19
↓ 5 callersMethodgetState
(key: string)
src/computer-do.ts:361
↓ 5 callersFunctionkey
(ownerId: string, computerId: string, kind: RepoGrantKind, repoKey: string)
src/computer-grants.ts:25
↓ 5 callersFunctionpostComputers
(spec: unknown, headers: Record<string, string> = {})
tests/http-auth.test.ts:25
↓ 5 callersFunctionprepareOwnerComputer
(env: SandboxComputerBindings, owner: ComputerOwner)
src/sandbox-computer.ts:45
↓ 5 callersFunctionquote
(value: string)
src/agent-computer.ts:65
↓ 5 callersFunctionreq
(overrides: Partial<{ method: string; host: string; path: string; query: string }> = {})
tests/gitlab-egress.test.ts:4
↓ 5 callersFunctionrequest
()
tests/runner-lifecycle.test.ts:4
↓ 5 callersFunctionupdateLiveState
(db: D1Database | undefined, id: string, status: string, changes: { snapshotKey?: string; forkedFrom?: string;
src/http.ts:453
↓ 4 callersMethodallReceipts
(runId?: string)
src/computer-do.ts:392
↓ 4 callersFunctioncallGet
(path: string)
examples/bring-your-agent.ts:91
↓ 4 callersMethodcompleteAuth
(userId: string, raw: { code: string; state: string })
src/oauth-proxy.ts:17
↓ 4 callersFunctioncontainer
(fetches: Array<() => Response | Promise<Response>>, running = false)
tests/runner-lifecycle.test.ts:7
↓ 4 callersMethoddecrypt
(blob: string)
oauth-proxy/src/durable-objects/oauth-client.ts:192
↓ 4 callersFunctiondockerSync
(args, { allowFail = false } = {})
scripts/runner-smoke.mjs:28
↓ 4 callersFunctionensureRunsTable
(db?: D1Database)
src/http.ts:369
↓ 4 callersMethodensureSchema
()
src/computer-grants.ts:32
↓ 4 callersFunctionfetchJson
(url: string)
web/src/lib/api.ts:52
↓ 4 callersFunctionfindGitLabApplication
(apps: OAuthApplication[])
src/oauth-proxy.ts:51
↓ 4 callersFunctiongetRun
(db: D1Database | undefined, id: string)
src/http.ts:433
↓ 4 callersFunctiongrepCheck
(name, path, needle)
scripts/proof-launch-readiness.mjs:25
↓ 4 callersFunctionharness
()
tests/repo-workflow.test.ts:9
↓ 4 callersFunctionjson
(body: unknown, status = 200)
src/runner-do.ts:40
↓ 4 callersMethodlistAvailableApplications
()
src/oauth-proxy.ts:15
↓ 4 callersFunctionpersonalComputerId
(owner: string)
src/http-personal-computers.ts:249
↓ 4 callersFunctionproxy
()
tests/oauth-proxy.test.ts:7
↓ 4 callersMethodput
(state: string, ownerId: string, ttlSeconds = 600)
src/oauth-proxy.ts:30
↓ 4 callersMethodput
(key: string, value: Uint8Array)
tests/run-history.test.ts:48
↓ 4 callersFunctionrequest
(path = "/group/project.git/info/refs?service=git-upload-pack")
tests/computer-egress.test.ts:6
↓ 4 callersMethodrequireSpec
()
src/computer-do.ts:374
↓ 4 callersFunctionresolveHeaders
(app: OAuthApplicationDef<E>, env: E)
oauth-proxy/src/applications.ts:65
↓ 4 callersFunctionrunnerReadySummary
(receipts: RunnerLifecycleReceipt[])
web/src/components/runner-receipts.ts:26
↓ 4 callersFunctiontail
(s: string, max = 4000)
src/run.ts:74
↓ 4 callersFunctiontokenCacheKey
(userKey: string, appId: string)
oauth-proxy/src/fetch.ts:61
↓ 4 callersFunctionwithRetry
( fn: (signal: AbortSignal) => Promise<T>, opts?: RetryOptions, )
oauth-proxy/src/retry.ts:36
↓ 3 callersMethodall
()
tests/run-history.test.ts:32
↓ 3 callersFunctionassertSafePath
(root, path)
runner/server.mjs:18
↓ 3 callersFunctionbackoffMs
(failures: number)
oauth-proxy/src/durable-objects/oauth-client.ts:79
↓ 3 callersFunctionbuildCloneCommand
(input, options = normalizeCloneOptions(input))
runner/server.mjs:66
↓ 3 callersFunctionbuildGitLabRepoKey
(host: string, repo: string)
src/gitlab-egress.ts:25
↓ 3 callersFunctioncall
(method, params)
scripts/alchemy-state-delete.mjs:17
↓ 3 callersFunctioncallPost
(path: string, body: unknown)
examples/bring-your-agent.ts:96
next →1–100 of 387, ranked by callers