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
↓ 6 callers
Function
navigate
(screen: OrganizationOnboardingScreen)
apps/web/src/components/organizations/welcome/OrganizationSetupWizard.tsx:219
↓ 6 callers
Function
nonNegative
(value: number)
services/session-ingest/src/dos/session-metrics.ts:150
↓ 6 callers
Function
normalizeBitbucketUuid
(value: string | null)
apps/web/src/app/api/webhooks/bitbucket/[integrationId]/route.ts:136
↓ 6 callers
Function
normalizeGroups
(groups: Array<string | ['edit', EditGroupConfig]>)
apps/web/src/components/organizations/custom-modes/ModeForm.tsx:68
↓ 6 callers
Function
normalizeLinearIssues
(payload: unknown)
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/linear-utils.ts:41
↓ 6 callers
Function
normalizeStoredConversations
({ defaultEvents = [], legacyEvents, store, }: { readonly defaultEvents?: AgentConversationEvent[];
apps/extension/src/shared/agent-conversation-tabs.ts:361
↓ 6 callers
Function
normalizeStringEnum
(value: unknown, valuesByToken: Map<string, string>)
packages/auto-routing-contracts/src/classifier/output.ts:203
↓ 6 callers
Function
normalizeTimestamp
(value: string | null | undefined)
packages/worker-utils/src/security-remediation-policy.ts:159
↓ 6 callers
Function
notifyReplacingConnection
(expectedGeneration = generation)
apps/web/src/lib/cloud-agent-sdk/base-connection.ts:101
↓ 6 callers
Function
notifyUserSessionEvent
( env: Env, kiloUserId: string, event: SessionEventPayload, ctx?: { waitUntil(promise: Promise<unknown
services/session-ingest/src/session-events.ts:48
↓ 6 callers
Function
now
()
services/gastown/src/dos/town/review-queue.ts:36
↓ 6 callers
Function
okResponse
(data: ListResponse['data'])
apps/web/src/lib/integrations/platforms/github/fetch-pull-request-for-branch.test.ts:42
↓ 6 callers
Function
onError
(error: { message: string })
apps/web/src/lib/hooks/use-model-preferences.ts:8
↓ 6 callers
Function
onSubmit
(e: React.FormEvent)
apps/web/src/components/auto-triage/AdminTestingCard.tsx:63
↓ 6 callers
Function
openConnection
( manager: ReturnType<typeof createConnectionManager> )
services/cloud-agent-next/test/unit/wrapper/network-resume.test.ts:168
↓ 6 callers
Function
ownerKey
(owner: SecurityNotificationOwner)
services/security-sync/src/notifications/sweep.ts:164
↓ 6 callers
Function
parse
(name: string, raw: unknown)
apps/web/src/lib/posthog-query.ts:66
↓ 6 callers
Function
parseCodeReviewPlatform
(platform: string)
apps/web/src/app/api/internal/code-review-status/[reviewId]/route.ts:162
↓ 6 callers
Function
parseDfOutput
(raw: string)
services/kiloclaw/controller/src/checkin.ts:99
↓ 6 callers
Function
parseDolthubUpstream
( upstream: string | null | undefined )
apps/web/src/lib/wasteland/upstream.ts:8
↓ 6 callers
Function
parseEditUsageFromResponse
( response: string, provider: ProviderId, statusCode: number )
apps/web/src/lib/ai-gateway/llm-proxy-helpers.ts:813
↓ 6 callers
Method
parseExecError
( result: { exitCode: number; stdout: string; stderr: string }, method: string, path: string,
services/cloud-agent-next/src/kilo/client.ts:308
↓ 6 callers
Function
parseImpactReferralTouchFromUrl
( candidateUrl: string | URL, now: Date = new Date() )
apps/web/src/lib/impact/referral-utils.ts:154
↓ 6 callers
Function
parseMessageId
(c: HonoCtx)
services/kilo-chat/src/routes/handler.ts:87
↓ 6 callers
Function
parseMicrodollarUsageFromStream
( stream: ReadableStream, kiloUserId: string, openrouterRequestSpan: Span | undefined, provider: Provi
apps/web/src/lib/ai-gateway/processUsage.ts:767
↓ 6 callers
Function
parseOpenclawVersion
(raw: string)
services/kiloclaw/controller/src/openclaw-version.ts:7
↓ 6 callers
Method
parsePktLines
* Parse pkt-line format data from git client
services/app-builder/src/git/git-receive-pack-service.ts:106
↓ 6 callers
Function
parseStoredContent
* Parses stored message content JSON. Content was validated by Zod at write * time (route handler → createMessage/editMessage), so we trust the store
services/kilo-chat/src/do/conversation-do.ts:26
↓ 6 callers
Function
parseTranscriptionUsageFromResponse
( responseText: string, statusCode: number, requestedModel: string )
apps/web/src/lib/ai-gateway/llm-proxy-helpers.ts:965
↓ 6 callers
Function
parseUpOutcome
(stdout: string)
services/cloud-agent-next/src/kilo/devcontainer.ts:844
↓ 6 callers
Function
pepperFor
Helper: pepper value the mock DB returns for a given userId
services/kiloclaw/src/auth/middleware.test.ts:28
↓ 6 callers
Function
persistCliRunControllerStatus
( params: PersistCliRunControllerStatusParams )
apps/web/src/lib/kiloclaw/cli-runs.ts:52
↓ 6 callers
Function
personalDestructionCandidateRow
(overrides: Partial<Record<string, unknown>> = {})
services/kiloclaw-billing/src/lifecycle.test.ts:401
↓ 6 callers
Function
pluralize
(count: number, singular: string, plural = `${singular}s`)
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/chat-summary-utils.ts:168
↓ 6 callers
Function
postCommitFanOut
( env: Env, info: ConversationInfo, callerId: string, conversationId: string, messageId: string, c
services/kilo-chat/src/services/messages.ts:130
↓ 6 callers
Function
postIssueComment
(params: PostIssueCommentParams)
apps/web/src/lib/auto-fix/github/post-comment.ts:25
↓ 6 callers
Function
proposalOwnerConditions
(owner: ReviewMemoryOwner)
apps/web/src/lib/code-reviews/review-memory/db.ts:451
↓ 6 callers
Function
providersAndModelsAllowListsReducer
( state: ProvidersAndModelsAllowListsState, action: ProvidersAndModelsAllowListsAction )
apps/web/src/components/organizations/providers-and-models/useProvidersAndModelsAllowListsState.ts:125
↓ 6 callers
Function
proxyToContainer
* Proxy a request to the town container's control server and return the response. * Preserves the original status code and JSON body.
services/gastown/src/handlers/town-container.handler.ts:14
↓ 6 callers
Function
pullsPath
(owner: string, db: string)
packages/wl-sdk/src/dolthub/pulls.ts:128
↓ 6 callers
Function
queryAccessibleCloudAgentSession
( db: SessionAccessDb, query: AccessibleCloudAgentSessionQuery )
packages/worker-utils/src/cloud-agent-session-access.ts:18
↓ 6 callers
Function
queueImpactAdvocateSelfRegistration
(params: { database?: DatabaseClient; product?: ImpactReferralProduct | null; programKey?: ImpactAdvocat
apps/web/src/lib/impact/referral.ts:436
↓ 6 callers
Function
queueRegisteredInitialInput
(input: { userId: string; botId?: string; })
services/cloud-agent-next/test/helpers/session-setup.ts:189
↓ 6 callers
Function
readDatePart
(parts: Intl.DateTimeFormatPart[], type: 'year' | 'month' | 'day')
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/chat-summary-utils.ts:32
↓ 6 callers
Function
readGithubTokenFromEnv
(env: NodeJS.ProcessEnv = process.env)
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/github-utils.ts:195
↓ 6 callers
Function
readJson
(response: Response)
services/kiloclaw-billing/src/snowflake.ts:117
↓ 6 callers
Function
readKiloSdkHistoryItem
( ref: ItemDataRef, r2: R2Bucket, budget: KiloSdkHistoryReadBudget, phase: KiloSdkHistoryReadPhase )
services/session-ingest/src/dos/kilo-sdk-materialization.ts:750
↓ 6 callers
Method
readKiloSdkSessionSnapshot
()
services/session-ingest/src/dos/SessionIngestDO.ts:307
↓ 6 callers
Function
readWastelandBeadOrigin
( metadata: Record<string, unknown> | null | undefined )
apps/web/src/components/gastown/wasteland-bead-origin.ts:25
↓ 6 callers
Function
reconcileStoreSubscriptionExpiry
( db: Db, params?: { now?: Date } )
apps/web/src/lib/kilo-pass/store-subscription-reconcile.ts:37
↓ 6 callers
Function
record
(overrides: Partial<BotStatusRecord> = {})
packages/kilo-chat-hooks/src/use-bot-status.test.ts:89
↓ 6 callers
Function
recordSharedSandboxFailover
( store: SharedSandboxOverrideStore, routeKey: SandboxId )
services/cloud-agent-next/src/shared-sandbox-route.ts:74
↓ 6 callers
Method
recordVolumeExtend
* Record a Fly volume extend that's already happened on the Fly side. * * Used by the admin `/extend-volume` route, which performs the Fly API
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:3641
↓ 6 callers
Function
redactAdvocateEmailIdentityForLog
(value: string | null | undefined)
apps/web/src/lib/impact/advocate.ts:170
↓ 6 callers
Function
redirectError
(code: OAuthErrorCode, message: string)
apps/web/src/lib/mcp-gateway/authorization-service.ts:294
↓ 6 callers
Function
redirectOAuthError
(error: OAuthAuthorizationRedirectError, status = 307)
apps/web/src/app/api/mcp-gateway/oauth/authorize/route.ts:67
↓ 6 callers
Function
redirectWithStatus
(key: 'success' | 'error', value: string)
apps/web/src/app/api/integrations/github/user-connect/callback/route.ts:10
↓ 6 callers
Function
refreshAndConnect
(expectedGeneration: number)
apps/web/src/lib/cloud-agent-sdk/base-connection.ts:132
↓ 6 callers
Method
refreshInstallationAccountLoginIfDue
( installationId: string, appType: GitHubAppType = 'standard' )
services/git-token-service/src/github-token-service.ts:73
↓ 6 callers
Function
registerBotRoutes
(app: Hono<{ Bindings: Env; Variables: AuthContext }>)
services/kilo-chat/src/routes/bot-messages.ts:24
↓ 6 callers
Function
registerInboundEmailRoute
( app: Hono, supervisor: Supervisor, expectedToken: string, hooksToken: string )
services/kiloclaw/controller/src/routes/inbound-email.ts:8
↓ 6 callers
Function
registerSession
( instance: CloudAgentSession, sessionId: string, userId: string, createdOnPlatform = 'cloud-agent-web
services/cloud-agent-next/test/integration/session/push-notifications.test.ts:51
↓ 6 callers
Function
rejectInitialConnect
(details: IngestConnectionFailureDetails)
services/cloud-agent-next/wrapper/src/connection.ts:299
↓ 6 callers
Function
releaseScheduleIfActive
* Release a Stripe schedule, tolerating already-released/canceled states. * Returns true if the schedule was released (or was already inactive). * R
apps/web/src/routers/kiloclaw-router.ts:1346
↓ 6 callers
Function
removeTempDir
(dir: string)
services/app-builder/src/_integration_tests/git-test-helpers.ts:221
↓ 6 callers
Function
renderEventsAsTranscript
(events: AgentConversationEvent[])
apps/extension/src/shared/agent-context-compaction.ts:128
↓ 6 callers
Function
renderLoginForm
(options: LoginFormOptions)
services/deploy-infra/dispatcher/src/auth/ui/login-form.ts:122
↓ 6 callers
Function
renderPromptTemplate
(template: string, request: WebhookRequest)
services/webhook-agent-ingest/src/util/prompt-template.ts:13
↓ 6 callers
Function
renderStoreKiloPassPurchaseProvider
()
apps/mobile/src/lib/kilo-pass/use-store-kilo-pass-purchase.test.tsx:124
↓ 6 callers
Function
replacePlaceholders
(text: string, commentId?: number)
apps/web/src/lib/code-reviews/prompts/generate-prompt.ts:186
↓ 6 callers
Function
repoDir
(rigId: string)
services/gastown/container/src/git-manager.ts:454
↓ 6 callers
Function
reportCommitRetirementMutationAnomaly
(params: { subscription: typeof kiloclaw_subscriptions.$inferSelect; reason: 'boundary_mismatch' | 'missin
apps/web/src/routers/kiloclaw-router.ts:3426
↓ 6 callers
Function
reportProviderOnlyCommitRetirementAnomaly
(params: { stripeSubscriptionId: string; stripeEventId: string; reason: string; summary: string; })
apps/web/src/lib/kiloclaw/stripe-handlers.ts:61
↓ 6 callers
Method
reportRunState
(state: SessionMessageState)
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:601
↓ 6 callers
Function
request
(headers?: Record<string, string>)
apps/web/src/app/api/openrouter/models/route.test.ts:79
↓ 6 callers
Function
request
(modelId: string, headers?: HeadersInit)
apps/web/src/app/api/openrouter/models/validate/route.test.ts:46
↓ 6 callers
Method
request
(endpoint: string, body: Record<string, unknown>)
apps/web/src/lib/code-indexing/milvus-rest-client.ts:142
↓ 6 callers
Method
requestAlarmAtOrBefore
(deadline: number)
services/notifications/src/dos/NotificationChannelDO.ts:289
↓ 6 callers
Function
requestBody
(request: RecordedRequest | undefined)
services/cloud-agent-next/wrapper/src/bitbucket-review-cli.test.ts:143
↓ 6 callers
Function
requestCallback
( env: Env, headers: CallbackHeaders, payload: Record<string, unknown> = callbackPayload )
services/webhook-agent-ingest/src/routes/callbacks.test.ts:66
↓ 6 callers
Function
requireArg
(args: string[], name: string)
scripts/kiloclaw-terminal-renewal-failure.ts:38
↓ 6 callers
Function
requireEnv
(name: string)
apps/web/src/scripts/db/kiloclaw-price-rollout-audit.ts:98
↓ 6 callers
Function
requireEnvVariable
(key: string)
apps/web/src/lib/kiloclaw/stripe-price-ids.server.ts:23
↓ 6 callers
Function
requireSecurityAgentCommandTransitionOrTerminal
( outcome: SecurityAgentCommandTransitionOutcome, transition: 'running' | 'terminal' )
packages/db/src/security-agent-command-repository.ts:46
↓ 6 callers
Function
requiredEnv
(key: string)
apps/web/src/lib/kiloclaw/stripe-invoice-classifier.server.test.ts:9
↓ 6 callers
Function
resolveCalendarReady
( deps: CalendarClientDeps = {} )
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/calendar-client.ts:115
↓ 6 callers
Method
resolveCloudAgentRootSessionForKiloSession
( params: ResolveCloudAgentRootSessionForKiloSessionParams )
services/session-ingest/src/session-ingest-rpc.ts:144
↓ 6 callers
Function
resolveControllerUrl
()
services/kiloclaw/plugins/kilo-chat/src/env.ts:3
↓ 6 callers
Function
resolveConversationId
( params: Record<string, unknown>, toolContext?: { currentChannelId?: string | null }, options: ResolveC
services/kiloclaw/plugins/kilo-chat/src/action-schemas.ts:11
↓ 6 callers
Function
resolveDockerLocalKiloCodeApiBaseUrl
( backendApiUrl: string | undefined )
services/kiloclaw/src/durable-objects/kiloclaw-instance/config.ts:51
↓ 6 callers
Function
resolveGatewayToken
()
services/kiloclaw/plugins/kilo-chat/src/env.ts:7
↓ 6 callers
Function
resolveGoogleScopesForCapabilities
( capabilities: readonly GoogleCapability[] )
apps/web/src/lib/integrations/google/capabilities.ts:74
↓ 6 callers
Function
resolveLocationContext
(env: NodeJS.ProcessEnv = process.env)
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/local-news-utils.ts:65
↓ 6 callers
Function
resolveLongPressFeedback
({ pressed, longPressed, }: LongPressFeedbackInput)
apps/mobile/src/components/kilo-chat/message-gesture-state.ts:48
↓ 6 callers
Function
resolvePendingSessionMessageIntent
( message: PendingSessionMessage, defaults: PendingSessionExecutionDefaults )
services/cloud-agent-next/src/session/pending-messages.ts:370
↓ 6 callers
Function
resolveSecret
(secret: Secret)
services/git-token-service/src/bitbucket-authorization-service.ts:104
↓ 6 callers
Function
resolveSecurityAgentAuditReliableCoverageStart
( value = process.env.SECURITY_AGENT_AUDIT_RELIABLE_COVERAGE_START )
apps/web/src/lib/security-agent/db/security-audit-report.ts:60
↓ 6 callers
Method
resolveSessionId
* Resolve the canonical sessionId for this DO. * Prefer metadata, then the expected sessionId, then existing value.
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:559
↓ 6 callers
Function
resolveSnowflakeConfig
()
apps/web/src/lib/snowflake.ts:59
↓ 6 callers
Function
resolveStripeReceiptUrl
( stripeChargeOrInvoiceId: string, options: { skipInAutomatedTest?: boolean } = {} )
apps/web/src/lib/credits.ts:336
← previous
next →
3,301–3,400 of 24,362, ranked by callers