Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HMDSimDev/heartmorrow
/ functions
Functions
1,633 in github.com/HMDSimDev/heartmorrow
⨍
Functions
1,633
◇
Types & classes
179
↓ 1 callers
Function
listCompanies
(worldId: string)
apps/server/src/services/market-service.ts:37
↓ 1 callers
Function
listContactableCharacters
( worldId?: string, )
apps/server/src/services/text-message-service.ts:55
↓ 1 callers
Function
listEmails
(worldId?: string, playerId: string = DEFAULT_PLAYER_ID)
apps/server/src/services/email-service.ts:89
↓ 1 callers
Function
listEndings
(worldId?: string)
apps/server/src/services/ending-service.ts:24
↓ 1 callers
Function
listEvents
(limit = 100)
apps/server/src/services/event-service.ts:41
↓ 1 callers
Function
listMinigameInfo
()
apps/server/src/minigames/registry.ts:123
↓ 1 callers
Function
listMinigames
()
apps/server/src/services/minigame-service.ts:74
↓ 1 callers
Function
listOwnedProperties
(worldId: string)
apps/server/src/services/property-service.ts:102
↓ 1 callers
Function
listPropertyViews
(worldId: string)
apps/server/src/services/property-service.ts:87
↓ 1 callers
Function
listShopItems
()
apps/server/src/services/shop-service.ts:45
↓ 1 callers
Function
listThreadSummaries
( worldId?: string, playerId: string = DEFAULT_PLAYER_ID, )
apps/server/src/services/text-message-service.ts:142
↓ 1 callers
Function
listWorlds
()
apps/server/src/services/world-service.ts:19
↓ 1 callers
Function
loadBaselines
()
apps/web/src/pages/Bench.tsx:759
↓ 1 callers
Method
loadedNames
Names of models currently loaded into memory, via `/api/ps`. Best-effort: a * failure (older server, transient error) just means no entries are fl
apps/server/src/llm/ollama-adapter.ts:302
↓ 1 callers
Function
localeDir
(code: string)
apps/web/src/i18n/locales.ts:36
↓ 1 callers
Function
looksLikeCharacter
(senderName: string, senderHandle: string)
apps/server/src/services/email-service.ts:57
↓ 1 callers
Function
main
()
tools/screenshots/capture.mjs:71
↓ 1 callers
Function
main
()
apps/server/src/index.ts:6
↓ 1 callers
Function
main
()
apps/server/src/scripts/gen-openapi.ts:17
↓ 1 callers
Function
markDated
Make hasDated() true (a real date session with a player turn) without ending it.
apps/server/src/services/breakup.test.ts:34
↓ 1 callers
Function
markEmailRead
(id: string)
apps/server/src/services/email-service.ts:95
↓ 1 callers
Function
markLandlordNoticesRead
(worldId: string, playerId: string)
apps/server/src/services/landlord-notice-service.ts:50
↓ 1 callers
Function
marketRoutes
(app: FastifyInstance)
apps/server/src/routes/market.ts:27
↓ 1 callers
Function
marketView
(worldId: string)
apps/server/src/services/market-service.ts:163
↓ 1 callers
Function
maybeReconcile
* A broken-up character stays cold until the cooldown passes; after that, if the * player has kept reaching out and warmth has recovered, they get ba
apps/server/src/services/breakup-service.ts:196
↓ 1 callers
Function
maybeRevealOrientation
Fire the one-time orientation reveal: mark it, queue a kind reveal text, record it.
apps/server/src/services/stat-service.ts:97
↓ 1 callers
Function
measure
Build one estimate row by measuring an assembled prompt.
apps/server/src/services/prompt-estimator-service.ts:127
↓ 1 callers
Function
mentionsEx
Cheap, deterministic: the character's lines say "my ex" or name an eligible ex.
apps/server/src/services/ex-canon-service.ts:133
↓ 1 callers
Function
milestoneSituation
Build the SITUATION for a linked onlooker's milestone post, keyed by link kind.
apps/server/src/services/feed-service.ts:288
↓ 1 callers
Function
minigameRoutes
(app: FastifyInstance)
apps/server/src/routes/minigames.ts:12
↓ 1 callers
Function
mock
()
apps/server/src/mock-world.ts:367
↓ 1 callers
Function
modelMeta
(m: LlmModelInfo)
apps/web/src/components/ConnectionConsole.tsx:74
↓ 1 callers
Function
moveToWorld
(id: string)
apps/web/src/pages/Characters.tsx:121
↓ 1 callers
Function
nameOf
(cid: string)
apps/web/src/pages/CharacterProfile.tsx:140
↓ 1 callers
Function
netWorthBreakdown
(cash: number, propertyValue: number, stockValue: number)
packages/shared/src/wealth.ts:167
↓ 1 callers
Function
noticeBody
* The landlord's urgent text channel — overdue-rent warnings and eviction notices. * A landlord is NOT a dateable character, so these live apart from
apps/server/src/services/landlord-notice-service.ts:12
↓ 1 callers
Function
npcKnowledgeAbout
A few short things `knower` actually knows about `subject` — shared memories * (world-sim meetings etc.) plus a bit of neighborhood gossip — so a co
apps/server/src/services/feed-service.ts:456
↓ 1 callers
Function
npcLinkToneSteer
A short tone steer for an NPC commenting on ANOTHER NPC's post, by how they relate. * Registry-backed (`feed.toneSteer.<kind>`) so each can be local
apps/server/src/prompt/prompt-builder.ts:1856
↓ 1 callers
Function
npcReactionForLink
A deterministic reaction kind for an NPC reacting to a connected poster's post. * Heavy posts (breakup/jealousy) draw empathy from people who care —
apps/server/src/services/feed-service.ts:473
↓ 1 callers
Function
num
(value: string | undefined, fallback: number)
apps/server/src/config.ts:34
↓ 1 callers
Function
numClass
(n: number)
apps/web/src/components/phone/gambling/RouletteGame.tsx:128
↓ 1 callers
Function
onImported
()
apps/web/src/pages/WorldSelector.tsx:68
↓ 1 callers
Function
onWallpaper
(file: File)
apps/web/src/components/phone/SettingsApp.tsx:21
↓ 1 callers
Function
openDatabase
(filePath: string)
apps/server/src/db/sqlite.ts:56
↓ 1 callers
Function
openDay
(d: number)
apps/web/src/components/phone/CalendarApp.tsx:136
↓ 1 callers
Function
openEmail
(email: Email)
apps/web/src/components/phone/EmailApp.tsx:50
↓ 1 callers
Function
openGiftMenu
()
apps/web/src/components/phone/MessagesApp.tsx:442
↓ 1 callers
Function
openGiftPicker
()
apps/web/src/pages/Chat.tsx:810
↓ 1 callers
Method
options
(req: ChatRequest)
apps/server/src/llm/ollama-adapter.ts:176
↓ 1 callers
Function
ownedPropertyValue
(worldId: string)
apps/server/src/services/property-service.ts:111
↓ 1 callers
Function
packRoutes
(app: FastifyInstance)
apps/server/src/routes/packs.ts:44
↓ 1 callers
Function
parseGenerationStats
(stats: unknown)
apps/server/src/llm/openai-adapter.ts:40
↓ 1 callers
Function
parseRichLine
(input: string, opts?: { open?: boolean })
apps/web/src/components/RichText.tsx:21
↓ 1 callers
Function
payRent
(pv: PropertyView)
apps/web/src/components/phone/PropertyApp.tsx:124
↓ 1 callers
Function
pctClass
(pct: number)
apps/web/src/components/phone/MarketApp.tsx:37
↓ 1 callers
Function
peekExpression
(sessionId: string)
apps/server/src/services/rapport-service.ts:70
↓ 1 callers
Function
peekRapport
(sessionId: string)
apps/server/src/services/rapport-service.ts:86
↓ 1 callers
Function
perform
(a: ActivityDef)
apps/web/src/components/phone/TogetherApp.tsx:85
↓ 1 callers
Function
perform
(a: ActivityDef)
apps/web/src/components/phone/WorkApp.tsx:76
↓ 1 callers
Function
performTogether
* Resolve + apply one Together outing inside the activity transaction: roll the * deterministic outcome, charge any money cost, apply the relationshi
apps/server/src/services/activity-service.ts:184
↓ 1 callers
Function
phaseFor
(offsetMin: number)
apps/server/src/mock-world.ts:1006
↓ 1 callers
Function
phaseForStaminaSpent
(spent: number, staminaMax: number)
packages/shared/src/time.ts:31
↓ 1 callers
Function
phoneRoutes
(app: FastifyInstance)
apps/server/src/routes/phone.ts:32
↓ 1 callers
Function
pick
(arr: T[], seed: string)
apps/server/src/minigames/reactions.ts:91
↓ 1 callers
Function
pick
(e: PromptCatalogEntry)
apps/web/src/pages/PromptEditor.tsx:67
↓ 1 callers
Function
pickDateNeed
(seed: number)
packages/shared/src/date-dynamics.ts:55
↓ 1 callers
Function
pickK
Deterministically take K ids, ordered by a seeded roll per id.
apps/server/src/services/world-sim-service.ts:507
↓ 1 callers
Function
pickRelationshipStats
(rel: Relationship)
apps/server/src/services/stat-service.ts:204
↓ 1 callers
Function
pickSource
(id: string)
apps/web/src/pages/WorldSelector.tsx:437
↓ 1 callers
Function
pickTextPhase
Pick the server-owned delivery phase for a queued text (never afternoon).
apps/server/src/services/text-generation-service.ts:37
↓ 1 callers
Function
place
(tray: Tray)
apps/web/src/components/minigames/SweetAndSourGame.tsx:26
↓ 1 callers
Function
playerRoutes
(app: FastifyInstance)
apps/server/src/routes/player.ts:8
↓ 1 callers
Function
pngBytes
A buffer that begins with the real PNG magic bytes (so the import sniff accepts * it), with a unique tail so two portraits never collide byte-for-by
apps/server/src/services/pack.test.ts:22
↓ 1 callers
Function
pnlClass
(pnl: number)
apps/web/src/components/phone/MarketApp.tsx:41
↓ 1 callers
Function
portfolioView
(worldId: string)
apps/server/src/services/market-service.ts:183
↓ 1 callers
Function
promptRoutes
(app: FastifyInstance)
apps/server/src/routes/prompts.ts:13
↓ 1 callers
Function
propertyRoutes
(app: FastifyInstance)
apps/server/src/routes/property.ts:29
↓ 1 callers
Function
pseudoize
(input: T)
apps/web/src/i18n/pseudo.ts:37
↓ 1 callers
Function
purgeExisting
* Remove everything a previous run of this script created (the Asterfall Bay world * + all its characters' progress, plus the global rows it adds — m
apps/server/src/mock-world.ts:294
↓ 1 callers
Function
queueMemorialNotice
A TEMPLATED, non-graphic notice from a grieving friend/family member.
apps/server/src/services/crisis-service.ts:194
↓ 1 callers
Function
rankValue
(rank: Rank)
packages/shared/src/gambling.ts:68
↓ 1 callers
Function
reactionForSentiment
Pick a reaction kind from relationship sentiment (null = skip).
apps/server/src/services/feed-service.ts:728
↓ 1 callers
Function
reasonFor
(worldId: string, day: number, characterId: string)
apps/server/src/services/availability-service.ts:18
↓ 1 callers
Function
recap
(o: object)
apps/server/src/services/world-sim-sleep.test.ts:10
↓ 1 callers
Function
recentResults
(worldId?: string | null)
apps/server/src/services/minigame-service.ts:284
↓ 1 callers
Function
recordDay
(worldId: string, day: number, input: RecordDayInput)
apps/server/src/services/day-record-service.ts:82
↓ 1 callers
Function
refresh
()
apps/web/src/pages/WorldEditor.tsx:680
↓ 1 callers
Function
regenerate
()
apps/web/src/components/phone/MessagesApp.tsx:610
↓ 1 callers
Function
regenerate
()
apps/web/src/pages/Chat.tsx:708
↓ 1 callers
Function
relationLabel
How the pair reads to each other, for the scene fact. Authored ties win; else a * promoted edge → friends, a shared workplace → coworkers, otherwise
apps/server/src/services/world-sim-service.ts:525
↓ 1 callers
Function
relationshipStatus
A friendly summary of where the relationship stands — uses the shared band * labels (single source of truth in social.ts) so it never drifts.
apps/web/src/pages/CharacterProfile.tsx:47
↓ 1 callers
Function
relax
Recursively relax a generated JSON Schema so AJV stays a permissive superset.
apps/server/src/lib/openapi-schema.ts:26
↓ 1 callers
Function
relevanceScore
Rank a candidate reactor: hurt/jealous/broken-up first, then by warmth.
apps/server/src/services/feed-service.ts:702
↓ 1 callers
Function
remove
(id: string)
apps/web/src/pages/Characters.tsx:106
↓ 1 callers
Function
removeCompany
(company: Company)
apps/web/src/components/phone/MarketApp.tsx:338
↓ 1 callers
Function
removeGenLocation
(i: number)
apps/web/src/pages/WorldSelector.tsx:530
↓ 1 callers
Function
removeGenNote
(i: number)
apps/web/src/pages/WorldSelector.tsx:535
↓ 1 callers
Function
removeItem
(item: ShopItem)
apps/web/src/pages/Shop.tsx:76
↓ 1 callers
Function
removeProperty
(prop: Property)
apps/web/src/components/phone/PropertyApp.tsx:139
↓ 1 callers
Function
removeReciprocalLink
* Drop the reciprocal a source previously mirrored — but ONLY if the target's link * back still matches that kind (so we never clobber a connection t
apps/server/src/services/character-service.ts:375
← previous
next →
1,001–1,100 of 1,633, ranked by callers