Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kilo-Org/cloud
/ functions
Functions
24,362 in github.com/Kilo-Org/cloud
⨍
Functions
24,362
◇
Types & classes
8,480
↓ 16 callers
Function
unwrap
(result: WlResult<T>, onError?: WlClientConfig['onError'])
packages/wl-sdk/src/client.ts:151
↓ 16 callers
Function
updateAgentBindings
( agentId: string, body: AgentBindingsPutBody, deps: AgentBindingsDeps = defaultDeps, options: AgentCo
services/kiloclaw/controller/src/openclaw-agent-bindings.ts:147
↓ 16 callers
Function
uploadKeysToInventory
( providerId: string, planId: CodingPlanId, rawEntries: string[], options: InventoryUploadOptions = {}
apps/web/src/lib/coding-plans/index.ts:386
↓ 16 callers
Function
validateUserEnvVarName
(name: string)
services/kiloclaw/src/utils/env-encryption.ts:78
↓ 16 callers
Function
wantedBoardErrorToTRPC
Translate a WantedBoardOpError into the matching TRPCError.
services/wasteland/src/trpc/router.ts:112
↓ 16 callers
Function
warnInSentry
(message: string)
apps/web/src/lib/referral.ts:41
↓ 15 callers
Function
Err
(error: E)
services/cloud-agent-next/src/lib/result.ts:26
↓ 15 callers
Method
approveDevicePairingRequest
(requestId: string)
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:1896
↓ 15 callers
Function
assertOk
(resp: Response, context: string)
services/kiloclaw/src/fly/client.ts:62
↓ 15 callers
Function
baseServer
(overrides: Partial<RemoteMcpServer> = {})
apps/extension/entrypoints/sidepanel/remote-mcp-client-connect.test.ts:70
↓ 15 callers
Function
buildSlackIntegration
(overrides: Record<string, unknown> = {})
apps/web/src/lib/integrations/slack-service.test.ts:59
↓ 15 callers
Function
buildSlackMessage
(alert: AlertPayload)
services/o11y/src/alerting/notify.ts:297
↓ 15 callers
Function
buildState
(overrides: Partial<RecommendationState> = {})
apps/web/src/lib/organizations/recommendations.test.ts:6
↓ 15 callers
Function
checkDiskAndCleanBeforeSetup
( sandbox: SandboxInstance, orgId: string | undefined, userId: string, sessionId: string, options: S
services/cloud-agent-next/src/workspace.ts:217
↓ 15 callers
Function
classifyInitiateResponse
( response: Response )
services/webhook-agent-ingest/src/initiate-response.ts:21
↓ 15 callers
Function
computeBurnRate
(badFraction: number, slo: number)
services/o11y/src/alerting/evaluate.ts:28
↓ 15 callers
Function
countEmailLogRows
(userId: string, instanceId: string)
apps/web/src/lib/purchase-emails.test.ts:1022
↓ 15 callers
Function
createEnv
(service: Partial<GitTokenService>)
services/cloud-agent-next/src/services/git-token-service-client.test.ts:33
↓ 15 callers
Function
createFakeStorage
()
services/kiloclaw/src/durable-objects/kiloclaw-app.test.ts:54
↓ 15 callers
Function
createMessageId
(now = Date.now())
services/cloud-agent-next/src/session/message-id.ts:37
↓ 15 callers
Function
createOpts
(overrides: Partial<AutoCommitOptions> = {})
services/cloud-agent-next/test/unit/wrapper/auto-commit.test.ts:65
↓ 15 callers
Function
createPreviewStream
(opts: CreatePreviewStreamOptions)
services/kiloclaw/plugins/kilo-chat/src/preview-stream.ts:59
↓ 15 callers
Function
createState
()
services/kiloclaw/src/durable-objects/kiloclaw-registry.test.ts:119
↓ 15 callers
Function
createUserWithBalance
(microdollars: number)
apps/web/src/lib/coding-plans/index.test.ts:51
↓ 15 callers
Method
deleteAlarm
(options?: DurableObjectSetAlarmOptions)
services/ai-attribution/worker-configuration.d.ts:639
↓ 15 callers
Function
deriveGatewayToken
(sandboxId: string, secret: string)
services/kilo-chat/src/lib/gateway-token.ts:36
↓ 15 callers
Function
detectGitPlatform
(gitUrl: string | null | undefined)
apps/web/src/components/cloud-agent-next/utils/git-utils.ts:113
↓ 15 callers
Function
encryptToken
(plaintext: string, key: CryptoKey)
services/wasteland/src/util/crypto.util.ts:25
↓ 15 callers
Function
enqueueImpactSaleReversalForCharge
( params: EnqueueImpactSaleReversalForChargeParams )
apps/web/src/lib/impact/affiliate-events.ts:983
↓ 15 callers
Method
ensureOwnerKey
* Store the owner key on first call. Subsequent calls validate consistency. * Every public method receives ownerKey as its first argument; this met
services/kiloclaw/src/durable-objects/kiloclaw-registry.ts:112
↓ 15 callers
Function
entry
(imageTag: string, rolloutPercent: number, isLatest = false)
services/kiloclaw/src/lib/version-rollout.test.ts:29
↓ 15 callers
Function
evaluateDispatchHealth
( database: DispatchHealthDb, referenceTime?: Date )
apps/web/src/lib/cloud-agent/dispatch-health/detector.ts:42
↓ 15 callers
Function
failStartup
(message: string)
services/cloud-agent-next/wrapper/src/main.ts:66
↓ 15 callers
Function
fixtureName
(label: string)
services/deploy-infra/builder/test-postgres/src/html-deploy-repository.postgres.test.ts:21
↓ 15 callers
Function
flyFetch
( config: FlyClientConfig, path: string, init?: RequestInit )
services/kiloclaw/src/fly/client.ts:45
↓ 15 callers
Function
forceImmediateExpirationRecomputation
(kiloUserId: string)
apps/web/src/lib/balanceCache.ts:6
↓ 15 callers
Function
formatDate
(date: Date | string)
apps/web/src/lib/admin-utils.ts:28
↓ 15 callers
Function
formatDateLabel
(date: string | null, fallback: string = '—')
apps/web/src/components/subscriptions/helpers.ts:172
↓ 15 callers
Function
formatFileSize
(bytes: number)
packages/kilo-chat/src/utils.ts:14
↓ 15 callers
Function
formatRelativeTime
(timestamp: string | null)
apps/web/src/app/admin/components/KiloclawInstances/shared.tsx:25
↓ 15 callers
Method
getAgent
* Read one agent's normalized config. Returns an error envelope for an unknown * id (`agent_not_found`) or a missing capability (`capability_unavai
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:3955
↓ 15 callers
Function
getFlyProviderState
( source: Pick< InstanceMutableState, 'providerState' | 'flyAppName' | 'flyMachineId' | 'flyVolumeId
services/kiloclaw/src/durable-objects/kiloclaw-instance/state.ts:37
↓ 15 callers
Function
getKiloChatEventPayloadSchema
( event: N )
packages/kilo-chat/src/events.ts:178
↓ 15 callers
Function
getMostRecentSeatPurchase
( organizationId: Organization['id'] )
apps/web/src/lib/organizations/organization-seats.ts:72
↓ 15 callers
Function
getObjectProperty
(record: Record<string, unknown>, key: string)
apps/web/src/lib/impact/index.ts:298
↓ 15 callers
Function
getSandboxNamespace
( env: SandboxNamespaceEnv, sandboxId: string, options: SandboxNamespaceOptions = {} )
services/cloud-agent-next/src/sandbox-id.ts:89
↓ 15 callers
Function
getSecurityFindingById
(db: WorkerDb, findingId: string)
services/security-auto-analysis/src/db/queries.ts:687
↓ 15 callers
Function
hoursAgo
(hours: number)
apps/web/src/lib/kiloclaw/setup-promo.test.ts:11
↓ 15 callers
Function
importModule
()
apps/web/src/lib/github/open-pull-request-counts.test.ts:17
↓ 15 callers
Function
inIpv4Cidr
(address: string, base: string, prefix: number)
packages/mcp-gateway/src/ip.ts:16
↓ 15 callers
Function
insertBitbucketIntegration
(providerScopes = BITBUCKET_REQUIRED_SCOPES)
apps/web/src/routers/code-reviews-router.test.ts:512
↓ 15 callers
Function
insertKiloPassSubscription
(params: { userId: string; tier?: KiloPassTier; cadence?: KiloPassCadence; stripeSubscriptionId?: stri
apps/web/src/lib/impact/kilo-pass-referrals.test.ts:142
↓ 15 callers
Function
isCloudflareIP
(ip: string)
apps/web/src/lib/cloudflare-ip.ts:119
↓ 15 callers
Function
isRecord
(value: unknown)
services/kiloclaw/plugins/kiloclaw-customizer/src/kilo-exa-web-search-provider.ts:66
↓ 15 callers
Method
listDevicePairingRequests
(forceRefresh = false)
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:1891
↓ 15 callers
Function
listener
apps/web/src/hooks/useEventListener/useEventListener.ts:104
↓ 15 callers
Function
makeDbFakes
()
services/session-ingest/src/routes/api.test.ts:65
↓ 15 callers
Function
makeEnv
()
services/kilo-chat/src/__tests__/sandbox-read-routes.test.ts:34
↓ 15 callers
Function
makeGoogleConnection
(encryptionKey: string, overrides?: Record<string, unknown>)
services/kiloclaw/src/routes/controller.test.ts:153
↓ 15 callers
Function
makeRequest
(body: { session_id?: string; blob_type?: string; content_length?: number })
apps/web/src/app/api/upload-cli-session-blob-v2/route.test.ts:18
↓ 15 callers
Function
makeSnapshot
(diffs: Array<{ file: string; after: string; status: string }>)
services/cloud-agent-next/wrapper/src/restore-session.test.ts:18
↓ 15 callers
Function
makeTestEnv
()
services/session-ingest/src/routes/api.test.ts:47
↓ 15 callers
Function
makeUpstreamResponse
(body: unknown, headers?: Record<string, string>, status = 200)
apps/web/src/app/api/exa/[...path]/route.test.ts:69
↓ 15 callers
Function
mockDirent
(name: string, isDir: boolean, isSymlink = false)
services/kiloclaw/controller/src/routes/files.test.ts:46
↓ 15 callers
Function
mutateUserSubscriptionWithChangeLog
(params: { subscriptionId: string; userId: string; action: Parameters<typeof insertUserSubscriptionChang
apps/web/src/routers/kiloclaw-router.ts:205
↓ 15 callers
Function
numberValue
(value: unknown)
services/auto-routing/src/admin-classifier-analytics.ts:90
↓ 15 callers
Function
openConnection
( manager: ReturnType<typeof createConnectionManager> )
services/cloud-agent-next/test/unit/wrapper/snapshot.test.ts:171
↓ 15 callers
Method
persistProviderResult
(result: ProviderResult)
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:444
↓ 15 callers
Function
pickModelExperimentVariant
( input: PickVariantInput )
apps/web/src/lib/ai-gateway/experiments/pick-variant.ts:190
↓ 15 callers
Function
recordAffiliateAttributionAndQueueParentEvent
( params: RecordAffiliateAttributionAndQueueParentParams )
apps/web/src/lib/impact/affiliate-events.ts:821
↓ 15 callers
Function
requestJson
( config: NorthflankClientConfig, path: string, init: RequestInit | undefined, schema: z.ZodType<T>,
services/kiloclaw/src/northflank/client.ts:163
↓ 15 callers
Function
requireActiveSubscriptionOrTrial
( organizationId: string )
apps/web/src/lib/organizations/trial-middleware.ts:27
↓ 15 callers
Function
restoreEnvironmentVariable
(name: string, value: string | undefined)
apps/web/src/lib/email-mailgun.test.ts:47
↓ 15 callers
Function
reviewValues
( userId: string, status: ReviewStatus, overrides: Partial<CodeReviewInsert> = {} )
apps/web/src/routers/code-reviews-router.test.ts:118
↓ 15 callers
Function
selectSort
(key: RepositorySortKey)
apps/web/src/components/code-reviews/analytics/AnalyticsTables.tsx:180
↓ 15 callers
Function
sendRaw
(event: CloudAgentEvent)
apps/web/src/lib/cloud-agent-sdk/cloud-agent-transport.test.ts:59
↓ 15 callers
Method
serializeAttachment
(attachment: any)
services/ai-attribution/worker-configuration.d.ts:3371
↓ 15 callers
Function
serializeSessionMetadata
(metadata: SessionMetadata)
services/cloud-agent-next/src/persistence/session-metadata.ts:439
↓ 15 callers
Function
setup
(suffix: string, testEnv: Env = env)
services/kilo-chat/src/__tests__/reactions-routes.test.ts:41
↓ 15 callers
Function
timingSafeEqual
(left: string, right: string)
services/security-sync/src/index.ts:183
↓ 15 callers
Method
unhookBead
(agentId: string)
services/gastown/src/dos/Town.do.ts:1708
↓ 15 callers
Function
updateToolsMdSection
( enabled: boolean, config: ToolsMdSectionConfig, deps: BootstrapDeps )
services/kiloclaw/controller/src/bootstrap.ts:1105
↓ 15 callers
Function
useDrawerStack
()
apps/web/src/components/drawer/DrawerStack.tsx:83
↓ 15 callers
Function
useProfileMutations
(options: UseProfileMutationsOptions = {})
apps/web/src/hooks/useCloudAgentProfiles.ts:173
↓ 15 callers
Function
validateAuthorizationHeader
(headers: Headers)
apps/web/src/lib/tokens.ts:130
↓ 15 callers
Function
validateBalanceOnly
( token: string, orgId: string | undefined, env: Env )
services/cloud-agent-next/src/balance-validation.ts:25
↓ 15 callers
Function
validateFeatureHeader
(headerValue: string | null)
apps/web/src/lib/feature-detection.ts:46
↓ 15 callers
Function
waitForTargetTab
(driver: WebDriver, text: string)
apps/extension/tests/e2e/firefox-selenium-e2e.ts:865
↓ 14 callers
Function
POST
(req: NextRequest)
apps/web/src/app/api/internal/kiloclaw/scheduled-action-side-effects/route.ts:141
↓ 14 callers
Function
acceptStripeDisputeCase
(params: { caseId: string; actor: AdminActor; })
apps/web/src/lib/stripe/disputes.ts:1197
↓ 14 callers
Function
applyProviderState
( s: Pick< InstanceMutableState, 'provider' | 'providerState' | 'flyAppName' | 'flyMachineId' | 'fly
services/kiloclaw/src/durable-objects/kiloclaw-instance/state.ts:68
↓ 14 callers
Function
basicCredential
(password: string, scheme = 'Basic', username = 'x-access-token')
services/cloud-agent-next/src/sandbox-outbound.test.ts:47
↓ 14 callers
Function
bootstrapProvisionSubscription
( env: BillingWorkerEnv, input: BootstrapProvisionInput )
services/kiloclaw-billing/src/bootstrap.ts:14
↓ 14 callers
Function
buildBitbucketWorkspaceAccessTokenAad
( input: BitbucketWorkspaceAccessTokenAadInput )
packages/worker-utils/src/bitbucket-workspace-access-token.ts:45
↓ 14 callers
Function
buildConfiguredSecrets
* Derive per-entry configured status from the catalog. * * Checks both `encryptedSecrets` (new path) and legacy `channels` storage * so that instan
services/kiloclaw/src/routes/kiloclaw.ts:101
↓ 14 callers
Function
buildPolecatSystemPrompt
(params: { agentName: string; rigId: string; townId: string; identity: string; gates: string[]; /*
services/gastown/src/prompts/polecat-system.prompt.ts:10
↓ 14 callers
Function
buildTestContent
* Build a test fixture that mirrors the seeded DB content. * * Tests used to rely on module-level hardcoded maps in report-generator.ts. * Now that
apps/web/src/lib/shell-security/__tests__/report-generator.test.ts:16
↓ 14 callers
Function
clearMarkReadRetry
(state: MarkReadRetryState)
packages/kilo-chat-hooks/src/mark-read-state.ts:48
↓ 14 callers
Function
cloudAgentId
Cast a plain string to CloudAgentSessionId in tests.
apps/web/src/lib/cloud-agent-sdk/test-helpers.ts:21
↓ 14 callers
Function
createDeps
(overrides: Partial<AgentRouteDeps> = {})
services/kiloclaw/controller/src/routes/config-agents.test.ts:31
← previous
next →
1,001–1,100 of 24,362, ranked by callers