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
↓ 17 callers
Function
normalizeGitUrl
(url: string)
packages/worker-utils/src/normalize-git-url.ts:16
↓ 17 callers
Function
ok
(stdout = '', stderr = '')
services/cloud-agent-next/test/unit/wrapper/auto-commit.test.ts:38
↓ 17 callers
Method
putBotStatus
(input: PutBotStatusInput)
services/kilo-chat/src/do/sandbox-status-do.ts:55
↓ 17 callers
Function
putWrapperLease
( storage: DurableObjectStorage, lease: WrapperLease )
services/cloud-agent-next/src/session/wrapper-runtime-state.ts:209
↓ 17 callers
Function
randomInt
(min: number, max: number)
apps/web/src/scripts/db/seed-fake-usage-for-org.ts:23
↓ 17 callers
Function
readJson
(filePath: string)
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/index.lifecycle.test.ts:486
↓ 17 callers
Function
readJson
(response: Response)
services/cloud-agent-next/test/unit/wrapper/server.test.ts:82
↓ 17 callers
Function
readSseFrame
(reader: ReadableStreamDefaultReader<Uint8Array>)
services/cloud-agent-next/src/kilo-facade/user-kilo-facade.test.ts:382
↓ 17 callers
Method
redeemGitLabSessionCapability
( params: RedeemGitLabSessionCapabilityParams )
services/git-token-service/src/index.ts:998
↓ 17 callers
Function
require
(platform)
apps/web/src/lib/bot/platforms/registry.ts:40
↓ 17 callers
Function
setStatus
(next: AgentStatus)
apps/web/src/lib/cloud-agent-sdk/service-state.ts:529
↓ 17 callers
Function
sqlStringOrNull
(s: string | null | undefined)
packages/wl-sdk/src/commons/escape.ts:72
↓ 17 callers
Function
updateMessageInPages
( old: MessageInfiniteData<TPageParam>, messageId: string, updater: (message: Message) => Message )
packages/kilo-chat-hooks/src/use-messages.ts:293
↓ 17 callers
Function
updateOrganizationSettings
( organizationId: Organization['id'], settings: OrganizationSettings, txn?: DrizzleTransaction )
apps/web/src/lib/organizations/organizations.ts:819
↓ 17 callers
Function
userMicrodollarsUsed
(microdollars_used: number)
apps/web/src/lib/creditExpiration.test.ts:32
↓ 17 callers
Function
verifyEmail
(email: string)
apps/web/src/lib/email-neverbounce.ts:30
↓ 17 callers
Function
verifyTownOwnership
* Verify that a user has access to a town and return a record matching * RpcTownOutput (used by the getTown procedure).
services/gastown/src/trpc/router.ts:217
↓ 17 callers
Function
withTestExecutionCtx
(app: HonoApp)
services/kilo-chat/src/__tests__/helpers.ts:27
↓ 17 callers
Function
writeKiloCliConfig
( env: Record<string, string | undefined> = process.env, configDir = KILO_CONFIG_DIR, deps: KiloCliConfi
services/kiloclaw/controller/src/kilo-cli-config.ts:44
↓ 16 callers
Function
POST
(request: NextRequest)
apps/web/src/app/api/upload-cli-session-blob-v2/route.ts:23
↓ 16 callers
Method
addEvent
(message: string)
services/deploy-infra/builder/src/tests/webhook-delivery.test.ts:143
↓ 16 callers
Function
applyMessageCreatedEventToPages
( old: MessageInfiniteData<TPageParam>, e: MessageCreatedEvent )
packages/kilo-chat-hooks/src/use-messages.ts:509
↓ 16 callers
Function
baseServer
(overrides: Partial<RemoteMcpServer> = {})
apps/extension/entrypoints/sidepanel/remote-mcp-oauth-provider.test.ts:24
↓ 16 callers
Function
buildRepoBrowseUrl
(gitUrl: string | null | undefined)
apps/web/src/components/cloud-agent-next/utils/git-utils.ts:88
↓ 16 callers
Function
buildSnapshot
( providers: Array<{ slug: string; models: string[] }> )
apps/web/src/lib/ai-gateway/providers/openrouter/snapshot-diff.test.ts:8
↓ 16 callers
Function
classifyCloudAgentAttachmentType
( file: File )
apps/web/src/hooks/useCloudAgentAttachmentUpload.ts:81
↓ 16 callers
Function
cloneGitRepo
( session: ExecutionSession, workspacePath: string, gitUrl: string, gitToken?: string, gitAuthor?: G
services/cloud-agent-next/src/workspace.ts:720
↓ 16 callers
Function
command
(overrides: Partial<SecurityAgentCommand>)
apps/web/src/components/security-agent/SecurityAgentContext.test.ts:11
↓ 16 callers
Function
connectRemoteMcpServer
({ fetch: fetchFn, server, signal, storageArea, }: { readonly fetch: FetchLike; readonly server: R
apps/extension/entrypoints/sidepanel/remote-mcp-client.ts:96
↓ 16 callers
Function
createCachedFetch
(fetcher: () => Promise<T>, ttlMs: number, defaultValue: T)
apps/web/src/lib/cached-fetch.ts:9
↓ 16 callers
Function
createChatProcessor
(storage: SessionStorage)
apps/web/src/lib/cloud-agent-sdk/chat-processor.ts:31
↓ 16 callers
Function
createCloudAgentNextFetchClient
(baseUrl: string)
packages/worker-utils/src/cloud-agent-next-client.ts:288
↓ 16 callers
Function
createDeviceAuthRequest
(params: { userAgent?: string; ipAddress?: string; })
apps/web/src/lib/device-auth/device-auth.ts:29
↓ 16 callers
Function
createEnv
()
services/kiloclaw-billing/src/bootstrap.test.ts:139
↓ 16 callers
Function
createExecSession
()
services/cloud-agent-next/src/kilo/client.test.ts:30
↓ 16 callers
Function
createFs
()
services/kiloclaw/controller/src/auth-profiles-migration.test.ts:23
↓ 16 callers
Function
createGitLabOAuthState
(payload: GitLabOAuthStatePayload, userId: string)
apps/web/src/lib/integrations/platforms/gitlab/oauth-state.ts:39
↓ 16 callers
Function
createMemoryStorage
()
apps/web/src/lib/cloud-agent-sdk/storage/memory.ts:17
↓ 16 callers
Function
createMockFingerprintData
()
apps/web/src/lib/stytch.test.ts:28
↓ 16 callers
Function
createSessionWithStateCapture
( getTicketMock: jest.Mock<string | Promise<string>, [string]> = jest.fn( (_sessionId: string) => 'test-
apps/web/src/lib/cloud-agent-sdk/session-phase.test.ts:72
↓ 16 callers
Function
createTestInstance
(userId: string)
apps/web/src/lib/kiloclaw/cli-runs.test.ts:18
↓ 16 callers
Function
createUserMessage
(text: string, systemEnvironment?: string)
apps/extension/src/shared/agent-conversation.ts:124
↓ 16 callers
Function
decryptToken
(encrypted: string, key: CryptoKey)
services/wasteland/src/util/crypto.util.ts:40
↓ 16 callers
Method
disconnectUserAuthorization
(kiloUserId: string)
services/git-token-service/src/github-user-authorization-service.ts:143
↓ 16 callers
Function
doLog
( state: LoggableInstanceContext, message: string, details: Record<string, unknown> = {} )
services/kiloclaw/src/durable-objects/kiloclaw-instance/log.ts:182
↓ 16 callers
Method
editMessage
(params: EditMessageParams)
services/kilo-chat/src/do/conversation-do.ts:922
↓ 16 callers
Method
emitEvent
* Emit an analytics event with common DO dimensions baked in. * Follows gastown's Omit<> pattern — callers provide only the * event-specific fie
services/kiloclaw/src/durable-objects/kiloclaw-instance/index.ts:766
↓ 16 callers
Function
emitRunStateReport
(params: { queue?: ReportQueue; cloudAgentSessionId: string; state: SessionMessageState; occurredAt?:
services/cloud-agent-next/src/telemetry/queue-reports.ts:127
↓ 16 callers
Function
enqueueAffiliateEventForUser
( params: EnqueueAffiliateEventForUserParams )
apps/web/src/lib/impact/affiliate-events.ts:867
↓ 16 callers
Method
ensureWrapper
* Ensure a wrapper is running for the given session. * * This is the main entry point for wrapper lifecycle management: * 1. Checks if a wrap
services/cloud-agent-next/src/kilo/wrapper-client.ts:751
↓ 16 callers
Function
escapeSqlString
(s: string)
services/wasteland/src/upstream-bootstrap/dolthub-write.ts:569
↓ 16 callers
Function
fakeDeps
(existingConfig?: string, legacyConfig?: string)
services/kiloclaw/controller/src/kilo-cli-config.test.ts:4
↓ 16 callers
Function
fakeMachine
(overrides: Partial<FlyMachine>)
services/kiloclaw/src/durable-objects/kiloclaw-instance.test.ts:3348
↓ 16 callers
Function
fetch
(request: Request, env: Env, ctx: ExecutionContext)
services/gastown/src/gastown.worker.ts:1398
↓ 16 callers
Function
fetch
(request: Request, env: Env, ctx: ExecutionContext)
services/app-builder/src/index.ts:91
↓ 16 callers
Function
findLatestPreCutoffUserCommitSwitchQualification
( database: CommitSwitchQualificationRepository, subscriptionId: string, cutoff: string = KILOCLAW_COMMI
packages/db/src/kiloclaw-commit-switch-qualification-repository.ts:24
↓ 16 callers
Function
flushConnect
Drain the microtask queue so resolveSession, getTicket, and fetchSnapshot * resolve, causing the WebSocket to be created and onmessage to be assigne
apps/web/src/lib/cloud-agent-sdk/session-phase.test.ts:62
↓ 16 callers
Function
flyVolume
(overrides: Partial<FlyVolume> = {})
services/kiloclaw/src/routes/platform-orphan-volume.test.ts:168
↓ 16 callers
Function
forkCurrentResponses
(opts: { drift?: boolean } = {})
packages/wl-sdk/src/ops/test-helpers.ts:98
↓ 16 callers
Function
fsDeps
(fs: InMemoryFs)
services/kiloclaw/controller/src/auth-profiles-migration.test.ts:35
↓ 16 callers
Function
gatewayErrorResponse
(error: unknown)
apps/web/src/lib/mcp-gateway/http.ts:5
↓ 16 callers
Function
generateSecurityReport
(options: GenerateReportOptions)
apps/web/src/lib/shell-security/report-generator.ts:60
↓ 16 callers
Function
getBead
(sql: SqlStorage, beadId: string)
services/gastown/src/dos/town/beads.ts:221
↓ 16 callers
Function
getSandboxRecoveryState
( storage: DurableObjectStorage )
services/cloud-agent-next/src/session/wrapper-runtime-state.ts:216
↓ 16 callers
Function
getStatePaths
(api: { runtime: { state: { resolveStateDir: () => string } } })
services/kiloclaw/plugins/kiloclaw-morning-briefing/src/index.ts:295
↓ 16 callers
Function
handleSignupPromotion
( user: User, passedValidations: boolean, signupSource: SignupSource = null )
apps/web/src/lib/stytch.ts:230
↓ 16 callers
Function
hashToken
(value: string)
apps/web/src/lib/mcp-gateway/crypto.ts:7
↓ 16 callers
Function
imageVersionLatestKey
(variant: string)
services/kiloclaw/src/schemas/image-version.ts:44
↓ 16 callers
Method
interruptExecution
()
services/cloud-agent-next/src/persistence/CloudAgentSession.ts:1552
↓ 16 callers
Function
isOrgOwner
( owner: SecurityReviewOwner )
services/security-sync/src/sync.ts:210
↓ 16 callers
Function
jsonResponse
(value: unknown, init?: ResponseInit)
services/git-token-service/src/bitbucket-code-review-service.test.ts:21
↓ 16 callers
Function
jsonResponse
(data: unknown, status = 200)
services/cloud-agent-next/wrapper/src/server.ts:151
↓ 16 callers
Function
kiloPassMetadata
(params: { kiloUserId: string; tier: KiloPassTier; cadence: KiloPassCadence; })
apps/web/src/lib/kilo-pass/stripe-handlers-subscription-events.test.ts:48
↓ 16 callers
Method
listRigs
()
services/gastown/src/dos/Town.do.ts:1109
↓ 16 callers
Function
makeConfig
(overrides: Partial<WlClientConfig> = {})
packages/wl-sdk/src/client.test.ts:27
↓ 16 callers
Function
makeRow
( publicKeyPem = activePublicKey, keyId = 'active', tokens: { access: string; refresh: string } = {
services/git-token-service/src/github-user-authorization-service.test.ts:79
↓ 16 callers
Function
makeTransaction
( id: string, expiration_baseline_microdollars_used: number, amount: number, opts: Partial<CreditTrans
apps/web/src/lib/getCreditBlocks.test.ts:4
↓ 16 callers
Function
mockFetchResponse
(status: number, body: object | string)
services/kiloclaw/src/fly/client.test.ts:318
↓ 16 callers
Function
processOrganizationExpirations
( org: OrganizationForExpiration, now: Date )
apps/web/src/lib/creditExpiration.ts:352
↓ 16 callers
Method
put
( key: Key, value: string | ArrayBuffer | ArrayBufferView | ReadableStream, options?: KVNamespaceP
services/ai-attribution/worker-configuration.d.ts:2042
↓ 16 callers
Function
referralDisqualificationReason
(reason: string)
apps/web/src/lib/impact/kilo-pass-referrals.ts:77
↓ 16 callers
Function
relayRoute
* Shared relay for every `authorize → fetch upstream → relay` route. * Body-forwarding and bodyless routes share this path; the only difference * is
services/kiloclaw/controller/src/routes/kilo-chat.ts:207
↓ 16 callers
Function
request
(body: unknown)
services/cloud-agent-next/test/unit/wrapper/batch-admission.test.ts:35
↓ 16 callers
Function
requireNumericPlatformRepositories
( repositories: PlatformRepository<number | string>[] | null )
apps/web/src/lib/integrations/core/types.ts:6
↓ 16 callers
Function
requireOwnerAccess
* Verify the caller has owner-level access to the wasteland. * Resolves ownership then checks that the caller is: * - the direct user-owner, OR *
services/wasteland/src/trpc/router.ts:234
↓ 16 callers
Function
resolveDockerSocketPath
(executor: Executor)
services/cloud-agent-next/src/kilo/sandbox-runtime.ts:18
↓ 16 callers
Function
resolveTownOwnership
* Core ownership resolution shared by resolveRigOwnerStub and verifyTownOwnership. * Returns the owning DO stub and, for personal towns, the town rec
services/gastown/src/trpc/router.ts:141
↓ 16 callers
Method
retry
(options?: QueueRetryOptions)
services/ai-attribution/worker-configuration.d.ts:2152
↓ 16 callers
Function
rpcSafe
* Wraps a Zod schema in z.any().pipe(schema) so the TS input type is `any` * (avoiding "excessively deep" instantiation with Rpc.Promisified DO stubs
services/gastown/src/trpc/schemas.ts:9
↓ 16 callers
Function
runAutoCommit
(opts: AutoCommitOptions)
services/cloud-agent-next/wrapper/src/auto-commit.ts:85
↓ 16 callers
Function
sandboxIdFromHostnameLabel
(label: string)
packages/worker-utils/src/hostname-label.ts:166
↓ 16 callers
Function
seedFile
(fs: InMemoryFs, filePath: string, content: string)
services/kiloclaw/controller/src/auth-profiles-migration.test.ts:31
↓ 16 callers
Function
sendCommand
Send a command from a web ws
services/session-ingest/src/dos/UserConnectionDO.test.ts:208
↓ 16 callers
Function
sendMessage
(driver: WebDriver, text: string)
apps/extension/tests/e2e/firefox-selenium-e2e.ts:843
↓ 16 callers
Method
setSendToIngestFn
(fn: ((event: IngestEvent) => void) | null)
services/cloud-agent-next/wrapper/src/state.ts:119
↓ 16 callers
Function
setState
(newState: ConnectionState)
apps/web/src/lib/cloud-agent/websocket-manager.ts:108
↓ 16 callers
Function
showError
(message: string)
apps/web/src/app/(app)/claw/components/WeatherLocationInput.tsx:56
↓ 16 callers
Function
stopContainerIfIdle
(deps: IdleStopDeps)
services/gastown/src/dos/town/container-idle-stop.ts:31
↓ 16 callers
Function
streamResponse
(chunks: string[])
apps/extension/src/shared/kilo-gateway-chat-stream-client.test.ts:20
↓ 16 callers
Function
town
(overrides: Partial<GastownTownSignal> & { townId: string })
services/o11y/test/gastown-health-evaluate.spec.ts:39
← previous
next →
901–1,000 of 24,362, ranked by callers