MCPcopy Create free account

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

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

↓ 54 callersFunctionheaders
* In the test environment ENVIRONMENT=development, so authMiddleware is skipped. * These helpers provide headers for requests that don't need auth in
services/gastown/test/integration/http-api.test.ts:11
↓ 54 callersFunctionmakePayload
(overrides: { action: Action; prNumber: number; prUrl?: string; state?: 'open' | 'closed'; merged?:
apps/web/src/lib/integrations/platforms/github/webhook-handlers/upsert-cli-session-pull-requests.test.ts:25
↓ 54 callersMethodsign
()
services/kiloclaw-billing/src/snowflake.test.ts:27
↓ 53 callersMethodack
()
services/ai-attribution/worker-configuration.d.ts:2153
↓ 53 callersFunctionaddWebSocket
Create a web WebSocket and add it to the context.
services/session-ingest/src/dos/UserConnectionDO.test.ts:168
↓ 53 callersFunctioncreateGatewayServices
( params: { config?: GatewayAppConfig; database?: typeof db; fetchImpl?: typeof fetch; } = {}
apps/web/src/lib/mcp-gateway/services.ts:17
↓ 53 callersFunctioncreateMetadata
(overrides: Record<string, unknown> = {})
services/cloud-agent-next/src/session-service.test.ts:390
↓ 53 callersFunctioncreateMockEnv
(overrides: Partial<KiloClawEnv> = {})
services/kiloclaw/src/test-utils.ts:28
↓ 53 callersFunctionfeedEvent
(raw: CloudAgentEvent)
apps/web/src/lib/cloud-agent-sdk/test-helpers.ts:30
↓ 53 callersMethodsetAttribute
(name: string, value: string)
services/ai-attribution/worker-configuration.d.ts:1655
↓ 52 callersFunctionfacadeError
(status: number, code: string, message: string)
services/cloud-agent-next/src/kilo-facade/user-kilo-facade.ts:145
↓ 52 callersFunctiongetBalanceForOrganizationUser
( organizationId: Organization['id'], userId: User['id'], options: { /** Limit type to check (defaul
apps/web/src/lib/organizations/organization-usage.ts:52
↓ 52 callersFunctiongetStripeMock
()
apps/web/src/routers/kilo-pass-router.test.ts:105
↓ 52 callersFunctioninsertSubscription
(params: { kiloUserId: string; stripeSubscriptionId?: string | null; paymentProvider?: KiloPassPaymentPr
apps/web/src/routers/kilo-pass-router.test.ts:331
↓ 52 callersFunctionisValidConfigPath
(path: string)
packages/kiloclaw-secret-catalog/src/catalog.ts:565
↓ 52 callersMethodlistConversations
(params: ListConversationsParams = {})
services/kilo-chat/src/do/membership-do.ts:50
↓ 52 callersFunctionmakeFetch
(responses: MockResponse[])
packages/wl-sdk/src/ops/test-helpers.ts:27
↓ 52 callersFunctionparseJsonBody
(c: Context<any>)
services/gastown/src/util/parse-json-body.util.ts:8
↓ 52 callersFunctionreadWantedRow
(row: Record<string, unknown> | null)
packages/wl-sdk/src/ops/test-helpers.ts:66
↓ 52 callersFunctionstorageUpdate
(update: Partial<PersistedState>)
services/kiloclaw/src/durable-objects/kiloclaw-instance/state.ts:21
↓ 51 callersFunctioncreateIngestHandler
( state: DurableObjectState, eventQueries: EventQueries, sessionId: SessionId, broadcastFn: (event: St
services/cloud-agent-next/src/websocket/ingest.ts:269
↓ 51 callersFunctioncreateQueuedSessionMessageState
( intent: SessionMessageIntent, callbackSnapshot?: { required: boolean; target?: CallbackTarget }, now =
services/cloud-agent-next/src/session/session-message-state.ts:437
↓ 51 callersFunctioncreateUserWebConnection
( config: UserWebConnectionConfig )
apps/web/src/lib/cloud-agent-sdk/user-web-connection.ts:55
↓ 51 callersFunctionisFreeModel
(model: string)
apps/web/src/lib/ai-gateway/is-free-model.ts:19
↓ 51 callersFunctionliveRuntimeState
(overrides?: Record<string, unknown>)
services/cloud-agent-next/src/session/wrapper-supervisor.test.ts:199
↓ 51 callersFunctionmakeApp
(callerId: string, callerKind: 'user' | 'bot')
services/kilo-chat/src/__tests__/helpers.ts:51
↓ 51 callersFunctionmakeEnv
(options?: { gatewayTokenSecret?: string; kilocodeApiKey?: string; writeDataPoint?: (payload: AnalyticsE
services/kiloclaw/src/routes/controller.test.ts:54
↓ 51 callersFunctionmockKiloApi
( context: BrowserContext, options: { beforeFirstCompletion?: () => Promise<void>; beforeModels?:
apps/extension/tests/e2e/kilo-api-fixture.ts:64
↓ 51 callersFunctionprocessAppStoreKiloPassNotification
(params: { signedPayload: string; decodeNotification?: DecodeNotification; decodeTransaction?: DecodeTra
apps/web/src/lib/kilo-pass/apple-store-notifications.ts:653
↓ 51 callersFunctionrefetch
()
apps/web/src/components/wasteland/drawer/WantedItemPullTab.tsx:64
↓ 50 callersFunctionacceptedMessage
(messageId = MESSAGE_ID)
services/cloud-agent-next/src/session/wrapper-supervisor.test.ts:98
↓ 50 callersFunctioncreateFakeEventQueries
()
services/cloud-agent-next/src/websocket/ingest.test.ts:27
↓ 50 callersFunctioncreateFakeState
()
services/cloud-agent-next/src/websocket/ingest.test.ts:11
↓ 50 callersMethodpersist
(patch: Partial<PersistedState>)
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:254
↓ 50 callersFunctionreject
(opts: RejectOptions)
packages/wl-sdk/src/ops/reject.ts:22
↓ 50 callersFunctionrunSweep
( env: BillingWorkerEnv, message: { runId: string; sweep: BillingMessageSweep }, attempt = 1 )
services/kiloclaw-billing/src/lifecycle.ts:5629
↓ 50 callersFunctiontokenFor
Auth token for a given sandboxId.
services/kilo-chat/src/__tests__/bot-messages-routes.test.ts:69
↓ 50 callersFunctiontrpcSuccess
(data: unknown)
services/code-review-infra/test/integration/code-review-orchestrator.test.ts:118
↓ 49 callersFunctioncreateAuditLog
({ action, actor_email, actor_id, actor_name, message, organization_id, tx, }: Omit<AuditLog, 'a
apps/web/src/lib/organizations/organization-audit-logs.ts:10
↓ 49 callersFunctionfixtureWantedRow
(overrides: Record<string, unknown> = {})
packages/wl-sdk/src/ops/test-helpers.ts:106
↓ 49 callersFunctionrequireOrgInstance
* Resolve the active org instance, throwing NOT_FOUND if none exists.
apps/web/src/routers/organizations/organization-kiloclaw-router.ts:164
↓ 49 callersFunctionseedExtensionAuth
(page: Page)
apps/extension/tests/e2e/extension-context-fixture.ts:128
↓ 48 callersMethodbindSession
(context: SessionContext)
services/cloud-agent-next/wrapper/src/state.ts:195
↓ 48 callersFunctioncreateSuccessResponse
(data: T)
services/cloud-agent-next/src/kilo/wrapper-client.test.ts:91
↓ 48 callersFunctionnotification
( overrides: Partial<AppleStoreDecodedNotification> = {} )
apps/web/src/lib/kilo-pass/apple-store-notifications.test.ts:37
↓ 48 callersFunctionprocessStripePaymentEventHook
(event: Stripe.Event)
apps/web/src/lib/stripe/index.ts:796
↓ 48 callersFunctionsetupData
Helper to create a conversation + optionally a message as a user. * Registers the message create handler directly with a mock-auth app so we * don
services/kilo-chat/src/__tests__/bot-messages-routes.test.ts:76
↓ 48 callersMethodupdateBeadStatus
( beadId: string, status: string, agentId: string, failureReason?: FailureReason )
services/gastown/src/dos/Town.do.ts:1299
↓ 47 callersFunctionconversation
( conversationId: string, overrides: { lastActivityAt?: number | null; lastReadAt?: number | null;
packages/kilo-chat-hooks/src/use-conversations.test.ts:29
↓ 47 callersFunctiongetMonthlyPriceUsd
(tier: KiloPassTier)
apps/web/src/lib/kilo-pass/bonus.ts:11
↓ 47 callersFunctiongetStub
(convId: string)
services/kilo-chat/src/__tests__/conversation-do.test.ts:5
↓ 47 callersFunctiongit
(args: string[], opts?: GitOptions)
services/cloud-agent-next/wrapper/src/utils.ts:296
↓ 47 callersFunctionhandleKiloPassInvoicePaid
(params: { eventId: string; invoice: Stripe.Invoice; stripe: Stripe; })
apps/web/src/lib/kilo-pass/stripe-handlers-invoice-paid.ts:397
↓ 47 callersFunctionnotFound
(entity: string)
apps/web/src/routers/admin/model-experiments-router.ts:34
↓ 46 callersFunctioncreateKiloChatClient
(options: KiloChatClientOptions)
services/kiloclaw/plugins/kilo-chat/src/client.ts:177
↓ 46 callersFunctioninsertKiloClawSubscriptionChangeLog
(writer: TWriter, input: KiloClawSubscriptionChangeLogInput)
packages/db/src/kiloclaw-subscription-change-log.ts:48
↓ 46 callersMethodmkdir
(_path: string, _options?: unknown)
services/app-builder/src/git/memfs.ts:134
↓ 45 callersFunctioncallGatewayController
( state: InstanceMutableState, env: KiloClawEnv, path: string, method: 'GET' | 'POST' | 'PUT' | 'PATCH
services/kiloclaw/src/durable-objects/kiloclaw-instance/gateway.ts:88
↓ 45 callersFunctioncreateContext
( options: { expiresIn?: string; rateLimitSuccess?: boolean; requestBody?: BodyInit; } = {} )
services/deploy-infra/builder/src/tests/html-deploy-handler.test.ts:72
↓ 45 callersFunctioncreateCurlError
(exitCode: number, stderr = '')
services/cloud-agent-next/src/kilo/wrapper-client.test.ts:101
↓ 45 callersFunctioninsertPersonalInstance
(params: { createdAt: string; destroyedAt?: string; id: string; userId: string; })
apps/web/src/lib/kiloclaw/personal-subscription-destroy-collapse.test.ts:52
↓ 45 callersFunctioninsertPersonalSubscription
(params: { createdAt: string; id: string; instanceId: string | null; plan: PersonalPlan; paymentSour
apps/web/src/lib/kiloclaw/personal-subscription-destroy-collapse.test.ts:67
↓ 45 callersFunctionlogError
(message: string, error?: unknown)
services/app-builder/src/_integration_tests/git-test-helpers.ts:41
↓ 45 callersFunctionlogSkippedSubscriptionRow
( message: string, row: { id: string; user_id: string; instance_id: string | null; }, extr
services/kiloclaw-billing/src/lifecycle.ts:878
↓ 45 callersFunctionmakeAttempt
( overrides: Partial<CloudAgentCodeReviewAttempt> = {} )
apps/web/src/app/api/internal/code-review-status/[reviewId]/route.test.ts:265
↓ 45 callersFunctionmakeAuthHeaders
(targetSandboxId = sandboxId)
services/kiloclaw/src/routes/controller.test.ts:143
↓ 45 callersFunctionminutesAgo
(minutes: number)
apps/web/src/lib/code-reviews/dispatch/dispatch-pending-reviews.test.ts:71
↓ 45 callersFunctionnormalizeProjectId
(projectId: string | null)
apps/web/src/lib/normalizeProjectId.ts:18
↓ 45 callersFunctionreduceWrapperLease
(state: WrapperLease, event: WrapperLeaseEvent)
services/cloud-agent-next/src/session/wrapper-runtime-state.ts:342
↓ 45 callersMethodstatus
* RPC method: Return current state.
services/code-review-infra/src/code-review-orchestrator.ts:945
↓ 44 callersFunctionauthHeaders
()
services/kiloclaw/controller/src/routes/files.test.ts:42
↓ 44 callersFunctionprintSection
(label: string, rows: T[])
apps/web/src/scripts/db/kiloclaw-subscription-alignment.ts:376
↓ 44 callersFunctionreviewValues
({ owner, status, createdAt, updatedAt, startedAt = null, platform = 'github', }: {
apps/web/src/lib/code-reviews/dispatch/dispatch-pending-reviews.test.ts:186
↓ 43 callersFunctioncreateFakeWebSocket
(attachment: unknown = null)
services/cloud-agent-next/src/websocket/ingest.test.ts:57
↓ 42 callersFunctionappendKiloPassAuditLog
( db: DbOrTx, params: AppendKiloPassAuditLogParams )
apps/web/src/lib/kilo-pass/issuance.ts:140
↓ 42 callersFunctioncreateEventQueries
(db: DrizzleSqliteDODatabase, rawSql: SqlStorage)
services/cloud-agent-next/src/session/queries/events.ts:213
↓ 42 callersFunctioncreateMockDOStub
( overrides: { registerSession?: ReturnType<typeof vi.fn>; createSessionWithInitialAdmission?: Retur
services/cloud-agent-next/src/session-prepare.test.ts:120
↓ 42 callersFunctioncreateQueueHarness
(options?: { metadata?: SessionMetadata | null; deliver?: (plan: MessageDeliveryRequest) => Promise<Messag
services/cloud-agent-next/src/session/session-message-queue.test.ts:122
↓ 42 callersFunctionformatDollars
(amount: number)
apps/web/src/lib/utils.ts:72
↓ 42 callersMethodgetStatus
()
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:2830
↓ 42 callersFunctioninvalidateProfile
(profileId: string)
apps/web/src/hooks/useCloudAgentProfiles.ts:184
↓ 42 callersFunctionmockGithubJsonResponse
(json: unknown)
apps/web/src/lib/github/open-pull-request-counts.test.ts:21
↓ 42 callersFunctionopen
(ws = sockets.at(-1))
apps/web/src/lib/cloud-agent-sdk/user-web-connection.test.ts:54
↓ 42 callersFunctionopenConnection
* Open the connection manager, simulating WS open so the promise resolves. * Returns the initial MockWebSocket instance.
services/cloud-agent-next/test/unit/wrapper/reconnection.test.ts:226
↓ 42 callersFunctionreduce
(state: OnboardingState, event: OnboardingEvent)
apps/mobile/src/lib/onboarding/machine.ts:174
↓ 42 callersFunctiontransaction
( overrides: Partial<AppleStoreDecodedTransaction> = {} )
apps/web/src/lib/kilo-pass/apple-store-notifications.test.ts:49
↓ 42 callersFunctiontryDispatchPendingReviews
( owner: Owner, options: TryDispatchPendingReviewsOptions = {} )
apps/web/src/lib/code-reviews/dispatch/dispatch-pending-reviews.ts:286
↓ 42 callersMethodwebSocketMessage
(ws: WebSocket, message: string | ArrayBuffer)
services/ai-attribution/worker-configuration.d.ts:542
↓ 42 callersFunctionwrite
(relPath: string, content: string | Buffer)
services/kiloclaw/controller/src/openclaw-export.test.ts:23
↓ 41 callersFunctionappNameFromUserId
(userId: string, prefix?: string)
services/kiloclaw/src/fly/apps.ts:57
↓ 41 callersFunctioncreditRenewalRow
(overrides: Partial<Record<string, unknown>> = {})
services/kiloclaw-billing/src/lifecycle.test.ts:310
↓ 41 callersMethoddispatchPush
(input: DispatchPushInput)
services/notifications/src/dos/NotificationChannelDO.ts:37
↓ 41 callersFunctiongetReviewStub
(name = `review-${crypto.randomUUID()}`)
services/code-review-infra/test/integration/code-review-orchestrator.test.ts:16
↓ 41 callersFunctionmakeStripeInvoice
(params: { id: string; amount_paid_cents: number; period_start_seconds?: number; created_seconds?: num
apps/web/src/lib/kilo-pass/stripe-handlers-invoice-paid.test.ts:79
↓ 41 callersFunctionwaitForText
(driver: WebDriver, text: string)
apps/extension/tests/e2e/firefox-selenium-e2e.ts:448
↓ 40 callersFunctioncreateAssistantInfo
(id: string, sessionId = 'session-123', completed?: number)
apps/web/src/lib/cloud-agent-next/processor/event-processor.test.ts:45
↓ 40 callersFunctioncreateFakeStorage
()
services/kiloclaw/src/durable-objects/kiloclaw-instance.test.ts:197
↓ 40 callersFunctioncreateMockDeps
(state: WrapperState)
services/cloud-agent-next/test/unit/wrapper/server.test.ts:58
↓ 40 callersMethoddisconnect
()
packages/event-service/src/client.ts:247
↓ 40 callersFunctiongenerateGitHubInstallationToken
( installationId: string, appType: GitHubAppType = 'standard' )
apps/web/src/lib/integrations/platforms/github/adapter.ts:36
← previousnext →201–300 of 24,362, ranked by callers