MCPcopy Create free account

hub / github.com/cloudflare/computer / functions

Functions3,685 in github.com/cloudflare/computer

↓ 5 callersFunctionsafeErrorMessage
(error: unknown)
packages/computer/src/observe.ts:202
↓ 5 callersFunctionsha256
(bytes: Uint8Array)
packages/dofs/src/fs/writeFile.ts:85
↓ 5 callersMethodshare
(path: string, opts: ShareOptions)
packages/computer/src/assets/index.ts:103
↓ 5 callersMethodsnapshot
Raw stats keyed by op name. The returned object is a defensive snapshot.
packages/computerd/src/fuse/tracer.ts:48
↓ 5 callersFunctionstageBlob
(db: Database, hash: Uint8Array, bytes: Uint8Array, now: number)
packages/dofs/src/sync/blobs.ts:17
↓ 5 callersFunctionstat
(db: Database, path: string)
packages/dofs/src/fs/stat.ts:24
↓ 5 callersFunctiontrimWorkspaceRoot
(path: string)
examples/think-compare-runtimes/src/run-event-facts.ts:126
↓ 5 callersMethodunlink
(path: string, cb: StatusCallback)
packages/computerd/src/fuse/driver.ts:77
↓ 5 callersMethodwait
(delay: number, maybeOptions?: SchedulerWaitOptions)
examples/think/worker-configuration.d.ts:890
↓ 5 callersMethodwatermarks
()
packages/rpc/src/interface.ts:66
↓ 5 callersMethodwrite
(path: string, contents: string)
examples/think-compare-runtimes/worker/runtime/file-tools.ts:16
↓ 4 callersMethod#backend
(requested: string | undefined)
packages/computer/src/runtime/runtime.ts:163
↓ 4 callersMethod#fdOrThrow
(fd: number)
packages/dofs/src/provider.ts:653
↓ 4 callersMethod#finish
( record: ExecutionRecord, status: Exclude<ExecutionRecord["status"], "running">, events: Workspac
packages/computer/src/backends/worker-javascript/worker-javascript.ts:741
↓ 4 callersMethod#handleFor
(id: string)
packages/computer/src/workspace.ts:844
↓ 4 callersMethod#prune
()
packages/computer/src/backends/worker-javascript/worker-javascript.ts:847
↓ 4 callersMethod#pump
(record: ExecutionRecord, subscriber: ExecutionSubscriber)
packages/computer/src/backends/worker-javascript/worker-javascript.ts:810
↓ 4 callersMethod#save
(state: WarmPoolState)
examples/think-compare-runtimes/worker/container-pool-manager.ts:200
↓ 4 callersMethod#serialize
( id: string | undefined, fn: (resolvedId: string | undefined) => Promise<T>, )
packages/computer/src/workspace.ts:721
↓ 4 callersFunctionR2Bucket
(bucket: R2BucketBinding, options: R2BucketOptions = {})
packages/computer/src/mounts/providers/r2.ts:110
↓ 4 callersMethodappend
(content: string | ReadableStream | Response, options?: ContentOptions)
examples/think/worker-configuration.d.ts:1555
↓ 4 callersFunctionappendEvent
(input)
examples/think-compare-runtimes/worker/comparison-agents.test.ts:21
↓ 4 callersFunctionassertAppliedPushCursor
( appliedPushCursor: ChangeCursor, pushCursor: ChangeCursor, )
packages/dofs/src/sync/invariant.ts:18
↓ 4 callersFunctionassertBindingRepoName
(name: string)
packages/computer/tests/utilities/fake-artifacts-binding.ts:239
↓ 4 callersFunctionassertExecutionId
(id: string)
packages/computer/src/backends/worker-javascript/worker-javascript.ts:1255
↓ 4 callersFunctionassertExecutionId
(id: string)
packages/computer/src/runtime/runtime.ts:466
↓ 4 callersFunctionassertRuntimeValue
(value: unknown)
packages/computer/src/runtime/capability.ts:256
↓ 4 callersMethodchmod
(path: string, mode: number)
packages/computer/src/runtime/types.ts:66
↓ 4 callersFunctioncleanup
()
script/computerd-stub-soak.mjs:216
↓ 4 callersMethodconnect
(host: WorkspaceModuleBackendHost)
packages/computer/src/runtime/types.ts:171
↓ 4 callersFunctioncontainerSleepAfter
(env: { CONTAINER_SLEEP_AFTER?: string })
examples/think-compare-runtimes/worker/container-config.ts:12
↓ 4 callersFunctioncreateWorkspaceError
( code: string, message: string, path?: string, )
packages/computer/src/backends/worker-shell/adapter.ts:339
↓ 4 callersFunctiondiffWith
(opts: DiffWithDeps)
packages/computer/src/git/diff.ts:119
↓ 4 callersFunctiondirname
(path: string)
packages/computer/src/git/worktree.ts:320
↓ 4 callersMethoddisposeRecord
(record: ExecRecord)
packages/computerd/src/exec/runner.ts:421
↓ 4 callersFunctionencodeBoundedError
(error: unknown, maxPayloadBytes: number)
packages/computer/src/runtime/bridge.ts:499
↓ 4 callersMethodexec
( command: string, options?: { id?: string; cwd?: string; timeoutMs?: number;
packages/rpc/src/server.ts:34
↓ 4 callersMethodexec
(cmd: string[], options?: ContainerExecOptions)
examples/think/worker-configuration.d.ts:3368
↓ 4 callersMethodexecute
(input: unknown)
examples/think-compare-runtimes/worker/think/runtime-tools.ts:135
↓ 4 callersFunctionfetchObjects
( db: Database, hashes: Uint8Array[], )
packages/dofs/src/sync/fetch.ts:20
↓ 4 callersFunctionflushEntry
(path: string)
packages/computerd/src/fuse/driver.ts:365
↓ 4 callersFunctionflushPendingByPath
(db: Database, path: string, now: () => number)
packages/dofs/src/fs/writeFile.ts:726
↓ 4 callersMethodgetContainer
(logicalId: string)
examples/think-compare-runtimes/worker/container-warm-pool.ts:12
↓ 4 callersFunctiongetContainerLifecycle
(ctx: DurableObjectState)
packages/computer/src/backends/container/container-lifecycle.ts:50
↓ 4 callersFunctiongetWarmPoolHandle
(namespace: ContainerWarmPoolNamespace)
examples/think-compare-runtimes/worker/container-warm-pool.ts:82
↓ 4 callersMethodgetWorkspace
()
packages/computer/src/backends/worker-shell/entrypoint.ts:62
↓ 4 callersFunctiongetWorkspaceContainerHost
( env: WorkspacePoolEnv, containerId: string, )
examples/think-compare-runtimes/worker/computer-container-pool.ts:97
↓ 4 callersMethodgrep
( pattern: string, path: string, options?: { ignoreCase?: boolean }, )
packages/computer/src/runtime/types.ts:54
↓ 4 callersMethodhandleFetch
()
examples/think-compare-runtimes/worker/think/agents.test.ts:71
↓ 4 callersFunctionhash
(buf: Buffer)
packages/computerd/src/shim/shim.ts:576
↓ 4 callersFunctioninvalidateResolveSubtree
(db: Database, canonicalPath: string)
packages/dofs/src/fs/resolveCache.ts:107
↓ 4 callersMethodisContainerRunning
(containerId: string)
examples/think-compare-runtimes/worker/container-pool-manager.ts:6
↓ 4 callersFunctionisPendingCreate
(path: string)
packages/computerd/src/fuse/driver.ts:288
↓ 4 callersFunctionloadHttp
()
packages/computer/src/git/index.ts:386
↓ 4 callersMethodls
(prefix: string)
packages/computer/src/runtime/types.ts:53
↓ 4 callersMethodmkdir
(path: string, options?: { recursive?: boolean })
packages/computer/src/runtime/types.ts:59
↓ 4 callersFunctionnormalizePath
(path: string)
packages/computer/src/backends/worker-shell/adapter.ts:325
↓ 4 callersMethodopenSync
(path: string, flags: string = "r", _mode?: number)
packages/dofs/src/provider.ts:141
↓ 4 callersFunctionparseDuration
(input: string)
packages/computer/src/artifacts/duration.ts:33
↓ 4 callersMethodread
(path: string)
examples/think-compare-runtimes/worker/runtime/file-tools.ts:15
↓ 4 callersMethodreadCommit
(args: { fs: object; dir: string; oid: string; cache?: object })
packages/computer/src/git/reads.ts:50
↓ 4 callersFunctionreaddir
( db: Database, path: string, options: ReaddirOptions = {}, )
packages/dofs/src/fs/readdir.ts:25
↓ 4 callersMethodreaddir
(path: string)
packages/computer/src/backends/worker-shell/adapter.ts:43
↓ 4 callersMethodreleaseContainer
(logicalId: string)
examples/think-compare-runtimes/worker/container-warm-pool.ts:13
↓ 4 callersFunctionrename
(db: Database, oldPath: string, newPath: string)
packages/dofs/src/fs/rename.ts:14
↓ 4 callersFunctionresolveFileInode
(db: Database, path: string)
packages/dofs/src/fs/writeFile.ts:391
↓ 4 callersFunctionresolveParent
(db: Database, parts: string[], canonical: string)
packages/dofs/src/fs/writeFile.ts:43
↓ 4 callersFunctionresolveRevisionRef
* Resolve a ref that may carry a revision suffix (`HEAD^`, * `HEAD~2`, ...) to a concrete oid via `rev-parse`, which owns * the suffix-walking logic
packages/computer/src/git/cli.ts:2354
↓ 4 callersMethodrevokeToken
Revoke a token by id or plaintext. Returns false on a miss.
packages/computer/src/artifacts/client.ts:89
↓ 4 callersMethodrmdirSync
(path: string)
packages/dofs/src/provider.ts:265
↓ 4 callersFunctionrun
(fn: () => Promise<T>)
packages/computerd/src/shim/shim.ts:111
↓ 4 callersFunctionruntimeLabel
(runtime: RuntimeId)
examples/think-compare-runtimes/worker/comparison-agents.ts:74
↓ 4 callersMethodshell
()
packages/rpc/src/server.ts:301
↓ 4 callersFunctionsleep
(ms: number)
packages/computer/src/backends/container/cloudflare-container.ts:504
↓ 4 callersMethodstart
(env: Record<string, string>)
packages/computer/src/backends/container/container-host.ts:49
↓ 4 callersMethodstat
(path: string)
packages/computer/src/backends/worker-shell/adapter.ts:39
↓ 4 callersFunctionstringField
(value: Record<string, unknown> | null, key: string)
examples/think-compare-runtimes/src/run-event-facts.ts:182
↓ 4 callersMethodsymlinkSync
(target: string, path: string, _type?: string)
packages/dofs/src/provider.ts:676
↓ 4 callersFunctionupsertChunkBlob
(db: Database, chunk: PreparedChunk, lastSeen: number)
packages/dofs/src/fs/writeFile.ts:307
↓ 4 callersMethodwaitUntil
(promise: Promise<any>)
examples/think/worker-configuration.d.ts:436
↓ 4 callersFunctionwithWorkspace
( Base: TBase, options: (self: InstanceType<TBase>) => WorkspaceOptions, )
packages/computer/src/with-workspace.ts:59
↓ 4 callersFunctionwithWorkspaceContainer
( Base: TBase, )
packages/computer/src/backends/container/container-host.ts:233
↓ 4 callersMethodwrite
(level: LogLevel, args: unknown[])
packages/computerd/src/cli/logger.ts:21
↓ 3 callersMethod#clearUpgrade
()
packages/computer/src/backends/container/cloudflare-container.ts:326
↓ 3 callersMethod#mintToken
(scope: ArtifactScope, ttl: number)
packages/computer/tests/utilities/fake-artifacts-binding.ts:54
↓ 3 callersMethod#resolveBackendId
(id: string | undefined)
packages/computer/src/workspace.ts:746
↓ 3 callersMethodaccess
(path: string, mode: number, cb: StatusCallback)
packages/computerd/src/fuse/driver.ts:81
↓ 3 callersMethodaccessSync
(path: string, _mode?: number)
packages/dofs/src/provider.ts:554
↓ 3 callersFunctionapply
(db: Database, entries: ChangeEntry[], objects: Map<string, Uint8Array>)
packages/dofs/src/sync/push.test.ts:17
↓ 3 callersFunctionapplyChangesSync
( db: Database, entries: readonly ChangeEntry[], objects: Map<string, Uint8Array>, options: ApplyOptio
packages/dofs/src/sync/apply.ts:353
↓ 3 callersFunctionapplyChunkedInodeUpdate
( db: Database, inode: number, size: number, mode: number, mtime: number, isTouched: (idx: number,
packages/dofs/src/fs/writeFile.ts:425
↓ 3 callersFunctionassertSessionId
(sessionId: string)
packages/computer/src/artifacts/scope.ts:24
↓ 3 callersFunctionbasename
(path: string)
packages/computer/src/workspace.ts:1271
↓ 3 callersFunctionbasename
(path: string)
packages/computer/src/assets/upload.ts:31
↓ 3 callersFunctionblocksForSize
(size: number)
packages/computerd/src/fuse/driver.ts:39
↓ 3 callersFunctionbuildDashboardModel
(events: RunEvent[], nowIso: string | null)
examples/think-compare-runtimes/src/dashboard-model.ts:35
↓ 3 callersFunctionbuildManifest
(db: Database, chunks: ManifestChunk[], now: number)
packages/dofs/src/sync/manifests.ts:62
↓ 3 callersMethodclone
Shallow-clone a remote into the bound workspace.
packages/computer/src/git/index.ts:234
↓ 3 callersMethodcloseSync
(fd: number)
packages/dofs/src/provider.ts:562
↓ 3 callersFunctioncreateArtifact
(binding: Artifacts, sessionId: string)
packages/computer/src/artifacts/client.ts:106
← previousnext →201–300 of 3,685, ranked by callers