MCPcopy Create free account

hub / github.com/BabylonSocial/babylon / functions

Functions14,075 in github.com/BabylonSocial/babylon

↓ 2 callersMethodgenerateMidWorldEvents
* Generate mid-game world events (Days 11-20) * Signals become more balanced with slight bias toward truth. * Uses probability-based triggers wi
packages/engine/src/GameWorld.ts:630
↓ 2 callersMethodgenerateMoodChanges
* Generate mood changes for the day
packages/engine/src/GameGenerator.ts:3235
↓ 2 callersFunctiongenerateNPCComment
* Generate a comment with full actor context
packages/engine/src/services/npc-social-engagement-service.ts:1264
↓ 2 callersFunctiongenerateNPCCommentReply
* Generate a reply to an existing comment (nested thread).
packages/engine/src/services/npc-social-engagement-service.ts:1144
↓ 2 callersFunctiongenerateNewQuestions
* Generate new questions using QuestionManager
packages/engine/src/game-tick.ts:1461
↓ 2 callersMethodgenerateNewsReport
( day: number, journalist: NPC, events: WorldEvent[] )
packages/engine/src/GameWorld.ts:925
↓ 2 callersFunctiongenerateNonce
* Generate a cryptographically secure nonce
packages/shared/src/auth/farcaster-auth-client.ts:165
↓ 2 callersFunctiongenerateOrgActors
(packDir: string)
scripts/generate-org-actors.ts:147
↓ 2 callersMethodgenerateQuestionsForContinuousGame
* Generate questions for continuous game mode with full context * * @param count - Number of questions to generate * @param deadlineMs - Dead
packages/engine/src/QuestionManager.ts:1046
↓ 2 callersMethodgenerateReplyForCharacter
* PER-CHARACTER: Generate reply for a single character with full context * * @description * Generates a reply from an actor responding to ano
packages/engine/src/FeedGenerator.ts:3726
↓ 2 callersFunctiongenerateSkillsMarkdown
( skills: ReturnType<typeof parseAgentCardSkills>, operations: string[], byPrefix: Map<string, string[]>
scripts/generate-skills-md.ts:222
↓ 2 callersMethodgenerateTerminalChart
* Generate a simple terminal-friendly chart using ASCII
packages/training/src/benchmark/BenchmarkChartGenerator.ts:660
↓ 2 callersFunctiongenerateTestAgent
(index: number)
packages/testing/performance/concurrent-agents.perf.test.ts:40
↓ 2 callersMethodgenerateTimeframeQuestion
* Generate a single question for a specific timeframe with full narrative context. * * @param timeframe - The market timeframe key (15m, 30m, 1h
packages/engine/src/QuestionManager.ts:1723
↓ 2 callersFunctiongenerateTrendingSummary
( tagDisplayName: string, category: string | null, recentPosts: string[] )
packages/engine/src/services/trending-grouping-service.ts:439
↓ 2 callersMethodgenerateUsername
(name: string)
packages/engine/src/services/character-mapping-service.ts:100
↓ 2 callersMethodgenerate_action
Generate an action response for the given scenario. Returns: (response_text, input_ids, output_ids) - text and tensors f
packages/training/python/src/training/continuous_rl.py:294
↓ 2 callersFunctiongenerate_response
Generate a response given chat messages.
packages/training/python/scripts/eval_scambench.py:366
↓ 2 callersFunctiongenerate_trace
Generate a high-entropy <think> reasoning trace for a dataset row.
packages/training/python/scripts/data-prep/generate_reasoning_traces.py:387
↓ 2 callersFunctiongenerated_script
( *, fingerprint: str, source_record_id: str, source_dataset: str, transform_family: str,
packages/training/python/tests/test_assemble_scam_defense_hf_dataset.py:79
↓ 2 callersFunctiongetActiveMarketsByTimeframe
* Get active markets grouped by GRANULAR timeframe (e.g., '15m', '30m', '1h') * * IMPORTANT: Groups by granular timeframe derived from (endTime - st
apps/web/src/app/api/cron/markets-tick/route.ts:1296
↓ 2 callersFunctiongetActivityTitle
(activity: AgentActivity)
apps/web/src/components/agents/AgentActivityCard.tsx:90
↓ 2 callersFunctiongetActorActiveHours
* Get the hours an actor is active based on their ID and game day. * Spreads actors evenly across the 24-hour day. * * @param actorId - The actor's
packages/engine/src/services/activity-pattern-service.ts:81
↓ 2 callersFunctiongetActorById
(actorId: string)
packages/engine/src/db/queries.ts:224
↓ 2 callersMethodgetActorImageUrl
(actorId: string)
packages/engine/src/services/static-data-registry.ts:961
↓ 2 callersMethodgetActorsByAffiliation
* Get all actors affiliated with a specific organization - NO DATABASE CALL * Lazy-builds the affiliation index on first call.
packages/engine/src/services/static-data-registry.ts:802
↓ 2 callersMethodgetAgent
( agentUserId: string, managerUserId?: string )
packages/agents/src/services/AgentService.ts:347
↓ 2 callersFunctiongetAgentConfig
( userId: string )
packages/agents/src/services/AgentService.ts:51
↓ 2 callersMethodgetAgentCount
* Get total agent count
packages/examples/local-a2a-server/src/services/agent-registry.ts:183
↓ 2 callersFunctiongetAgentGroupChats
( agentUserId: string )
packages/agents/src/autonomous/utils/context-gatherers.ts:278
↓ 2 callersMethodgetAgentId
()
packages/examples/harness/src/a2a-client.ts:42
↓ 2 callersFunctiongetAgentImports
()
apps/cli/src/commands/train.ts:137
↓ 2 callersFunctiongetAgentOwnPosts
( agentUserId: string )
packages/agents/src/autonomous/utils/context-gatherers.ts:389
↓ 2 callersFunctiongetAgentPositions
(agentUserId: string)
packages/agents/src/autonomous/utils/context-gatherers.ts:135
↓ 2 callersMethodgetAgentPrimaryDomain
* Get the primary domain for an agent (first domain in their list)
packages/agents/src/autonomous/TopicDiversityService.ts:278
↓ 2 callersMethodgetAllCharacterMappings
* Get all character mappings - NO DATABASE CALL
packages/engine/src/services/static-data-registry.ts:866
↓ 2 callersMethodgetAllGames
()
packages/core/storage/ports/game.ts:14
↓ 2 callersFunctiongetArcSignalGuidanceForDiscourse
( actorId: string, relatedQuestionNumber: number, currentDay: number )
packages/engine/src/services/post-generation-helpers.ts:1804
↓ 2 callersFunctiongetArchetypeStats
()
apps/cli/src/commands/train.ts:271
↓ 2 callersFunctiongetArgValue
(name: string)
scripts/seed-nft-snapshot-csv.ts:32
↓ 2 callersFunctiongetAuthedUserContextFromPrivyToken
( token: string )
packages/api/src/services/privy/authed-user.ts:29
↓ 2 callersFunctiongetAuthorInfo
( authorId: string, userDisplayName: string | null, userUsername: string | null,
packages/agents/src/plugins/plugin-agent-core/src/actions/check-post-detail.ts:253
↓ 2 callersFunctiongetAuthorInfo
( authorId: string )
apps/web/src/app/api/users/[userId]/posts/route.ts:474
↓ 2 callersFunctiongetAutonomousCoordinator
()
packages/training/src/dependencies.ts:260
↓ 2 callersFunctiongetAvailableActions
( enabledFeatures: string[] )
packages/agents/src/autonomous/templates/multi-step-decision.ts:373
↓ 2 callersMethodgetBalance
( params: Record<string, JsonValue>, context: RequestContext )
packages/a2a/src/executors/babylon-executor.ts:2421
↓ 2 callersMethodgetBasePrice
* Get the base/initial price for a ticker. * * Used for **symmetric** slippage clamping so that the max impact is * identical on both the ope
packages/core/markets/perps/types.ts:279
↓ 2 callersFunctiongetBaselineModels
()
packages/training/src/benchmark/ModelRegistry.ts:138
↓ 2 callersMethodgetBestPerformingModel
* Get best performing model based on benchmark scores * * Finds the trained model with the highest benchmark score that is * ready or deploye
packages/training/src/training/ModelSelectionService.ts:194
↓ 2 callersMethodgetBucket
* Get or create token bucket for agent
packages/a2a/src/utils/rate-limiter.ts:40
↓ 2 callersMethodgetCallCount
()
packages/engine/src/__tests__/MarketDecisionEngine-token-management.test.ts:252
↓ 2 callersFunctiongetCategoryLabel
(category: EmailNotificationCategory)
packages/api/src/services/notification-email-service.ts:138
↓ 2 callersFunctiongetChainConfig
(chainId: number)
packages/api/src/services/nft-verification-service.ts:59
↓ 2 callersFunctiongetChainName
(chainId: number)
packages/shared/src/utils/chain-utils.ts:9
↓ 2 callersMethodgetChats
(filter?: 'all' | 'dms' | 'groups')
packages/agents/src/plugins/babylon/integration-a2a-sdk.ts:826
↓ 2 callersFunctiongetClaimStatus
(lastClaim: Date | null)
packages/api/src/services/daily-login-service.ts:148
↓ 2 callersFunctiongetClient
* Lazily initialize the OpenAI-compatible client for embeddings. * Prefers ELIZACLOUD_API_KEY, falls back to OPENAI_API_KEY. * Returns null if neith
packages/engine/src/llm/embedding-client.ts:27
↓ 2 callersMethodgetClueStrength
* Get the clue strength for the current phase * * @param phase - Current phase name * @param arcPlan - The arc plan for the question * @pa
packages/engine/src/services/timeframe-arc-planner.ts:284
↓ 2 callersFunctiongetClusterId
(story: NarrativeStory)
apps/web/src/app/api/feed/for-you/scoring.ts:91
↓ 2 callersFunctiongetConfig
()
packages/api/src/services/nft-mint-service.ts:205
↓ 2 callersFunctiongetConfiguredCharacters
()
packages/engine/src/services/npc-character-config.ts:611
↓ 2 callersFunctiongetConfiguredDefaultModel
()
packages/agents/src/llm/ollama-provider.ts:74
↓ 2 callersFunctiongetConfiguredProvider
* Determines the configured LLM provider from environment variables * * @returns The configured provider, defaulting to 'groq' if not specified * @
packages/agents/src/llm/agent-llm.ts:49
↓ 2 callersFunctiongetConnectionUrl
()
packages/db/src/db.ts:91
↓ 2 callersMethodgetContractCodeOrThrow
( // biome-ignore lint/suspicious/noExplicitAny: viem chain-parameterized PublicClient types are incompati
packages/api/src/services/nft-verification-service.ts:69
↓ 2 callersFunctiongetCronHeaders
()
packages/testing/integration/agent-lock.integration.test.ts:40
↓ 2 callersFunctiongetCurrentLevel
(points: number)
apps/web/src/components/reputation/TrustLevelBadge.tsx:91
↓ 2 callersMethodgetCurrentPositionsByNpcIds
( npcIds: string[] )
packages/engine/src/services/market-context-service.ts:955
↓ 2 callersFunctiongetDaysUntil
(date: Date | null)
packages/agents/src/plugins/plugin-agent-core/src/actions/check-predictions.ts:32
↓ 2 callersFunctiongetDaysUntil
(date: Date | null)
packages/agents/src/plugins/plugin-user-core/src/actions/check-predictions.ts:32
↓ 2 callersMethodgetDefaultModel
* Get the default model for the current provider
packages/engine/src/llm/openai-client.ts:879
↓ 2 callersFunctiongetDescription
()
apps/web/src/components/markets/TradeConfirmationDialog.tsx:175
↓ 2 callersFunctiongetDomainHints
(actor: Pick<Actor, 'domain'>)
packages/engine/src/services/post-intent-service.ts:92
↓ 2 callersMethodgetDomainSpecificDecay
* Adjust decay rate based on experience type and domain
packages/agents/src/plugins/plugin-experience/src/utils/confidenceDecay.ts:73
↓ 2 callersFunctiongetDuplicateStats
()
packages/engine/src/rate-limiting/index.ts:150
↓ 2 callersFunctiongetEffectiveWhitelistLeaderboardThreshold
()
packages/api/src/services/whitelist-service.ts:390
↓ 2 callersFunctiongetEncryptionKey
()
packages/agents/src/services/agent-registry.service.ts:47
↓ 2 callersFunctiongetEntitySelectionKey
(entity: { entityId: string | null; scope: PnlHistoryScope; })
apps/web/src/components/wallet/v2/pnl-tab.tsx:30
↓ 2 callersMethodgetEventsForNPC
* Get events that involve a specific NPC * * Retrieves events where the NPC is listed in the actors array. * This is used to build personal c
packages/engine/src/services/market-context-service.ts:691
↓ 2 callersFunctiongetFatiguePenalty
( exposureMap: Record<string, number>, satisfactionMap: Record<string, number>, hideMap: Record<string,
apps/web/src/app/api/feed/for-you/pipeline.ts:272
↓ 2 callersMethodgetFirstPositivePrice
( ...candidates: Array<number | null | undefined> )
packages/engine/src/services/game-bootstrap-service.ts:64
↓ 2 callersFunctiongetFullRealityGrounding
()
packages/engine/src/prompts/reality-grounding.ts:84
↓ 2 callersMethodgetGameState
* Get the current continuous game state. * * @returns The current game state or null if no game exists
packages/db/src/database-service.ts:121
↓ 2 callersFunctiongetGlobalStorage
* Helper to get typed global object for singleton storage.
packages/shared/src/utils/singleton.ts:25
↓ 2 callersMethodgetHistory
* Get recent event history * * @param eventType - Optional filter by event type * @param limit - Maximum number of events to return
packages/agents/src/communication/EventBus.ts:201
↓ 2 callersFunctiongetHourBoundary
(date = new Date())
apps/web/src/lib/wallet/pnlHistory.ts:82
↓ 2 callersMethodgetIndexFromSortedSet
* Get an index from Redis sorted set * Returns entries sorted by timestamp descending (newest first)
packages/a2a/src/persistent-task-store.ts:504
↓ 2 callersFunctiongetInitialReserves
( initialPrice: number, config: PerpMarketConfig = PERP_MARKET_CONFIG )
packages/shared/src/constants/markets.ts:79
↓ 2 callersFunctiongetInsertableDb
()
packages/agents/src/plugins/plugin-trajectory-logger/src/TrajectoryLoggerService.ts:108
↓ 2 callersFunctiongetIntensityColor
(intensity: number)
apps/web/src/components/admin/ActivityHeatmap.tsx:96
↓ 2 callersMethodgetLatestMessageMeta
(chatId: string)
packages/engine/src/services/shared-chat-context-service.ts:348
↓ 2 callersFunctiongetLiquidityRegime
( openInterest: number )
packages/core/markets/perps/microstructure.ts:64
↓ 2 callersMethodgetLogs
( agentUserId: string, filters?: { type?: string; level?: string; limit?: number } )
packages/agents/src/services/AgentService.ts:996
↓ 2 callersMethodgetManualUploadInstructions
* Provide manual upload instructions
packages/training/src/huggingface/shared/HuggingFaceUploadUtil.ts:197
↓ 2 callersMethodgetMarketData
(marketId: string)
packages/examples/harness/src/types.ts:83
↓ 2 callersMethodgetMarketPrices
* Get current market prices
packages/agents/src/services/interfaces.ts:153
↓ 2 callersMethodgetMarketSnapshots
* Get current market snapshots * * Retrieves snapshots of both perpetual and prediction markets. * * @returns MarketSnapshots with perps,
packages/engine/src/services/market-context-service.ts:809
↓ 2 callersMethodgetMatchingSubscriptions
* Get matching subscriptions for an event type * Supports wildcard matching (e.g., "market.*" matches "market.update")
packages/agents/src/communication/EventBus.ts:163
↓ 2 callersFunctiongetMemoryKey
(agentId: string)
packages/agents/src/plugins/babylon/providers/working-memory.ts:161
↓ 2 callersFunctiongetMentionAfterCursor
* Find the mention that starts just after the cursor (for delete key).
apps/web/src/components/chats/MessageInput.tsx:110
← previousnext →3,501–3,600 of 14,075, ranked by callers