MCPcopy Create free account

hub / github.com/BabylonSocial/babylon / functions

Functions14,075 in github.com/BabylonSocial/babylon

↓ 2 callersFunctiongetMentionBeforeCursor
* Find the mention that ends just before the cursor (for backspace).
apps/web/src/components/chats/MessageInput.tsx:95
↓ 2 callersFunctiongetMinimalRealityGrounding
()
packages/engine/src/prompts/reality-grounding.ts:177
↓ 2 callersMethodgetModelBenchmarks
* Get model benchmark results
packages/training/src/benchmark/ModelBenchmarkService.ts:308
↓ 2 callersFunctiongetMultiModelConfig
(vramGb: number)
packages/training/src/training/RLModelConfig.ts:105
↓ 2 callersFunctiongetNextQuestionNumber
* Get the next question number using an efficient MAX query. * Uses a single SQL aggregation instead of fetching all rows.
apps/web/src/app/api/cron/markets-tick/route.ts:2161
↓ 2 callersFunctiongetNftChainId
()
packages/api/src/services/nft/nft-chain.ts:18
↓ 2 callersFunctiongetNftHolderBalanceFromIndexer
( walletAddress: string )
packages/api/src/services/nft-indexer-service.ts:171
↓ 2 callersFunctiongetNftTokenOwnersFromIndexer
( tokenIds: number[] )
packages/api/src/services/nft-indexer-service.ts:265
↓ 2 callersFunctiongetNotifyEmail
()
packages/api/src/services/model-pilot-inquiry-email-service.ts:83
↓ 2 callersFunctiongetNpcFocusWeights
(npcId: string)
packages/engine/src/services/tier-config.ts:261
↓ 2 callersFunctiongetNpcGameContext
(agentId: string)
packages/agents/src/plugins/babylon/providers/npc-game-context.ts:119
↓ 2 callersMethodgetNpcTrades
(npcActorId: string, limit?: number)
packages/core/storage/ports/trading.ts:33
↓ 2 callersMethodgetOnChainReputation
(userId: string)
packages/engine/src/services/reputation-service.ts:153
↓ 2 callersFunctiongetOpenPerpPositionIntegrityIssue
(position: { size: unknown; leverage: unknown; })
packages/core/markets/perps/utils.ts:46
↓ 2 callersMethodgetOpenPositionByUserAndTicker
Get existing open position for user on specific ticker (for consolidation)
packages/core/markets/perps/types.ts:92
↓ 2 callersFunctiongetOrCreateDMChat
( userA: string, userB: string )
packages/engine/src/services/dm-service.ts:33
↓ 2 callersFunctiongetOrgIdToTickerMap
()
packages/engine/src/services/posting-probability-service.ts:96
↓ 2 callersMethodgetOrgImageUrl
(orgId: string)
packages/engine/src/services/static-data-registry.ts:972
↓ 2 callersMethodgetOrganizationPriority
( orgName: string, orgType: string )
packages/engine/src/services/static-data-registry.ts:1027
↓ 2 callersMethodgetOrganizationState
(id: string)
packages/core/storage/ports/actors.ts:39
↓ 2 callersFunctiongetOriginalCompanyName
* Maps satirical organization IDs to their real-world company names * * Used to generate logo parodies that reference the original company's brandin
apps/cli/src/generate-actor-images.ts:134
↓ 2 callersFunctiongetOwnedTokenIdsFromIndexer
( walletAddress: string, opts?: { limit?: number } )
packages/api/src/services/nft-indexer-service.ts:313
↓ 2 callersFunctiongetOwnerUsersByWalletAddresses
( ownerAddresses: string[] )
packages/api/src/services/nft-indexer-service.ts:367
↓ 2 callersFunctiongetPairRelationshipContext
( actorId: string, otherActorId: string, otherActorName: string )
packages/engine/src/services/post-generation-helpers.ts:1709
↓ 2 callersFunctiongetPairRelationshipPromptContext
( actorId: string, otherActorId: string, otherActorName: string )
packages/engine/src/services/npc-social-engagement-service.ts:1071
↓ 2 callersFunctiongetPairSentiment
( a: string, b: string )
packages/engine/src/services/npc-social-engagement-service.ts:687
↓ 2 callersFunctiongetParticipantsForRoomState
(roomIdValue: unknown)
packages/agents/src/runtime/AgentRuntimeManager.ts:186
↓ 2 callersMethodgetPaymentRequest
(requestId: string)
packages/a2a/src/types/server.ts:72
↓ 2 callersFunctiongetPerpMarkets
()
packages/agents/src/autonomous/utils/context-gatherers.ts:103
↓ 2 callersFunctiongetPerpSnapshot
()
scripts/run-full-tick.ts:143
↓ 2 callersMethodgetPhase
(day: number)
packages/engine/src/GameGenerator.ts:3378
↓ 2 callersFunctiongetPhaseGuidance
( phase: 'early' | 'middle' | 'late' | 'climax' )
packages/engine/src/services/narrative-state-service.ts:185
↓ 2 callersFunctiongetPnl
(p: T)
packages/testing/unit/closed-positions.test.ts:418
↓ 2 callersFunctiongetPointsPurchaseX402Manager
()
apps/web/src/lib/points-purchase-x402.ts:31
↓ 2 callersMethodgetPosition
( userId: string, marketId: string, outcome: string )
packages/examples/local-a2a-server/src/handlers/market-handler.ts:286
↓ 2 callersMethodgetPositions
( params: Record<string, JsonValue>, context: RequestContext )
packages/a2a/src/executors/babylon-executor.ts:2467
↓ 2 callersFunctiongetPostgresClientConfig
( url: string, role: 'primary' | 'replica' )
packages/db/src/db.ts:108
↓ 2 callersMethodgetPosts
()
packages/engine/src/adapters/InMemoryStateStore.ts:585
↓ 2 callersMethodgetPostsForFollowing
* Get posts for following feed with caching (cursor-based or offset-based pagination) * Filters out posts from test users
packages/api/src/cache/cached-database-service.ts:116
↓ 2 callersFunctiongetPredSnapshot
()
scripts/run-full-tick.ts:163
↓ 2 callersFunctiongetPredictionMarkets
()
packages/agents/src/autonomous/utils/context-gatherers.ts:71
↓ 2 callersMethodgetPredictions
(params?: { userId?: string; status?: 'active' | 'resolved'; })
packages/agents/src/plugins/babylon/integration-a2a-sdk.ts:701
↓ 2 callersFunctiongetPreviousWindowId
(offset: number = 1)
packages/training/src/training/window-utils.ts:27
↓ 2 callersFunctiongetPrimaryAuthorId
(story: NarrativeStory)
apps/web/src/app/api/feed/for-you/scoring.ts:87
↓ 2 callersFunctiongetPrivyAppIdFromEnv
()
packages/api/src/env.ts:38
↓ 2 callersMethodgetProgress
()
packages/engine/src/adapters/InMemoryStateStore.ts:568
↓ 2 callersFunctiongetPromptSurface
(promptType: string)
scripts/run-core-world-simulation.ts:857
↓ 2 callersFunctiongetProviderIcon
(provider: string)
apps/web/src/components/admin/AIModelsTab.tsx:112
↓ 2 callersFunctiongetProviderName
(provider: string)
apps/web/src/components/admin/AIModelsTab.tsx:125
↓ 2 callersFunctiongetPublicResolutionAudit
( marketId: string )
apps/web/src/app/api/markets/predictions/_resolution-audit.ts:26
↓ 2 callersFunctiongetQualityColor
(quality: string)
apps/web/src/components/admin/TrainingDataTab.tsx:122
↓ 2 callersFunctiongetQuantizedModelName
( tier: ModelTier, quantization: QuantizationMode )
packages/training/src/training/RLModelConfig.ts:148
↓ 2 callersMethodgetQuestionsToResolve
(beforeTime: Date)
packages/engine/src/GameTick.ts:37
↓ 2 callersFunctiongetRateLimitStatus
( userId: string, config: RateLimitConfig )
packages/engine/src/rate-limiting/index.ts:484
↓ 2 callersFunctiongetReactionSummary
(messageId: string, currentUserId: string)
apps/web/src/app/api/chats/[id]/messages/[messageId]/reactions/route.ts:82
↓ 2 callersFunctiongetReadReplicaDrizzle
* Get read replica Drizzle instance * Returns null when no read replica is configured
packages/db/src/db.ts:289
↓ 2 callersMethodgetRecentArticleCount
* Get the count of articles created in the current time window from the DB, * plus any in-flight reservations.
packages/engine/src/services/article-rate-limiter.ts:363
↓ 2 callersMethodgetRecentEvents
(limit?: number)
packages/core/storage/ports/game.ts:17
↓ 2 callersMethodgetRecentEvents
* Get recent events with actor involvement * * Retrieves recent world events, filtering to only include events * up to the current time to pr
packages/engine/src/services/market-context-service.ts:652
↓ 2 callersMethodgetRecentFeed
()
packages/engine/src/services/market-context-service.ts:600
↓ 2 callersMethodgetRecentMemories
* Get recent memories for an NPC, optionally filtered by type.
packages/engine/src/services/npc-memory-service.ts:210
↓ 2 callersMethodgetRecentMessages
( chatId: string, messageWindowSize: number )
packages/engine/src/services/shared-chat-context-service.ts:370
↓ 2 callersFunctiongetRecentPairInteractionsContext
( actorId: string, otherActorId: string, actorName: string, otherActorName: string, now: Date )
packages/engine/src/services/post-generation-helpers.ts:1761
↓ 2 callersMethodgetRecentTicks
* Get recent tick statistics from memory * @param limit Maximum number of ticks to return * @returns Array of recent tick statistics
packages/engine/src/services/token-stats-service.ts:327
↓ 2 callersFunctiongetRecentlyMentionedActorIds
()
packages/engine/src/services/player-influence-service.ts:224
↓ 2 callersMethodgetRegistryContract
()
packages/examples/local-a2a-server/src/services/local-blockchain.ts:108
↓ 2 callersMethodgetRelationship
* Get relationship state between two actors.
packages/engine/src/services/npc-memory-service.ts:251
↓ 2 callersFunctiongetRelationshipModifier
(relationship: string)
packages/engine/src/EmotionSystem.ts:165
↓ 2 callersMethodgetRelevantGroupContextForUser
( userId: string, options: { chatLimit?: number; messageWindowSize?: number; factLim
packages/engine/src/services/shared-chat-context-service.ts:610
↓ 2 callersMethodgetReplacementForTerm
Get replacement for search term - full name or word-to-word mapped alias
packages/engine/src/services/character-mapping-service.ts:105
↓ 2 callersMethodgetReputation
Get reputation metrics for an agent token
packages/contracts/src/types.ts:39
↓ 2 callersMethodgetRequiredMarket
(ticker: string)
packages/core/markets/perps/PerpMarketService.ts:1745
↓ 2 callersFunctiongetResolutionLabel
Returns a label + color variant for a closed prediction position
apps/web/src/app/agents/team/AgentPnL.tsx:77
↓ 2 callersMethodgetResolvedQuestions
()
packages/engine/src/services/actor-context-builder.ts:298
↓ 2 callersFunctiongetResult
()
packages/testing/unit/AutomationPipeline.test.ts:61
↓ 2 callersFunctiongetRoomsForParticipantState
(participantIdValue: unknown)
packages/agents/src/runtime/AgentRuntimeManager.ts:201
↓ 2 callersFunctiongetRssCacheHeaders
()
apps/web/src/lib/rss.ts:94
↓ 2 callersMethodgetRuntimeCount
()
packages/agents/src/runtime/AgentRuntimeManager.ts:1807
↓ 2 callersFunctiongetSecret
()
packages/api/src/realtime/index.ts:54
↓ 2 callersMethodgetSelectionSummary
* Get model selection summary for logging/monitoring * * Provides a comprehensive summary of the current model selection state, * including b
packages/training/src/training/ModelSelectionService.ts:365
↓ 2 callersFunctiongetServerApiKey
()
packages/a2a/src/utils/api-key-auth.ts:235
↓ 2 callersFunctiongetServerCapabilities
()
packages/mcp/src/server/mcp-server.ts:35
↓ 2 callersFunctiongetSessionDuration
()
packages/api/src/agent-auth.ts:200
↓ 2 callersFunctiongetSharedChatContextService
()
packages/agents/src/plugins/babylon/evaluators/shared-chat-context.ts:41
↓ 2 callersFunctiongetShuffledExamplesText
()
packages/engine/src/prompts/trading/npc-market-decisions.ts:179
↓ 2 callersMethodgetSignalDirection
* Get the expected signal direction for the current phase * * @param phase - Current phase name * @param arcPlan - The arc plan for the quest
packages/engine/src/services/timeframe-arc-planner.ts:260
↓ 2 callersMethodgetStabilityFund
()
packages/engine/src/__tests__/integration/market-volatility.simulation.test.ts:249
↓ 2 callersMethodgetStandardBenchmarkPaths
* Get standard benchmark paths for model evaluation
packages/training/src/benchmark/ModelBenchmarkService.ts:591
↓ 2 callersFunctiongetStarRating
(score: number)
apps/web/src/components/reputation/FeedbackHistory.tsx:109
↓ 2 callersFunctiongetState
()
packages/db/src/json-storage.ts:101
↓ 2 callersFunctiongetStateBoundaries
( startTime: Date, endTime: Date, timeframe: MarketTimeframe )
packages/engine/src/services/market-timeframes.ts:599
↓ 2 callersMethodgetStatus
* Get automation status
packages/training/src/training/AutomationPipeline.ts:1042
↓ 2 callersFunctiongetStatusDotClass
(status: SystemStatusLevel)
apps/web/src/components/admin/SystemHealthTab.tsx:171
↓ 2 callersFunctiongetStore
* Get the current session store
packages/api/src/agent-auth.ts:68
↓ 2 callersFunctiongetString
(value: JsonValue | undefined)
packages/training/src/benchmark/trust.ts:130
↓ 2 callersMethodgetSummary
* Get aggregated summary for recent ticks * @param limit Number of recent ticks to include in summary * @returns Aggregated summary statistics
packages/engine/src/services/token-stats-service.ts:336
↓ 2 callersMethodgetSummaryRow
(chatId: string)
packages/engine/src/services/shared-chat-context-service.ts:334
↓ 2 callersFunctiongetTableData
()
packages/testing/unit/cron/markets-tick.test.ts:129
↓ 2 callersFunctiongetTargetQuoteState
( market: PerpMarketRecord )
packages/core/markets/perps/microstructure.ts:72
↓ 2 callersFunctiongetTargetedTickUrl
(agentId: string)
packages/testing/integration/agent-lock.integration.test.ts:47
← previousnext →3,601–3,700 of 14,075, ranked by callers