MCPcopy Create free account

hub / github.com/HMDSimDev/heartmorrow / functions

Functions1,633 in github.com/HMDSimDev/heartmorrow

↓ 5 callersFunctionslugFilename
(name: string)
apps/server/src/services/pack-service.ts:128
↓ 5 callersFunctionstartBlackjack
(worldId: string, bet: number, rng: Rng = Math.random)
apps/server/src/services/gambling-service.ts:291
↓ 5 callersMethodstreamChat
Streamed completion. Invokes `onDelta` for each incremental token chunk.
apps/server/src/llm/types.ts:76
↓ 5 callersFunctionstubFetch
(json: unknown)
apps/server/src/llm/koboldcpp-adapter.test.ts:16
↓ 5 callersFunctionsystemTextOf
(msgs: ReturnType<typeof buildTextReplyMessages>)
apps/server/src/services/prompt-coherence.test.ts:10
↓ 5 callersFunctiontouchSession
(session: ConversationSession)
apps/server/src/services/conversation-service.ts:280
↓ 5 callersFunctionuseItem
( inventoryItemId: string, characterId: string | null, playerId: string = DEFAULT_PLAYER_ID, )
apps/server/src/services/shop-service.ts:172
↓ 5 callersFunctionweatherDateEffect
( character: WeatherPrefs, location: Location | null, weather: DayWeather, )
apps/server/src/services/ambiance-service.ts:70
↓ 5 callersFunctionwithBusy
(id: string, fn: () => Promise<void>)
apps/web/src/components/phone/PropertyApp.tsx:89
↓ 4 callersFunctionaddTension
(n: number)
packages/shared/src/together.ts:89
↓ 4 callersFunctionappendSessionToChronicle
( characterId: string, summaryLine: string, mode: ConversationMode, day: number, playerId: string =
apps/server/src/services/chronicle-service.ts:32
↓ 4 callersFunctionapplyTempBuff
( characterId: string, stat: DatingStatKey, delta: number, durationSessions: number, meta: StatChang
apps/server/src/services/stat-service.ts:144
↓ 4 callersFunctionassertWagerAllowed
Enforce the per-bet + per-day wager caps for a new `stake`. Throws on failure.
apps/server/src/services/gambling-service.ts:97
↓ 4 callersFunctionattemptPlayerBreakupIntent
( sessionId: string, playerText: string, signal?: AbortSignal, )
apps/server/src/services/conversation-service.ts:972
↓ 4 callersFunctionbreakupThresholdFor
( status: RelationshipStatus, priorBreakups = 0, )
packages/shared/src/social.ts:849
↓ 4 callersFunctionbuildEvaluatorMessages
(ctx: PromptContext)
apps/server/src/prompt/prompt-builder.ts:658
↓ 4 callersFunctionbuildNpcFeedPostMessages
(args: { character: Character; kind: FeedPostKind; situation: string; playerContext?: { playerName: st
apps/server/src/prompt/prompt-builder.ts:1867
↓ 4 callersFunctionbuildPlayerBreakupMessages
(args: { character: Character; relationship: Relationship; recentMessages: Message[]; playerName: stri
apps/server/src/prompt/prompt-builder.ts:1658
↓ 4 callersFunctionbuildSystemPrompt
(ctx: PromptContext, guardrails: string)
apps/server/src/prompt/prompt-builder.ts:166
↓ 4 callersFunctionbuildTextJudgeMessages
(args: { character: Character; relationship: Relationship; /** Each entry's `day` (when known) lets the
apps/server/src/prompt/prompt-builder.ts:1016
↓ 4 callersFunctionclamp
(v: number, lo: number, hi: number)
packages/shared/src/gambling.ts:509
↓ 4 callersFunctionclamp01
(n: number)
packages/shared/src/together.ts:30
↓ 4 callersFunctionclampInt
(n: number, lo: number, hi: number)
apps/server/src/services/shop-service.ts:266
↓ 4 callersFunctioncloneCharactersToWorld
(sourceIds: string[], targetWorldId: string)
apps/server/src/services/character-service.ts:461
↓ 4 callersFunctionclosenessColor
Closeness → a Nocturne light (sage good, brass mid, ember poor).
apps/web/src/pages/Bench.tsx:36
↓ 4 callersFunctioncollectCharacterAssetIds
(chars: Character[], into = new Set<string>())
apps/server/src/services/pack-service.ts:158
↓ 4 callersFunctionconfirmPlayerBreakup
(sessionId: string)
apps/server/src/services/conversation-service.ts:1067
↓ 4 callersFunctioncoupleUp
Pair two NPCs off the way the world-sim does — an npc_edges row at 'together'.
apps/server/src/services/social-web.test.ts:494
↓ 4 callersFunctiondatedCharacter
A character the player has actually dated (so texting is allowed).
apps/server/src/services/text-image.test.ts:45
↓ 4 callersFunctiondatingStatLabel
(k: DatingStatKey | string)
apps/web/src/i18n/labels.ts:50
↓ 4 callersFunctiondealerShouldHit
(cards: Card[])
packages/shared/src/gambling.ts:154
↓ 4 callersFunctiondeleteWorld
(id: string, deleteCharacters = false)
apps/server/src/services/world-service.ts:104
↓ 4 callersFunctiondropDayRecords
Simulate a pre-feature save: drop the live records so getWorldCalendar must backfill.
apps/server/src/services/day-record.test.ts:31
↓ 4 callersFunctionensureRoomDescription
(characterId: string)
apps/server/src/services/character-service.ts:83
↓ 4 callersFunctionfeatureEnabled
(worldId: string, key: FeatureKey)
apps/server/src/services/world-feature-service.ts:15
↓ 4 callersFunctiongenderLabel
(gender: Gender | string)
apps/web/src/i18n/labels.ts:44
↓ 4 callersFunctiongenerateShopItems
( input: GenerateShopItemsInput, )
apps/server/src/services/shop-service.ts:339
↓ 4 callersFunctiongetActiveDateForWorld
(worldId: string)
apps/server/src/services/conversation-service.ts:258
↓ 4 callersFunctiongetRecentTexts
( characterId: string, limit = 6, playerId: string = DEFAULT_PLAYER_ID, )
apps/server/src/services/text-message-service.ts:173
↓ 4 callersFunctiongiveKnowledge
(worldId: string, knowerId: string, subjectId: string, claim: string, fidelity = 100)
apps/server/src/services/gossip-knowledge.test.ts:24
↓ 4 callersFunctionhasToken
(arr: string[] | undefined, tokens: string[])
packages/shared/src/venues.ts:73
↓ 4 callersMethodheaders
()
apps/server/src/llm/koboldcpp-adapter.ts:197
↓ 4 callersFunctionisGiftableItem
(item: { category: ItemCategory; effects: ItemEffect[] })
packages/shared/src/schemas/items.ts:60
↓ 4 callersFunctionjealousyProbability
(otherRecentDates: number, committed = false)
packages/shared/src/social.ts:935
↓ 4 callersFunctionkeyForEnvelope
(env: DraftEnvelope)
apps/web/src/lib/drafts.ts:120
↓ 4 callersFunctionloadWorlds
()
apps/web/src/pages/WorldEditor.tsx:68
↓ 4 callersFunctionlookup
Read the cache, falling back to the durable row (and warming the cache from it).
apps/server/src/services/rapport-service.ts:33
↓ 4 callersFunctionloss
()
apps/server/src/services/gambling.test.ts:90
↓ 4 callersFunctionmakeAdapter
()
apps/server/src/llm/anthropic-adapter.test.ts:5
↓ 4 callersFunctionmaybeAutoSummarize
(sessionId: string)
apps/server/src/services/conversation-service.ts:1198
↓ 4 callersFunctionparseCharacterPayload
(map: Map<string, Buffer>)
apps/server/src/services/pack-service.ts:350
↓ 4 callersFunctionparseManifest
(map: Map<string, Buffer>)
apps/server/src/services/pack-service.ts:341
↓ 4 callersFunctionparseWorldPayload
(map: Map<string, Buffer>)
apps/server/src/services/pack-service.ts:356
↓ 4 callersFunctionplayRoulette
(worldId: string, bets: RouletteBet[], rng: Rng = Math.random)
apps/server/src/services/gambling-service.ts:203
↓ 4 callersFunctionpositiveWarmth
(delta: Partial<Record<RelationshipStatKey, number>>)
packages/shared/src/social.ts:493
↓ 4 callersFunctionpropertyCategoryLabel
(cat: PropertyCategory | string)
apps/web/src/i18n/labels.ts:46
↓ 4 callersFunctionregisterClockHooks
(hooks: { onDayStarted?: DayStartedHook; onPhaseAdvanced?: PhaseAdvancedHook; onWorldSim?: WorldSimHook;
apps/server/src/services/world-clock-service.ts:51
↓ 4 callersFunctionreject
Reverse a canonization — reversible by design (status, not a hard delete).
apps/server/src/db/repositories.ts:1538
↓ 4 callersFunctionrelativeTime
(ts: number)
apps/web/src/lib/drafts.ts:213
↓ 4 callersFunctionrentCadenceDays
(cadence: RentCadence)
packages/shared/src/wealth.ts:77
↓ 4 callersFunctionreply
(o: object)
apps/server/src/services/gift.test.ts:27
↓ 4 callersFunctionrotate
(arr: T[], seed: number)
apps/server/src/minigames/lore-quiz.ts:47
↓ 4 callersFunctionsafeJson
(value: unknown)
apps/server/src/services/bench/store.ts:117
↓ 4 callersFunctionsafeUnzip
(buf: Buffer, limits: UnzipLimits, budget?: DecompressBudget)
apps/server/src/services/pack-service.ts:322
↓ 4 callersFunctionscoreBoolean
Yes/no decision (walkout / breakup-genuine / farewell-ending).
apps/server/src/services/bench/cases.ts:307
↓ 4 callersFunctionscoreDeltas
Relationship-stat deltas (session evaluator / gift reaction).
apps/server/src/services/bench/cases.ts:271
↓ 4 callersFunctionseedFullWorld
Seed a world with a full slice of per-character + per-world progress.
apps/server/src/services/world-delete-cascade.test.ts:24
↓ 4 callersFunctionseedPair
A world with two characters, so NPC↔NPC edges have two real endpoints.
apps/server/src/services/worldsim-tables.test.ts:20
↓ 4 callersFunctionseedWorld
Insert a world + its clock with FIXED ids so hashFloat seeds are stable across runs.
apps/server/src/services/world-sim.test.ts:21
↓ 4 callersFunctionsendLandlordNotice
(args: { worldId: string; playerId: string; propertyId: string; propertyName: string; kind: Landlord
apps/server/src/services/landlord-notice-service.ts:19
↓ 4 callersFunctionset
(n: number)
apps/web/src/components/phone/gambling/shared.tsx:99
↓ 4 callersFunctionsexualityLabel
(sexuality: Sexuality | string)
apps/web/src/i18n/labels.ts:45
↓ 4 callersFunctionshuffle
(items: readonly T[], rng: () => number)
packages/shared/src/gambling.ts:98
↓ 4 callersFunctionstampLastDate
(characterId: string, day: number)
apps/server/src/services/stat-service.ts:182
↓ 4 callersFunctionstockSectorLabel
(s: StockSector | string)
apps/web/src/i18n/labels.ts:51
↓ 4 callersFunctionsumChars
(messages: ChatMessage[])
apps/server/src/services/bench/runner.ts:54
↓ 4 callersFunctiontextEngagementDelta
(engagement: number)
packages/shared/src/social.ts:473
↓ 4 callersFunctiontogetherFit
(activity: ActivityDef, datingStats: DatingStats)
packages/shared/src/together.ts:33
↓ 4 callersFunctionupdatePlayer
(update: PlayerUpdate, id: string = DEFAULT_PLAYER_ID)
apps/server/src/services/player-service.ts:31
↓ 4 callersMethodurl
(path: string)
apps/server/src/llm/koboldcpp-adapter.ts:193
↓ 4 callersFunctionvenueTierMeta
(tier: number | null | undefined)
packages/shared/src/venues.ts:37
↓ 4 callersFunctionweatherReaction
(character: WeatherPrefs, weather: DayWeather)
apps/server/src/services/ambiance-service.ts:60
↓ 3 callersFunctionact
(action: 'hit' | 'stand' | 'double')
apps/web/src/components/phone/gambling/BlackjackGame.tsx:51
↓ 3 callersFunctionaddCandidate
(x: Character, y: Character, prob: number, place?: string)
apps/server/src/services/world-sim-service.ts:135
↓ 3 callersFunctionaddManualMemory
(characterId: string, input: MemoryCreate)
apps/server/src/services/memory-service.ts:50
↓ 3 callersFunctionapplyRelationshipDeltas
( current: RelationshipStats, deltas: Partial<Record<RelationshipStatKey, number>>, )
packages/shared/src/stats.ts:138
↓ 3 callersFunctionattractionGuardClause
* The not-romantically-into-you guard for the phone surfaces, gated EXACTLY like * the date prompt's soft-rejection branch (a fully-specified incompa
apps/server/src/prompt/prompt-builder.ts:910
↓ 3 callersFunctionblackjackAction
( worldId: string, roundId: string, action: 'hit' | 'stand' | 'double', rng: Rng = Math.random, )
apps/server/src/services/gambling-service.ts:331
↓ 3 callersFunctionblackjackView
(round: GamblingRound)
apps/server/src/services/gambling-service.ts:249
↓ 3 callersFunctionbuildBenchCatalog
(model: string)
apps/server/src/services/bench/cases.ts:1452
↓ 3 callersFunctionbuildDayRecapMessages
(day: number, eventsSummary: string)
apps/server/src/prompt/prompt-builder.ts:716
↓ 3 callersFunctionbuildDtrReactionMessages
(args: { character: Character; relationship: Relationship; rung: { status: string; label: string; verb:
apps/server/src/prompt/prompt-builder.ts:1578
↓ 3 callersFunctionbuildFeedCommentMessages
(args: { character: Character; relationship: Relationship; playerName: string; postAuthorName: string;
apps/server/src/prompt/prompt-builder.ts:1899
↓ 3 callersFunctionbuildGiftReactionMessages
(args: { character: Character; relationship: Relationship; item: { name: string; description: string; ca
apps/server/src/prompt/prompt-builder.ts:1608
↓ 3 callersFunctionbuildPlayerFarewellMessages
(args: { character: Character; relationship: Relationship; /** Qualitative read of how the date has gone
apps/server/src/prompt/prompt-builder.ts:1682
↓ 3 callersFunctionbuildPromptCatalog
()
apps/server/src/prompt/registry.ts:396
↓ 3 callersFunctionbuildRunSummary
( label: string, request: BenchRunRequest, results: BenchCaseResult[], snapshot?: BenchSettingsSnapsho
apps/server/src/services/bench/runner.ts:511
↓ 3 callersFunctionbuildSummaryMessages
(ctx: PromptContext)
apps/server/src/prompt/prompt-builder.ts:706
↓ 3 callersFunctionbuildWalkoutReactionMessages
(args: { character: Character; relationship: Relationship; recentMessages: Message[]; playerName: stri
apps/server/src/prompt/prompt-builder.ts:1494
↓ 3 callersFunctionbyName
(needle)
tools/screenshots/capture.mjs:62
← previousnext →401–500 of 1,633, ranked by callers