MCPcopy Create free account

hub / github.com/HMDSimDev/heartmorrow / functions

Functions1,633 in github.com/HMDSimDev/heartmorrow

Methodconstructor
(private readonly cfg: AnthropicAdapterConfig)
apps/server/src/llm/anthropic-adapter.ts:119
Methodconstructor
( private readonly reject: string, private readonly payload: string, )
apps/server/src/llm/structured.test.ts:14
Methodconstructor
(message: string)
apps/server/src/lib/zip.ts:72
Methodconstructor
( message: string, readonly raw: string, )
apps/server/src/lib/json.ts:10
Methodconstructor
( readonly statusCode: number, message: string, readonly details?: unknown, )
apps/server/src/lib/errors.ts:3
Methodconstructor
(private readonly responses: string[])
apps/server/src/test/helpers.ts:20
Methodconstructor
(private readonly responses: string[])
apps/server/src/services/character-from-image.test.ts:17
Methodconstructor
(private readonly responses: string[])
apps/server/src/services/text-image.test.ts:13
Methodconstructor
( private readonly payload: string, private readonly extra: { usage?: TokenUsage; stats?: GenerationSt
apps/server/src/services/bench/bench.test.ts:14
Methodconstructor
( message: string, readonly status: number, readonly details?: unknown, )
apps/web/src/lib/api.ts:120
FunctioncountAmbientForDay
Count of ambient NPC posts already made in a world on a day (per-day cap).
apps/server/src/db/repositories.ts:1249
FunctioncountByPlayerWorldAndDay
(playerId: string, worldId: string, day: number)
apps/server/src/db/repositories.ts:975
FunctioncountBySession
(sessionId: string)
apps/server/src/db/repositories.ts:524
FunctioncountCharacterCommentsSince
Count of NPC comments in a world since a timestamp (for the unread badge).
apps/server/src/db/repositories.ts:1303
FunctioncountCharacterPostsSince
Count of NPC posts in a world since a timestamp (for the unread badge).
apps/server/src/db/repositories.ts:1240
FunctioncountUnread
(playerId: string)
apps/server/src/db/repositories.ts:963
FunctioncountUnreadByWorld
(playerId: string, worldId: string)
apps/server/src/db/repositories.ts:967
FunctioncreateNew
()
apps/web/src/components/phone/MarketApp.tsx:404
FunctioncreateTheWorld
()
apps/web/src/pages/WorldSelector.tsx:443
FunctioncreateWorld
()
apps/web/src/pages/WorldEditor.tsx:113
FunctioncurrentPlayer
(playerId: string = DEFAULT_PLAYER_ID)
apps/server/src/services/shop-service.ts:260
FunctiondaysForWorld
The set of days that already have a record (for gap-filling backfill).
apps/server/src/db/repositories.ts:1106
Functiondeal
()
apps/web/src/components/phone/gambling/BlackjackGame.tsx:46
Functiondeal
()
apps/web/src/components/phone/gambling/VideoPokerGame.tsx:37
FunctiondefineRelationship
()
apps/web/src/pages/Chat.tsx:791
Functiondelete
(id: string)
apps/server/src/db/repositories.ts:137
FunctiondeleteByProperty
Clear a deleted property's notices (no FK on property_id → cleaned in code).
apps/server/src/db/repositories.ts:1742
FunctiondeleteMemory
(memoryId: string)
apps/web/src/pages/CharacterProfile.tsx:111
FunctiondeleteWorld
()
apps/web/src/pages/WorldEditor.tsx:192
FunctiondoDelete
()
apps/web/src/pages/WorldSelector.tsx:72
FunctiondoSleep
()
apps/web/src/components/DayHud.tsx:42
Functiondownload
()
apps/web/src/components/ShareTools.tsx:349
FunctiondrawCards
()
apps/web/src/components/phone/gambling/VideoPokerGame.tsx:55
FunctionedgeShape
(e: { aId: string; bId: string; warmth: number; meetCount: number; promoted: boolean })
apps/server/src/services/world-sim.test.ts:56
FunctioneditDraft
(i: number, patch: Partial<CompanyCreate>)
apps/web/src/components/phone/MarketApp.tsx:380
FunctioneffectNeedsCharacter
(effect: ItemEffect)
apps/server/src/services/shop-service.ts:156
FunctioneventToMoment
Map a recorded game event to a scrapbook card, or null if it isn't a "moment".
apps/server/src/services/moments-service.ts:9
Functionexec
(sql)
apps/server/src/db/sqlite.ts:67
Methodexec
(sql: string)
apps/server/src/db/sqlite.ts:29
FunctionexistsByAuthor
True once `authorId` has already commented on `postId` — keeps NPC↔NPC * day-start commenting idempotent (one comment per character per post).
apps/server/src/db/repositories.ts:1294
FunctionexistsForAuthorDayKind
True if this author already made a post of `kind` on `dayNumber` (ambient idempotency).
apps/server/src/db/repositories.ts:1229
FunctionexistsForDay
Whether any news already exists for (world, day) — per-day generation idempotency.
apps/server/src/db/repositories.ts:1948
FunctionexistsForEvent
True once an NPC has already posted about this (event, author) pair.
apps/server/src/db/repositories.ts:1220
FunctionexportData
()
apps/web/src/pages/Debug.tsx:73
Functionfilter
(file: UnzipFileInfo)
apps/server/src/lib/zip.ts:144
Functionfinish
()
apps/web/src/pages/WorldSelector.tsx:583
Functionfinish
(submission: MinigameSubmission)
apps/web/src/pages/Minigames.tsx:88
FunctionfinishJob
(submission: MinigameSubmission)
apps/web/src/components/phone/WorkApp.tsx:130
Functiongenerate
()
apps/web/src/components/phone/PropertyApp.tsx:155
Functiongenerate
()
apps/web/src/components/phone/MarketApp.tsx:354
Functiongenerate
()
apps/web/src/pages/Shop.tsx:91
Methodgenerate
Generate an image. Throws if `canGenerate` is false.
apps/server/src/media/art-provider.ts:34
Methodgenerate
()
apps/server/src/media/art-provider.ts:46
Methodgenerate
(_request: MediaGenerationRequest)
apps/server/src/media/art-provider.ts:75
FunctiongenerateLocations
()
apps/web/src/pages/WorldEditor.tsx:223
FunctiongenerateProfile
()
apps/web/src/pages/CharacterEditor.tsx:433
FunctiongenerateStats
()
apps/web/src/pages/CharacterEditor.tsx:404
FunctiongenerateTheWorld
()
apps/web/src/pages/WorldSelector.tsx:491
Functionget
(id: string)
apps/server/src/services/bench/store.ts:57
Functionget
(sql: string, ...params: SqlParam[])
apps/server/src/db/sqlite.ts:74
Functionget
(id: string)
apps/server/src/db/repositories.ts:113
Methodget
(...params: SqlParam[])
apps/server/src/db/sqlite.ts:24
FunctiongetActive
The player's currently-active interactive hand, if any (newest wins).
apps/server/src/db/repositories.ts:1991
FunctiongetAll
All saved overrides as a plain { promptId: text } map (the cache shape).
apps/server/src/db/repositories.ts:1154
FunctiongetByActor
(postId: string, actorId: string)
apps/server/src/db/repositories.ts:1342
FunctiongetByCharacter
(characterId: string, playerId: string)
apps/server/src/db/repositories.ts:343
FunctiongetByPlayerAndItem
(playerId: string, shopItemId: string)
apps/server/src/db/repositories.ts:627
FunctiongetByPlayerAndProperty
(worldId: string, playerId: string, propertyId: string)
apps/server/src/db/repositories.ts:1613
MethodgetDerivedStateFromError
(error: unknown)
apps/web/src/components/ErrorBoundary.tsx:73
FunctiongetExpression
The last live expression (portrait mood) held for this session, or undefined.
apps/server/src/db/repositories.ts:2055
FunctiongetForDay
(worldId: string, companyId: string, day: number)
apps/server/src/db/repositories.ts:1883
FunctiongetPosition
(worldId: string, playerId: string, companyId: string)
apps/server/src/db/repositories.ts:1829
FunctiongetPromptOverrides
()
apps/server/src/prompt/registry.ts:355
FunctiongetRaw
(key: string)
apps/server/src/db/repositories.ts:1136
FunctiongetTimeContext
(worldId: string)
apps/server/src/services/world-clock-service.ts:91
FunctiongoToToday
()
apps/web/src/components/phone/CalendarApp.tsx:141
FunctiongoalLine
(g: string)
apps/server/src/minigames/two-truths-a-lie.ts:58
MethodhandleLine
(line: string)
apps/server/src/llm/ollama-adapter.ts:255
MethodhandleLine
(line: string)
apps/server/src/llm/openai-adapter.ts:156
MethodhandleLine
(line: string)
apps/server/src/llm/koboldcpp-adapter.ts:281
MethodhandleLine
(line: string)
apps/server/src/llm/anthropic-adapter.ts:219
Functionhandler
(e: BeforeUnloadEvent)
apps/web/src/pages/Chat.tsx:334
Functionhandler
(e: BeforeUnloadEvent)
apps/web/src/lib/useDraft.ts:196
FunctionhasRole
Whether the session has at least one message in the given role (e.g. a real * player turn). Lets a date that the character only opened still not "
apps/server/src/db/repositories.ts:530
FunctionidbGet
(key: string)
apps/web/src/lib/idb-kv.ts:23
FunctionimportThenContinue
()
apps/web/src/pages/WorldSelector.tsx:561
Functioninsert
(w: World)
apps/server/src/db/repositories.ts:122
FunctionisBuffFlagKey
(key: string)
packages/shared/src/buffs.ts:87
FunctionisCharacterAvailable
(worldId: string, day: number, characterId: string)
apps/server/src/services/availability-service.ts:69
FunctionisMemoryTag
(value: unknown)
packages/shared/src/vocab.ts:96
FunctionknowShape
(k: { knowerId: string; subjectId: string | null; claim: string; fidelity: number; hops: number })
apps/server/src/services/world-sim.test.ts:58
FunctionlastDelivered
(threadId: string)
apps/server/src/db/repositories.ts:884
FunctionlatestUpTo
The most recent priced day for a company on/before `day` (null if never priced).
apps/server/src/db/repositories.ts:1893
FunctionlikeLine
(x: string)
apps/server/src/minigames/two-truths-a-lie.ts:55
Functionlist
()
apps/server/src/services/bench/store.ts:32
Functionlist
()
apps/server/src/db/repositories.ts:117
FunctionlistActive
Not-yet-ended sessions, most-recently-updated first — the source for resuming * an in-progress date after a navigation/refresh.
apps/server/src/db/repositories.ts:477
FunctionlistAllByPlayer
All rows for a player including quantity-0 (used for faithful export).
apps/server/src/db/repositories.ts:616
FunctionlistAllByThread
All texts (delivered + still-queued) for a thread — used for faithful export.
apps/server/src/db/repositories.ts:879
FunctionlistByCharacter
(characterId: string)
apps/server/src/db/repositories.ts:297
← previousnext →1,401–1,500 of 1,633, ranked by callers