MCPcopy Create free account

hub / github.com/acoyfellow/cloudbox / functions

Functions387 in github.com/acoyfellow/cloudbox

↓ 1 callersFunctionassertArtifactPath
(path: string)
src/run.ts:62
↓ 1 callersFunctionassertVerify
(verify: string[])
src/run.ts:68
↓ 1 callersMethodauthenticatedFetch
* 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 callersFunctionauthorizationEndpoint
(app: OAuthApplicationDef)
oauth-proxy/src/applications.ts:84
↓ 1 callersFunctionauthorize
(request: Request, spec: ComputerSpec | null)
web/src/pages/computers.ts:25
↓ 1 callersFunctionauthorize
(request: Request)
web/src/pages/runs.ts:27
↓ 1 callersFunctionauthorize
(request: Request, action: string)
web/src/pages/c/[id]/[action].ts:25
↓ 1 callersFunctionauthorizeAction
(request: Request, action: string, env: CloudboxBindings)
src/http.ts:290
↓ 1 callersFunctionbuildRegistry
(applications: T)
oauth-proxy/src/applications.ts:118
↓ 1 callersMethodcleanup
(body: { maxAgeMs?: number } = {})
src/computer-do.ts:307
↓ 1 callersFunctioncloneRepo
(repo: string)
src/run.ts:87
↓ 1 callersFunctioncloneUrl
(repo, auth)
runner/server.mjs:37
↓ 1 callersFunctioncreateAgentComputer
(options: CloudboxClientOptions = {})
src/agent-computer.ts:26
↓ 1 callersFunctioncreateDesktopRun
()
scripts/proof-desktop-shell.mjs:19
↓ 1 callersFunctioncreateEnvGetter
()
oauth-proxy/src/applications.ts:14
↓ 1 callersFunctioncreateHttpApp
(worker: OAuthClientManager)
oauth-proxy/src/worker-entrypoint.ts:250
↓ 1 callersFunctioncreateOAuthProxy
(applications: T)
oauth-proxy/src/create.ts:40
↓ 1 callersMethoddeleteUser
(userId: string)
oauth-proxy/src/worker-entrypoint.ts:185
↓ 1 callersMethoddestroyAll
* 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 callersMethoddoRefreshForFetch
( reg: StoredRegistration, app: OAuthApplicationDef, )
oauth-proxy/src/durable-objects/oauth-client.ts:771
↓ 1 callersMethoddrainPendingKvOps
(now: Date)
oauth-proxy/src/durable-objects/oauth-client.ts:907
↓ 1 callersFunctionencrypt
( masterKeyB64: string, info: string, plaintext: string, )
oauth-proxy/src/crypto/encryption.ts:45
↓ 1 callersFunctionerrorMessage
(error: unknown)
src/runner-do.ts:36
↓ 1 callersFunctionerrorMessage
(error: unknown)
src/runner-lifecycle.ts:100
↓ 1 callersFunctionevaluate
(event: RubricEvent, receipts: Receipt[])
src/grade.ts:87
↓ 1 callersFunctionexpectedArtifact
(spec: ComputerSpec)
web/src/components/SampleAgent.tsx:155
↓ 1 callersFunctionextractRole
(text: string)
src/brief.ts:50
↓ 1 callersFunctionextractSeniority
(text: string)
src/brief.ts:57
↓ 1 callersFunctionfetcherFor
(env: Record<string, unknown> = {})
tests/bring-your-agent.test.ts:10
↓ 1 callersFunctionformatTime
(ts: number)
web/src/components/SampleAgent.tsx:405
↓ 1 callersFunctionget
(path)
scripts/runner-desktop-smoke.mjs:17
↓ 1 callersFunctiongetOwnerComputer
(env: SandboxComputerBindings, owner: ComputerOwner)
src/sandbox-computer.ts:26
↓ 1 callersFunctiongetPatch
(workspace: string)
src/run.ts:116
↓ 1 callersMethodgetSpec
()
src/computer-do.ts:351
↓ 1 callersFunctiongrade
(id: string)
web/src/lib/api.ts:47
↓ 1 callersMethodgrade
()
src/computer-do.ts:295
↓ 1 callersFunctionhandleLivePreview
(runId, request, suffix)
runner/server.mjs:283
↓ 1 callersFunctionhandleLocalAction
(id: string, action: string, request: Request, url: URL)
src/local-demo.ts:27
↓ 1 callersFunctionhasDocker
()
scripts/runner-smoke.mjs:23
↓ 1 callersMethodinit
(body: InitBody)
src/computer-do.ts:117
↓ 1 callersFunctionisAllowedDemoRun
(input: ContainerRunRequest | null)
src/http.ts:313
↓ 1 callersMethodisDeleted
Check if this user has been soft-deleted (has tombstoned registrations).
oauth-proxy/src/durable-objects/oauth-client.ts:647
↓ 1 callersFunctionisExpired
(expiresAt: Date | null)
oauth-proxy/src/durable-objects/oauth-client.ts:100
↓ 1 callersFunctionisIgnored
(remotePath)
scripts/cloudbox-live-sync.mjs:70
↓ 1 callersFunctionisPublicDemoSpec
(spec: ComputerSpec | null)
src/http.ts:299
↓ 1 callersFunctionisPublicDemoSpec
(spec: ComputerSpec | null)
web/src/pages/computers.ts:33
↓ 1 callersFunctionisTerminalOAuthError
(err: unknown)
oauth-proxy/src/durable-objects/oauth-client.ts:105
↓ 1 callersMethodisUserDeleted
(userId: string)
oauth-proxy/src/worker-entrypoint.ts:201
↓ 1 callersFunctionjsonError
(tag: string, message: string, status: number)
oauth-proxy/src/durable-objects/oauth-client.ts:1046
↓ 1 callersFunctionkvDeleteSafe
(kv: KVNamespace, key: string)
oauth-proxy/src/worker-entrypoint.ts:237
↓ 1 callersFunctionkvGetSafe
(kv: KVNamespace, key: string)
oauth-proxy/src/worker-entrypoint.ts:225
↓ 1 callersMethodlistDueRegistrations
(now: Date)
oauth-proxy/src/durable-objects/oauth-client.ts:993
↓ 1 callersMethodlistReceipts
()
src/computer-do.ts:345
↓ 1 callersMethodlistRegistrations
()
oauth-proxy/src/durable-objects/oauth-client.ts:504
↓ 1 callersFunctionlistRuns
(db?: D1Database)
src/http.ts:426
↓ 1 callersFunctionloadSnapshot
(bucket: R2Bucket | undefined, key: string)
src/http.ts:474
↓ 1 callersFunctionmain
()
scripts/runner-smoke.mjs:70
↓ 1 callersFunctionmaterialize
( spec: ComputerSpec, env: MaterializeEnv, )
src/materialize.ts:27
↓ 1 callersMethodmaterializeBytes
* 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 callersFunctionmaterializeLocal
(spec: ComputerSpec)
src/local-demo.ts:12
↓ 1 callersFunctionmergeHeaders
(...values: Array<HeadersInit | undefined>)
src/live-run-tools.ts:67
↓ 1 callersFunctionownerKey
(owner: ComputerOwner)
src/sandbox-computer.ts:20
↓ 1 callersFunctionpost
(path, body)
scripts/demo.mjs:25
↓ 1 callersFunctionpostRun
()
scripts/runner-smoke.mjs:50
↓ 1 callersFunctionreadStateRunId
()
scripts/cloudbox-live-sync.mjs:44
↓ 1 callersFunctionregisterPersonalComputerRoutes
(api: Hono<{ Bindings: CloudboxBindings }>)
src/http-personal-computers.ts:11
↓ 1 callersMethodremoveRegistration
(appId: string)
oauth-proxy/src/durable-objects/oauth-client.ts:514
↓ 1 callersFunctionrenderArtifact
( spec: ComputerSpec, decision: string, paths: string[], collaborator?: string, )
src/agent.ts:111
↓ 1 callersFunctionrenderHandoff
(spec: ComputerSpec, paths: string[])
examples/bring-your-agent.ts:184
↓ 1 callersFunctionrequest
(path, init = {})
scripts/proof-desktop-shell.mjs:13
↓ 1 callersMethodreset
()
src/computer-do.ts:328
↓ 1 callersFunctionrunRepo
()
web/src/components/Playground.tsx:32
↓ 1 callersFunctionrunnerLifecycle
(args: { container?: ContainerHandle; request: Request; port?: number; url?: string; delaysMs?: numb
src/runner-lifecycle.ts:32
↓ 1 callersFunctionseedContent
(path: string)
src/local-demo.ts:83
↓ 1 callersFunctionserializeRegistration
(meta: RegistrationMetadata)
oauth-proxy/src/types.ts:189
↓ 1 callersFunctionsleep
(ms: number)
web/src/components/SampleAgent.tsx:413
↓ 1 callersFunctionspecHash
* 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 callersMethodstoreRefreshedTokens
( reg: StoredRegistration, app: OAuthApplicationDef, tokens: oauth.TokenEndpointResponse, )
oauth-proxy/src/durable-objects/oauth-client.ts:816
↓ 1 callersFunctionsync
(fullPath, remotePath)
scripts/cloudbox-live-sync.mjs:76
↓ 1 callersFunctiontail
(text)
scripts/proof-launch-readiness.mjs:29
↓ 1 callersFunctiontemplatedReply
* Templated collaborator reply. Cheap, deterministic, useful enough for v0. * Real model-driven replies come in a later phase.
src/computer-do.ts:452
↓ 1 callersFunctiontoRemotePath
(fullPath)
scripts/cloudbox-live-sync.mjs:64
↓ 1 callersFunctiontoolNames
(tools?: Record<string, Tool>)
src/run.ts:123
↓ 1 callersFunctiontopoSort
* 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 callersFunctiontruncate
(s: string, n: number)
web/src/components/SampleAgent.tsx:409
↓ 1 callersMethodundeleteAll
* 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 callersMethodundeleteUser
(userId: string)
oauth-proxy/src/worker-entrypoint.ts:193
↓ 1 callersFunctionunsafeRepo
(repo: string)
src/gitlab-egress.ts:21
↓ 1 callersFunctionupgradeLivePreview
(server, request, runId, suffix)
runner/server.mjs:296
↓ 1 callersFunctionvalidateRun
(input: ContainerRunRequest | null)
src/http.ts:328
↓ 1 callersFunctionvalidateRun
(input: ContainerRunRequest | null)
web/src/pages/runs.ts:34
↓ 1 callersFunctionvalidateSpec
(spec: ComputerSpec | null)
src/http.ts:303
↓ 1 callersFunctionvalidateSpec
(spec: ComputerSpec)
src/computer-do.ts:465
↓ 1 callersFunctionvalidateSpec
(spec: ComputerSpec | null)
web/src/pages/computers.ts:45
↓ 1 callersFunctionvisit
(file: SpecFile, stack = new Set<string>())
src/computer-do.ts:432
↓ 1 callersFunctionwaitForHealth
()
scripts/runner-smoke.mjs:36
↓ 1 callersFunctionwithTimeout
* Execute an async operation with a timeout. * Returns Result.ok(value) on success, Result.err(TimeoutError) on timeout.
oauth-proxy/src/retry.ts:69
FunctionALL
({ request, locals })
web/src/pages/api/[...path].ts:6
FunctionBolt
()
web/src/components/SampleAgent.tsx:425
FunctionEmptyProof
()
web/src/components/Playground.tsx:203
← previousnext →201–300 of 387, ranked by callers