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
Method
constructor
(private readonly cfg: AnthropicAdapterConfig)
apps/server/src/llm/anthropic-adapter.ts:119
Method
constructor
( private readonly reject: string, private readonly payload: string, )
apps/server/src/llm/structured.test.ts:14
Method
constructor
(message: string)
apps/server/src/lib/zip.ts:72
Method
constructor
( message: string, readonly raw: string, )
apps/server/src/lib/json.ts:10
Method
constructor
( readonly statusCode: number, message: string, readonly details?: unknown, )
apps/server/src/lib/errors.ts:3
Method
constructor
(private readonly responses: string[])
apps/server/src/test/helpers.ts:20
Method
constructor
(private readonly responses: string[])
apps/server/src/services/character-from-image.test.ts:17
Method
constructor
(private readonly responses: string[])
apps/server/src/services/text-image.test.ts:13
Method
constructor
( private readonly payload: string, private readonly extra: { usage?: TokenUsage; stats?: GenerationSt
apps/server/src/services/bench/bench.test.ts:14
Method
constructor
( message: string, readonly status: number, readonly details?: unknown, )
apps/web/src/lib/api.ts:120
Function
countAmbientForDay
Count of ambient NPC posts already made in a world on a day (per-day cap).
apps/server/src/db/repositories.ts:1249
Function
countByPlayerWorldAndDay
(playerId: string, worldId: string, day: number)
apps/server/src/db/repositories.ts:975
Function
countBySession
(sessionId: string)
apps/server/src/db/repositories.ts:524
Function
countCharacterCommentsSince
Count of NPC comments in a world since a timestamp (for the unread badge).
apps/server/src/db/repositories.ts:1303
Function
countCharacterPostsSince
Count of NPC posts in a world since a timestamp (for the unread badge).
apps/server/src/db/repositories.ts:1240
Function
countUnread
(playerId: string)
apps/server/src/db/repositories.ts:963
Function
countUnreadByWorld
(playerId: string, worldId: string)
apps/server/src/db/repositories.ts:967
Function
createNew
()
apps/web/src/components/phone/MarketApp.tsx:404
Function
createTheWorld
()
apps/web/src/pages/WorldSelector.tsx:443
Function
createWorld
()
apps/web/src/pages/WorldEditor.tsx:113
Function
currentPlayer
(playerId: string = DEFAULT_PLAYER_ID)
apps/server/src/services/shop-service.ts:260
Function
daysForWorld
The set of days that already have a record (for gap-filling backfill).
apps/server/src/db/repositories.ts:1106
Function
deal
()
apps/web/src/components/phone/gambling/BlackjackGame.tsx:46
Function
deal
()
apps/web/src/components/phone/gambling/VideoPokerGame.tsx:37
Function
defineRelationship
()
apps/web/src/pages/Chat.tsx:791
Function
delete
(id: string)
apps/server/src/db/repositories.ts:137
Function
deleteByProperty
Clear a deleted property's notices (no FK on property_id → cleaned in code).
apps/server/src/db/repositories.ts:1742
Function
deleteMemory
(memoryId: string)
apps/web/src/pages/CharacterProfile.tsx:111
Function
deleteWorld
()
apps/web/src/pages/WorldEditor.tsx:192
Function
doDelete
()
apps/web/src/pages/WorldSelector.tsx:72
Function
doSleep
()
apps/web/src/components/DayHud.tsx:42
Function
download
()
apps/web/src/components/ShareTools.tsx:349
Function
drawCards
()
apps/web/src/components/phone/gambling/VideoPokerGame.tsx:55
Function
edgeShape
(e: { aId: string; bId: string; warmth: number; meetCount: number; promoted: boolean })
apps/server/src/services/world-sim.test.ts:56
Function
editDraft
(i: number, patch: Partial<CompanyCreate>)
apps/web/src/components/phone/MarketApp.tsx:380
Function
effectNeedsCharacter
(effect: ItemEffect)
apps/server/src/services/shop-service.ts:156
Function
eventToMoment
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
Function
exec
(sql)
apps/server/src/db/sqlite.ts:67
Method
exec
(sql: string)
apps/server/src/db/sqlite.ts:29
Function
existsByAuthor
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
Function
existsForAuthorDayKind
True if this author already made a post of `kind` on `dayNumber` (ambient idempotency).
apps/server/src/db/repositories.ts:1229
Function
existsForDay
Whether any news already exists for (world, day) — per-day generation idempotency.
apps/server/src/db/repositories.ts:1948
Function
existsForEvent
True once an NPC has already posted about this (event, author) pair.
apps/server/src/db/repositories.ts:1220
Function
exportData
()
apps/web/src/pages/Debug.tsx:73
Function
filter
(file: UnzipFileInfo)
apps/server/src/lib/zip.ts:144
Function
finish
()
apps/web/src/pages/WorldSelector.tsx:583
Function
finish
(submission: MinigameSubmission)
apps/web/src/pages/Minigames.tsx:88
Function
finishJob
(submission: MinigameSubmission)
apps/web/src/components/phone/WorkApp.tsx:130
Function
generate
()
apps/web/src/components/phone/PropertyApp.tsx:155
Function
generate
()
apps/web/src/components/phone/MarketApp.tsx:354
Function
generate
()
apps/web/src/pages/Shop.tsx:91
Method
generate
Generate an image. Throws if `canGenerate` is false.
apps/server/src/media/art-provider.ts:34
Method
generate
()
apps/server/src/media/art-provider.ts:46
Method
generate
(_request: MediaGenerationRequest)
apps/server/src/media/art-provider.ts:75
Function
generateLocations
()
apps/web/src/pages/WorldEditor.tsx:223
Function
generateProfile
()
apps/web/src/pages/CharacterEditor.tsx:433
Function
generateStats
()
apps/web/src/pages/CharacterEditor.tsx:404
Function
generateTheWorld
()
apps/web/src/pages/WorldSelector.tsx:491
Function
get
(id: string)
apps/server/src/services/bench/store.ts:57
Function
get
(sql: string, ...params: SqlParam[])
apps/server/src/db/sqlite.ts:74
Function
get
(id: string)
apps/server/src/db/repositories.ts:113
Method
get
(...params: SqlParam[])
apps/server/src/db/sqlite.ts:24
Function
getActive
The player's currently-active interactive hand, if any (newest wins).
apps/server/src/db/repositories.ts:1991
Function
getAll
All saved overrides as a plain { promptId: text } map (the cache shape).
apps/server/src/db/repositories.ts:1154
Function
getByActor
(postId: string, actorId: string)
apps/server/src/db/repositories.ts:1342
Function
getByCharacter
(characterId: string, playerId: string)
apps/server/src/db/repositories.ts:343
Function
getByPlayerAndItem
(playerId: string, shopItemId: string)
apps/server/src/db/repositories.ts:627
Function
getByPlayerAndProperty
(worldId: string, playerId: string, propertyId: string)
apps/server/src/db/repositories.ts:1613
Method
getDerivedStateFromError
(error: unknown)
apps/web/src/components/ErrorBoundary.tsx:73
Function
getExpression
The last live expression (portrait mood) held for this session, or undefined.
apps/server/src/db/repositories.ts:2055
Function
getForDay
(worldId: string, companyId: string, day: number)
apps/server/src/db/repositories.ts:1883
Function
getPosition
(worldId: string, playerId: string, companyId: string)
apps/server/src/db/repositories.ts:1829
Function
getPromptOverrides
()
apps/server/src/prompt/registry.ts:355
Function
getRaw
(key: string)
apps/server/src/db/repositories.ts:1136
Function
getTimeContext
(worldId: string)
apps/server/src/services/world-clock-service.ts:91
Function
goToToday
()
apps/web/src/components/phone/CalendarApp.tsx:141
Function
goalLine
(g: string)
apps/server/src/minigames/two-truths-a-lie.ts:58
Method
handleLine
(line: string)
apps/server/src/llm/ollama-adapter.ts:255
Method
handleLine
(line: string)
apps/server/src/llm/openai-adapter.ts:156
Method
handleLine
(line: string)
apps/server/src/llm/koboldcpp-adapter.ts:281
Method
handleLine
(line: string)
apps/server/src/llm/anthropic-adapter.ts:219
Function
handler
(e: BeforeUnloadEvent)
apps/web/src/pages/Chat.tsx:334
Function
handler
(e: BeforeUnloadEvent)
apps/web/src/lib/useDraft.ts:196
Function
hasRole
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
Function
idbGet
(key: string)
apps/web/src/lib/idb-kv.ts:23
Function
importThenContinue
()
apps/web/src/pages/WorldSelector.tsx:561
Function
insert
(w: World)
apps/server/src/db/repositories.ts:122
Function
isBuffFlagKey
(key: string)
packages/shared/src/buffs.ts:87
Function
isCharacterAvailable
(worldId: string, day: number, characterId: string)
apps/server/src/services/availability-service.ts:69
Function
isMemoryTag
(value: unknown)
packages/shared/src/vocab.ts:96
Function
knowShape
(k: { knowerId: string; subjectId: string | null; claim: string; fidelity: number; hops: number })
apps/server/src/services/world-sim.test.ts:58
Function
lastDelivered
(threadId: string)
apps/server/src/db/repositories.ts:884
Function
latestUpTo
The most recent priced day for a company on/before `day` (null if never priced).
apps/server/src/db/repositories.ts:1893
Function
likeLine
(x: string)
apps/server/src/minigames/two-truths-a-lie.ts:55
Function
list
()
apps/server/src/services/bench/store.ts:32
Function
list
()
apps/server/src/db/repositories.ts:117
Function
listActive
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
Function
listAllByPlayer
All rows for a player including quantity-0 (used for faithful export).
apps/server/src/db/repositories.ts:616
Function
listAllByThread
All texts (delivered + still-queued) for a thread — used for faithful export.
apps/server/src/db/repositories.ts:879
Function
listByCharacter
(characterId: string)
apps/server/src/db/repositories.ts:297
← previous
next →
1,401–1,500 of 1,633, ranked by callers