MCPcopy Create free account

hub / github.com/a16z-infra/ai-town / functions

Functions321 in github.com/a16z-infra/ai-town

↓ 2 callersFunctionstopEngine
(ctx: MutationCtx, worldId: Id<'worlds'>)
convex/aiTown/main.ts:77
↓ 2 callersFunctiontileset_index_from_px
(x, y)
src/editor/le.js:62
↓ 2 callersFunctiontryPullOllama
(model: string, error: string)
convex/util/llm.ts:190
↓ 2 callersFunctionuncompressSigned
(input: ArrayBuffer)
convex/util/FastIntegerCompression.ts:186
↓ 2 callersFunctionunpackSampleRecord
(fields: FieldConfig, buffer: ArrayBuffer)
convex/engine/historicalObject.ts:283
↓ 2 callersFunctionunquantize
(quantized: number[], precision: number)
convex/util/compression.ts:6
↓ 2 callersMethodupdate
(now: number, data: T)
convex/engine/historicalObject.ts:108
↓ 2 callersMethodupdateAnimatedTiles
()
src/editor/se.js:289
↓ 2 callersFunctionuseServerGame
(worldId: Id<'worlds'> | undefined)
src/hooks/serverGame.ts:21
↓ 2 callersFunctionwaitForInput
(convex: ConvexReactClient, inputId: Id<'inputs'>)
src/hooks/sendInput.ts:6
↓ 2 callersFunctionxxHash32
(buffer: Uint8Array | string, seed = 0)
convex/util/xxhash.ts:61
↓ 2 callersFunctionzigzag_encode
(val: number)
convex/util/FastIntegerCompression.ts:32
↓ 1 callersMethodaddTileLevelCoords
(x, y, dim, index)
src/editor/se.js:211
↓ 1 callersMethodaddTileSheet
(name, sheet)
src/editor/le.js:351
↓ 1 callersFunctionallocGameId
(idType: T, idNumber: number)
convex/aiTown/ids.ts:21
↓ 1 callersFunctionapplyEngineUpdate
( ctx: MutationCtx, engineId: Id<'engines'>, update: EngineUpdate, )
convex/engine/abstractGame.ts:173
↓ 1 callersFunctionassertNever
(x: never)
convex/util/assertNever.ts:2
↓ 1 callersMethodbeginStep
(_now: number)
convex/aiTown/game.ts:165
↓ 1 callersFunctionblockedWithPositions
(position: Point, otherPositions: Point[], map: WorldMap)
convex/aiTown/movement.ts:171
↓ 1 callersMethodbufferHealth
()
src/hooks/useHistoricalTime.ts:125
↓ 1 callersFunctioncenterCompositePane
(x, y)
src/editor/le.js:792
↓ 1 callersFunctioncenterLayerPanes
(x, y)
src/editor/le.js:803
↓ 1 callersFunctioncenterLayerPanes
(x, y)
src/editor/se.js:696
↓ 1 callersMethodclockSkew
()
src/hooks/useHistoricalTime.ts:133
↓ 1 callersFunctioncomputeCompressedSizeInBytes
(input: number[])
convex/util/FastIntegerCompression.ts:42
↓ 1 callersFunctioncomputeCompressedSizeInBytesSigned
(input: number[])
convex/util/FastIntegerCompression.ts:53
↓ 1 callersFunctionconvertLayerData
(layerData, width, height)
data/convertMap.js:34
↓ 1 callersFunctionconvexUrl
* Determines the Convex deployment to use. * * We perform load balancing on the frontend, by randomly selecting one of the available instances. * W
src/components/ConvexClientProvider.tsx:12
↓ 1 callersFunctioncreateEngine
(ctx: MutationCtx)
convex/aiTown/main.ts:10
↓ 1 callersFunctiondebugColor
(_id: string)
src/components/DebugPath.tsx:34
↓ 1 callersMethoddeleteFromIndex
(index)
src/editor/se.js:217
↓ 1 callersFunctiondoimport
(str)
src/editor/lehtmlui.js:99
↓ 1 callersFunctiondoimport
(str)
src/editor/se.js:393
↓ 1 callersFunctiondownloadpng
(filename)
src/editor/le.js:462
↓ 1 callersFunctiondownloadpng
(filename)
src/editor/se.js:426
↓ 1 callersFunctionexplore
(current: PathCandidate)
convex/aiTown/movement.ts:59
↓ 1 callersFunctionf
()
convex/agent/embeddingsCache.ts:59
↓ 1 callersFunctionfetchBatch
(ctx: ActionCtx, texts: string[])
convex/agent/embeddingsCache.ts:14
↓ 1 callersFunctionfindRoute
(game: Game, now: number, player: Player, destination: Point)
convex/aiTown/movement.ts:57
↓ 1 callersFunctiongenerateMusic
( prompt: string, duration: number, webhook: string = process.env.CONVEX_SITE_URL + '/replicate_webhook'
convex/music.ts:100
↓ 1 callersFunctiongenerate_preamble
()
src/editor/spritefile.js:6
↓ 1 callersFunctiongenerate_preamble
()
src/editor/mapfile.js:7
↓ 1 callersFunctiongetOrCreateDefaultWorld
(ctx: MutationCtx)
convex/init.ts:42
↓ 1 callersMethodhandleInput
(now: number, name: Name, args: InputArgs<Name>)
convex/aiTown/game.ts:157
↓ 1 callersFunctionhashText
(text: string)
convex/agent/embeddingsCache.ts:54
↓ 1 callersMethodhistoricalServerTime
(clientNow: number)
src/hooks/useHistoricalTime.ts:59
↓ 1 callersMethodhistoryLength
()
convex/engine/historicalObject.ts:89
↓ 1 callersFunctioninit
()
src/editor/le.js:1355
↓ 1 callersFunctioninit
()
src/editor/se.js:1202
↓ 1 callersFunctioninitLevelLoader
()
src/editor/se.js:1075
↓ 1 callersFunctioninitPixiApps
()
src/editor/le.js:1160
↓ 1 callersFunctioninitPixiApps
()
src/editor/se.js:1019
↓ 1 callersFunctioninitRadios
()
src/editor/le.js:1236
↓ 1 callersFunctioninitRadios
()
src/editor/se.js:1124
↓ 1 callersFunctioninitTiles
()
src/editor/se.js:1172
↓ 1 callersFunctioninitTilesConfig
()
src/editor/le.js:1291
↓ 1 callersFunctioninitTilesSync
(callme)
src/editor/le.js:1253
↓ 1 callersMethodleave
(game: Game, now: number, player: Player)
convex/aiTown/conversation.ts:205
↓ 1 callersFunctionlevelPlaceNoVariable
(layer, e)
src/editor/le.js:938
↓ 1 callersFunctionlevelPlaceNoVariable
(layer, e)
src/editor/se.js:812
↓ 1 callersFunctionlevel_index_from_coords
(x, y)
src/editor/le.js:56
↓ 1 callersFunctionlevel_index_from_coords
(x, y)
src/editor/se.js:45
↓ 1 callersFunctionlevel_index_from_px
(x, y)
src/editor/se.js:59
↓ 1 callersFunctionloadAnimatedSpritesFromModule
(mod)
src/editor/le.js:402
↓ 1 callersMethodloadFromMapFile
(mod)
src/editor/le.js:161
↓ 1 callersMethodloadFromMapFile
(mod)
src/editor/se.js:159
↓ 1 callersFunctionloadMapFromModule
(mod)
src/editor/le.js:456
↓ 1 callersFunctionollamaFetchEmbedding
(text: string)
convex/util/llm.ts:688
↓ 1 callersFunctiononKeyDown
(e: KeyboardEvent)
src/components/MessageInput.tsx:30
↓ 1 callersMethodpack
()
convex/engine/historicalObject.ts:137
↓ 1 callersFunctionparseSheet
()
src/components/Character.tsx:42
↓ 1 callersFunctionpreviousConversationPrompt
( otherPlayer: { name: string }, conversation: { created: number } | null, )
convex/agent/conversation.ts:201
↓ 1 callersMethodreadAll
()
convex/util/llm.ts:651
↓ 1 callersMethodreadInner
()
convex/util/llm.ts:610
↓ 1 callersMethodreceive
(sampleRecord: Record<string, History>)
src/hooks/useHistoricalValue.ts:36
↓ 1 callersMethodreceive
(engineStatus: Doc<'engines'>)
src/hooks/useHistoricalTime.ts:37
↓ 1 callersFunctionreflectOnMemories
( ctx: ActionCtx, worldId: Id<'worlds'>, playerId: GameId<'players'>, )
convex/agent/memory.ts:325
↓ 1 callersFunctionrememberConversation
( ctx: ActionCtx, worldId: Id<'worlds'>, agentId: GameId<'agents'>, playerId: GameId<'players'>, con
convex/agent/memory.ts:24
↓ 1 callersFunctionrunAgentOperation
(ctx: MutationCtx, operation: string, args: any)
convex/aiTown/agent.ts:289
↓ 1 callersMethodsaveDiff
(ctx: MutationCtx, worldId: Id<'worlds'>, diff: GameStateDiff)
convex/aiTown/game.ts:250
↓ 1 callersMethodsaveStep
(ctx: ActionCtx, engineUpdate: EngineUpdate)
convex/aiTown/game.ts:206
↓ 1 callersMethodscheduleOperation
(name: string, args: unknown)
convex/aiTown/game.ts:153
↓ 1 callersFunctionsendHeartBeat
()
src/hooks/useWorldHeartbeat.ts:13
↓ 1 callersFunctionshouldCreateAgents
( db: DatabaseReader, worldId: Id<'worlds'>, engineId: Id<'engines'>, )
convex/init.ts:90
↓ 1 callersMethodsplitStream
(stream: ReadableStream<Uint8Array>)
convex/util/llm.ts:659
↓ 1 callersFunctionstartConversationMessage
( ctx: ActionCtx, worldId: Id<'worlds'>, conversationId: GameId<'conversations'>, playerId: GameId<'pl
convex/agent/conversation.ts:13
↓ 1 callersFunctionsuffixOverlapsPrefix
(s1: string, s2: string)
convex/util/llm.ts:590
↓ 1 callersMethodtakeDiff
()
convex/aiTown/game.ts:216
↓ 1 callersMethodtick
(now: number)
convex/aiTown/game.ts:177
↓ 1 callersMethodtickPathfinding
(game: Game, now: number)
convex/aiTown/player.ts:90
↓ 1 callersMethodtickPosition
(game: Game, now: number)
convex/aiTown/player.ts:137
↓ 1 callersFunctiontileset_coords_from_index
(index)
src/editor/le.js:76
↓ 1 callersFunctiontileset_coords_from_index
(index)
src/editor/se.js:65
↓ 1 callersFunctiontileset_index_from_coords
(x, y)
src/editor/le.js:51
↓ 1 callersFunctiontileset_index_from_coords
(x, y)
src/editor/se.js:40
↓ 1 callersFunctiontoUtf8
(text: string)
convex/util/xxhash.ts:33
↓ 1 callersFunctionundo_add_index_to_task
(tileindex, oldValue)
src/editor/undo.js:11
↓ 1 callersFunctionundo_mark_task_end
()
src/editor/undo.js:15
↓ 1 callersFunctionundo_mark_task_start
(layer)
src/editor/undo.js:6
↓ 1 callersFunctionupdate
()
src/components/DebugTimeManager.tsx:63
← previousnext →101–200 of 321, ranked by callers