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
↓ 26 callers
Function
buildSnapshot
( providers: Array<{ slug: string; models: string[] }> )
apps/web/src/lib/organizations/auto-model-change-log.integration.test.ts:14
↓ 26 callers
Method
clear
* The **`console.clear()`** static method clears the console if possible. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console
services/ai-attribution/worker-configuration.d.ts:114
↓ 26 callers
Function
createInstanceRow
(params: { userId: string; organizationId?: string; name?: string; destroyedAt?: string; s
apps/web/src/routers/kiloclaw-billing-router.test.ts:1000
↓ 26 callers
Function
createOrganizationMode
( organizationId: string, createdBy: string, name: string, slug: string, config: Partial<Organizatio
apps/web/src/lib/organizations/organization-modes.ts:20
↓ 26 callers
Function
createRequest
( overrides: Partial<OpenRouterChatCompletionRequest> = {} )
apps/web/src/lib/ai-gateway/tool-calling.test.ts:13
↓ 26 callers
Function
encryptKeyedEnvelope
( value: string, scheme: Scheme, activeKey: ActiveEnvelopePublicKey, aad?: string )
packages/encryption/src/keyed-envelope.ts:78
↓ 26 callers
Function
encryptWithPublicKey
( value: string, publicKeyPem: string | Buffer, aad?: string )
packages/encryption/src/encryption.ts:44
↓ 26 callers
Function
getAuthorizedOrgContext
( id: Organization['id'], roles?: OrganizationRole[], // this is used only in testing because mocking ge
apps/web/src/lib/organizations/organization-auth.ts:40
↓ 26 callers
Method
getConfig
()
services/wasteland/src/dos/Wasteland.do.ts:91
↓ 26 callers
Function
getDO
(name = 'user-1')
services/notifications/src/__tests__/dispatch-push.test.ts:66
↓ 26 callers
Function
getSignInCallbackUrl
(searchParams?: NextAppSearchParams)
apps/web/src/lib/getSignInCallbackUrl.ts:73
↓ 26 callers
Function
installDbMock
(state: DbState)
services/notifications/src/__tests__/dispatch-push.test.ts:23
↓ 26 callers
Function
makeRequest
(tmpDir: string, overrides: Partial<WrapperSessionReadyRequest> = {})
services/cloud-agent-next/wrapper/src/session-bootstrap.test.ts:20
↓ 26 callers
Function
makeSnapshot
( info: Partial<SessionInfo> & { id: string }, messages: Array<{ info: MessageInfo; parts: TextPart[] }> =
apps/web/src/lib/cloud-agent-sdk/test-helpers.ts:74
↓ 26 callers
Function
meterEvent
(env: BillingEnv, input: MeterEventInput)
services/wasteland/src/util/billing.util.ts:48
↓ 26 callers
Function
recordPendingFlushFailure
( storage: SessionQueueStorage, message: PendingSessionMessage, error: string, now: number, options:
services/cloud-agent-next/src/session/pending-messages.ts:486
↓ 26 callers
Method
restartMachine
( options?: { imageTag?: string }, ctx?: RequestContext )
apps/web/src/lib/kiloclaw/kiloclaw-user-client.ts:94
↓ 26 callers
Function
sendJson
(res: ServerResponse, statusCode: number, body: Record<string, unknown>)
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/index.ts:289
↓ 26 callers
Function
setTestSystemTime
(timestamp: string)
apps/web/src/routers/kiloclaw-billing-router.test.ts:403
↓ 25 callers
Method
addLogEvent
* Add a log event via EventsManager DO. * Updates local state timestamp and delegates event storage to EventsManager.
services/deploy-infra/builder/src/deployment-orchestrator.ts:91
↓ 25 callers
Function
bindSessionContext
( binding: SessionBinding | undefined, config: ServerConfig, deps: ServerDependencies, feedPolicy: Ses
services/cloud-agent-next/wrapper/src/server.ts:255
↓ 25 callers
Function
bootstrapConversationForTest
( stub: DurableObjectStub<ConversationDO>, params: { conversationId: string; creatorId: string;
services/kilo-chat/src/__tests__/helpers.ts:111
↓ 25 callers
Method
clone
* The **`clone()`** method of the Request interface creates a copy of the current `Request` object. * * [MDN Reference](https://developer.mozill
services/ai-attribution/worker-configuration.d.ts:1899
↓ 25 callers
Function
createCodeReviewAttempt
(params: { codeReviewId: string; retryOfAttemptId?: string; retryReason?: string; status?: CodeReviewA
apps/web/src/lib/code-reviews/db/code-reviews.ts:420
↓ 25 callers
Function
createEnv
(deployKv: MemoryKv)
services/deploy-infra/dispatcher/src/routes/api.test.ts:60
↓ 25 callers
Function
createWorkerDb
(options?: { existingActiveInstance?: { id: string; sandboxId: string; organizationId: string | null }; ac
services/kiloclaw/src/routes/platform-provision-bootstrap.test.ts:90
↓ 25 callers
Method
deserializeAttachment
()
services/ai-attribution/worker-configuration.d.ts:3372
↓ 25 callers
Function
escapeCsvValue
* Escapes a CSV value to prevent formula injection and handle special characters. * * Protection against CSV injection attacks: * - Values starting
apps/web/src/app/admin/code-reviews/utils/csvExport.ts:46
↓ 25 callers
Method
getAuthorization
( owner: BitbucketAuthorizationOwner, minimumValidityMs = BITBUCKET_API_MINIMUM_VALIDITY_MS )
services/git-token-service/src/bitbucket-authorization-service.ts:233
↓ 25 callers
Function
getOrganizationMembers
( organizationId: Organization['id'] )
apps/web/src/lib/organizations/organizations.ts:520
↓ 25 callers
Function
invalidate
()
apps/web/src/components/usage-analytics/RecommendationsView.tsx:66
↓ 25 callers
Function
isCreditCampaignCallback
( callbackPath: string | null | undefined )
apps/web/src/lib/credit-campaigns-shared.ts:21
↓ 25 callers
Function
isEmailBlacklistedByDomain
( email: string, blacklisted_domains: string[] | undefined = BLACKLIST_DOMAINS_FROM_ENV )
apps/web/src/lib/user/server.ts:1131
↓ 25 callers
Method
listMessages
(params: ListMessagesParams)
services/kilo-chat/src/do/conversation-do.ts:854
↓ 25 callers
Function
makeEnv
()
services/kiloclaw/src/routes/platform-provision-bootstrap.test.ts:244
↓ 25 callers
Function
makePart
(id: string, messageId: string, text = '')
apps/web/src/lib/cloud-agent-sdk/storage/memory.test.ts:17
↓ 25 callers
Function
mapModelIdToVercel
(modelId: string, reasoningExplicitlyDisabled: boolean)
apps/web/src/lib/ai-gateway/providers/vercel/mapModelIdToVercel.ts:47
↓ 25 callers
Method
mayorPath
(path: string)
services/gastown/container/plugin/client.ts:308
↓ 25 callers
Function
messagesKey
(conversationId: string | null)
packages/kilo-chat-hooks/src/query-keys.ts:13
↓ 25 callers
Function
minutesAgo
(minutes: number)
apps/web/src/lib/code-reviews/dispatch/dispatch-pending-code-review-owners.test.ts:34
↓ 25 callers
Function
normalizeInstanceUrl
(url?: string)
apps/web/src/lib/integrations/gitlab-service.ts:48
↓ 25 callers
Function
reject
( reason: SecurityRemediationCapabilityReason )
packages/worker-utils/src/security-remediation-policy.ts:323
↓ 25 callers
Function
release
()
services/cloud-agent-next/test/e2e/fake-llm-server.ts:420
↓ 25 callers
Function
reviewValues
(overrides: Partial<CodeReviewInsert> = {})
apps/web/src/app/api/code-reviews/up/route.test.ts:52
↓ 25 callers
Function
row
(overrides: Partial<QueuedAttachment> = {})
packages/kilo-chat-hooks/src/use-attachment-queue.test.ts:13
↓ 25 callers
Method
search
(params: SearchParams)
apps/web/src/lib/code-indexing/milvus-storage.ts:184
↓ 25 callers
Function
simulateVisibilityChange
(state: 'visible' | 'hidden')
apps/web/src/lib/cloud-agent-sdk/base-connection.test.ts:132
↓ 25 callers
Function
start
()
services/cloud-agent-next/test/unit/fake-llm-server.test.ts:128
↓ 25 callers
Function
toSafeNumber
* Convert an aggregate value (often returned as a string by Snowflake) to a * JS number. Values above `MAX_SAFE_INTEGER` are logged as a warning but
apps/web/src/routers/usage-analytics-router.ts:562
↓ 25 callers
Function
updateStatus
(next: TerminalStatus, text: string)
apps/web/src/components/cloud-agent-next/useCloudAgentTerminal.ts:169
↓ 25 callers
Function
withSession
( api: KiloApiHandle, options: KiloApiOptions, run: (session: FirefoxSession) => Promise<void> )
apps/extension/tests/e2e/firefox-selenium-e2e.ts:664
↓ 24 callers
Function
at
(hours: number, minutes: number = 0, seconds: number = 0)
apps/web/src/routers/admin-cloud-agent-next-router.test.ts:28
↓ 24 callers
Function
authHeaders
(token = 'test-token')
services/kiloclaw/controller/src/routes/doctor.test.ts:41
↓ 24 callers
Function
authenticatedJson
(body: unknown, init: ResponseInit = {})
apps/web/src/lib/integrations/platforms/bitbucket/workspace-access-token-adapter.test.ts:9
↓ 24 callers
Function
conversationsData
( pages: ConversationListItem[][], nextCursors: Array<string | null> )
packages/kilo-chat-hooks/src/use-conversations.test.ts:57
↓ 24 callers
Function
createBatch
(message: QueueMessage)
services/kiloclaw-billing/src/index.test.ts:94
↓ 24 callers
Function
createCloudAgentSession
(config: CloudAgentSessionConfig)
apps/web/src/lib/cloud-agent-sdk/session.ts:153
↓ 24 callers
Function
createFile
(name: string, type: string, size = 32)
apps/web/src/hooks/useCloudAgentAttachmentUpload.test.ts:16
↓ 24 callers
Function
createOAuthState
(owner: string, userId: string, returnTo?: string)
apps/web/src/lib/integrations/oauth-state.ts:50
↓ 24 callers
Function
daysAgo
(days: number)
apps/web/src/lib/contributor-champions/service.test.ts:70
↓ 24 callers
Function
fetchImpl
(input, init)
services/kiloclaw/plugins/kilo-chat/src/approval.test.ts:156
↓ 24 callers
Function
getIntegrationForOwner
( owner: Owner, platform: string, status?: IntegrationStatus )
apps/web/src/lib/integrations/db/platform-integrations.ts:457
↓ 24 callers
Method
getItem
(key: typeof AUTH_STORAGE_KEY)
apps/extension/src/shared/auth.ts:15
↓ 24 callers
Function
groupedRegisterSessionInput
(input: TestRegisterSessionInput)
services/cloud-agent-next/test/helpers/session-setup.ts:93
↓ 24 callers
Method
hookBead
(agentId: string, beadId: string)
services/gastown/src/dos/Town.do.ts:1703
↓ 24 callers
Function
inbound
(msg: Record<string, unknown>, ws = sockets.at(-1))
apps/web/src/lib/cloud-agent-sdk/user-web-connection.test.ts:59
↓ 24 callers
Method
invalidRequest
* Create a non-retryable error for invalid requests.
services/cloud-agent-next/src/execution/errors.ts:110
↓ 24 callers
Function
isValidReturnUrl
(url: string)
apps/web/src/lib/payment-return-url.ts:11
↓ 24 callers
Function
listBitbucketWorkspaceRepositories
( options: BitbucketRepositoryApiOptions )
services/git-token-service/src/bitbucket-api.ts:232
↓ 24 callers
Function
normalizeCompanyDomain
(input: string)
apps/web/src/lib/organizations/company-domain.ts:12
↓ 24 callers
Function
notify
()
apps/web/src/lib/cloud-agent-sdk/service-state.ts:106
↓ 24 callers
Method
prepareSession
* Prepare a new cloud agent session.
apps/web/src/lib/cloud-agent-next/cloud-agent-client.ts:611
↓ 24 callers
Function
processPersonalKiloClawPaidConversion
(params: { userId: string; sourcePaymentId: string; orderId: string; paymentProvider?: ImpactReferralP
apps/web/src/lib/impact/kiloclaw-referrals.ts:1999
↓ 24 callers
Function
requireCurrentSessionAccess
( request: CurrentSessionAccessRequest )
services/cloud-agent-next/src/session-access.ts:30
↓ 24 callers
Method
sendToIngest
(event: IngestEvent)
services/cloud-agent-next/wrapper/src/state.ts:123
↓ 24 callers
Function
setValidatedQueryUserId
* Validate and set userId from the query string onto the Hono context. * GET/DELETE routes use this so the analytics middleware can read userId * fr
services/kiloclaw/src/routes/platform.ts:339
↓ 24 callers
Function
subscribeToCodingPlan
( userId: string, planId: string, idempotencyKey: string )
apps/web/src/lib/coding-plans/index.ts:71
↓ 24 callers
Function
trimPayload
(streamEventType: TrimPayloadStreamEventType, data: unknown)
services/cloud-agent-next/src/shared/trim-payload.ts:124
↓ 24 callers
Function
unwrap
( result: Promise<T | { ok: false; code: string; error: string }> )
services/kilo-chat/src/__tests__/helpers.ts:85
↓ 24 callers
Method
updateSecrets
( patch: Record<string, EncryptedEnvelope | null>, meta?: Record<string, CustomSecretMeta> )
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:1566
↓ 24 callers
Function
validateReturnPath
(candidate: string)
apps/web/src/lib/integrations/validate-return-path.ts:10
↓ 24 callers
Function
verifyKiloToken
( token: string, secret: string, options?: { audience?: string } )
packages/worker-utils/src/kilo-token.ts:101
↓ 23 callers
Function
POST
(request: NextRequest)
apps/web/src/app/api/exa/[...path]/route.ts:33
↓ 23 callers
Method
addConversation
(params: AddConversationParams)
services/kilo-chat/src/do/membership-do.ts:103
↓ 23 callers
Function
bind
(raw: T)
apps/web/src/hooks/useOrgKiloClaw.ts:251
↓ 23 callers
Function
callLinearCallback
(request: NextRequest)
apps/web/src/app/api/integrations/linear/callback/route.test.ts:106
↓ 23 callers
Function
connectSocket
(socketIndex = 0)
apps/web/src/lib/cloud-agent-sdk/base-connection.test.ts:124
↓ 23 callers
Function
conversationsKey
(sandboxId: string | null)
packages/kilo-chat-hooks/src/query-keys.ts:5
↓ 23 callers
Function
createEvent
( streamEventType: string, data: unknown, sessionId = 'session-123' )
apps/web/src/lib/cloud-agent-next/processor/event-processor.test.ts:20
↓ 23 callers
Function
createPromptHandler
(config: ServerConfig, deps: ServerDependencies)
services/cloud-agent-next/wrapper/src/server.ts:400
↓ 23 callers
Function
createPurchase
(overrides: Partial<Purchase> = {})
apps/mobile/src/lib/kilo-pass/use-store-kilo-pass-purchase.test.tsx:248
↓ 23 callers
Function
decryptKeyedEnvelope
( serialized: string, scheme: Scheme, keys: EnvelopePrivateKeySlots, aad?: string )
packages/encryption/src/keyed-envelope.ts:96
↓ 23 callers
Method
ensureApp
* Ensure a Fly App exists for this owner with IPs allocated and env key set. * Idempotent: creates the app only if it doesn't exist yet. * Retur
services/kiloclaw/src/durable-objects/kiloclaw-app.ts:99
↓ 23 callers
Method
ensureRunning
* Ensure the wrapper is running and healthy. * Starts the wrapper if needed and waits for it to be ready. * * NOTE: This method assumes the W
services/cloud-agent-next/src/kilo/wrapper-client.ts:566
↓ 23 callers
Function
extractHeaderAndLimitLength
(request: NextRequest, name: string)
apps/web/src/lib/ai-gateway/llm-proxy-helpers.ts:491
↓ 23 callers
Function
formatRelativeTime
(date: Date | string)
apps/web/src/lib/admin-utils.ts:20
↓ 23 callers
Method
handleReceivePack
* Handle receive-pack request (actual push operation) * Processes packfile and updates refs
services/app-builder/src/git/git-receive-pack-service.ts:181
↓ 23 callers
Function
insertStaticIntegration
( organizationId: string, actorUserId: string, cache: { repositories?: Array<typeof CACHED_REPOSITORY> |
apps/web/src/lib/integrations/platforms/bitbucket/workspace-access-token-repository-cache.test.ts:60
↓ 23 callers
Method
isConnected
()
packages/event-service/src/client.ts:267
↓ 23 callers
Method
issueGitHubSessionCapability
( params: IssueGitHubSessionCapabilityParams )
services/git-token-service/src/index.ts:748
← previous
next →
501–600 of 24,362, ranked by callers