MCPcopy Create free account

hub / github.com/HMDSimDev/heartmorrow / functions

Functions1,633 in github.com/HMDSimDev/heartmorrow

↓ 1 callersMethodrender
()
apps/web/src/components/ErrorBoundary.tsx:82
↓ 1 callersFunctionrenderMistral
Mistral `[INST] … [/INST]` rendering: no system role, so system text is folded into * the first instruction; assistant turns are closed with `</s>`.
apps/server/src/llm/koboldcpp-adapter.ts:136
↓ 1 callersFunctionrentedBuffAmount
(fullBuff: number)
packages/shared/src/wealth.ts:112
↓ 1 callersFunctionresetPromptOverride
(id: string)
apps/server/src/services/prompt-override-service.ts:48
↓ 1 callersFunctionresolveCharacter
Pick the character to build prompts around: the requested one, else the first * one that exists (the estimator is about prompt SHAPE, so any real ch
apps/server/src/services/prompt-estimator-service.ts:54
↓ 1 callersFunctionresolveEx
Resolve which eligible ex a fact is about: a unique named match, or the sole ex if unnamed.
apps/server/src/services/ex-canon-service.ts:141
↓ 1 callersFunctionresolveWorldId
* Resolve the world an event belongs to. Most producers already carry a worldId * (world-clock, world-sim); the date/relationship pipeline carries a
apps/server/src/services/event-service.ts:13
↓ 1 callersFunctionrestTapped
(i: number)
apps/server/src/minigames/rhythm-serenade.ts:128
↓ 1 callersFunctionresumeDraft
(env: DraftEnvelope)
apps/web/src/pages/Characters.tsx:87
↓ 1 callersFunctionretry
()
apps/web/src/components/phone/MessagesApp.tsx:551
↓ 1 callersFunctionretry
()
apps/web/src/pages/Chat.tsx:624
↓ 1 callersFunctionromanticCompatFor
(characterId: string)
apps/server/src/services/compatibility-service.ts:19
↓ 1 callersMethodroot
The server root, with a trailing `/v1` or `/api` segment stripped so a URL * copied from the OpenAI-compatible config still resolves correctly.
apps/server/src/llm/ollama-adapter.ts:162
↓ 1 callersMethodroot
()
apps/server/src/llm/koboldcpp-adapter.ts:189
↓ 1 callersFunctionrouteKey
A short, stable key for the current screen — drives the per-screen wallpaper.
apps/web/src/App.tsx:46
↓ 1 callersFunctionrowToAsset
(r: Row)
apps/server/src/db/repositories.ts:416
↓ 1 callersFunctionrowToCharacter
(r: Row)
apps/server/src/db/repositories.ts:190
↓ 1 callersFunctionrowToChronicle
(r: Row)
apps/server/src/db/repositories.ts:1004
↓ 1 callersFunctionrowToCompany
(r: Row)
apps/server/src/db/repositories.ts:1761
↓ 1 callersFunctionrowToDayRecord
(r: Row)
apps/server/src/db/repositories.ts:1080
↓ 1 callersFunctionrowToEmail
(r: Row)
apps/server/src/db/repositories.ts:922
↓ 1 callersFunctionrowToEnding
(r: Row)
apps/server/src/db/repositories.ts:1046
↓ 1 callersFunctionrowToFeedPost
(r: Row)
apps/server/src/db/repositories.ts:1176
↓ 1 callersFunctionrowToFeedReaction
(r: Row)
apps/server/src/db/repositories.ts:1321
↓ 1 callersFunctionrowToHolding
(r: Row)
apps/server/src/db/repositories.ts:1815
↓ 1 callersFunctionrowToLease
(r: Row)
apps/server/src/db/repositories.ts:1654
↓ 1 callersFunctionrowToMemory
(r: Row)
apps/server/src/db/repositories.ts:278
↓ 1 callersFunctionrowToNpcEdge
(r: Row)
apps/server/src/db/repositories.ts:1384
↓ 1 callersFunctionrowToOwnership
(r: Row)
apps/server/src/db/repositories.ts:1601
↓ 1 callersFunctionrowToPlayer
(r: Row)
apps/server/src/db/repositories.ts:372
↓ 1 callersFunctionrowToProperty
(r: Row)
apps/server/src/db/repositories.ts:1545
↓ 1 callersFunctionrowToRelationship
(r: Row)
apps/server/src/db/repositories.ts:325
↓ 1 callersFunctionrowToSession
(r: Row)
apps/server/src/db/repositories.ts:452
↓ 1 callersFunctionrowToShopItem
(r: Row)
apps/server/src/db/repositories.ts:548
↓ 1 callersFunctionrowToWorld
(r: Row)
apps/server/src/db/repositories.ts:95
↓ 1 callersFunctionrowToWorldNote
(r: Row)
apps/server/src/db/repositories.ts:144
↓ 1 callersFunctionrowToWorldState
(r: Row)
apps/server/src/db/repositories.ts:758
↓ 1 callersFunctionrunDialogue
( def: BenchCaseDef, settings: LlmSettings, dialogueTurns: number, llmPlayer: boolean, signal?: Abor
apps/server/src/services/bench/runner.ts:277
↓ 1 callersFunctionrunHealthCheck
(settings: LlmSettings)
apps/server/src/llm/health.ts:9
↓ 1 callersFunctionrunSceneColor
* The ONE batched LLM call: rewrite each templated draft beat into a natural line * and, for meetings, return a short `gist` of what they talked abou
apps/server/src/services/world-sim-service.ts:458
↓ 1 callersFunctionrunStructured
(def: BenchCaseDef, settings: LlmSettings, signal?: AbortSignal)
apps/server/src/services/bench/runner.ts:214
↓ 1 callersFunctionsalvageEpilogue
* Last-ditch salvage for the once-per-relationship epilogue: if strict validation * failed only because the model slightly overshot the length, recov
apps/server/src/services/ending-service.ts:57
↓ 1 callersFunctionsanitizeDisplayName
Keep a human-readable original name for display, stripped of path parts.
apps/server/src/services/asset-service.ts:123
↓ 1 callersFunctionsaveBaseline
(caseId: string, value: BenchBaselineValue)
apps/web/src/pages/Bench.tsx:824
↓ 1 callersFunctionsavePromptOverride
(id: string, text: string, when: number)
apps/server/src/services/prompt-override-service.ts:32
↓ 1 callersFunctionscoreChoice
One-of-N categorical decision (DTR).
apps/server/src/services/bench/cases.ts:292
↓ 1 callersFunctionseed
()
apps/server/src/seed.ts:19
↓ 1 callersFunctionseedSeeingFact
Seed "you and the partner have been seeing each other" once you're at least dating, * so word that you're taken can spread even with nothing else qu
apps/server/src/services/player-fact-service.ts:143
↓ 1 callersFunctionsell
(pv: PropertyView)
apps/web/src/components/phone/PropertyApp.tsx:112
↓ 1 callersFunctionsenderInitial
(name: string)
apps/web/src/components/phone/EmailApp.tsx:12
↓ 1 callersFunctionsensitivityFor
Server-owned sensitivity: 'habit' is touchy by default; the model may UPGRADE * others to touchy but can never DOWNGRADE a baseline-touchy category.
apps/server/src/services/ex-canon-service.ts:43
↓ 1 callersFunctionseq
A fake RNG returning a scripted sequence (last value repeats).
apps/server/src/services/social-web.test.ts:31
↓ 1 callersFunctionset
(patch: Partial<Form>)
apps/web/src/pages/Settings.tsx:175
↓ 1 callersFunctionsetCtxWindow
(v: number)
apps/web/src/pages/Debug.tsx:33
↓ 1 callersFunctionsetMoney
(amount: number, playerId: string)
apps/server/src/mock-world.ts:362
↓ 1 callersFunctionsetNullable
(k: NullableKey, raw: string)
apps/web/src/components/ConnectionConsole.tsx:82
↓ 1 callersFunctionsetReciprocalLink
* Mirror one authored connection onto the target so a non-rival connection is * mutual. Same-world only (connections never cross worlds), and we over
apps/server/src/services/character-service.ts:360
↓ 1 callersFunctionsetTempBuff
( flags: FlagMap, stat: DatingStatKey, delta: number, durationSessions: number, )
packages/shared/src/buffs.ts:35
↓ 1 callersFunctionsettingsRoutes
(app: FastifyInstance)
apps/server/src/routes/settings.ts:12
↓ 1 callersFunctionshopRoutes
(app: FastifyInstance)
apps/server/src/routes/shop.ts:24
↓ 1 callersFunctionshuffle
(arr: T[])
apps/server/src/minigames/memory-match.ts:82
↓ 1 callersFunctionshuffle
(arr: T[])
apps/server/src/minigames/sweet-and-sour.ts:64
↓ 1 callersFunctionshuffleTrio
(statements: string[], lieIdx: number)
apps/server/src/minigames/two-truths-a-lie.ts:110
↓ 1 callersFunctionsimilarity
Character 3-gram Jaccard similarity (0..1) — high means the texts overlap heavily.
apps/server/src/services/bench/runner.ts:163
↓ 1 callersFunctionsniffImageMime
Confirm the bytes really are the image type they claim (magic numbers). Even a * mismatched image is only ever served statically / shown to a vision
apps/server/src/services/pack-service.ts:115
↓ 1 callersFunctionsplitContent
Flatten one message's content into text + any base64 image payloads. KoboldCpp's * `images` field takes raw base64 (no `data:` prefix) and has no re
apps/server/src/llm/koboldcpp-adapter.ts:65
↓ 1 callersFunctionstart
(minigameId: MinigameId)
apps/web/src/pages/Minigames.tsx:66
↓ 1 callersFunctionstartJob
(g: MinigameInfo)
apps/web/src/components/phone/WorkApp.tsx:107
↓ 1 callersFunctionstartLease
(pv: PropertyView)
apps/web/src/components/phone/PropertyApp.tsx:118
↓ 1 callersFunctionstockHoldingsValue
(worldId: string)
apps/server/src/services/market-service.ts:207
↓ 1 callersFunctionstraightHighCard
* Return the high-card value of a 5-card straight (0 if not a straight). Handles * the wheel (A-2-3-4-5, high card 5) and ace-high (10-J-Q-K-A, high
packages/shared/src/gambling.ts:282
↓ 1 callersFunctionstreamChat
( sessionId: string, text: string, handlers: StreamHandlers, signal?: AbortSignal, intent?: Intent,
apps/web/src/lib/api.ts:240
↓ 1 callersFunctionstreamRegenerate
( sessionId: string, handlers: StreamHandlers, signal?: AbortSignal, )
apps/web/src/lib/api.ts:290
↓ 1 callersFunctionstreamRetry
( sessionId: string, handlers: StreamHandlers, signal?: AbortSignal, )
apps/web/src/lib/api.ts:267
↓ 1 callersFunctionstripMaxLength
* Deep-clone a JSON-schema tree with every `maxLength` constraint removed. * * In `json_schema` mode the schema becomes a GRAMMAR that constrains de
apps/server/src/llm/structured.ts:104
↓ 1 callersFunctionsubmit
()
apps/web/src/components/phone/FacesApp.tsx:269
↓ 1 callersFunctionsyncHtmlLang
(locale: string)
apps/web/src/i18n/index.ts:34
↓ 1 callersFunctionsynthesizeRecap
A deterministic (no-LLM) recap for a reconstructed day, built from its beats.
apps/server/src/services/day-record-service.ts:59
↓ 1 callersFunctionsystemText
Flatten any text out of a system message's content (system is a top-level * string in the Anthropic API, never a role inside `messages`).
apps/server/src/llm/anthropic-adapter.ts:80
↓ 1 callersFunctiontap
()
apps/web/src/components/minigames/RhythmSerenade.tsx:38
↓ 1 callersFunctiontextBodyForPrompt
A text's body as it should read in a transcript — marks photo attachments so * the model knows an image was sent even though it isn't shown here.
apps/server/src/services/text-message-service.ts:188
↓ 1 callersFunctionthinkValue
Translate the `ollamaThink` setting into the wire `think` value (or undefined to * omit). 'default' → omit; off/on → boolean; a level → that string.
apps/server/src/llm/ollama-adapter.ts:92
↓ 1 callersFunctiontieKind
* How `viewer` relates to `target`, from the viewer's side: their own AUTHORED * link wins, else a world-sim-derived edge — a grown couple → partner,
apps/server/src/services/feed-service.ts:435
↓ 1 callersFunctiontieTitle
(owner: string, peer: string, kind: CharacterLinkKind, tie: SocialTie, tt: TFn)
apps/web/src/components/phone/ConstellationApp.tsx:654
↓ 1 callersFunctiontoBlocks
(content: ChatMessage['content'])
apps/server/src/llm/anthropic-adapter.ts:67
↓ 1 callersFunctiontoImageSource
Map a `data:<mime>;base64,<data>` or remote URL into an Anthropic image source.
apps/server/src/llm/anthropic-adapter.ts:58
↓ 1 callersFunctiontoOllamaFormat
Map our ResponseFormat onto Ollama's `format` field: a raw JSON schema for * json_schema, the literal `"json"` for json_object, nothing for text.
apps/server/src/llm/ollama-adapter.ts:108
↓ 1 callersFunctiontogetherNote
How an outing landed, as a keepsake card: a tone + seal + the descriptive line. * Warmth (spark/warm) reads rose; a flat/crowded afternoon reads moo
apps/web/src/components/phone/TogetherApp.tsx:22
↓ 1 callersFunctiontoggle
(i: number)
apps/web/src/components/phone/gambling/VideoPokerGame.tsx:70
↓ 1 callersFunctiontoggle
(id: string)
apps/web/src/pages/Bench.tsx:814
↓ 1 callersFunctiontoggleCompare
(id: string)
apps/web/src/pages/Bench.tsx:599
↓ 1 callersFunctiontoggleKeep
(i: number)
apps/web/src/components/phone/PropertyApp.tsx:190
↓ 1 callersFunctiontoggleKeep
(i: number)
apps/web/src/pages/Shop.tsx:125
↓ 1 callersFunctiontoggleSelect
(id: string)
apps/web/src/pages/WorldSelector.tsx:52
↓ 1 callersFunctiontoggleSelect
(id: string)
apps/web/src/pages/Characters.tsx:42
↓ 1 callersFunctiontoggleWorkday
(idx: number)
apps/web/src/pages/CharacterEditor.tsx:196
↓ 1 callersFunctiontokenizeEnums
Reverse-derive the editable default from a resolved guardrail constant: replace * the live enum lists with their `{{TOKEN}}` placeholders. The joine
apps/server/src/prompt/registry.ts:77
↓ 1 callersFunctiontoneForGrade
(grade: Grade)
apps/server/src/minigames/reactions.ts:49
↓ 1 callersFunctiontopicSignals
Build the deterministic topic-weighting signals for a meeting pair.
apps/server/src/services/world-sim-service.ts:603
↓ 1 callersFunctiontotalReset
()
apps/web/src/components/phone/SettingsApp.tsx:37
← previousnext →1,101–1,200 of 1,633, ranked by callers