MCPcopy Create free account

hub / github.com/cloudflare/moltworker / functions

Functions93 in github.com/cloudflare/moltworker

↓ 25 callersFunctioncreateMockEnv
(overrides: Partial<OpenClawEnv> = {})
src/test-utils.ts:8
↓ 18 callersFunctionfindExistingGatewayProcess
(sandbox: Sandbox)
src/gateway/process.ts:68
↓ 15 callersFunctionbuildEnvVars
(env: OpenClawEnv)
src/gateway/env.ts:9
↓ 15 callersFunctionredactSensitiveParams
(url: URL)
src/utils/logging.ts:5
↓ 13 callersFunctioncreateFullMockProcess
(overrides: Partial<Process> = {})
src/gateway/process.test.ts:6
↓ 13 callersFunctioncreateMockSandbox
( options: { processes?: Partial<Process>[]; } = {}, )
src/test-utils.ts:62
↓ 13 callersFunctionshouldWakeContainer
( cronStoreJson: string, nowMs: number, leadTimeMs: number, )
src/cron/wake.ts:76
↓ 10 callersFunctioncronJob
( overrides: Partial<{ id: string; enabled: boolean; schedule: object; state: object; }> =
src/cron/wake.test.ts:11
↓ 10 callersFunctionmakeStore
(jobs: object[])
src/cron/wake.test.ts:7
↓ 9 callersFunctioncreateAccessMiddleware
(options: AccessMiddlewareOptions)
src/auth/middleware.ts:49
↓ 9 callersFunctionsend
(method, params = {})
skills/cloudflare-browser/scripts/cdp-client.js:36
↓ 8 callersFunctionensureGateway
( sandbox: Sandbox, env: OpenClawEnv, options?: { waitForReady?: boolean }, )
src/gateway/process.ts:115
↓ 8 callersFunctionextractJWT
(c: Context<AppEnv>)
src/auth/middleware.ts:32
↓ 8 callersFunctionverifyAccessJWT
( token: string, teamDomain: string, expectedAud: string, )
src/auth/jwt.ts:16
↓ 7 callersFunctioncreateFullMockContext
(options: { env?: Partial<OpenClawEnv>; jwtHeader?: string; cookies?: string; })
src/auth/middleware.test.ts:136
↓ 7 callersFunctioncreateMockContext
(options: { jwtHeader?: string; cookies?: string })
src/auth/middleware.test.ts:59
↓ 6 callersFunctionapiRequest
(path: string, options: globalThis.RequestInit = {})
src/client/api.ts:65
↓ 6 callersFunctionisDevMode
(env: OpenClawEnv)
src/auth/middleware.ts:18
↓ 6 callersFunctionsendEvent
* Send a CDP event
src/routes/cdp.ts:1899
↓ 6 callersFunctionwaitForProcess
( proc: { status: string; getStatus?: () => Promise<string> }, timeoutMs: number, pollIntervalMs: number
src/gateway/utils.ts:12
↓ 5 callersFunctionisE2ETestMode
(env: OpenClawEnv)
src/auth/middleware.ts:25
↓ 4 callersFunctionisGatewayPortOpen
(sandbox: Sandbox)
src/gateway/process.ts:57
↓ 4 callersFunctionkillGateway
(sandbox: Sandbox)
src/gateway/process.ts:13
↓ 4 callersFunctionrestoreIfNeeded
(sandbox: Sandbox, bucket: R2Bucket)
src/persistence.ts:52
↓ 4 callersFunctionsend
(method, params = {})
skills/cloudflare-browser/scripts/video.js:51
↓ 4 callersFunctiontimingSafeEqual
* Constant-time string comparison to prevent timing attacks
src/routes/cdp.ts:1907
↓ 4 callersFunctiontoQuad
(box: { x: number; y: number; width: number; height: number })
src/routes/cdp.ts:1002
↓ 3 callersFunctioncaptureFrames
(count, delayMs = 100)
skills/cloudflare-browser/scripts/video.js:92
↓ 3 callersFunctioncreateMockExecResult
( stdout: string = '', options: { exitCode?: number; stderr?: string; success?: boolean } = {}, )
src/test-utils.ts:38
↓ 3 callersFunctiongetStoredHandle
(bucket: R2Bucket)
src/persistence.ts:26
↓ 3 callersFunctionsend
(method, params = {})
skills/cloudflare-browser/scripts/screenshot.js:38
↓ 2 callersFunctionbuildSandboxOptions
(env: OpenClawEnv)
src/index.ts:119
↓ 2 callersFunctionformatTimeAgo
(ts: number)
src/client/pages/AdminPage.tsx:37
↓ 2 callersFunctionformatTimestamp
(ts: number)
src/client/pages/AdminPage.tsx:32
↓ 2 callersFunctionhandleScheduled
(env: OpenClawEnv)
src/cron/handler.ts:19
↓ 2 callersFunctionisGatewayCrashedError
* Check if an error indicates the gateway process has crashed. * The Sandbox SDK throws this when containerFetch/wsConnect is called * but the targe
src/index.ts:57
↓ 2 callersFunctionscroll
()
skills/cloudflare-browser/scripts/video.js:102
↓ 2 callersFunctiontransformErrorMessage
* Transform error messages from the gateway to be more user-friendly.
src/index.ts:40
↓ 1 callersFunctionapproveAllDevices
()
src/client/api.ts:98
↓ 1 callersFunctionapproveDevice
(requestId: string)
src/client/api.ts:92
↓ 1 callersFunctioncomputeNextRunAtMs
* Compute the next run time for a given schedule (mirrors OpenClaw's computeNextRunAtMs).
src/cron/wake.ts:32
↓ 1 callersFunctioncreateMockProcess
( stdout: string = '', options: { exitCode?: number; stderr?: string; status?: string } = {}, )
src/test-utils.ts:26
↓ 1 callersFunctioncreateSnapshot
( sandbox: Sandbox, bucket: R2Bucket, )
src/persistence.ts:107
↓ 1 callersFunctiondeleteHandle
(bucket: R2Bucket)
src/persistence.ts:36
↓ 1 callersFunctionformatSyncTime
(isoString: string | null)
src/client/pages/AdminPage.tsx:22
↓ 1 callersFunctiongetLastBackupId
(bucket: R2Bucket)
src/persistence.ts:141
↓ 1 callersFunctiongetStorageStatus
()
src/client/api.ts:123
↓ 1 callersFunctionhandleApprove
(requestId: string)
src/client/pages/AdminPage.tsx:96
↓ 1 callersFunctionhandleBrowser
* Browser domain handlers
src/routes/cdp.ts:504
↓ 1 callersFunctionhandleCDPMethod
* Handle a CDP method call
src/routes/cdp.ts:450
↓ 1 callersFunctionhandleDOM
* DOM domain handlers
src/routes/cdp.ts:1016
↓ 1 callersFunctionhandleEmulation
* Emulation domain handlers
src/routes/cdp.ts:1568
↓ 1 callersFunctionhandleFetch
* Fetch domain handlers (request interception)
src/routes/cdp.ts:1698
↓ 1 callersFunctionhandleInput
* Input domain handlers
src/routes/cdp.ts:1340
↓ 1 callersFunctionhandleNetwork
* Network domain handlers
src/routes/cdp.ts:1422
↓ 1 callersFunctionhandlePage
* Page domain handlers
src/routes/cdp.ts:605
↓ 1 callersFunctionhandleRuntime
* Runtime domain handlers
src/routes/cdp.ts:845
↓ 1 callersFunctionhandleTarget
* Target domain handlers
src/routes/cdp.ts:531
↓ 1 callersFunctioninitCDPSession
* Initialize a CDP session for a WebSocket connection
src/routes/cdp.ts:365
↓ 1 callersFunctionlistDevices
()
src/client/api.ts:88
↓ 1 callersFunctionmain
()
skills/cloudflare-browser/scripts/video.js:43
↓ 1 callersFunctionmain
()
skills/cloudflare-browser/scripts/screenshot.js:31
↓ 1 callersFunctionparseEnabledJobs
* Parse the cron store JSON from R2 and return enabled jobs with their next run times.
src/cron/wake.ts:64
↓ 1 callersFunctionrestartGateway
()
src/client/api.ts:110
↓ 1 callersFunctionsendError
* Send a CDP error
src/routes/cdp.ts:1891
↓ 1 callersFunctionsendResponse
* Send a CDP response
src/routes/cdp.ts:1883
↓ 1 callersFunctionserializeNode
(node: Node, currentDepth: number)
src/routes/cdp.ts:1028
↓ 1 callersFunctionsignalRestoreNeeded
(bucket: R2Bucket)
src/persistence.ts:16
↓ 1 callersFunctionstoreHandle
(bucket: R2Bucket, handle: { id: string; dir: string })
src/persistence.ts:32
↓ 1 callersFunctiontriggerSync
()
src/client/api.ts:135
↓ 1 callersFunctionvalidateRequiredEnv
* Validate required environment variables. * Returns an array of missing variable descriptions, or empty array if all are set.
src/index.ts:70
FunctionAdminPage
()
src/client/pages/AdminPage.tsx:48
FunctionApp
()
src/client/App.tsx:4
FunctionButtonSpinner
()
src/client/pages/AdminPage.tsx:18
FunctionclearPersistenceCache
()
src/persistence.ts:22
Functionclick
(selector)
skills/cloudflare-browser/scripts/cdp-client.js:105
Functionclose
()
skills/cloudflare-browser/scripts/cdp-client.js:134
Methodconstructor
(message: string)
src/client/api.ts:59
FunctioncreateClient
(options = {})
skills/cloudflare-browser/scripts/cdp-client.js:18
FunctioncreateMockEnvWithR2
(overrides: Partial<OpenClawEnv> = {})
src/test-utils.ts:17
Functionevaluate
(expression)
skills/cloudflare-browser/scripts/cdp-client.js:96
FunctiongetHTML
()
skills/cloudflare-browser/scripts/cdp-client.js:120
FunctiongetText
()
skills/cloudflare-browser/scripts/cdp-client.js:127
FunctionhandleApproveAll
()
src/client/pages/AdminPage.tsx:113
FunctionhandleRestartGateway
()
src/client/pages/AdminPage.tsx:131
FunctionhandleSync
()
src/client/pages/AdminPage.tsx:157
Functionnavigate
(url, waitMs = 3000)
skills/cloudflare-browser/scripts/cdp-client.js:80
Functionscheduled
(_controller: ScheduledController, env: OpenClawEnv, ctx: ExecutionContext)
src/index.ts:552
Functionscreenshot
(format = 'png')
skills/cloudflare-browser/scripts/cdp-client.js:85
Functionscroll
(y = 300)
skills/cloudflare-browser/scripts/cdp-client.js:100
FunctionsetViewport
(width = 1280, height = 800, scale = 1, mobile = false)
skills/cloudflare-browser/scripts/cdp-client.js:90
FunctionsuppressConsole
()
src/test-utils.ts:92
Functiontype
(selector, text)
skills/cloudflare-browser/scripts/cdp-client.js:111