MCPcopy Create free account
hub / github.com/cloudflare/computer / exec

Method exec

packages/computer/src/client.ts:254–254  ·  view source on GitHub ↗
(source: string, options?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

252interface UnderlyingRuntime {
253 // biome-ignore lint/suspicious/noExplicitAny: bridges local and RPC overload sets
254 exec(source: string, options?: Record<string, unknown>): Promise<any>;
255 // biome-ignore lint/suspicious/noExplicitAny: bridges local and RPC overload sets
256 getExec(id: string, options?: Record<string, unknown>): Promise<any>;
257 killExec(id: string, options?: RuntimeKillOptions): Promise<void>;

Callers 15

execFunction · 0.65
runner.test.tsFile · 0.65
stub.test.tsFile · 0.65
execFunction · 0.65
runCommandFunction · 0.65
shell.test.tsFile · 0.65
execMethod · 0.65
client.test.tsFile · 0.65
workspace.test.tsFile · 0.65
runRuntimeMethod · 0.65

Implementers 5

ShellRPCServerpackages/rpc/src/server.ts
WorkspaceRuntimeStubpackages/computer/src/stub.ts
WorkerShellBackendpackages/computer/src/backends/worker-
JavaScriptBackendHandlepackages/computer/src/backends/worker-
WorkspaceRuntimepackages/computer/src/runtime/runtime.

Calls

no outgoing calls

Tested by 2

runCommandFunction · 0.52
runSoakFunction · 0.52