MCPcopy Create free account

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

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

↓ 87 callersFunctionfetchCalls
(fetchMock: ReturnType<typeof vi.fn>, path: string)
services/code-review-infra/test/integration/code-review-orchestrator.test.ts:164
↓ 87 callersMethodloadState
()
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:250
↓ 86 callersFunctionPOST
( req: NextRequest, { params }: { params: Promise<{ reviewId: string }> } )
apps/web/src/app/api/internal/code-review-status/[reviewId]/route.ts:976
↓ 86 callersFunctioncreateSessionManager
(config: SessionManagerConfig)
apps/web/src/lib/cloud-agent-sdk/session-manager.ts:316
↓ 86 callersFunctionmakeParams
(reviewId: string)
apps/web/src/app/api/internal/code-review-status/[reviewId]/route.test.ts:218
↓ 86 callersFunctionmakeRequest
( body: Record<string, unknown>, options: { callbackToken?: string | null; attemptId?: string; }
apps/web/src/app/api/internal/code-review-status/[reviewId]/route.test.ts:192
↓ 85 callersFunctiondoWarn
( state: LoggableInstanceContext, message: string, details: Record<string, unknown> = {} )
services/kiloclaw/src/durable-objects/kiloclaw-instance/log.ts:206
↓ 84 callersFunctioncreateMockConfig
(overrides: Partial<SessionManagerConfig> = {})
apps/web/src/lib/cloud-agent-sdk/session-manager.test.ts:144
↓ 84 callersFunctiongetWrapperRuntimeState
( storage: WrapperRuntimeStateReader )
services/cloud-agent-next/src/session/wrapper-runtime-state.ts:523
↓ 84 callersFunctioninviteUserToOrganization
( organizationId: Organization['id'], invitingUserId: User['id'], email: string, role: OrganizationRol
apps/web/src/lib/organizations/organizations.ts:432
↓ 84 callersFunctionset
()
apps/web/src/lib/cloud-agent-sdk/storage/helpers.ts:67
↓ 84 callersFunctionuseThemeColors
()
apps/mobile/src/lib/hooks/use-theme-colors.ts:70
↓ 84 callersFunctionwithResolvedDORetry
( env: AppEnv['Bindings'], userId: string, instanceId: string | undefined, operation: (stub: KiloClawI
services/kiloclaw/src/routes/platform.ts:429
↓ 83 callersFunctioncn
(...inputs: ClassValue[])
apps/mobile/src/lib/utils.ts:4
↓ 83 callersMethodgetState
(ws: WebSocket)
services/event-service/src/do/user-session-do.ts:129
↓ 83 callersFunctionmakeReview
(overrides: Partial<CloudAgentCodeReview> = {})
apps/web/src/app/api/internal/code-review-status/[reviewId]/route.test.ts:222
↓ 83 callersMethodsetAlarm
(scheduledTime: number | Date, options?: DurableObjectSetAlarmOptions)
services/ai-attribution/worker-configuration.d.ts:638
↓ 82 callersFunctioncreateMockSubscription
(overrides: Partial<Stripe.Subscription> = {})
apps/web/src/lib/organizations/organization-subscription-event.test.ts:43
↓ 81 callersFunctioncreateFakeEnv
(opts: { includeNorthflank?: boolean } = {})
services/kiloclaw/src/durable-objects/kiloclaw-instance.test.ts:268
↓ 81 callersFunctioncreateMockSession
( execResult: MockExecResult | ((cmd: string) => MockExecResult) )
services/cloud-agent-next/src/kilo/wrapper-client.test.ts:58
↓ 81 callersMethodsubscribe
(contexts: string[])
packages/event-service/src/client.ts:271
↓ 80 callersFunctiongenerateBaseConfig
( env: EnvLike, configPath = DEFAULT_CONFIG_PATH, deps: ConfigWriterDeps = defaultDeps )
services/kiloclaw/controller/src/config-writer.ts:236
↓ 80 callersFunctionwithDORetry
( getStub: () => TStub, operation: (stub: TStub) => Promise<TResult>, operationName: string, config: D
packages/worker-utils/src/do-retry.ts:82
↓ 78 callersMethodcreateMessage
(params: CreateMessageParams)
services/kilo-chat/src/do/conversation-do.ts:688
↓ 78 callersMethodingest
( payload: IngestBatch, kiloUserId: string, sessionId: string, ingestVersion = 0, ingested
services/session-ingest/src/dos/SessionIngestDO.ts:131
↓ 77 callersMethodcancel
* The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled. * * [MDN Reference](htt
services/ai-attribution/worker-configuration.d.ts:2420
↓ 77 callersFunctionget
(platform)
apps/web/src/lib/bot/platforms/registry.ts:34
↓ 77 callersMethodwrite
(path: string, data: Uint8Array | string)
services/app-builder/src/git/fs-adapter.ts:477
↓ 76 callersFunctiongetUserFromAuthOrRedirect
( loggedOutRedirectUrl = '/users/sign_in' )
apps/web/src/lib/user/server.ts:1048
↓ 76 callersFunctionsoftDeleteUser
(userId: string)
apps/web/src/lib/user/index.ts:883
↓ 75 callersFunctioncreateEnv
(fetchImpl: BillingWorkerEnv['KILOCLAW']['fetch'])
services/kiloclaw-billing/src/lifecycle.test.ts:235
↓ 75 callersFunctionshellQuote
(value)
services/mcp-gateway/scripts/generate-keys.mjs:91
↓ 73 callersFunctionhandleKiloFacadeRequest
(params: { request: Request; env: Env; userId: string; authToken?: string; deps?: KiloFacadeRequestD
services/cloud-agent-next/src/kilo-facade/user-kilo-facade.ts:1160
↓ 73 callersFunctionparseInstanceIdQuery
Parse and validate optional ?instanceId= query param. Returns 400 on invalid format.
services/kiloclaw/src/routes/platform.ts:729
↓ 73 callersFunctiontoLoggable
(err: unknown)
services/kiloclaw/src/durable-objects/kiloclaw-instance/log.ts:100
↓ 72 callersFunctionchat
( systemPromptPrefix: string, userPromptPrefix: string, opts: { messageCount: number; hasTools:
services/auto-routing-benchmark/src/datasets/classifier-cases.ts:19
↓ 72 callersFunctionenvStub
()
services/cloud-agent-next/src/kilo-facade/user-kilo-facade.test.ts:47
↓ 72 callersMethodgetBeadAsync
(beadId: string)
services/gastown/src/dos/Town.do.ts:1291
↓ 71 callersFunctionfindUserById
( userId: string, fromDb: typeof db = db )
apps/web/src/lib/user/index.ts:137
↓ 71 callersFunctiongetUserOrganizationsWithSeats
( userId: User['id'] )
apps/web/src/lib/organizations/organizations.ts:56
↓ 71 callersFunctionlogImpactReferralDebug
(message: string, fields?: Record<string, unknown>)
apps/web/src/lib/impact/debug.ts:14
↓ 70 callersFunctionfailureResult
(error?: TErr)
apps/web/src/lib/maybe-result.ts:20
↓ 70 callersFunctiongetActiveInstance
( userId: string, executor: InstanceRegistryExecutor = db )
apps/web/src/lib/kiloclaw/instance-registry.ts:207
↓ 70 callersMethodterminalizeSessionMessageOnce
( messageId: string, params: TerminalizeParams, opts?: { gateResult?: 'pass' | 'fail';
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:2591
↓ 69 callersFunctioncreateKiloclawInstance
(userId: string, destroyedAt?: string)
apps/web/src/routers/kiloclaw-billing-router.test.ts:362
↓ 69 callersMethodinitialize
(params: InitializeParams)
services/kilo-chat/src/do/conversation-do.ts:480
↓ 68 callersMethodadmitSubmittedMessage
( request: SubmittedSessionMessageRequest )
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:3010
↓ 68 callersFunctiondispatch
(personal: AnyMutPath, org: AnyMutPath)
apps/mobile/src/lib/hooks/use-kiloclaw-mutations.ts:153
↓ 68 callersFunctiongetStub
(kiloUserId: string, sessionId: string)
services/session-ingest/test/integration/session-ingest-do.test.ts:14
↓ 67 callersFunctionreadRows
(rows: Array<Record<string, unknown>>)
services/wasteland/src/wanted-board/wanted-board-ops-sdk.test.ts:57
↓ 67 callersFunctiontoMicrodollars
(amount: number)
apps/web/src/lib/utils.ts:156
↓ 66 callersFunctioncreateEventProcessor
(config: EventProcessorConfig = {})
apps/web/src/lib/cloud-agent-next/processor/event-processor.ts:126
↓ 66 callersFunctionhandler
(req: Request)
apps/web/src/app/api/trpc/[trpc]/route.ts:7
↓ 65 callersFunctioncreateHarness
( initialEntries?: Array<[string, unknown]>, options?: { metadata?: SessionMetadata; storage?: Mem
services/cloud-agent-next/src/session/wrapper-supervisor.test.ts:109
↓ 65 callersFunctioncreateTestHarness
(overrides?: { execImpl?: ExecImpl; readConfigImpl?: () => unknown; readChannelPairingImpl?: ReadChannel
services/kiloclaw/controller/src/pairing-cache.test.ts:24
↓ 65 callersFunctionlog
(level: 'info' | 'warn' | 'error', message: string, fields: BillingLogFields)
services/kiloclaw-billing/src/lifecycle.ts:491
↓ 65 callersMethodwaitUntil
(promise: Promise<any>)
services/ai-attribution/worker-configuration.d.ts:475
↓ 64 callersFunctiongenerateApiToken
( { id, api_token_pepper }: User, extraPayload?: JWTTokenExtraPayload, options?: { expiresIn?: number }
apps/web/src/lib/tokens.ts:62
↓ 63 callersFunctionaddCliSocket
Create a CLI WebSocket and add it to the context with proper attachment.
services/session-ingest/src/dos/UserConnectionDO.test.ts:156
↓ 63 callersFunctionfakeDeps
()
services/kiloclaw/controller/src/bootstrap.test.ts:56
↓ 63 callersFunctionparseBody
* Safely parse JSON body through a zod schema. * Returns 400 with a consistent error shape on malformed JSON or validation failure.
services/kiloclaw/src/routes/platform.ts:1231
↓ 62 callersFunctiongenerateSandboxId
( perSessionOrgIds: string | undefined, orgId: string | undefined, userId: string, sessionId: string,
services/cloud-agent-next/src/sandbox-id.ts:183
↓ 62 callersFunctionlaunchExtensionContext
()
apps/extension/tests/e2e/extension-context-fixture.ts:62
↓ 62 callersFunctionmakeBotApp
App with bot auth middleware + bot routes. Also registers conversation + message * routes so we can set up test data (create conversations, messages
services/kilo-chat/src/__tests__/bot-messages-routes.test.ts:61
↓ 61 callersMethoddelete
* Delete a hosted image * @param imageId The ID of the image * @returns True if deleted, false if not found
services/kiloclaw-inbound-email/worker-configuration.d.ts:10170
↓ 61 callersFunctionmakeSession
(id: string, status = 'busy', title = 'Test', parentSessionId?: string)
services/session-ingest/src/dos/UserConnectionDO.test.ts:89
↓ 61 callersFunctionmakeTransaction
( id: string, expiryDate: string, baseline: number, amount: number, description = 'Test credits' )
apps/web/src/lib/creditExpiration.test.ts:16
↓ 61 callersFunctionsetup
Instantiate a fresh DO with a mock context. Returns the DO and helpers.
services/session-ingest/src/dos/UserConnectionDO.test.ts:123
↓ 61 callersMethodtransform
* Apply transform next, returning a transform handle. * You can then apply more transformations, draw, or retrieve the output. * @param transfor
services/ai-attribution/worker-configuration.d.ts:10675
↓ 60 callersFunctionbuildEnvVars
( env: KiloClawEnv, sandboxId: string, gatewayTokenSecret: string, userConfig?: UserConfig )
services/kiloclaw/src/gateway/env.ts:111
↓ 60 callersMethodgetMetadata
* Get session metadata. * Returns null if no metadata has been written yet (e.g., before first CLI execution).
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:1188
↓ 60 callersMethodgetStatus
(ctx?: RequestContext)
apps/web/src/lib/kiloclaw/kiloclaw-user-client.ts:90
↓ 60 callersMethodreject
(wantedId: string, input: RejectInput = {})
packages/wl-sdk/src/client.ts:307
↓ 60 callersFunctionreviewValues
(overrides: Partial<CodeReviewInsert> = {})
apps/web/src/lib/code-reviews/alerting/detectors.test.ts:34
↓ 60 callersFunctionsandboxIdFromUserId
(userId: string)
packages/worker-utils/src/sandbox-id.ts:30
↓ 60 callersFunctionupsertCliSessionPullRequestsFromWebhook
( payload: PullRequestPayload, owner: WebhookInstallationOwner )
apps/web/src/lib/integrations/platforms/github/webhook-handlers/upsert-cli-session-pull-requests.ts:110
↓ 59 callersFunctiononChange
()
apps/web/src/hooks/use-mobile.ts:10
↓ 59 callersMethodregisterAgent
(input: RegisterAgentInput)
services/gastown/src/dos/Town.do.ts:1673
↓ 59 callersFunctionsanitizeError
(err: unknown, operation: string)
services/kiloclaw/src/routes/platform.ts:1051
↓ 59 callersFunctionsendHeartbeat
Send a heartbeat from a CLI ws
services/session-ingest/src/dos/UserConnectionDO.test.ts:180
↓ 59 callersFunctionstartFixtureServer
({ title = 'Kilo extension fixture', }: { title?: string; } = {})
apps/extension/tests/e2e/extension-context-fixture.ts:11
↓ 59 callersFunctiontimestamp
(minutesFromDayStart: number)
apps/web/src/routers/admin-code-reviews-router.test.ts:38
↓ 59 callersFunctionunique
(values: string[])
services/cloud-agent-next/wrapper/src/model-diagnostics.ts:16
↓ 58 callersMethodgetAlarm
(options?: DurableObjectGetAlarmOptions)
services/ai-attribution/worker-configuration.d.ts:637
↓ 58 callersFunctionisValidCallbackPath
(path: string)
apps/web/src/lib/getSignInCallbackUrl.ts:17
↓ 57 callersFunctionapi
(path: string)
services/gastown/test/integration/http-api.test.ts:38
↓ 57 callersMethodclear
(base: 'local')
apps/extension/src/shared/auth.ts:20
↓ 57 callersFunctioncreateService
()
services/git-token-service/src/index.test.ts:191
↓ 57 callersFunctionerrorResponse
(error: string, message: string, status: number)
services/cloud-agent-next/wrapper/src/server.ts:158
↓ 57 callersFunctiongetOrganizationById
( id: Organization['id'], txn?: DrizzleTransaction )
apps/web/src/lib/organizations/organizations.ts:31
↓ 57 callersFunctionhandleSubscriptionEvent
( subscription: Stripe.Subscription, idempotencyKey?: string, isCreation = false )
apps/web/src/lib/organizations/organization-seats.ts:433
↓ 57 callersMethodreadKiloSdkMessages
(params: { limit?: number; before?: string })
services/session-ingest/src/dos/SessionIngestDO.ts:311
↓ 56 callersFunctioncreateHarness
(options?: { disableCommandFails?: boolean; preloadedConfig?: Record<string, unknown>; preloadedStatus?:
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/index.lifecycle.test.ts:82
↓ 55 callersFunctioncreateInternalApiContext
(options: { userId?: string | null; authToken?: string | null; internalApiSecret?: string | null; requ
services/cloud-agent-next/src/session-prepare.test.ts:156
↓ 55 callersFunctionvalidateFieldValue
( value: string | null | undefined, pattern: string | undefined )
packages/kiloclaw-secret-catalog/src/validation.ts:25
↓ 54 callersMethodcreateBead
(input: CreateBeadInput)
services/gastown/src/dos/Town.do.ts:1272
↓ 54 callersFunctionfetch
()
services/kiloclaw-billing/src/index.ts:354
↓ 54 callersFunctionformatError
(err: unknown)
services/wasteland/src/upstream-bootstrap/create-upstream.ts:324
↓ 54 callersMethodgetReader
* The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it. * * [MDN Reference](https://develope
services/ai-attribution/worker-configuration.d.ts:2426
↓ 54 callersMethodgetTownConfig
()
services/gastown/src/dos/Town.do.ts:926
← previousnext →101–200 of 24,362, ranked by callers