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
↓ 14 callers
Function
createDrizzleClient
(options: CreateDrizzleClientOptions)
packages/db/src/client.ts:19
↓ 14 callers
Function
createKilocodeEvent
(event: string, properties: unknown)
services/cloud-agent-next/src/shared/trim-payload.test.ts:10
↓ 14 callers
Function
createMockApi
()
apps/web/src/lib/cloud-agent-sdk/session-transport.test.ts:48
↓ 14 callers
Function
createMockContext
(env: Partial<Env> = {})
services/db-proxy/src/utils/auth.test.ts:13
↓ 14 callers
Function
createMockHeaders
()
apps/web/src/lib/stytch.test.ts:55
↓ 14 callers
Function
createMockKiloClient
(overrides?: Partial<WrapperKiloClient>)
services/cloud-agent-next/test/unit/wrapper/snapshot.test.ts:126
↓ 14 callers
Function
createOrchestrator
(options?: { sessionReady?: boolean; env?: Env })
services/cloud-agent-next/src/execution/orchestrator.test.ts:86
↓ 14 callers
Function
createStoredMessage
( messageId: string, sessionID: string, role: 'user' | 'assistant', created = 1 )
apps/web/src/lib/cloud-agent-sdk/session-manager.test.ts:177
↓ 14 callers
Function
createTestSubscription
(params: { kiloUserId: string; tier: KiloPassTier; cadence: KiloPassCadence; startedAt?: string | null
apps/web/src/lib/kilo-pass/issuance.test.ts:49
↓ 14 callers
Function
createToolResult
({ error, ok, toolCallId, value, }: CreateToolResultOptions)
apps/extension/src/shared/agent-conversation.ts:196
↓ 14 callers
Method
ensureMayor
()
services/gastown/src/dos/Town.do.ts:2959
↓ 14 callers
Function
escapeFilterValue
(value: string)
apps/web/src/lib/code-indexing/milvus-storage.ts:20
↓ 14 callers
Function
exchangeBitbucketOAuthCode
(code: string)
apps/web/src/lib/integrations/platforms/bitbucket/adapter.ts:186
↓ 14 callers
Function
fetchAutoChangeLogs
(organizationId: string)
apps/web/src/lib/organizations/auto-model-change-log.integration.test.ts:48
↓ 14 callers
Function
fetchPullRequestForBranch
(params: { installationId: number; owner: string; repo: string; branch: string; appType: GitHubAppTy
apps/web/src/lib/integrations/platforms/github/adapter.ts:956
↓ 14 callers
Function
fetchWorker
(request: Request, env: MockEnv)
services/cloud-agent-next/src/server.test.ts:130
↓ 14 callers
Function
generateProviderSpecificHash
(payload: string, provider: Provider)
apps/web/src/lib/ai-gateway/providerHash.ts:14
↓ 14 callers
Function
getBearerToken
(header: string | undefined)
services/kiloclaw/controller/src/routes/gateway.ts:31
↓ 14 callers
Function
getKiloPassSubscriptionCardState
( subscription: KiloPassSubscriptionCardSubscription | null | undefined, options: KiloPassSubscriptionCard
apps/mobile/src/lib/kilo-pass/subscription-card-state.ts:204
↓ 14 callers
Function
getLowerDomainFromEmail
(email: string)
apps/web/src/lib/utils.ts:223
↓ 14 callers
Function
getObjectProperty
(record: unknown, key: string)
apps/web/src/lib/impact/kiloclaw-referrals.ts:572
↓ 14 callers
Function
getSessionStore
* Get the IndexedDB store for cloud agent sessions. * * Uses jotai-minidb for reactive IndexedDB access with Jotai integration. * Sessions are keye
apps/web/src/components/cloud-agent/store/db-session-atoms.ts:135
↓ 14 callers
Function
getTier
(key: InstanceTierKey)
packages/kiloclaw-instance-tiers/src/helpers.ts:10
↓ 14 callers
Function
getUserAffiliateEvents
(userId: string)
apps/web/src/lib/impact/affiliate-events.test.ts:53
↓ 14 callers
Function
getUserUUID
(user: User)
apps/web/src/lib/user/server.ts:1159
↓ 14 callers
Function
green
(msg)
services/kiloclaw/e2e/google-setup-e2e.mjs:73
↓ 14 callers
Function
handleKiloChatReactAction
( args: HandleKiloChatReactActionParams )
services/kiloclaw/plugins/kilo-chat/src/react-action.ts:47
↓ 14 callers
Function
hasString
(value: Record<string, unknown>, key: string)
services/cloud-agent-next/src/shared/wrapper-bootstrap.ts:182
↓ 14 callers
Function
insertSubscriptionRow
(params: { userId: string; instanceId: string; stripeSubscriptionId?: string; paymentSource?:
apps/web/src/routers/kiloclaw-billing-router.test.ts:1025
↓ 14 callers
Function
insertTouch
(params: { userId: string; type: 'referral' | 'affiliate'; referralCode?: string; touchedAt?: string;
apps/web/src/lib/impact/kilo-pass-referrals.test.ts:189
↓ 14 callers
Function
instanceIdFromSandboxId
(sandboxId: string)
packages/worker-utils/src/instance-id.ts:47
↓ 14 callers
Function
isRecord
(value: unknown)
services/cloud-agent-next/wrapper/src/connection.ts:24
↓ 14 callers
Function
isSandboxInternalServerError
(error: unknown)
services/cloud-agent-next/src/sandbox-recovery.ts:136
↓ 14 callers
Method
issue
(subject: KiloSessionCapabilitySubject)
services/git-token-service/src/kilo-session-capability.ts:64
↓ 14 callers
Function
jsonBody
(resp: Response)
services/kiloclaw/controller/src/routes/doctor.test.ts:45
↓ 14 callers
Method
listBeadEvents
(options: { beadId?: string; since?: string; limit?: number; })
services/gastown/src/dos/Town.do.ts:1409
↓ 14 callers
Method
listInstances
(ownerKey: string)
services/kiloclaw/src/durable-objects/kiloclaw-registry.ts:125
↓ 14 callers
Function
listUserSubscriptions
(userId: string)
apps/web/src/lib/kiloclaw/personal-subscription-destroy-collapse.test.ts:103
↓ 14 callers
Method
listen
(...args: unknown[])
services/ai-attribution/worker-configuration.d.ts:10823
↓ 14 callers
Function
logApplyProgress
(params: { label: string; processed: number; total: number; startedAt: number; every?: number; })
apps/web/src/scripts/db/kiloclaw-subscription-alignment.ts:385
↓ 14 callers
Function
makeApp
(deps: AgentRouteDeps)
services/kiloclaw/controller/src/routes/config-agents.test.ts:78
↓ 14 callers
Function
makeDbSession
(sessionId: string, updatedAt: string)
apps/web/src/components/cloud-agent-next/hooks/useSidebarSessions.test.ts:13
↓ 14 callers
Function
makeDeps
(overrides: Partial<IdleStopDeps> = {})
services/gastown/src/dos/town/container-idle-stop.test.ts:34
↓ 14 callers
Function
makeKv
(initialValue: string | null = null)
services/kiloclaw/src/durable-objects/regions.eviction.test.ts:11
↓ 14 callers
Function
makeMessageUpdated
(id: number, messageId: string, role: 'user' | 'assistant')
services/gastown/test/unit/conversation.test.ts:51
↓ 14 callers
Function
makeResponse
(status: number, body = '')
services/webhook-agent-ingest/src/initiate-response.test.ts:4
↓ 14 callers
Function
markMessageAccepted
( storage: SessionMessageStorage, messageId: string, wrapperRunId: string, now = Date.now(), dispatc
services/cloud-agent-next/src/session/session-message-state.ts:454
↓ 14 callers
Function
migrateKilocodeAuthProfilesToKeyRef
( rootDir: string, deps: AuthProfilesMigrationDeps = defaultDeps )
services/kiloclaw/controller/src/auth-profiles-migration.ts:212
↓ 14 callers
Function
minutesAgo
(minutes: number)
apps/web/src/routers/admin-code-reviews-router.test.ts:42
↓ 14 callers
Function
mockFetch
(status: number, body: unknown)
packages/worker-utils/src/cloud-agent-next-client.test.ts:13
↓ 14 callers
Function
mockFetch
(data: unknown, status = 200)
services/gastown/container/plugin/client.test.ts:13
↓ 14 callers
Function
mockFetchSequence
( responses: Array<[number, unknown, HeadersInit?]> )
services/kiloclaw/src/northflank/client.test.ts:33
↓ 14 callers
Function
mockSuccessfulWrite
()
services/wasteland/src/upstream-bootstrap/create-upstream.test.ts:73
↓ 14 callers
Function
normalizeTimestamp
(value: string | null)
apps/web/src/routers/admin/stripe-disputes-router.ts:61
↓ 14 callers
Function
onSuccess
(data)
apps/web/src/app/admin/components/KiloclawInstances/KiloclawInstancesPage.tsx:332
↓ 14 callers
Function
parseWlBranch
(branch: string | null | undefined)
packages/wl-sdk/src/ops/branch.ts:49
↓ 14 callers
Function
pkceChallenge
(verifier: string)
apps/web/src/lib/mcp-gateway/crypto.ts:23
↓ 14 callers
Function
pollOperation
(opts: PollOperationOptions)
packages/wl-sdk/src/dolthub/operation.ts:122
↓ 14 callers
Function
postChat
(url: string, prompt: string)
services/cloud-agent-next/test/unit/fake-llm-server.test.ts:159
↓ 14 callers
Function
processInvoice
(params: { refereeId: string; subscriptionId: string; invoiceId?: string; tier?: KiloPassTier; caden
apps/web/src/lib/impact/kilo-pass-referrals.test.ts:227
↓ 14 callers
Function
providerFetch
(options: { requests: RecordedRequest[]; pullRequests?: Record<string, unknown>[]; comments?: Record<str
services/cloud-agent-next/wrapper/src/bitbucket-review-cli.test.ts:169
↓ 14 callers
Function
readSubscription
(id: string)
apps/web/src/lib/kiloclaw/stripe-funded-settlement.test.ts:28
↓ 14 callers
Function
reconstructConversation
(rawEvents: unknown[])
services/gastown/src/dos/town/conversation.ts:69
↓ 14 callers
Function
recordBotRequestCloudAgentSession
( params: RecordBotRequestCloudAgentSessionParams )
apps/web/src/lib/bot/request-logging.ts:131
↓ 14 callers
Function
redactLandingPathForLogs
(value: string | null | undefined)
apps/web/src/lib/impact/referral-utils.ts:137
↓ 14 callers
Function
redactSensitiveParams
(url: URL)
services/kiloclaw/src/utils/logging.ts:5
↓ 14 callers
Function
registerEnvRoutes
( app: Hono, supervisor: Supervisor, expectedToken: string, deps: EnvRoutesDeps = defaultDeps )
services/kiloclaw/controller/src/routes/env.ts:41
↓ 14 callers
Function
removeUserFromOrganization
( organizationId: Organization['id'], userId: User['id'], removedBy?: User['id'] )
apps/web/src/lib/organizations/organizations.ts:313
↓ 14 callers
Method
render
()
apps/mobile/src/components/agents/message-error-boundary.tsx:30
↓ 14 callers
Function
reportWithRun
(run: Record<string, unknown>)
packages/worker-utils/src/cloud-agent-queue-report.test.ts:12
↓ 14 callers
Function
request
(path: string, init: RequestInit = {})
services/auto-routing/src/index.test.ts:172
↓ 14 callers
Function
requireData
(result: SdkResult<T>, action: string)
services/cloud-agent-next/test/e2e/sdk-basic-chat.ts:53
↓ 14 callers
Function
resolveWastelandUpstreamForUser
( user: User, wastelandId: string )
apps/web/src/lib/wasteland/server-resolve.ts:23
↓ 14 callers
Function
roundAverage
(value: number | null)
services/model-eval-ingest/src/sync.ts:25
↓ 14 callers
Function
sanitizeBinaryToolResults
(request: GatewayRequest)
apps/web/src/lib/ai-gateway/tool-calling.ts:154
↓ 14 callers
Function
sdkMessageHistory
()
services/cloud-agent-next/src/kilo-facade/user-kilo-facade.test.ts:116
↓ 14 callers
Function
seedRestarting
( storage: ReturnType<typeof createFakeStorage>, overrides: Record<string, unknown> = {} )
services/kiloclaw/src/durable-objects/kiloclaw-instance.test.ts:414
↓ 14 callers
Function
selectImageVersionForInstance
( opts: SelectImageVersionOptions )
services/kiloclaw/src/lib/version-rollout.ts:66
↓ 14 callers
Function
sessionInfo
(id: string, overrides: Record<string, unknown> = {})
apps/web/src/lib/cloud-agent-sdk/__fixtures__/helpers.ts:32
↓ 14 callers
Function
setState
( value: typeof initialValue | ((previous: typeof initialValue) => typeof initialValue) )
apps/mobile/src/lib/kilo-pass/use-store-kilo-pass-purchase.test.tsx:156
↓ 14 callers
Method
setTimeout
(callback: (...args: any[]) => void, msDelay?: number)
services/ai-attribution/worker-configuration.d.ts:311
↓ 14 callers
Function
sqlValue
(v: string | number | bigint | boolean | null | undefined)
packages/wl-sdk/src/commons/escape.ts:93
↓ 14 callers
Function
stripHost
(url: string)
apps/web/src/lib/getSignInCallbackUrl.ts:7
↓ 14 callers
Function
subDays
(date: Date, days: number)
apps/mobile/src/lib/hooks/use-agent-sessions.ts:41
↓ 14 callers
Function
summarize
(rows: CaseResultRow[], kind: BenchmarkKind)
services/auto-routing-benchmark/src/run.ts:951
↓ 14 callers
Function
toBigInt
(value: string)
packages/mcp-gateway/src/ip.ts:6
↓ 14 callers
Function
toNonNullish
(value: T, message?: string)
apps/web/src/lib/utils.ts:290
↓ 14 callers
Function
transitionAnalysisCallbackLifecycle
( db: WorkerDb, params: { findingId: string; attemptToken: string; outcome: AnalysisCallbackLi
services/security-auto-analysis/src/analysis-start-lifecycle.ts:178
↓ 14 callers
Function
updateEnvValue
(filePath: string, key: string, value: string)
dev/local/scripts/start-tunnel.ts:77
↓ 14 callers
Function
userMsg
(id: string, sessionID = 'ses-1', overrides: Record<string, unknown> = {})
apps/web/src/lib/cloud-agent-sdk/__fixtures__/helpers.ts:43
↓ 14 callers
Function
verifyApproval
(actual: string, approvalFilePath: string)
apps/web/src/tests/helpers/approval.helper.ts:5
↓ 14 callers
Function
verifyRigOwnership
* Verify that a user has access to a rig — either through their personal DO * or through an org that owns the rig's town (checked via JWT claims). *
services/gastown/src/trpc/router.ts:267
↓ 14 callers
Function
webhookPayload
(uuid: string, overrides: Record<string, unknown> = {})
services/git-token-service/src/bitbucket-code-review-service.test.ts:28
↓ 13 callers
Function
POST
(req: NextRequest)
apps/web/src/app/api/internal/security-agent/notifications/route.ts:176
↓ 13 callers
Function
POST
(request: NextRequest)
apps/web/src/app/api/internal/kiloclaw/billing-side-effects/route.ts:421
↓ 13 callers
Function
acknowledgeDelivery
(kind: 'async-prompt' | 'failed')
services/cloud-agent-next/wrapper/src/server.ts:428
↓ 13 callers
Function
addSubscription
( orgId: string, status: SubStatus, opts: { amountUsd?: number; seatCount?: number; billingC
dev/seed/app/org-dashboard.ts:188
↓ 13 callers
Function
baseEnv
(overrides: Record<string, string> = {})
services/kiloclaw/controller/src/kilo-cli-config.test.ts:31
↓ 13 callers
Function
bodyFor
(overrides: Record<string, unknown> = {})
apps/web/src/app/api/internal/kiloclaw/scheduled-action-side-effects/route.test.ts:17
↓ 13 callers
Function
buildAffiliateEventDedupeKey
(params: { provider: AffiliateProvider; eventType: Exclude<AffiliateEventType, 'signup'>; entityId: stri
apps/web/src/lib/impact/affiliate-events.ts:234
← previous
next →
1,101–1,200 of 24,362, ranked by callers