MCPcopy Create free account

hub / github.com/HMDSimDev/heartmorrow / functions

Functions1,633 in github.com/HMDSimDev/heartmorrow

↓ 6 callersFunctioncurrentDay
(worldId: string)
apps/server/src/services/market-service.ts:101
↓ 6 callersFunctiondeliverDueTexts
()
apps/server/src/services/text-message-service.ts:96
↓ 6 callersFunctionenable
()
apps/server/src/services/crisis.test.ts:20
↓ 6 callersFunctionengagementRng
(posterId: string)
apps/server/src/services/feed.test.ts:249
↓ 6 callersFunctionensureDirectories
()
apps/server/src/config.ts:95
↓ 6 callersFunctionfmtMs
(n: number | null | undefined)
apps/web/src/pages/Bench.tsx:29
↓ 6 callersFunctiongenerateDailyEmails
( worldId: string, day: number, playerId: string = DEFAULT_PLAYER_ID, rng: SeededRandom = hashFloat, )
apps/server/src/services/email-service.ts:13
↓ 6 callersFunctiongo
(route)
tools/screenshots/capture.mjs:102
↓ 6 callersFunctioninstallPortrait
(file: string, altText: string)
apps/server/src/mock-world.ts:124
↓ 6 callersFunctionintToBool
(v: unknown)
apps/server/src/db/repositories.ts:89
↓ 6 callersFunctionitem
(partial: Partial<ShopItemCreate> & { name: string })
apps/server/src/services/gift.test.ts:13
↓ 6 callersFunctionloadDraft
(key: string)
apps/web/src/lib/drafts.ts:61
↓ 6 callersFunctionlvl
(skill?: string)
apps/web/src/components/phone/WorkApp.tsx:72
↓ 6 callersFunctionmakePortrait
()
apps/server/src/services/character-from-image.test.ts:64
↓ 6 callersFunctionmapId
(id: string | null, idMap: Map<string, string>)
apps/server/src/services/pack-service.ts:413
↓ 6 callersFunctionmarkFeedSeen
(worldId: string, playerId: string = DEFAULT_PLAYER_ID)
apps/server/src/services/feed-service.ts:840
↓ 6 callersFunctionmaxAffordable
(wallet: GamblingWallet)
apps/web/src/components/phone/gambling/shared.tsx:17
↓ 6 callersFunctionmutualAttraction
(a: Orientation, b: Orientation)
packages/shared/src/social.ts:672
↓ 6 callersFunctionneglectTuningFor
(status: RelationshipStatus)
packages/shared/src/social.ts:812
↓ 6 callersFunctionnonEmptyArr
True when a value is a present, non-empty array — used to FAIL a generation whose * schema `.default([])`s a list the task actually required content
apps/server/src/services/bench/cases.ts:196
↓ 6 callersFunctionnorm
(xs: readonly string[])
packages/shared/src/social.ts:227
↓ 6 callersFunctionnorm
(s: string)
apps/server/src/services/ex-canon-service.ts:37
↓ 6 callersFunctionnormalize
Collapse whitespace so the transcription target is unambiguous (no stray newlines * or double spaces the player can't reasonably reproduce).
apps/server/src/minigames/writer.ts:64
↓ 6 callersFunctionnullableCell
(k: NullableKey, label: string, min: number, max: number, step: number)
apps/web/src/components/ConnectionConsole.tsx:89
↓ 6 callersFunctionnum
(v: unknown)
apps/server/src/services/moments-service.ts:5
↓ 6 callersFunctionpourWarmth
Pile on warmth so the gate (if any) is forced to bite.
apps/server/src/services/compatibility.test.ts:27
↓ 6 callersFunctionrecapAdapter
()
apps/server/src/services/day-record.test.ts:27
↓ 6 callersFunctionregenerateTextReply
( characterId: string, playerId: string = DEFAULT_PLAYER_ID, )
apps/server/src/services/text-message-service.ts:545
↓ 6 callersFunctionremoveDraft
(key: string)
apps/web/src/lib/drafts.ts:84
↓ 6 callersFunctionresetProgress
()
apps/server/src/services/data-service.ts:316
↓ 6 callersFunctionresolve
(submission: unknown, state: unknown)
apps/server/src/minigames/writer.ts:152
↓ 6 callersFunctionresolveSessionLocation
( locationId: string | null, character: Character, world: { locations: Location[] } | null, )
apps/server/src/services/conversation-service.ts:335
↓ 6 callersFunctionrouletteBetPayout
(bet: RouletteBet, n: number)
packages/shared/src/gambling.ts:453
↓ 6 callersFunctionsafeUploadsPath
(relativePath: string)
apps/server/src/services/asset-service.ts:29
↓ 6 callersFunctionscoreEngagement
* Engagement on a -3..+3 scale (turn/text judges). The span of the scale is 6, so a * 0-difference reads as 1.0. For the PURE engagement judges, `agr
apps/server/src/services/bench/cases.ts:239
↓ 6 callersFunctionsession
()
apps/server/src/services/ex-canon.test.ts:39
↓ 6 callersFunctionsetExpression
Update the stored expression. The rapport row is seeded before the first judged * turn, so an UPDATE always lands; if it somehow hasn't, this is a
apps/server/src/db/repositories.ts:2061
↓ 6 callersFunctionsetSel
(ids: string[])
apps/web/src/pages/Bench.tsx:822
↓ 6 callersFunctionsetup
Mira has an ex-link to Dorian; Dorian's opt-in is parameterized.
apps/server/src/services/ex-canon.test.ts:19
↓ 6 callersFunctionsetup
Create a world, set the player's orientation, and add a character with one.
apps/server/src/services/compatibility.test.ts:16
↓ 6 callersFunctionskillName
(skill?: string)
apps/web/src/components/phone/WorkApp.tsx:74
↓ 6 callersFunctionupdateLlmSettings
(update: LlmSettingsUpdate)
apps/server/src/services/settings-service.ts:33
↓ 6 callersMethodurl
(path: string)
apps/server/src/llm/ollama-adapter.ts:166
↓ 6 callersFunctionvalidateBet
(stake: number, wageredToday: number, limits: BetLimits)
packages/shared/src/gambling.ts:494
↓ 6 callersFunctionwealthWorld
(money = 100_000)
apps/server/src/services/wealth-persistence.test.ts:32
↓ 5 callersFunctionadd
(cue: string, reveal: string, category: Category, summary: string)
apps/server/src/minigames/memory-match.ts:53
↓ 5 callersFunctionaddPartner
(x: string, y: string)
apps/server/src/services/world-sim-service.ts:213
↓ 5 callersFunctionamtKey
(stat: DatingStatKey)
packages/shared/src/buffs.ts:17
↓ 5 callersFunctionassertCanAct
(worldId: string)
apps/server/src/services/world-clock-service.ts:97
↓ 5 callersFunctionattemptPlayerFarewell
( sessionId: string, playerText: string, signal?: AbortSignal, )
apps/server/src/services/conversation-service.ts:1031
↓ 5 callersFunctionavailableIntents
(rel: Pick<WarmthStats, 'tension'>)
packages/shared/src/intent.ts:69
↓ 5 callersFunctionbuildDialogueRequest
(sessionId: string, turnVerdict?: TurnVerdict | null)
apps/server/src/services/conversation-service.ts:505
↓ 5 callersFunctioncapWarmthGain
( delta: Partial<Record<RelationshipStatKey, number>>, cap: number, )
packages/shared/src/social.ts:504
↓ 5 callersMethodclear
()
apps/web/src/lib/drafts.test.ts:37
↓ 5 callersFunctioncomputeAggregate
(results: BenchCaseResult[])
apps/server/src/services/bench/runner.ts:461
↓ 5 callersFunctiondateOnce
Mark a character as "dated" so texting is unlocked (a real date with a player turn).
apps/server/src/services/regenerate.test.ts:20
↓ 5 callersFunctiondropReplyForRegen
(sessionId: string)
apps/server/src/services/conversation-service.ts:585
↓ 5 callersFunctioneditDraft
(i: number, patch: Partial<ShopItemCreate>)
apps/web/src/pages/Shop.tsx:123
↓ 5 callersFunctionemitNpcPost
* Generate one NPC post fail-safe and insert it. Idempotent for event-driven * posts via existsForEvent; ambient posts re-check existsForAuthorDayKin
apps/server/src/services/feed-service.ts:362
↓ 5 callersFunctionestimatePromptChars
(messages: ChatMessage[])
apps/server/src/prompt/prompt-builder.ts:1977
↓ 5 callersFunctionfitLabel
(fit: number)
packages/shared/src/together.ts:41
↓ 5 callersFunctionfixtureContext
(opts: FixtureContextOptions = {})
apps/server/src/services/bench/fixtures.ts:320
↓ 5 callersFunctiongenerateCharacterFromSources
( input: GenerateCharacterFromSourcesInput, )
apps/server/src/services/character-service.ts:661
↓ 5 callersFunctiongenerateKnowledgeGossipForDay
( worldId: string, day: number, playerId: string = DEFAULT_PLAYER_ID, rng: SeededRandom = hashFloat, )
apps/server/src/services/gossip-service.ts:137
↓ 5 callersFunctiongetWorldCalendar
(worldId: string)
apps/server/src/services/day-record-service.ts:173
↓ 5 callersMethodheaders
()
apps/server/src/llm/ollama-adapter.ts:170
↓ 5 callersFunctioninitDatabase
(options: InitDatabaseOptions = {})
apps/server/src/db/index.ts:29
↓ 5 callersFunctionisNewCharScope
(scopeId: string)
apps/web/src/lib/drafts.ts:48
↓ 5 callersFunctionisPromptId
(id: string)
apps/server/src/prompt/registry.ts:332
↓ 5 callersFunctionisSafeEntryName
(name: string, maxLength: number)
apps/server/src/lib/zip.ts:92
↓ 5 callersFunctionisStoryFlag
(value: unknown)
packages/shared/src/social.ts:994
↓ 5 callersFunctionjsonEntry
(name: string, value: unknown)
apps/server/src/services/pack-service.ts:139
↓ 5 callersFunctionmakeDeck
()
packages/shared/src/gambling.ts:84
↓ 5 callersFunctionmakeWarm
Raise warmth to the given per-stat value (e.g. 50 → "getting close").
apps/server/src/services/dtr.test.ts:11
↓ 5 callersFunctionmaybeReachEnding
( characterId: string, ctx: { day: number; mode: ConversationMode }, playerId: string = DEFAULT_PLAYER_I
apps/server/src/services/ending-service.ts:80
↓ 5 callersFunctionmoodForCharacter
( worldId: string, day: number, character: WeatherPrefs & { id: string }, )
apps/server/src/services/ambiance-service.ts:43
↓ 5 callersFunctionnews
(day: number, companyId: string, ticker: string, headline: string, body: string, sentiment: 'up' | 'down' | 'f
apps/server/src/mock-world.ts:938
↓ 5 callersFunctionnpcPairKey
(x: string, y: string)
apps/server/src/db/repositories.ts:1380
↓ 5 callersFunctionnum
(v: unknown)
apps/server/src/services/crisis-service.ts:46
↓ 5 callersFunctionopenConversation
(sessionId: string)
apps/server/src/services/conversation-service.ts:622
↓ 5 callersFunctionpanelClass
(tab: TabId)
apps/web/src/pages/CharacterProfile.tsx:178
↓ 5 callersFunctionpersistStreamedReply
(sessionId: string, text: string)
apps/server/src/services/conversation-service.ts:566
↓ 5 callersFunctionplacedLost
(key: string)
apps/web/src/components/phone/gambling/RouletteGame.tsx:124
↓ 5 callersFunctionplacedWin
(key: string)
apps/web/src/components/phone/gambling/RouletteGame.tsx:122
↓ 5 callersFunctionpreviewSessionPrompt
(sessionId: string)
apps/server/src/services/conversation-service.ts:1653
↓ 5 callersFunctionpruneDrafts
(opts: { maxAgeMs?: number; /** Ids of worlds that still exist; a draft whose world is gone is pruned.
apps/web/src/lib/drafts.ts:134
↓ 5 callersFunctionrapportEndEffect
(rapport: number)
apps/server/src/services/rapport-service.ts:138
↓ 5 callersFunctionrelationshipStateNote
* A compact "current emotional state" clause derived from the `state:*` flags, * for the phone reply and the DTR judge — mirrors the date prompt's HO
apps/server/src/prompt/prompt-builder.ts:812
↓ 5 callersFunctionrelationshipStatusLabel
(s: RelationshipStatus | string)
apps/web/src/i18n/labels.ts:58
↓ 5 callersFunctionrelativeTime
(ts: number)
apps/web/src/i18n/labels.ts:82
↓ 5 callersFunctionresolveBetLimits
(config?: { maxBet?: number; dailyWagerLimit?: number } | null)
packages/shared/src/gambling.ts:474
↓ 5 callersFunctionretryPlayerTextReply
( characterId: string, playerId: string = DEFAULT_PLAYER_ID, )
apps/server/src/services/text-message-service.ts:490
↓ 5 callersFunctionrippleSocialVouch
(subjectId: string)
apps/server/src/services/social-ripple-service.ts:16
↓ 5 callersFunctionrouletteBetWins
(bet: RouletteBet, n: number)
packages/shared/src/gambling.ts:427
↓ 5 callersFunctionseedPrices
(companyId: string, series: ReadonlyArray<readonly [number, number]>)
apps/server/src/mock-world.ts:916
↓ 5 callersFunctionselectTopMemories
( characterId: string, limit: number = PROMPT_LIMITS.topMemories, )
apps/server/src/services/memory-service.ts:93
↓ 5 callersFunctionsendArchive
(reply: import('fastify').FastifyReply, filename: string, buffer: Buffer)
apps/server/src/routes/packs.ts:34
↓ 5 callersFunctionseq
(...vals: number[])
apps/server/src/services/gambling.test.ts:35
↓ 5 callersFunctionsetRapport
(sessionId: string, value: number)
apps/server/src/services/rapport-service.ts:45
↓ 5 callersFunctionslotResult
(reels: [SlotSymbol, SlotSymbol, SlotSymbol])
packages/shared/src/gambling.ts:370
← previousnext →301–400 of 1,633, ranked by callers