MCPcopy Create free account

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

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

↓ 40 callersFunctionisValidCustomSecretKey
(key: string)
packages/kiloclaw-secret-catalog/src/catalog.ts:395
↓ 40 callersFunctionmakeItem
(item_type: string, data: Record<string, unknown>)
services/session-ingest/src/dos/session-metrics.test.ts:4
↓ 39 callersFunctionbuildPromptWrapperRequests
( metadata: CloudAgentSessionState, customizeEnv?: (env: PersistenceEnv) => void )
services/cloud-agent-next/src/session-service.test.ts:1544
↓ 39 callersFunctioncreateIntent
( messageId: string, prompt: string, options?: Pick<SessionMessageIntent, 'agent' | 'finalization'> )
services/cloud-agent-next/src/session/session-message-state.test.ts:51
↓ 39 callersFunctionderiveCallbackToken
(params: CallbackTokenParams)
packages/worker-utils/src/callback-token.ts:42
↓ 39 callersFunctiongetTownContainerStub
(env: Env, townId: string)
services/gastown/src/dos/TownContainer.do.ts:122
↓ 39 callersMethodinitAttachment
(rawParams: InitAttachmentParams)
services/kilo-chat/src/do/conversation-do.ts:1419
↓ 39 callersMethodonError
(error: unknown)
services/gastown/src/dos/TownContainer.do.ts:112
↓ 39 callersMethodslingConvoy
* Atomic batch sling: create N beads + 1 convoy, assign polecats, dispatch. * Used by the Mayor's gt_sling_batch tool.
services/gastown/src/dos/Town.do.ts:3489
↓ 38 callersMethodappend
(content: string | ReadableStream | Response, options?: ContentOptions)
services/ai-attribution/worker-configuration.d.ts:1660
↓ 38 callersFunctionbaseStripeEvent
()
apps/web/src/lib/stripe/index.test.ts:205
↓ 38 callersMethodcleanup
()
packages/kilo-chat/src/client.ts:122
↓ 38 callersFunctioncodeReview
(overrides: Partial<CodeReview> = {})
services/code-review-infra/test/integration/code-review-orchestrator.test.ts:72
↓ 38 callersFunctioncreateEnvWithQueueMocks
(fetchImpl: BillingWorkerEnv['KILOCLAW']['fetch'])
services/kiloclaw-billing/src/lifecycle.test.ts:449
↓ 38 callersFunctionexecute
( args: string[], fetch: (url: string, init: RequestInit) => Promise<Response>, input?: unknown, env:
services/cloud-agent-next/wrapper/src/bitbucket-review-cli.test.ts:148
↓ 38 callersFunctionfixtureWantedRow
(overrides: Record<string, unknown> = {})
services/wasteland/src/wanted-board/wanted-board-ops-sdk.test.ts:92
↓ 38 callersFunctionformatIsoDateString_UsaDateOnlyFormat
(dateString: string | Date | null)
apps/web/src/lib/utils.ts:100
↓ 38 callersMethodlistBeads
(filter: BeadFilter)
services/gastown/src/dos/Town.do.ts:1295
↓ 38 callersMethodqueue
(batch: MessageBatch<SnapshotRestoreMessage>)
services/kiloclaw/src/index.ts:1138
↓ 37 callersFunctioncreateEnv
( redeemGitHubSessionCapability: ReturnType<typeof vi.fn> = vi.fn(), redeemGitLabSessionCapability: Return
services/cloud-agent-next/src/sandbox-outbound.test.ts:51
↓ 37 callersFunctioncreateFakeStorage
()
services/cloud-agent-next/src/session/session-message-state.test.ts:21
↓ 37 callersMethodgetBead
(beadId: string)
services/gastown/container/plugin/client.ts:201
↓ 37 callersFunctionhandleOutbound
(request: Request, env: Cloudflare.Env)
services/cloud-agent-next/src/sandbox-outbound.test.ts:60
↓ 37 callersFunctionparseGitUrl
(gitUrl: string, gitlabInstanceUrl?: string)
packages/worker-utils/src/git-url.ts:86
↓ 37 callersFunctionqueueUserMessageInput
( input: QueueSessionUserMessageInput )
services/cloud-agent-next/test/helpers/session-setup.ts:165
↓ 37 callersFunctionseedSession
* The upsert short-circuits unless a `cli_sessions_v2` row exists in the * delivering tenant for the same `(git_url, git_branch)`. Tests that want
apps/web/src/lib/integrations/platforms/github/webhook-handlers/upsert-cli-session-pull-requests.test.ts:112
↓ 36 callersMethodaddRig
(input: { rigId: string; name: string; gitUrl: string; defaultBranch: string; })
services/gastown/src/dos/Town.do.ts:1082
↓ 36 callersFunctioncreateMessage
(overrides: Partial<PendingSessionMessage>)
services/cloud-agent-next/test/integration/session/pending-messages.test.ts:34
↓ 36 callersFunctioncreateMutableState
()
services/kiloclaw/src/durable-objects/kiloclaw-instance/state.ts:464
↓ 36 callersFunctionfetch
(request: Request, env: TestEnv)
services/cloud-agent-next/test/test-worker.ts:83
↓ 36 callersFunctiongenerateReviewPrompt
( config: CodeReviewAgentConfig, repository: string, prNumber?: number, options: GenerateReviewPromptO
apps/web/src/lib/code-reviews/prompts/generate-prompt.ts:143
↓ 36 callersFunctionkiloPassMetadata
(params: { kiloUserId: string; tier: KiloPassTier; cadence: KiloPassCadence; kiloPassScheduledChangeId
apps/web/src/lib/kilo-pass/stripe-handlers-invoice-paid.test.ts:232
↓ 36 callersFunctionmakeStripeSubscription
(params: { id: string; start_date_seconds: number; metadata: Stripe.Metadata; status?: Stripe.Subscrip
apps/web/src/lib/kilo-pass/stripe-handlers-invoice-paid.test.ts:58
↓ 36 callersFunctionmaybeNull
(value: T, nullPct: number)
apps/web/src/scripts/usage/benchmark-insert-usage.ts:34
↓ 35 callersFunctionbuildWorkspaceBackupCandidate
( request: WorkspaceBackupCandidateRequest )
services/cloud-agent-next/src/workspace-backup-cache.ts:172
↓ 35 callersFunctioncreateProfile
( owner: ProfileOwner, name: string, opts: { isDefault?: boolean } = {} )
apps/web/src/tests/cloud-agent-profile/profile-session-config.test.ts:41
↓ 35 callersFunctiongetKiloPassPriceId
(params: { tier: KiloPassTier; cadence: KiloPassCadence; })
apps/web/src/lib/kilo-pass/stripe-handlers-invoice-paid.test.ts:49
↓ 35 callersFunctiongetKiloPassStateForUser
( db: DbOrTx, kiloUserId: string, options: { forUpdate?: boolean } = {} )
apps/web/src/lib/kilo-pass/state.ts:123
↓ 35 callersFunctionmakeMessage
(overrides: Partial<LegacyPendingSessionMessage> = {})
services/cloud-agent-next/src/session/pending-messages.test.ts:51
↓ 35 callersFunctionmetadata
(options?: { devcontainer?: boolean; githubRepo?: string; sandboxId?: TestSandboxId; withProfile?: boo
services/cloud-agent-next/src/agent-sandbox/cloudflare/cloudflare-agent-sandbox.test.ts:35
↓ 35 callersFunctionprocessTopupForOrganization
( kiloUserId: User['id'], organizationId: Organization['id'], amountInCents: number, config: Config,
apps/web/src/lib/organizations/organization-billing.ts:330
↓ 35 callersFunctionreadStringParam
( args: Record<string, unknown>, key: string, options?: { required?: boolean } )
services/kiloclaw/plugins/kiloclaw-customizer/test/stubs/provider-web-search.ts:100
↓ 34 callersFunctionbuildGitLabUrl
( instanceUrl: string | undefined, path: string, query?: Record<string, string | number | boolean> )
apps/web/src/lib/integrations/platforms/gitlab/instance-url.ts:64
↓ 34 callersFunctioncomputeMonthlyCadenceBonusPercent
(params: { tier: KiloPassTier; streakMonths: number; isFirstTimeSubscriberEver: boolean; subscriptionS
apps/web/src/lib/kilo-pass/bonus.ts:27
↓ 34 callersFunctionfromMicrodollars
(microdollars: number)
apps/web/src/lib/utils.ts:160
↓ 34 callersFunctionnormalizeModelId
(modelId: string)
apps/web/src/lib/ai-gateway/model-utils.ts:21
↓ 34 callersFunctionreject
()
apps/web/src/lib/code-reviews/dispatch/dispatch-pending-reviews.test.ts:77
↓ 34 callersMethodwriteFile
(path: string, data: string | Uint8Array)
services/app-builder/src/git/memfs.ts:21
↓ 33 callersMethoddeleteAll
(options?: DurableObjectPutOptions)
services/ai-attribution/worker-configuration.d.ts:635
↓ 33 callersMethodemit
(event: string)
packages/kilo-chat-hooks/src/xhr-perform-upload.test.ts:44
↓ 33 callersFunctiongetClawOnboardingFlowState
({ status, mode, createSetupStarted, setupFailed = false, onboardingStep, hasBotIdentity, gatewa
apps/web/src/app/(app)/claw/components/ClawOnboardingFlow.state.ts:162
↓ 33 callersFunctiongrantCreditForCategory
( user: User, options: GrantCreditOptions )
apps/web/src/lib/promotionalCredits.ts:86
↓ 33 callersFunctionjsonBody
(res: Response)
services/kiloclaw/src/routes/platform-sanitize-error.test.ts:62
↓ 33 callersFunctionlogCallback
(message: string, extra?: Record<string, unknown>)
apps/web/src/app/api/internal/bot-session-callback/[botRequestId]/route.ts:55
↓ 33 callersFunctionmergeProfileConfiguration
( db: WorkerDb, args: MergeProfileConfigurationArgs )
packages/cloud-agent-profile/src/profile-session-config.ts:290
↓ 33 callersFunctionprocessCreditRenewalItem
( env: BillingWorkerEnv, message: CreditRenewalItemQueueMessage, attempt = 1 )
services/kiloclaw-billing/src/lifecycle.ts:2668
↓ 33 callersFunctionreadUserRow
(args: { userId: string; gitUrl?: string; branch: string })
apps/web/src/lib/integrations/platforms/github/webhook-handlers/upsert-cli-session-pull-requests.test.ts:71
↓ 33 callersFunctionresolveModel
( townConfig: TownConfig, rigOverride: RigOverrideConfig | null | undefined, role: string )
services/gastown/src/dos/town/config.ts:178
↓ 33 callersFunctionrestoreSession
( kiloSessionId: string, workspacePath: string, filePath?: string, options: RestoreSessionOptions = {}
services/cloud-agent-next/wrapper/src/restore-session.ts:544
↓ 33 callersFunctionthrowKiloclawAdminError
( err: unknown, fallbackMessage: string, options?: { statusCodeOverrides?: Partial<Record<number, Ki
apps/web/src/routers/admin-kiloclaw-instances-router.ts:261
↓ 33 callersFunctiontimedExec
( executor: Executable, command: string, operation: string, options?: { timeoutMs?: number; cw
services/cloud-agent-next/src/sandbox-timeout-logging.ts:85
↓ 33 callersFunctionupdateCodeReviewStatus
( reviewId: string, status: CodeReviewStatus, updates: { sessionId?: string; cliSessionId?: stri
apps/web/src/lib/code-reviews/db/code-reviews.ts:886
↓ 32 callersFunctionacceptedMessageState
( messageId: string, callbackTarget?: SessionMessageState['callbackTarget'] )
services/cloud-agent-next/src/session/message-settlement-outbox.test.ts:89
↓ 32 callersFunctioncreateConnectionManager
( state: WrapperState, config: ConnectionConfig, callbacks: ConnectionCallbacks )
services/cloud-agent-next/wrapper/src/connection.ts:412
↓ 32 callersFunctioncreateEnv
(metadata?: CloudAgentSessionState | null)
services/cloud-agent-next/src/session-service.test.ts:308
↓ 32 callersFunctioncreatePendingSessionMessage
(params: { messageId: string; clientRequestId?: string; role: 'user'; content: string; turn?: z.infe
services/cloud-agent-next/src/session/pending-messages.ts:317
↓ 32 callersFunctionderiveGatewayToken
(sandboxId: string, secret: string)
services/kiloclaw/src/auth/gateway-token.ts:8
↓ 32 callersFunctionencryptWithSymmetricKey
(value: string, keyBase64: string)
packages/encryption/src/encryption.ts:186
↓ 32 callersFunctionextractRepoFromGitUrl
(gitUrl: string | null | undefined)
apps/web/src/components/cloud-agent/utils/git-utils.ts:26
↓ 32 callersFunctionfetchGitLab
(url: string, init?: RequestInit, redirectCount = 0)
apps/web/src/lib/integrations/platforms/gitlab/adapter.ts:35
↓ 32 callersMethodgetAgentAsync
(agentId: string)
services/gastown/src/dos/Town.do.ts:1677
↓ 32 callersFunctiongetSeedDb
()
dev/seed/lib/db.ts:9
↓ 32 callersMethodgetWebSockets
(tag?: string)
services/ai-attribution/worker-configuration.d.ts:605
↓ 32 callersFunctioningestOrganizationTokenUsage
(usage: MicrodollarUsage)
apps/web/src/lib/organizations/organization-usage.ts:209
↓ 32 callersFunctioninsertActivePersonalSubscription
( userId: string, overrides?: Partial<typeof kiloclaw_subscriptions.$inferInsert> & { organizationId?:
apps/web/src/lib/impact/kiloclaw-referrals.test.ts:146
↓ 32 callersFunctionlog
(msg: string)
services/cloud-agent-next/wrapper/src/restore-session.ts:54
↓ 32 callersFunctionmakeRow
(overrides: Partial<CaseResultRow> = {})
services/auto-routing-benchmark/src/run.test.ts:16
↓ 32 callersFunctionmakeStripeSubscription
(params: { id: string; metadata: Stripe.Metadata; status: Stripe.Subscription.Status; cancel_at_period
apps/web/src/routers/kiloclaw-billing-router.test.ts:323
↓ 32 callersMethodprepareSession
( input: PrepareSessionInput, ticketId: string )
services/auto-fix-infra/src/services/cloud-agent-next-client.ts:40
↓ 32 callersFunctionquery
( sql: SqlStorage, query: Query, params: SqliteParams<Query> & unknown[] )
services/wasteland/src/util/query.util.ts:23
↓ 32 callersMethodremove
()
services/ai-attribution/worker-configuration.d.ts:1688
↓ 32 callersFunctionrequest
(path: string, method = 'GET')
services/mcp-gateway/src/mcp-gateway.worker.test.ts:49
↓ 32 callersFunctionrunValues
(session: SessionInsert, overrides: Partial<RunInsert> = {})
apps/web/src/lib/cloud-agent/dispatch-health/detector.test.ts:32
↓ 32 callersMethodupdateAgentStatus
(agentId: string, status: string)
services/gastown/src/dos/Town.do.ts:1689
↓ 31 callersFunctioncompleteStoreKiloPassPurchase
(params: { dbOrTx?: DrizzleTransaction; user: User; purchase: ValidatedStoreKiloPassPurchase; })
apps/web/src/lib/kilo-pass/store-subscription-completion.ts:431
↓ 31 callersFunctioncreateAppDO
( storage = createFakeStorage(), env = createFakeEnv() )
services/kiloclaw/src/durable-objects/kiloclaw-app.test.ts:93
↓ 31 callersFunctioncreateEnv
()
services/kiloclaw-billing/src/index.test.ts:59
↓ 31 callersFunctioncreateEvent
( streamEventType: string, data: unknown, sessionId = 'ses-1' )
apps/web/src/lib/cloud-agent-sdk/__fixtures__/helpers.ts:10
↓ 31 callersFunctioncreateInput
( overrides: Partial<ClawOnboardingFlowStateInput> = {} )
apps/web/src/app/(app)/claw/components/ClawOnboardingFlow.state.test.ts:62
↓ 31 callersFunctionfakeDirective
(conversation: ConversationScenario)
services/cloud-agent-next/test/e2e/lifecycle.ts:61
↓ 31 callersFunctionfetch
(req, server)
services/gastown/container/src/control-server.ts:1012
↓ 31 callersFunctionformatError
(error: unknown)
packages/worker-utils/src/format-error.ts:4
↓ 31 callersMethodgetInfo
()
services/kilo-chat/src/do/conversation-do.ts:515
↓ 31 callersFunctioninsertPersonalSubscriptionFixture
(params: PersonalSubscriptionFixtureInput)
apps/web/src/routers/kiloclaw-billing-router.test.ts:387
↓ 31 callersFunctionmakeUser
(overrides: Partial<User> = {})
apps/web/src/tests/account-verification-redirect.test.ts:81
↓ 31 callersFunctionrenderPage
(searchParams: Record<string, string> = {})
apps/web/src/tests/account-verification-redirect.test.ts:119
↓ 31 callersFunctionuseClawContext
()
apps/web/src/app/(app)/claw/components/ClawContext.tsx:26
↓ 31 callersFunctionuserIdFromSandboxId
(sandboxId: string)
packages/worker-utils/src/sandbox-id.ts:41
↓ 30 callersMethodacceptMessage
(messageId: string, config: FinalizationConfig)
services/cloud-agent-next/wrapper/src/state.ts:244
↓ 30 callersFunctionbead
(overrides: Partial<ReporterBead>)
services/gastown/src/dos/town/wasteland-reporter.test.ts:24
← previousnext →301–400 of 24,362, ranked by callers