MCPcopy Create free account

hub / github.com/Kilo-Org/cloud / functions

Functions24,362 in github.com/Kilo-Org/cloud

↓ 26 callersFunctionbuildSnapshot
( providers: Array<{ slug: string; models: string[] }> )
apps/web/src/lib/organizations/auto-model-change-log.integration.test.ts:14
↓ 26 callersMethodclear
* 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 callersFunctioncreateInstanceRow
(params: { userId: string; organizationId?: string; name?: string; destroyedAt?: string; s
apps/web/src/routers/kiloclaw-billing-router.test.ts:1000
↓ 26 callersFunctioncreateOrganizationMode
( organizationId: string, createdBy: string, name: string, slug: string, config: Partial<Organizatio
apps/web/src/lib/organizations/organization-modes.ts:20
↓ 26 callersFunctioncreateRequest
( overrides: Partial<OpenRouterChatCompletionRequest> = {} )
apps/web/src/lib/ai-gateway/tool-calling.test.ts:13
↓ 26 callersFunctionencryptKeyedEnvelope
( value: string, scheme: Scheme, activeKey: ActiveEnvelopePublicKey, aad?: string )
packages/encryption/src/keyed-envelope.ts:78
↓ 26 callersFunctionencryptWithPublicKey
( value: string, publicKeyPem: string | Buffer, aad?: string )
packages/encryption/src/encryption.ts:44
↓ 26 callersFunctiongetAuthorizedOrgContext
( id: Organization['id'], roles?: OrganizationRole[], // this is used only in testing because mocking ge
apps/web/src/lib/organizations/organization-auth.ts:40
↓ 26 callersMethodgetConfig
()
services/wasteland/src/dos/Wasteland.do.ts:91
↓ 26 callersFunctiongetDO
(name = 'user-1')
services/notifications/src/__tests__/dispatch-push.test.ts:66
↓ 26 callersFunctiongetSignInCallbackUrl
(searchParams?: NextAppSearchParams)
apps/web/src/lib/getSignInCallbackUrl.ts:73
↓ 26 callersFunctioninstallDbMock
(state: DbState)
services/notifications/src/__tests__/dispatch-push.test.ts:23
↓ 26 callersFunctionmakeRequest
(tmpDir: string, overrides: Partial<WrapperSessionReadyRequest> = {})
services/cloud-agent-next/wrapper/src/session-bootstrap.test.ts:20
↓ 26 callersFunctionmakeSnapshot
( info: Partial<SessionInfo> & { id: string }, messages: Array<{ info: MessageInfo; parts: TextPart[] }> =
apps/web/src/lib/cloud-agent-sdk/test-helpers.ts:74
↓ 26 callersFunctionmeterEvent
(env: BillingEnv, input: MeterEventInput)
services/wasteland/src/util/billing.util.ts:48
↓ 26 callersFunctionrecordPendingFlushFailure
( storage: SessionQueueStorage, message: PendingSessionMessage, error: string, now: number, options:
services/cloud-agent-next/src/session/pending-messages.ts:486
↓ 26 callersMethodrestartMachine
( options?: { imageTag?: string }, ctx?: RequestContext )
apps/web/src/lib/kiloclaw/kiloclaw-user-client.ts:94
↓ 26 callersFunctionsendJson
(res: ServerResponse, statusCode: number, body: Record<string, unknown>)
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/index.ts:289
↓ 26 callersFunctionsetTestSystemTime
(timestamp: string)
apps/web/src/routers/kiloclaw-billing-router.test.ts:403
↓ 25 callersMethodaddLogEvent
* 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 callersFunctionbindSessionContext
( binding: SessionBinding | undefined, config: ServerConfig, deps: ServerDependencies, feedPolicy: Ses
services/cloud-agent-next/wrapper/src/server.ts:255
↓ 25 callersFunctionbootstrapConversationForTest
( stub: DurableObjectStub<ConversationDO>, params: { conversationId: string; creatorId: string;
services/kilo-chat/src/__tests__/helpers.ts:111
↓ 25 callersMethodclone
* 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 callersFunctioncreateCodeReviewAttempt
(params: { codeReviewId: string; retryOfAttemptId?: string; retryReason?: string; status?: CodeReviewA
apps/web/src/lib/code-reviews/db/code-reviews.ts:420
↓ 25 callersFunctioncreateEnv
(deployKv: MemoryKv)
services/deploy-infra/dispatcher/src/routes/api.test.ts:60
↓ 25 callersFunctioncreateWorkerDb
(options?: { existingActiveInstance?: { id: string; sandboxId: string; organizationId: string | null }; ac
services/kiloclaw/src/routes/platform-provision-bootstrap.test.ts:90
↓ 25 callersMethoddeserializeAttachment
()
services/ai-attribution/worker-configuration.d.ts:3372
↓ 25 callersFunctionescapeCsvValue
* 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 callersMethodgetAuthorization
( owner: BitbucketAuthorizationOwner, minimumValidityMs = BITBUCKET_API_MINIMUM_VALIDITY_MS )
services/git-token-service/src/bitbucket-authorization-service.ts:233
↓ 25 callersFunctiongetOrganizationMembers
( organizationId: Organization['id'] )
apps/web/src/lib/organizations/organizations.ts:520
↓ 25 callersFunctioninvalidate
()
apps/web/src/components/usage-analytics/RecommendationsView.tsx:66
↓ 25 callersFunctionisCreditCampaignCallback
( callbackPath: string | null | undefined )
apps/web/src/lib/credit-campaigns-shared.ts:21
↓ 25 callersFunctionisEmailBlacklistedByDomain
( email: string, blacklisted_domains: string[] | undefined = BLACKLIST_DOMAINS_FROM_ENV )
apps/web/src/lib/user/server.ts:1131
↓ 25 callersMethodlistMessages
(params: ListMessagesParams)
services/kilo-chat/src/do/conversation-do.ts:854
↓ 25 callersFunctionmakeEnv
()
services/kiloclaw/src/routes/platform-provision-bootstrap.test.ts:244
↓ 25 callersFunctionmakePart
(id: string, messageId: string, text = '')
apps/web/src/lib/cloud-agent-sdk/storage/memory.test.ts:17
↓ 25 callersFunctionmapModelIdToVercel
(modelId: string, reasoningExplicitlyDisabled: boolean)
apps/web/src/lib/ai-gateway/providers/vercel/mapModelIdToVercel.ts:47
↓ 25 callersMethodmayorPath
(path: string)
services/gastown/container/plugin/client.ts:308
↓ 25 callersFunctionmessagesKey
(conversationId: string | null)
packages/kilo-chat-hooks/src/query-keys.ts:13
↓ 25 callersFunctionminutesAgo
(minutes: number)
apps/web/src/lib/code-reviews/dispatch/dispatch-pending-code-review-owners.test.ts:34
↓ 25 callersFunctionnormalizeInstanceUrl
(url?: string)
apps/web/src/lib/integrations/gitlab-service.ts:48
↓ 25 callersFunctionreject
( reason: SecurityRemediationCapabilityReason )
packages/worker-utils/src/security-remediation-policy.ts:323
↓ 25 callersFunctionrelease
()
services/cloud-agent-next/test/e2e/fake-llm-server.ts:420
↓ 25 callersFunctionreviewValues
(overrides: Partial<CodeReviewInsert> = {})
apps/web/src/app/api/code-reviews/up/route.test.ts:52
↓ 25 callersFunctionrow
(overrides: Partial<QueuedAttachment> = {})
packages/kilo-chat-hooks/src/use-attachment-queue.test.ts:13
↓ 25 callersMethodsearch
(params: SearchParams)
apps/web/src/lib/code-indexing/milvus-storage.ts:184
↓ 25 callersFunctionsimulateVisibilityChange
(state: 'visible' | 'hidden')
apps/web/src/lib/cloud-agent-sdk/base-connection.test.ts:132
↓ 25 callersFunctionstart
()
services/cloud-agent-next/test/unit/fake-llm-server.test.ts:128
↓ 25 callersFunctiontoSafeNumber
* 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 callersFunctionupdateStatus
(next: TerminalStatus, text: string)
apps/web/src/components/cloud-agent-next/useCloudAgentTerminal.ts:169
↓ 25 callersFunctionwithSession
( api: KiloApiHandle, options: KiloApiOptions, run: (session: FirefoxSession) => Promise<void> )
apps/extension/tests/e2e/firefox-selenium-e2e.ts:664
↓ 24 callersFunctionat
(hours: number, minutes: number = 0, seconds: number = 0)
apps/web/src/routers/admin-cloud-agent-next-router.test.ts:28
↓ 24 callersFunctionauthHeaders
(token = 'test-token')
services/kiloclaw/controller/src/routes/doctor.test.ts:41
↓ 24 callersFunctionauthenticatedJson
(body: unknown, init: ResponseInit = {})
apps/web/src/lib/integrations/platforms/bitbucket/workspace-access-token-adapter.test.ts:9
↓ 24 callersFunctionconversationsData
( pages: ConversationListItem[][], nextCursors: Array<string | null> )
packages/kilo-chat-hooks/src/use-conversations.test.ts:57
↓ 24 callersFunctioncreateBatch
(message: QueueMessage)
services/kiloclaw-billing/src/index.test.ts:94
↓ 24 callersFunctioncreateCloudAgentSession
(config: CloudAgentSessionConfig)
apps/web/src/lib/cloud-agent-sdk/session.ts:153
↓ 24 callersFunctioncreateFile
(name: string, type: string, size = 32)
apps/web/src/hooks/useCloudAgentAttachmentUpload.test.ts:16
↓ 24 callersFunctioncreateOAuthState
(owner: string, userId: string, returnTo?: string)
apps/web/src/lib/integrations/oauth-state.ts:50
↓ 24 callersFunctiondaysAgo
(days: number)
apps/web/src/lib/contributor-champions/service.test.ts:70
↓ 24 callersFunctionfetchImpl
(input, init)
services/kiloclaw/plugins/kilo-chat/src/approval.test.ts:156
↓ 24 callersFunctiongetIntegrationForOwner
( owner: Owner, platform: string, status?: IntegrationStatus )
apps/web/src/lib/integrations/db/platform-integrations.ts:457
↓ 24 callersMethodgetItem
(key: typeof AUTH_STORAGE_KEY)
apps/extension/src/shared/auth.ts:15
↓ 24 callersFunctiongroupedRegisterSessionInput
(input: TestRegisterSessionInput)
services/cloud-agent-next/test/helpers/session-setup.ts:93
↓ 24 callersMethodhookBead
(agentId: string, beadId: string)
services/gastown/src/dos/Town.do.ts:1703
↓ 24 callersFunctioninbound
(msg: Record<string, unknown>, ws = sockets.at(-1))
apps/web/src/lib/cloud-agent-sdk/user-web-connection.test.ts:59
↓ 24 callersMethodinvalidRequest
* Create a non-retryable error for invalid requests.
services/cloud-agent-next/src/execution/errors.ts:110
↓ 24 callersFunctionisValidReturnUrl
(url: string)
apps/web/src/lib/payment-return-url.ts:11
↓ 24 callersFunctionlistBitbucketWorkspaceRepositories
( options: BitbucketRepositoryApiOptions )
services/git-token-service/src/bitbucket-api.ts:232
↓ 24 callersFunctionnormalizeCompanyDomain
(input: string)
apps/web/src/lib/organizations/company-domain.ts:12
↓ 24 callersFunctionnotify
()
apps/web/src/lib/cloud-agent-sdk/service-state.ts:106
↓ 24 callersMethodprepareSession
* Prepare a new cloud agent session.
apps/web/src/lib/cloud-agent-next/cloud-agent-client.ts:611
↓ 24 callersFunctionprocessPersonalKiloClawPaidConversion
(params: { userId: string; sourcePaymentId: string; orderId: string; paymentProvider?: ImpactReferralP
apps/web/src/lib/impact/kiloclaw-referrals.ts:1999
↓ 24 callersFunctionrequireCurrentSessionAccess
( request: CurrentSessionAccessRequest )
services/cloud-agent-next/src/session-access.ts:30
↓ 24 callersMethodsendToIngest
(event: IngestEvent)
services/cloud-agent-next/wrapper/src/state.ts:123
↓ 24 callersFunctionsetValidatedQueryUserId
* 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 callersFunctionsubscribeToCodingPlan
( userId: string, planId: string, idempotencyKey: string )
apps/web/src/lib/coding-plans/index.ts:71
↓ 24 callersFunctiontrimPayload
(streamEventType: TrimPayloadStreamEventType, data: unknown)
services/cloud-agent-next/src/shared/trim-payload.ts:124
↓ 24 callersFunctionunwrap
( result: Promise<T | { ok: false; code: string; error: string }> )
services/kilo-chat/src/__tests__/helpers.ts:85
↓ 24 callersMethodupdateSecrets
( patch: Record<string, EncryptedEnvelope | null>, meta?: Record<string, CustomSecretMeta> )
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:1566
↓ 24 callersFunctionvalidateReturnPath
(candidate: string)
apps/web/src/lib/integrations/validate-return-path.ts:10
↓ 24 callersFunctionverifyKiloToken
( token: string, secret: string, options?: { audience?: string } )
packages/worker-utils/src/kilo-token.ts:101
↓ 23 callersFunctionPOST
(request: NextRequest)
apps/web/src/app/api/exa/[...path]/route.ts:33
↓ 23 callersMethodaddConversation
(params: AddConversationParams)
services/kilo-chat/src/do/membership-do.ts:103
↓ 23 callersFunctionbind
(raw: T)
apps/web/src/hooks/useOrgKiloClaw.ts:251
↓ 23 callersFunctioncallLinearCallback
(request: NextRequest)
apps/web/src/app/api/integrations/linear/callback/route.test.ts:106
↓ 23 callersFunctionconnectSocket
(socketIndex = 0)
apps/web/src/lib/cloud-agent-sdk/base-connection.test.ts:124
↓ 23 callersFunctionconversationsKey
(sandboxId: string | null)
packages/kilo-chat-hooks/src/query-keys.ts:5
↓ 23 callersFunctioncreateEvent
( streamEventType: string, data: unknown, sessionId = 'session-123' )
apps/web/src/lib/cloud-agent-next/processor/event-processor.test.ts:20
↓ 23 callersFunctioncreatePromptHandler
(config: ServerConfig, deps: ServerDependencies)
services/cloud-agent-next/wrapper/src/server.ts:400
↓ 23 callersFunctioncreatePurchase
(overrides: Partial<Purchase> = {})
apps/mobile/src/lib/kilo-pass/use-store-kilo-pass-purchase.test.tsx:248
↓ 23 callersFunctiondecryptKeyedEnvelope
( serialized: string, scheme: Scheme, keys: EnvelopePrivateKeySlots, aad?: string )
packages/encryption/src/keyed-envelope.ts:96
↓ 23 callersMethodensureApp
* 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 callersMethodensureRunning
* 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 callersFunctionextractHeaderAndLimitLength
(request: NextRequest, name: string)
apps/web/src/lib/ai-gateway/llm-proxy-helpers.ts:491
↓ 23 callersFunctionformatRelativeTime
(date: Date | string)
apps/web/src/lib/admin-utils.ts:20
↓ 23 callersMethodhandleReceivePack
* Handle receive-pack request (actual push operation) * Processes packfile and updates refs
services/app-builder/src/git/git-receive-pack-service.ts:181
↓ 23 callersFunctioninsertStaticIntegration
( 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 callersMethodisConnected
()
packages/event-service/src/client.ts:267
↓ 23 callersMethodissueGitHubSessionCapability
( params: IssueGitHubSessionCapabilityParams )
services/git-token-service/src/index.ts:748
← previousnext →501–600 of 24,362, ranked by callers