Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/claude-managed-agents
/ functions
Functions
639 in github.com/cloudflare/claude-managed-agents
⨍
Functions
639
◇
Types & classes
599
↓ 88 callers
Method
json
()
worker-configuration.d.ts:2567
↓ 74 callers
Method
get
( id: string, callback: () => unknown, )
src/egress/handler.ts:31
↓ 62 callers
Method
warn
* The **`console.warn()`** static method outputs a warning message to the console at the 'warning' log level. * * [MDN Reference](https://develo
worker-configuration.d.ts:247
↓ 56 callers
Function
makeEnv
(overrides: Partial<FakeEnv> = {})
tests/helpers.ts:469
↓ 54 callers
Method
log
* The **`console.log()`** static method outputs a message to the console. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console
worker-configuration.d.ts:210
↓ 51 callers
Function
call
(env: FakeEnv, path: string, init?: RequestInit)
tests/api.test.ts:56
↓ 36 callers
Method
error
* The **`console.error()`** static method outputs a message to the console at the 'error' log level. * * [MDN Reference](https://developer.mozil
worker-configuration.d.ts:180
↓ 34 callers
Function
request
(path: string, init?: RequestInit)
frontend/src/api.ts:14
↓ 32 callers
Method
replace
( content: string | ReadableStream | Response, options?: ContentOptions, )
worker-configuration.d.ts:1927
↓ 26 callers
Function
findPolicyForSession
( policies: EgressPolicy[], _sessionId: string, fields: SessionFields = {}, )
src/egress/match.ts:114
↓ 24 callers
Function
makeBaseEnv
(overrides: Record<string, unknown> = {})
tests/cf-tools.test.ts:502
↓ 23 callers
Method
run
(model: string, input: Record<string, unknown>)
src/tools/cf/shared.ts:89
↓ 20 callers
Function
applyEgressPolicy
( request: Request, env: ProxyLoaderEnv, params: PolicyParams | undefined, )
src/egress/handler.ts:127
↓ 19 callers
Method
set
* Set a new stored value
worker-configuration.d.ts:12883
↓ 18 callers
Function
baseRequest
(url: string, init?: RequestInit)
tests/egress.test.ts:69
↓ 16 callers
Method
delete
(keys: string | string[])
worker-configuration.d.ts:2528
↓ 15 callers
Function
formatErr
(error: unknown)
src/helpers.ts:47
↓ 15 callers
Function
policyTemplate
( overrides: Partial<CompiledPolicy> = {}, )
tests/egress.test.ts:71
↓ 14 callers
Function
toErrorMessage
(error: unknown)
src/helpers.ts:36
↓ 14 callers
Function
useToasts
()
frontend/src/toasts.tsx:65
↓ 12 callers
Method
abort
()
worker-configuration.d.ts:2539
↓ 11 callers
Function
anthropic
( env: Env, method: string, path: string, body?: unknown, )
src/anthropic.ts:31
↓ 11 callers
Function
evaluateCfRequires
(req: CfRequires, env: Env)
src/tools/cf/index.ts:85
↓ 11 callers
Method
values
(options?: ReadableStreamValuesOptions)
worker-configuration.d.ts:2794
↓ 10 callers
Function
matchesHost
(pattern: string, hostname: string)
src/egress/match.ts:7
↓ 10 callers
Function
resolveBackend
( env: Env, sessionId: string, )
src/webhooks.ts:140
↓ 10 callers
Function
update
(patch: Partial<EgressPolicy>)
frontend/src/views/EgressView.tsx:404
↓ 9 callers
Function
browserRenderingDeps
(env: Env)
src/tools/cf/shared.ts:134
↓ 9 callers
Function
buildIsolateAgentTools
( enabledNames: ReadonlyArray<string>, env?: Env, vpcAvailable?: boolean, )
src/tools/schemas.ts:313
↓ 9 callers
Function
fetch
( request: Request, env: Env, ctx: ExecutionContext, )
src/index.ts:33
↓ 9 callers
Function
isCustomToolEnabled
(tool: CustomTool, env: Env)
src/tools/custom-tools-runtime.ts:97
↓ 9 callers
Function
resolveSessionPolicy
( env: Env, sessionId: string, )
src/egress/resolve.ts:27
↓ 9 callers
Function
sanitizeJsonSchemaForAnthropic
(node: unknown)
src/tools/custom-tools-runtime.ts:157
↓ 9 callers
Function
useViewNavigate
()
frontend/src/App.tsx:145
↓ 8 callers
Function
extractSessionId
(localPart: string)
src/email-handler.ts:268
↓ 8 callers
Function
fingerprintPolicy
( policy: CompiledPolicy | null, )
src/isolate/policy-fingerprint.ts:14
↓ 8 callers
Function
makeEnv
(overrides: Record<string, unknown> = {})
tests/custom-tools.test.ts:34
↓ 8 callers
Function
recordWebhookEvent
(db: D1Database, event: WebhookEvent)
src/storage.ts:73
↓ 7 callers
Function
defineTool
( def: CustomTool<TSchema>, )
src/tools/custom-tools-runtime.ts:87
↓ 7 callers
Function
detectImageMime
(bytes: Uint8Array)
src/tools/cf/shared.ts:41
↓ 7 callers
Method
exec
( query: string, ...bindings: any[] )
worker-configuration.d.ts:3794
↓ 7 callers
Method
fetch
(req: Request)
src/egress/handler.ts:44
↓ 7 callers
Method
isLive
()
src/microvm/sandbox.ts:174
↓ 7 callers
Function
isolateCapabilitiesFromEnv
(env: Env)
src/tools/schemas.ts:239
↓ 7 callers
Function
matchesAnyHost
(entry: string, hostname: string)
src/egress/match.ts:21
↓ 7 callers
Method
put
( key: string, value: | ReadableStream | ArrayBuffer | ArrayBufferView | strin
worker-configuration.d.ts:2499
↓ 7 callers
Method
readFile
( path: string, )
src/isolate/runner.ts:618
↓ 6 callers
Function
bytesToBase64
(bytes: Uint8Array)
src/helpers.ts:78
↓ 6 callers
Function
ensureAgentPrimaryEmail
( db: D1Database, agentId: string, )
src/storage.ts:516
↓ 6 callers
Function
getAgentBackend
( db: D1Database, agentId: string, )
src/storage.ts:321
↓ 6 callers
Function
getIsolateRunner
(env: Env, sessionId: string)
src/isolate/runner.ts:714
↓ 6 callers
Function
getSessionSandbox
(env: Env, sessionId: string)
src/microvm/sandbox.ts:616
↓ 6 callers
Function
handleEmail
( message: ForwardableEmailMessage, env: Env, )
src/email-handler.ts:482
↓ 6 callers
Function
modelId
( model: string | { id?: string; speed?: string } | null | undefined, )
frontend/src/utils.ts:80
↓ 6 callers
Function
parsePositiveInt
( value: string | undefined, fallback: number, min: number, max: number, )
src/helpers.ts:51
↓ 6 callers
Function
shellQuote
(s: string)
src/microvm/stock-tools.ts:54
↓ 6 callers
Method
text
()
worker-configuration.d.ts:2566
↓ 6 callers
Method
toString
()
worker-configuration.d.ts:663
↓ 6 callers
Function
tool
( name: string, run: (args: T, ctx?: { signal?: AbortSignal }) => Promise<string>, )
src/microvm/stock-tools.ts:71
↓ 6 callers
Function
upsertSession
( db: D1Database, sessionId: string, eventType: string, data?: Record<string, unknown> | null, )
src/storage.ts:85
↓ 5 callers
Function
addRule
(type: EgressRule["type"])
frontend/src/views/EgressView.tsx:432
↓ 5 callers
Function
basePolicy
(overrides: Partial<CompiledPolicy> = {})
tests/policy-fingerprint.test.ts:5
↓ 5 callers
Function
buildMicrovmCustomTools
( enabledNames: ReadonlyArray<string>, env?: Env, vpcAvailable?: boolean, )
src/tools/schemas.ts:457
↓ 5 callers
Function
compilePolicy
( policy: EgressPolicy, resolveSecret: (name: string) => Promise<string | null>, )
src/egress/handler.ts:251
↓ 5 callers
Function
customToolAgentDef
(tool: CustomTool)
src/tools/custom-tools-runtime.ts:176
↓ 5 callers
Function
errStr
(e: unknown)
src/isolate/custom-dispatch.ts:336
↓ 5 callers
Function
fakeRestResponse
( payload: string | Uint8Array, kind: "json" | "binary", )
src/tools/cf/shared.ts:183
↓ 5 callers
Function
makeMessage
( to: string, from: string, raw: string, )
tests/email-handler.test.ts:34
↓ 5 callers
Function
relTime
(iso: string | undefined)
frontend/src/utils.ts:26
↓ 5 callers
Function
resolveAnthropicBaseURL
(env: Env)
src/anthropic.ts:12
↓ 5 callers
Function
resolvePath
(p: unknown)
src/microvm/stock-tools.ts:46
↓ 5 callers
Function
routeTo
(view: View)
frontend/src/routes.ts:44
↓ 5 callers
Function
savePolicy
(env: Env, policy: EgressPolicy)
src/egress/store.ts:43
↓ 5 callers
Function
setAgentBackend
( db: D1Database, agentId: string, backend: AgentBackend, )
src/storage.ts:383
↓ 5 callers
Function
stubFetch
(responder: (call: FetchCall) => Response)
tests/email-handler.test.ts:71
↓ 5 callers
Function
toggleDefaults
(which: AgentBackend, next: boolean)
frontend/src/views/AgentFormView.tsx:82
↓ 5 callers
Function
truncate
(s: string, max = MAX_TEXT_BYTES)
src/tools/cf/shared.ts:26
↓ 4 callers
Method
append
( content: string | ReadableStream | Response, options?: ContentOptions, )
worker-configuration.d.ts:1879
↓ 4 callers
Method
arrayBuffer
()
worker-configuration.d.ts:2564
↓ 4 callers
Function
buildCfCallServiceSchema
(env: Env)
src/tools/cf/vpc.ts:95
↓ 4 callers
Function
callBrowserRendering
( deps: BrowserRenderingDeps, endpoint: "screenshot" | "markdown" | "content" | "scrape" | "snapshot", b
src/tools/cf/shared.ts:309
↓ 4 callers
Function
group
(tag: CfRequires)
src/tools/cf/index.ts:485
↓ 4 callers
Function
isAgentBackend
(value: string | null | undefined)
src/storage.ts:317
↓ 4 callers
Function
truncate
(s: string, max: number)
src/microvm/stock-tools.ts:61
↓ 3 callers
Function
buildCfTools
(deps: CfToolDeps)
src/tools/cf/index.ts:508
↓ 3 callers
Function
cfToolGroups
(env: Env)
src/tools/cf/index.ts:472
↓ 3 callers
Function
claudeSessionUrl
(id: string)
frontend/src/utils.ts:18
↓ 3 callers
Method
clone
* The **`clone()`** method of the Request interface creates a copy of the current `Request` object. * * [MDN Reference](https://developer.mozill
worker-configuration.d.ts:2150
↓ 3 callers
Function
createApiApp
()
src/api/index.ts:240
↓ 3 callers
Function
customToolToBetaRunnable
( tool: CustomTool, env: Env, )
src/tools/custom-tools-runtime.ts:114
↓ 3 callers
Function
emptyMatcher
()
frontend/src/views/EgressView.tsx:90
↓ 3 callers
Function
enabledCustomToolNames
( tools: ReadonlyArray<CustomTool>, env: Env, )
src/tools/custom-tools-runtime.ts:213
↓ 3 callers
Method
ensureStarted
(envVars?: Record<string, string>)
src/microvm/sandbox.ts:344
↓ 3 callers
Function
exec
(sql: string, params: unknown[])
tests/helpers.ts:82
↓ 3 callers
Function
execute
(ctx: Ctx, ev: ToolUseEvent)
src/isolate/custom-dispatch.ts:211
↓ 3 callers
Function
formatBytes
(bytes: number)
frontend/src/components/WorkspaceBrowser.tsx:229
↓ 3 callers
Function
getSessionBackend
( db: D1Database, sessionId: string, )
src/storage.ts:133
↓ 3 callers
Function
hostsFromString
(s: string)
frontend/src/views/EgressView.tsx:705
↓ 3 callers
Function
isolateOnly
(c: Context<{ Bindings: Env }>, backend: AgentBackend)
src/api/index.ts:433
↓ 3 callers
Function
normaliseForMatch
(str)
scripts/ensure-kv.mjs:209
next →
1–100 of 639, ranked by callers