Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acoyfellow/cloudbox
/ functions
Functions
387 in github.com/acoyfellow/cloudbox
⨍
Functions
387
◇
Types & classes
53
↓ 1 callers
Function
assertArtifactPath
(path: string)
src/run.ts:62
↓ 1 callers
Function
assertVerify
(verify: string[])
src/run.ts:68
↓ 1 callers
Method
authenticatedFetch
* Make an authenticated request. Per RFC 6750, retries once on * `invalid_token` after force-refreshing.
oauth-proxy/src/durable-objects/oauth-client.ts:474
↓ 1 callers
Function
authorizationEndpoint
(app: OAuthApplicationDef)
oauth-proxy/src/applications.ts:84
↓ 1 callers
Function
authorize
(request: Request, spec: ComputerSpec | null)
web/src/pages/computers.ts:25
↓ 1 callers
Function
authorize
(request: Request)
web/src/pages/runs.ts:27
↓ 1 callers
Function
authorize
(request: Request, action: string)
web/src/pages/c/[id]/[action].ts:25
↓ 1 callers
Function
authorizeAction
(request: Request, action: string, env: CloudboxBindings)
src/http.ts:290
↓ 1 callers
Function
buildRegistry
(applications: T)
oauth-proxy/src/applications.ts:118
↓ 1 callers
Method
cleanup
(body: { maxAgeMs?: number } = {})
src/computer-do.ts:307
↓ 1 callers
Function
cloneRepo
(repo: string)
src/run.ts:87
↓ 1 callers
Function
cloneUrl
(repo, auth)
runner/server.mjs:37
↓ 1 callers
Function
createAgentComputer
(options: CloudboxClientOptions = {})
src/agent-computer.ts:26
↓ 1 callers
Function
createDesktopRun
()
scripts/proof-desktop-shell.mjs:19
↓ 1 callers
Function
createEnvGetter
()
oauth-proxy/src/applications.ts:14
↓ 1 callers
Function
createHttpApp
(worker: OAuthClientManager)
oauth-proxy/src/worker-entrypoint.ts:250
↓ 1 callers
Function
createOAuthProxy
(applications: T)
oauth-proxy/src/create.ts:40
↓ 1 callers
Method
deleteUser
(userId: string)
oauth-proxy/src/worker-entrypoint.ts:185
↓ 1 callers
Method
destroyAll
* Soft-delete all registrations for this user. * * 1. Delete KV cache entries (with retry — must succeed) * 2. Move registrations to soft_delete
oauth-proxy/src/durable-objects/oauth-client.ts:533
↓ 1 callers
Method
doRefreshForFetch
( reg: StoredRegistration, app: OAuthApplicationDef, )
oauth-proxy/src/durable-objects/oauth-client.ts:771
↓ 1 callers
Method
drainPendingKvOps
(now: Date)
oauth-proxy/src/durable-objects/oauth-client.ts:907
↓ 1 callers
Function
encrypt
( masterKeyB64: string, info: string, plaintext: string, )
oauth-proxy/src/crypto/encryption.ts:45
↓ 1 callers
Function
errorMessage
(error: unknown)
src/runner-do.ts:36
↓ 1 callers
Function
errorMessage
(error: unknown)
src/runner-lifecycle.ts:100
↓ 1 callers
Function
evaluate
(event: RubricEvent, receipts: Receipt[])
src/grade.ts:87
↓ 1 callers
Function
expectedArtifact
(spec: ComputerSpec)
web/src/components/SampleAgent.tsx:155
↓ 1 callers
Function
extractRole
(text: string)
src/brief.ts:50
↓ 1 callers
Function
extractSeniority
(text: string)
src/brief.ts:57
↓ 1 callers
Function
fetcherFor
(env: Record<string, unknown> = {})
tests/bring-your-agent.test.ts:10
↓ 1 callers
Function
formatTime
(ts: number)
web/src/components/SampleAgent.tsx:405
↓ 1 callers
Function
get
(path)
scripts/runner-desktop-smoke.mjs:17
↓ 1 callers
Function
getOwnerComputer
(env: SandboxComputerBindings, owner: ComputerOwner)
src/sandbox-computer.ts:26
↓ 1 callers
Function
getPatch
(workspace: string)
src/run.ts:116
↓ 1 callers
Method
getSpec
()
src/computer-do.ts:351
↓ 1 callers
Function
grade
(id: string)
web/src/lib/api.ts:47
↓ 1 callers
Method
grade
()
src/computer-do.ts:295
↓ 1 callers
Function
handleLivePreview
(runId, request, suffix)
runner/server.mjs:283
↓ 1 callers
Function
handleLocalAction
(id: string, action: string, request: Request, url: URL)
src/local-demo.ts:27
↓ 1 callers
Function
hasDocker
()
scripts/runner-smoke.mjs:23
↓ 1 callers
Method
init
(body: InitBody)
src/computer-do.ts:117
↓ 1 callers
Function
isAllowedDemoRun
(input: ContainerRunRequest | null)
src/http.ts:313
↓ 1 callers
Method
isDeleted
Check if this user has been soft-deleted (has tombstoned registrations).
oauth-proxy/src/durable-objects/oauth-client.ts:647
↓ 1 callers
Function
isExpired
(expiresAt: Date | null)
oauth-proxy/src/durable-objects/oauth-client.ts:100
↓ 1 callers
Function
isIgnored
(remotePath)
scripts/cloudbox-live-sync.mjs:70
↓ 1 callers
Function
isPublicDemoSpec
(spec: ComputerSpec | null)
src/http.ts:299
↓ 1 callers
Function
isPublicDemoSpec
(spec: ComputerSpec | null)
web/src/pages/computers.ts:33
↓ 1 callers
Function
isTerminalOAuthError
(err: unknown)
oauth-proxy/src/durable-objects/oauth-client.ts:105
↓ 1 callers
Method
isUserDeleted
(userId: string)
oauth-proxy/src/worker-entrypoint.ts:201
↓ 1 callers
Function
jsonError
(tag: string, message: string, status: number)
oauth-proxy/src/durable-objects/oauth-client.ts:1046
↓ 1 callers
Function
kvDeleteSafe
(kv: KVNamespace, key: string)
oauth-proxy/src/worker-entrypoint.ts:237
↓ 1 callers
Function
kvGetSafe
(kv: KVNamespace, key: string)
oauth-proxy/src/worker-entrypoint.ts:225
↓ 1 callers
Method
listDueRegistrations
(now: Date)
oauth-proxy/src/durable-objects/oauth-client.ts:993
↓ 1 callers
Method
listReceipts
()
src/computer-do.ts:345
↓ 1 callers
Method
listRegistrations
()
oauth-proxy/src/durable-objects/oauth-client.ts:504
↓ 1 callers
Function
listRuns
(db?: D1Database)
src/http.ts:426
↓ 1 callers
Function
loadSnapshot
(bucket: R2Bucket | undefined, key: string)
src/http.ts:474
↓ 1 callers
Function
main
()
scripts/runner-smoke.mjs:70
↓ 1 callers
Function
materialize
( spec: ComputerSpec, env: MaterializeEnv, )
src/materialize.ts:27
↓ 1 callers
Method
materializeBytes
* Generate the bytes for a single file and store them in R2 (or skip if * the bucket isn't bound). v0 uses a placeholder body; the artifacts/ *
src/computer-do.ts:163
↓ 1 callers
Function
materializeLocal
(spec: ComputerSpec)
src/local-demo.ts:12
↓ 1 callers
Function
mergeHeaders
(...values: Array<HeadersInit | undefined>)
src/live-run-tools.ts:67
↓ 1 callers
Function
ownerKey
(owner: ComputerOwner)
src/sandbox-computer.ts:20
↓ 1 callers
Function
post
(path, body)
scripts/demo.mjs:25
↓ 1 callers
Function
postRun
()
scripts/runner-smoke.mjs:50
↓ 1 callers
Function
readStateRunId
()
scripts/cloudbox-live-sync.mjs:44
↓ 1 callers
Function
registerPersonalComputerRoutes
(api: Hono<{ Bindings: CloudboxBindings }>)
src/http-personal-computers.ts:11
↓ 1 callers
Method
removeRegistration
(appId: string)
oauth-proxy/src/durable-objects/oauth-client.ts:514
↓ 1 callers
Function
renderArtifact
( spec: ComputerSpec, decision: string, paths: string[], collaborator?: string, )
src/agent.ts:111
↓ 1 callers
Function
renderHandoff
(spec: ComputerSpec, paths: string[])
examples/bring-your-agent.ts:184
↓ 1 callers
Function
request
(path, init = {})
scripts/proof-desktop-shell.mjs:13
↓ 1 callers
Method
reset
()
src/computer-do.ts:328
↓ 1 callers
Function
runRepo
()
web/src/components/Playground.tsx:32
↓ 1 callers
Function
runnerLifecycle
(args: { container?: ContainerHandle; request: Request; port?: number; url?: string; delaysMs?: numb
src/runner-lifecycle.ts:32
↓ 1 callers
Function
seedContent
(path: string)
src/local-demo.ts:83
↓ 1 callers
Function
serializeRegistration
(meta: RegistrationMetadata)
oauth-proxy/src/types.ts:189
↓ 1 callers
Function
sleep
(ms: number)
web/src/components/SampleAgent.tsx:413
↓ 1 callers
Function
specHash
* Stable, deterministic hash of a spec. Uses SHA-256 over the canonicalized * JSON. Output is the first 12 hex chars — enough to avoid collision in
src/materialize.ts:55
↓ 1 callers
Method
storeRefreshedTokens
( reg: StoredRegistration, app: OAuthApplicationDef, tokens: oauth.TokenEndpointResponse, )
oauth-proxy/src/durable-objects/oauth-client.ts:816
↓ 1 callers
Function
sync
(fullPath, remotePath)
scripts/cloudbox-live-sync.mjs:76
↓ 1 callers
Function
tail
(text)
scripts/proof-launch-readiness.mjs:29
↓ 1 callers
Function
templatedReply
* Templated collaborator reply. Cheap, deterministic, useful enough for v0. * Real model-driven replies come in a later phase.
src/computer-do.ts:452
↓ 1 callers
Function
toRemotePath
(fullPath)
scripts/cloudbox-live-sync.mjs:64
↓ 1 callers
Function
toolNames
(tools?: Record<string, Tool>)
src/run.ts:123
↓ 1 callers
Function
topoSort
* Topologically sort files by their `dependsOn` edges. Files with no * predecessors come first; files derived from earlier ones come after. * Cycles
src/computer-do.ts:427
↓ 1 callers
Function
truncate
(s: string, n: number)
web/src/components/SampleAgent.tsx:409
↓ 1 callers
Method
undeleteAll
* Restore soft-deleted registrations. Tokens are almost certainly * expired after deletion, so all restored registrations are marked * needs_reaut
oauth-proxy/src/durable-objects/oauth-client.ts:611
↓ 1 callers
Method
undeleteUser
(userId: string)
oauth-proxy/src/worker-entrypoint.ts:193
↓ 1 callers
Function
unsafeRepo
(repo: string)
src/gitlab-egress.ts:21
↓ 1 callers
Function
upgradeLivePreview
(server, request, runId, suffix)
runner/server.mjs:296
↓ 1 callers
Function
validateRun
(input: ContainerRunRequest | null)
src/http.ts:328
↓ 1 callers
Function
validateRun
(input: ContainerRunRequest | null)
web/src/pages/runs.ts:34
↓ 1 callers
Function
validateSpec
(spec: ComputerSpec | null)
src/http.ts:303
↓ 1 callers
Function
validateSpec
(spec: ComputerSpec)
src/computer-do.ts:465
↓ 1 callers
Function
validateSpec
(spec: ComputerSpec | null)
web/src/pages/computers.ts:45
↓ 1 callers
Function
visit
(file: SpecFile, stack = new Set<string>())
src/computer-do.ts:432
↓ 1 callers
Function
waitForHealth
()
scripts/runner-smoke.mjs:36
↓ 1 callers
Function
withTimeout
* Execute an async operation with a timeout. * Returns Result.ok(value) on success, Result.err(TimeoutError) on timeout.
oauth-proxy/src/retry.ts:69
Function
ALL
({ request, locals })
web/src/pages/api/[...path].ts:6
Function
Bolt
()
web/src/components/SampleAgent.tsx:425
Function
EmptyProof
()
web/src/components/Playground.tsx:203
← previous
next →
201–300 of 387, ranked by callers