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
↓ 10 callers
Function
setState
(newState: ConnectionState)
apps/web/src/lib/cloud-agent-next/websocket-manager.ts:105
↓ 10 callers
Function
setToken
(key: string, value: string)
apps/web/src/app/(app)/claw/components/SecretEntrySection.tsx:66
↓ 10 callers
Function
setUserAuth
(id = 'user-123')
apps/web/src/app/api/shell-security/analyze/route.test.ts:106
↓ 10 callers
Function
shouldSendSubscriptionStartedEmailForActivation
( beforeStatus: string | null )
apps/web/src/lib/kiloclaw/credit-billing.ts:932
↓ 10 callers
Function
shouldSuppress
( kv: KVNamespace, severity: AlertSeverity, alertType: string, provider: string, model: string, cl
services/o11y/src/alerting/dedup.ts:32
↓ 10 callers
Function
signInWithLocalDeviceAuth
({ context, extensionId, sidePanel, }: { context: BrowserContext; extensionId: string; sidePanel:
apps/extension/tests/e2e/local-backend-live.test.ts:178
↓ 10 callers
Function
signedAuthCookie
()
services/kiloclaw/src/routes/access-gateway.test.ts:44
↓ 10 callers
Function
signedGitHubRequest
(eventType: string, payload: unknown)
apps/web/src/lib/integrations/platforms/github/webhook-handler.test.ts:76
↓ 10 callers
Function
startWatchRenewal
(account: string, spawn: SpawnFn = defaultSpawn)
services/kiloclaw/controller/src/gmail-watch-renewal.ts:28
↓ 10 callers
Function
statefulDeps
( initial: CliBinding[], opts: FakeOpts = {} )
services/kiloclaw/controller/src/openclaw-agent-bindings.test.ts:72
↓ 10 callers
Function
storeBitbucketIntegration
(input: StoreBitbucketIntegrationInput)
apps/web/src/lib/integrations/platforms/bitbucket/credentials.ts:94
↓ 10 callers
Function
stubFetch
(response: Response | (() => Response))
services/security-sync/src/sync.test.ts:75
↓ 10 callers
Function
summaryWithLatency
( model: string, accuracy: number, avgCostUsd: number | null, p95: number | null = 90 )
services/auto-routing-benchmark/src/run.test.ts:342
↓ 10 callers
Function
syncOwner
(params: { db: WorkerDb; gitTokenService: GitTokenService; owner: SecurityReviewOwner; runId: string;
services/security-sync/src/sync.ts:1604
↓ 10 callers
Function
temporarilyUnavailable
(reason: string)
services/git-token-service/src/bitbucket-workspace-access-token-authorization-service.ts:375
↓ 10 callers
Function
timestampsEqual
( left: string | Date | null | undefined, right: string | Date | null | undefined )
apps/web/src/lib/kiloclaw/commit-retirement.ts:593
↓ 10 callers
Function
toInsertableDbUsageRecord
( usageStats: MicrodollarUsageStats, usageContextInfo: UsageContextInfo )
apps/web/src/lib/ai-gateway/processUsage.ts:181
↓ 10 callers
Function
toOwner
(owner: SecurityReviewOwner)
apps/web/src/lib/security-agent/db/security-findings.ts:28
↓ 10 callers
Function
transitionAnalysisStartLifecycle
( db: WorkerDb, params: { claim: AnalysisStartLifecycleClaim; outcome: AnalysisStartLifecycleOutco
services/security-auto-analysis/src/analysis-start-lifecycle.ts:338
↓ 10 callers
Function
truncate
(text: string, maxLen: number)
apps/web/src/lib/bot/platforms/shared.ts:15
↓ 10 callers
Function
unavailableIssue
(message: string)
services/kiloclaw/controller/src/openclaw-config-validation.ts:138
↓ 10 callers
Function
unbracedUuid
(value: string)
services/cloud-agent-next/wrapper/src/bitbucket-review-cli.test.ts:21
↓ 10 callers
Function
unprefixKiloGatewayModelId
(model: string)
packages/worker-utils/src/kilo-model-id.ts:4
↓ 10 callers
Method
updateBead
* Partially update a bead's editable fields. * Only fields explicitly provided are updated (partial update semantics). * Writes a `fields_update
services/gastown/src/dos/Town.do.ts:1422
↓ 10 callers
Function
updateCodeReviewAttemptForCallback
( params: AttemptCallbackFields )
apps/web/src/lib/code-reviews/db/code-reviews.ts:665
↓ 10 callers
Method
updateStatus
* Update review status locally and in Next.js DB
services/code-review-infra/src/code-review-orchestrator.ts:652
↓ 10 callers
Function
useIsKiloAdmin
()
apps/web/src/components/organizations/OrganizationContext.tsx:24
↓ 10 callers
Function
useKiloClawMutations
(organizationId?: string | null)
apps/mobile/src/lib/hooks/use-kiloclaw-mutations.ts:47
↓ 10 callers
Function
useKiloClawStatus
(options?: { enabled?: boolean })
apps/web/src/hooks/useKiloClaw.ts:6
↓ 10 callers
Function
validateKiloSdkMessagesCursor
(cursor: string)
packages/session-ingest-contracts/src/rpc-contract.ts:596
↓ 10 callers
Function
validateKiloToken
( token: string, secret: string, expectedEnv: string | undefined )
services/kiloclaw/src/auth/jwt.ts:15
↓ 10 callers
Function
validateOidcToken
( authHeader: string | null | undefined, expectedAudience: string, allowedEmail: string )
services/gmail-push/src/auth/oidc.ts:17
↓ 10 callers
Function
verifyGitLabOAuthState
(state: string | null)
apps/web/src/lib/integrations/platforms/gitlab/oauth-state.ts:44
↓ 10 callers
Function
volumeNameFromSandboxId
(sandboxId: string)
services/kiloclaw/src/durable-objects/machine-config.ts:118
↓ 10 callers
Function
withKiloPassTestUser
( testFn: (params: { userId: string }) => Promise<void> )
packages/db/src/schema.test.ts:21
↓ 10 callers
Method
workspaceSetupFailed
* Create a retryable error for workspace setup failures.
services/cloud-agent-next/src/execution/errors.ts:76
↓ 10 callers
Function
wrapSdkError
Map any SDK error (or WlError) into a {@link WantedBoardOpError}.
services/wasteland/src/wanted-board/wanted-board-ops-sdk-inner.ts:71
↓ 10 callers
Method
writeFile
(filePath: string, content: string, etag?: string)
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:4033
↓ 9 callers
Method
#ctx
()
packages/wl-sdk/src/client.ts:195
↓ 9 callers
Function
GET
(request: NextRequest)
apps/web/src/app/linear/link/route.ts:46
↓ 9 callers
Method
acquireLease
* Try to acquire a lease for an execution. * Used by queue consumers for idempotent processing. * * @param executionId - ID of the execution
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:2970
↓ 9 callers
Function
addTerminalTab
(state: WorkspaceTabsState, terminalId: string)
apps/web/src/components/cloud-agent-next/terminal-tabs.ts:38
↓ 9 callers
Method
address
()
services/ai-attribution/worker-configuration.d.ts:10824
↓ 9 callers
Method
admitPreparedInitialMessage
( request: LegacyRegisteredInitialAdmissionRequest )
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:3028
↓ 9 callers
Method
answerPermission
* Answer a permission request.
services/cloud-agent-next/src/kilo/wrapper-client.ts:1067
↓ 9 callers
Function
applyMutation
(opts: ApplyMutationOptions)
packages/wl-sdk/src/ops/mutate.ts:67
↓ 9 callers
Method
applyPostCommit
* Combined post-commit update for a single message. Always updates * `last_activity_at`; optionally updates `conversation_title` and * `last_rea
services/kilo-chat/src/do/membership-do.ts:183
↓ 9 callers
Function
approveDeviceAuthRequest
(code: string, userId: string)
apps/web/src/lib/device-auth/device-auth.ts:97
↓ 9 callers
Function
asEnv
(value: Record<string, string>)
services/kiloclaw/controller/src/startup.test.ts:10
↓ 9 callers
Function
assertBitbucketRepositoryAccessBeforeSessionCreation
(input: { env: PersistenceEnv; userId: string; orgId?: string; repository: SessionRepositoryRequest; }
services/cloud-agent-next/src/session/validate-repository-access.ts:9
↓ 9 callers
Function
assertNotDetachedHead
(dir: string, expectedBranch = 'main')
services/app-builder/src/_integration_tests/git-test-helpers.ts:276
↓ 9 callers
Function
attachmentUrlQueryOptions
( client: KiloChatClient, conversationId: string | null, attachmentId: string | null, options: { enabl
packages/kilo-chat-hooks/src/use-attachment-url.ts:18
↓ 9 callers
Function
balanceOf
(org: { total_microdollars_acquired: number; microdollars_used: number })
apps/web/src/routers/organizations/organization-funds-router.test.ts:40
↓ 9 callers
Function
baseEnv
(stub: Record<string, unknown>)
services/kiloclaw/src/routes/platform-morning-briefing.test.ts:9
↓ 9 callers
Method
beginDeliveryAcknowledgement
()
services/cloud-agent-next/wrapper/src/state.ts:227
↓ 9 callers
Function
bigIntToNumber
(value: unknown)
apps/web/src/app/admin/api/free-model-usage/stats/route.ts:84
↓ 9 callers
Function
browse
(opts: BrowseOptions)
packages/wl-sdk/src/ops/browse.ts:183
↓ 9 callers
Function
buildBaseConditions
(input: FilterInput)
apps/web/src/routers/admin-code-reviews-router.ts:211
↓ 9 callers
Function
buildClaim
(beads: ReporterBead[])
services/gastown/src/dos/town/wasteland-reporter.test.ts:86
↓ 9 callers
Function
buildDiscordApiUrl
( pathSegments: string[], query?: Record<string, string | number> )
apps/web/src/lib/discord-bot/discord-id.ts:16
↓ 9 callers
Function
buildIntegration
( userId: string, input: { githubAppType?: PlatformIntegration['github_app_type'] } = {} )
apps/web/src/lib/code-reviews/review-memory/github-feedback.test.ts:298
↓ 9 callers
Function
buildMessageActionAvailability
( message: Message, isOwn: boolean )
packages/kilo-chat/src/message-action-availability.ts:11
↓ 9 callers
Function
buildSalePayload
( params: ImpactSaleFields & { eventDate: Date } )
apps/web/src/lib/impact/index.ts:267
↓ 9 callers
Function
callbackPayload
(record: { body: unknown })
services/cloud-agent-next/test/e2e/lifecycle.ts:1541
↓ 9 callers
Function
canSubmitMessageInputContent
({ text, readyAttachmentBlocks = [], hasUploadingAttachment = false, hasFailedAttachment = false, }: M
apps/mobile/src/components/kilo-chat/message-input-state.ts:34
↓ 9 callers
Function
cancelCliRun
(params: { runId: string; userId: string; instanceId: string | null; workerInstanceId?: string; getC
apps/web/src/lib/kiloclaw/cli-runs.ts:172
↓ 9 callers
Function
cancelNotification
( db: WorkerDb, notificationId: string, reason: string )
services/security-sync/src/notifications/sweep.ts:647
↓ 9 callers
Function
classifyAnalysisCallback
( finding: CallbackFindingState, payload: SecurityAnalysisCallbackPayload, attempt?: { expected: string;
services/security-auto-analysis/src/callbacks.ts:61
↓ 9 callers
Function
classifyKiloCapabilityRequest
( requestUrl: string, targets: KiloSessionCapabilityTargets, kiloSessionId: string )
services/git-token-service/src/kilo-capability-policy.ts:116
↓ 9 callers
Function
classifyOrganizationEntitlement
({ organization, latestSeatPurchaseStatus, now, }: OrganizationEntitlementInput)
packages/organization-entitlement/src/classification.ts:8
↓ 9 callers
Function
commitAll
(dir: string, message: string)
services/app-builder/src/_integration_tests/git-test-helpers.ts:206
↓ 9 callers
Method
completeReviewWithResult
(input: { entry_id: string; status: 'merged' | 'failed' | 'conflict'; message?: string; commit
services/gastown/src/dos/Town.do.ts:2070
↓ 9 callers
Function
computeSessionMetadataUpdates
( mergedChanges: Map<string, string | null>, now: () => string = () => new Date().toISOString() )
services/session-ingest/src/queue-consumer.ts:419
↓ 9 callers
Function
configuredValue
(value: string | null | undefined)
apps/web/src/lib/impact/advocate.ts:212
↓ 9 callers
Function
connectWebSocket
(doInstance: UserConnectionDO, connectionId: string)
services/session-ingest/src/dos/UserConnectionDO.test.ts:130
↓ 9 callers
Function
contentBlocksPreviewText
(content: Array<PreviewBlock>)
packages/kilo-chat/src/utils.ts:125
↓ 9 callers
Function
createActiveReview
( user: User, platformIntegrationId: string, headSha: string )
apps/web/src/lib/code-reviews/db/code-reviews.test.ts:414
↓ 9 callers
Function
createAgentSandbox
(env: Env, metadata: SessionMetadata)
services/cloud-agent-next/src/agent-sandbox/factory.ts:6
↓ 9 callers
Function
createApp
( config: FlyAppConfig, appName: string, orgSlug: string, userId: string, userIdMetadataKey: string
services/kiloclaw/src/fly/apps.ts:126
↓ 9 callers
Function
createCallerForUser
(userId: string)
apps/web/src/routers/mcp-gateway-router.test.ts:18
↓ 9 callers
Function
createContext
(metadata = createMetadata())
services/cloud-agent-next/src/session/session-message-queue.test.ts:112
↓ 9 callers
Function
createDependencies
(options: { integrations?: AuthorizedGitLabIntegration[] } = {})
services/git-token-service/src/index.test.ts:173
↓ 9 callers
Function
createFakeDb
(options: FakeDbOptions = {})
services/security-sync/src/sync.test.ts:20
↓ 9 callers
Function
createFakeStorage
()
services/cloud-agent-next/src/session/message-result.test.ts:19
↓ 9 callers
Function
createFixtureOrganization
()
apps/web/src/lib/organizations/onboarding-checklist.db.test.ts:17
↓ 9 callers
Function
createGitTokenService
()
services/security-sync/src/sync.test.ts:71
↓ 9 callers
Function
createMagicLinkToken
( email: string, expiresInMinutes: number = 30 )
apps/web/src/lib/auth/magic-link-tokens.ts:31
↓ 9 callers
Function
createMockFinding
(overrides: Partial<MockFinding> = {})
apps/web/src/lib/security-agent/services/triage-service.test.ts:30
↓ 9 callers
Function
createParams
(retrySandboxOnly: boolean, cloudAgentFetch: typeof fetch, db: unknown = {})
services/security-auto-analysis/src/launch.test.ts:126
↓ 9 callers
Function
createSessionStore
(initialMessages: TMessage[])
apps/web/src/components/app-builder/project-manager/sessions/session-store.ts:31
↓ 9 callers
Function
createStoredAssistantMessage
( messageId: string, sessionID: string, overrides: Partial<AssistantMessage> = {} )
apps/web/src/lib/cloud-agent-sdk/session-manager.test.ts:218
↓ 9 callers
Function
createSubscription
( balance = COST_MICRODOLLARS, autoTopUpEnabled = false, planId: CodingPlanId = PLAN_ID )
apps/web/src/lib/coding-plans/billing-lifecycle-cron.test.ts:29
↓ 9 callers
Function
createTRPCContext
()
apps/web/src/lib/trpc/init.ts:18
↓ 9 callers
Function
createWebhookAnchor
(params?: { plan?: 'trial' | 'standard' | 'commit'; status?: 'trialing' | 'active' | 'canceled'; d
apps/web/src/routers/kiloclaw-billing-router.test.ts:3516
↓ 9 callers
Function
createWorkspaceTabsState
()
apps/web/src/components/cloud-agent-next/terminal-tabs.ts:26
↓ 9 callers
Function
daysAgo
(n: number)
apps/web/src/routers/admin-kiloclaw-instances-router.test.ts:3334
↓ 9 callers
Method
debugTownEvents
()
services/gastown/src/dos/Town.do.ts:5713
↓ 9 callers
Function
defineTestUser
(userData: Partial<User> = {})
apps/web/src/tests/helpers/user.helper.ts:6
↓ 9 callers
Function
deletePendingSessionMessageByMessageId
( storage: SessionQueueStorage, messageId: string )
services/cloud-agent-next/src/session/pending-messages.ts:589
↓ 9 callers
Function
deliverToBot
( env: Env, msg: WebhookMessage, convContext?: { humanMemberIds: string[]; sandboxId: string | null } )
services/kilo-chat/src/webhook/deliver.ts:75
← previous
next →
1,901–2,000 of 24,362, ranked by callers