MCPcopy Create free account

hub / github.com/HMDSimDev/heartmorrow / functions

Functions1,633 in github.com/HMDSimDev/heartmorrow

↓ 1 callersFunctiondecayRelationshipBuffs
(characterId: string)
apps/server/src/services/stat-service.ts:160
↓ 1 callersFunctiondefaultBaseline
(spec: BenchBaselineSpec)
apps/web/src/pages/Bench.tsx:52
↓ 1 callersFunctiondel
(id: string)
apps/web/src/pages/Bench.tsx:616
↓ 1 callersFunctiondeleteCharacter
(id: string)
apps/server/src/services/character-service.ts:496
↓ 1 callersFunctiondeleteCompany
(id: string)
apps/server/src/services/market-service.ts:81
↓ 1 callersFunctiondeleteMemory
(id: string)
apps/server/src/services/memory-service.ts:85
↓ 1 callersFunctiondeleteProperty
(id: string)
apps/server/src/services/property-service.ts:76
↓ 1 callersFunctiondeleteShopItem
(id: string)
apps/server/src/services/shop-service.ts:67
↓ 1 callersFunctiondeleteWorldNote
(id: string)
apps/server/src/services/world-service.ts:159
↓ 1 callersFunctiondeliverCrisisTextsForDay
(worldId: string, day: number, playerId: string = DEFAULT_PLAYER_ID)
apps/server/src/services/crisis-service.ts:226
↓ 1 callersFunctiondeliverRelationshipBeat
* Deliver a relationship turning-point text (on-the-rocks warning / breakup / * reconcile). These are SERVER-decided beats that must arrive reliably,
apps/server/src/services/text-generation-service.ts:52
↓ 1 callersFunctionderiveBattery
Derive a plausible battery % from the world's daily stamina consumption. * Full stamina = high battery; spent stamina = draining battery. * Falls
apps/web/src/pages/Phone.tsx:66
↓ 1 callersFunctiondespairEligible
(rel: Relationship)
packages/shared/src/crisis.ts:59
↓ 1 callersFunctiondespairFromBreakup
(characterId: string, priorBreakups: number, day = 0)
apps/server/src/services/crisis-service.ts:82
↓ 1 callersFunctiondifficultyFor
Board size scales with how close you are — the game deepens with the bond.
apps/server/src/minigames/memory-match.ts:73
↓ 1 callersFunctiondiscardDraft
(env: DraftEnvelope)
apps/web/src/pages/Characters.tsx:81
↓ 1 callersFunctiondiscover
Discover world + character ids straight from the API (via the web proxy).
tools/screenshots/capture.mjs:39
↓ 1 callersFunctiondispatch
(block: string)
apps/web/src/lib/api.ts:313
↓ 1 callersFunctiondoEndLease
(pv: PropertyView)
apps/web/src/components/phone/PropertyApp.tsx:130
↓ 1 callersFunctiondownscaleImageFile
(file: File, maxHeight = CHAT_IMAGE_MAX_HEIGHT)
apps/web/src/lib/image.ts:18
↓ 1 callersFunctionduplicate
(id: string)
apps/web/src/pages/Characters.tsx:94
↓ 1 callersFunctionduplicate
()
apps/web/src/pages/CharacterProfile.tsx:87
↓ 1 callersFunctionduplicateCharacter
(id: string)
apps/server/src/services/character-service.ts:437
↓ 1 callersFunctionendSessionInner
(sessionId: string)
apps/server/src/services/conversation-service.ts:1229
↓ 1 callersFunctionendingEligible
(rel: WarmthStats & FlagBag)
packages/shared/src/social.ts:877
↓ 1 callersFunctionengagedWorldChars
Engaged characters in a world (the player has actually dated them).
apps/server/src/services/feed-service.ts:101
↓ 1 callersFunctionensureDayRecords
(worldId: string)
apps/server/src/services/day-record-service.ts:163
↓ 1 callersFunctionensureRapportSeeded
(sessionId: string, guardedness = 0)
apps/server/src/services/rapport-service.ts:96
↓ 1 callersFunctionenter
(id: string)
apps/web/src/pages/WorldSelector.tsx:47
↓ 1 callersFunctionestimatePrompts
(req: PromptEstimateRequest)
apps/server/src/services/prompt-estimator-service.ts:184
↓ 1 callersFunctionevalReply
(deltas: object)
apps/server/src/services/conversation-concurrency.test.ts:30
↓ 1 callersFunctioneventShockFor
A bounded price shock from the prior day's events touching this company's linked * character — the deterministic core of "the market reacts to the w
apps/server/src/services/wealth-service.ts:46
↓ 1 callersFunctionexpressionLabel
(e: string)
apps/web/src/i18n/labels.ts:64
↓ 1 callersFunctionfailedResult
(def: BenchCaseDef, message: string)
apps/server/src/services/bench/runner.ts:421
↓ 1 callersFunctionfallbackCommission
Deterministic, world-flavored copy used when no world exists or generation fails.
apps/server/src/minigames/writer.ts:94
↓ 1 callersFunctionfallbackQuestions
Deterministic fallback questions used when no world exists or generation fails.
apps/server/src/minigames/lore-quiz.ts:80
↓ 1 callersFunctionfallbackRounds
Deterministic fallback rounds built from real traits (or generic if none).
apps/server/src/minigames/two-truths-a-lie.ts:63
↓ 1 callersFunctionfavoriteMinigameFor
(character: Character)
apps/server/src/minigames/reactions.ts:31
↓ 1 callersFunctionfeatureOk
(id: AppDef['id'])
apps/web/src/pages/Phone.tsx:136
↓ 1 callersFunctionfidelityPhrase
(fidelity: number, tt: TFn)
apps/web/src/components/phone/ConstellationApp.tsx:754
↓ 1 callersFunctionfillTokens
Replace every `{{token}}` from the provided map; unknown tokens are left intact * (defensive — a stray brace in authored text never throws or vanish
apps/server/src/prompt/registry.ts:87
↓ 1 callersFunctionfillerMessages
A full conversation window of filler, for the worst-case (simulateFull) estimate.
apps/server/src/services/prompt-estimator-service.ts:80
↓ 1 callersFunctionfillerTexts
A full recent-texts thread of filler (worst-case phone-prompt history).
apps/server/src/services/prompt-estimator-service.ts:99
↓ 1 callersFunctionfinish
()
apps/web/src/components/minigames/RhythmSerenade.tsx:32
↓ 1 callersFunctionfmtDate
(ms: number, lang: string)
apps/web/src/components/ShareTools.tsx:18
↓ 1 callersFunctionfmtPct
(pct: number)
apps/web/src/components/phone/MarketApp.tsx:30
↓ 1 callersFunctionforbidden
(message = 'This feature isn’t enabled for this world.')
apps/server/src/lib/errors.ts:15
↓ 1 callersFunctionformatEventsForRecap
(events: GameEvent[])
apps/server/src/lib/day-events.ts:187
↓ 1 callersFunctionformatZodError
(err: z.ZodError)
apps/server/src/llm/structured.ts:87
↓ 1 callersFunctionfrictionChance
(affinity: number)
packages/shared/src/social.ts:270
↓ 1 callersFunctionfriendsOfFriends
Ids of the character's friends' friends (excluding self + direct connections).
apps/server/src/services/world-sim-service.ts:493
↓ 1 callersFunctiongamblingRoutes
(app: FastifyInstance)
apps/server/src/routes/gambling.ts:29
↓ 1 callersFunctiongatherFacts
Build categorized (cue -> reveal) facts from real character/world data.
apps/server/src/minigames/memory-match.ts:50
↓ 1 callersFunctiongenerateCharacterProfile
( input: GenerateProfileInput, )
apps/server/src/services/character-service.ts:548
↓ 1 callersFunctiongenerateCompanies
( input: GenerateCompaniesParsed, worldId: string, )
apps/server/src/services/market-service.ts:242
↓ 1 callersFunctiongenerateDatingStats
( input: GenerateDatingStatsInput, )
apps/server/src/services/character-service.ts:506
↓ 1 callersFunctiongenerateDayRecap
( day: number, events: GameEvent[], worldSim: WorldSimResult | null = null, )
apps/server/src/services/world-clock-service.ts:268
↓ 1 callersFunctiongenerateLocations
( worldId: string, input: GenerateLocationsInput, )
apps/server/src/services/location-service.ts:52
↓ 1 callersFunctiongenerateMarketNews
(worldId: string, day: number)
apps/server/src/services/market-service.ts:265
↓ 1 callersFunctiongenerateNpcEngagement
* After the day's NPC posts exist, let socially-connected characters COMMENT on * and REACT to each other's posts — friends/family warmly, exes/rival
apps/server/src/services/feed-service.ts:503
↓ 1 callersFunctiongenerateProperties
( input: GeneratePropertiesParsed, worldId: string, )
apps/server/src/services/property-service.ts:306
↓ 1 callersFunctiongenerateReply
(sessionId: string)
apps/server/src/services/conversation-service.ts:515
↓ 1 callersFunctiongenerateWorld
(input: GenerateWorldInput)
apps/server/src/services/location-service.ts:105
↓ 1 callersFunctiongetCharacterBundle
(id: string)
apps/server/src/services/character-service.ts:729
↓ 1 callersFunctiongetLandlordInbox
(worldId: string, playerId: string)
apps/server/src/services/landlord-notice-service.ts:43
↓ 1 callersFunctiongetPromptCatalog
()
apps/server/src/services/prompt-override-service.ts:26
↓ 1 callersFunctiongetThreadView
(characterId: string, playerId: string = DEFAULT_PLAYER_ID)
apps/server/src/services/text-message-service.ts:202
↓ 1 callersFunctiongetWorldWeather
(worldId: string, days = 5)
apps/server/src/services/ambiance-service.ts:126
↓ 1 callersFunctiongiftChance
(rel: Pick<WarmthStats, 'affection' | 'trust' | 'chemistry' | 'comfort' | 'respect'>)
packages/shared/src/social.ts:731
↓ 1 callersFunctiongiftSentiment
Server-derived read of how a gift landed, from the deltas actually applied.
apps/server/src/services/gift-service.ts:39
↓ 1 callersFunctiongitCommit
()
apps/web/vite.config.ts:17
↓ 1 callersFunctiongiveGift
(inventoryItemId: string)
apps/web/src/pages/Chat.tsx:825
↓ 1 callersFunctiongreetingKeyForPhase
A warm, phase-aware home greeting — the cover line of the almanac. Returns a * catalog key under `phone.greeting.*` so the line localizes with the U
apps/web/src/pages/Phone.tsx:82
↓ 1 callersFunctionguardednessDescriptorLabel
(guardedness = 0)
apps/web/src/i18n/labels.ts:71
↓ 1 callersFunctionhandleFile
(file: File)
apps/web/src/components/AssetPicker.tsx:41
↓ 1 callersFunctionhasMaxLength
(node: unknown)
apps/server/src/llm/structured.test.ts:142
↓ 1 callersFunctionhasModel
(id: string)
apps/web/src/components/ConnectionConsole.tsx:71
↓ 1 callersFunctionhealthRoutes
(app: FastifyInstance)
apps/server/src/routes/health.ts:4
↓ 1 callersFunctionheardAboutPlayer
* Word about the PLAYER that has reached this character SECONDHAND (through a mutual), * for the "wait — you're the one Mara mentioned?" recognition
apps/server/src/services/conversation-service.ts:401
↓ 1 callersFunctionheardLately
* The world-sim news this character is currently carrying, resolved for the prompt. * Surfaces only news ABOUT OTHER CHARACTERS (not the player — tha
apps/server/src/services/conversation-service.ts:376
↓ 1 callersFunctionholdingPnL
(shares: number, price: number, costBasis: number)
packages/shared/src/wealth.ts:155
↓ 1 callersFunctionidbDel
(key: string)
apps/web/src/lib/idb-kv.ts:42
↓ 1 callersFunctionimportData
(file: File)
apps/web/src/pages/Debug.tsx:88
↓ 1 callersFunctionimportWorldPayload
Insert a world payload as a brand-new world: world + notes + cast + authored * property/company content, all with fresh ids and references remapped.
apps/server/src/services/pack-service.ts:469
↓ 1 callersFunctioninitials
(name: string)
apps/web/src/components/Portrait.tsx:5
↓ 1 callersFunctioninstallPhoto
(file: string, altText: string)
apps/server/src/mock-world.ts:129
↓ 1 callersFunctionisAllowedMime
(mime: string)
apps/server/src/services/asset-service.ts:21
↓ 1 callersFunctionisInvolved
Only capture once you're actually involved — dating+ OR into the romantic bands — * so a single awkward first chat doesn't seed gossip about you.
apps/server/src/services/player-fact-service.ts:43
↓ 1 callersFunctionisMemorializedChar
A memorialized character is permanently gone — never available.
apps/server/src/services/availability-service.ts:24
↓ 1 callersFunctionisRedSuit
(suit: Suit)
packages/shared/src/gambling.ts:62
↓ 1 callersFunctionisResponseFormatError
Heuristic: did the server reject the request specifically over the structured * -output directive? Covers the OpenAI `response_format` field and Anth
apps/server/src/llm/structured.ts:157
↓ 1 callersFunctionkindNounKey
(kind: PackInspectResult['kind'])
apps/web/src/components/ShareTools.tsx:14
↓ 1 callersFunctionknowledgeSituation
Build the SITUATION for a feed post where a character shares neighborhood news.
apps/server/src/services/feed-service.ts:279
↓ 1 callersFunctionlatestTranscript
The character's most recent real transcript (capped like the runtime does), or * [] when they've never been talked to.
apps/server/src/services/prompt-estimator-service.ts:67
↓ 1 callersFunctionlayout
* A tiny deterministic force layout in a normalized 100×100 space: seeded ring * starts, then repulsion + edge springs + a gentle pull to center, wit
apps/web/src/components/phone/ConstellationApp.tsx:125
↓ 1 callersFunctionlevelToNumeric
(c: ConfidenceLevel)
apps/web/src/components/minigames/MinigameShell.tsx:91
↓ 1 callersFunctionlistActiveBuffs
( flags: FlagMap, )
packages/shared/src/buffs.ts:75
↓ 1 callersFunctionlistActivities
()
apps/server/src/services/activity-service.ts:34
↓ 1 callersFunctionlistCanonFactsForCharacter
(characterId: string)
apps/server/src/services/ex-canon-service.ts:58
↓ 1 callersFunctionlistCanonFactsForPrompt
( characterId: string, )
apps/server/src/services/ex-canon-service.ts:48
← previousnext →901–1,000 of 1,633, ranked by callers