Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HuangLittleOrange/worldx-agent-forge
/ functions
Functions
1,074 in github.com/HuangLittleOrange/worldx-agent-forge
⨍
Functions
1,074
◇
Types & classes
134
Method
constructor
()
assets/worldx-runtime/server/src/core/world-manager.ts:63
Method
constructor
( private worldManager: WorldManager, private characterManager: CharacterManager, private llmClien
assets/worldx-runtime/server/src/simulation/simulation-engine.ts:59
Method
constructor
( private llmClient: LLMClient, private promptBuilder: PromptBuilder, private characterManager: Ch
assets/worldx-runtime/server/src/simulation/dialogue-generator.ts:18
Method
constructor
( private llmClient: LLMClient, private promptBuilder: PromptBuilder, private characterManager: Ch
assets/worldx-runtime/server/src/simulation/decision-maker.ts:14
Function
countEvents
(filter?: EventQueryFilter)
assets/worldx-runtime/server/src/store/event-store.ts:154
Function
countMemoriesByTag
(charId: string, tag: string)
assets/worldx-runtime/server/src/store/memory-store.ts:196
Method
create
()
assets/worldx-runtime/client/src/scenes/WorldScene.ts:62
Function
createBranch
(snapshotId: string, branchName: string)
assets/worldx-runtime/server/src/store/snapshot-store.ts:95
Function
createNewTimeline
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:406
Function
createSnapshot
(gameTime: GameTime, description?: string)
assets/worldx-runtime/server/src/store/snapshot-store.ts:28
Function
createWorld
(params: { prompt: string; sizeK: CreateJobSizeK; keepArtifacts?: boolean; })
assets/worldx-runtime/client/src/ui/services/api-client.ts:327
Function
deleteCandidate
(id: string)
assets/worldx-runtime/server/src/store/content-store.ts:82
Function
deleteGlobalState
(key: string)
assets/worldx-runtime/server/src/store/world-state-store.ts:126
Function
deleteMemory
(id: string)
assets/worldx-runtime/server/src/store/memory-store.ts:192
Function
deleteSnapshot
(snapshotId: string)
assets/worldx-runtime/server/src/store/snapshot-store.ts:84
Function
deleteTimeline
(timelineId: string)
assets/worldx-runtime/client/src/ui/services/api-client.ts:414
Function
deleteTimelineFromWorld
( worldId: string, timelineId: string, )
assets/worldx-runtime/client/src/ui/services/api-client.ts:429
Function
deleteWorld
(worldId: string)
assets/worldx-runtime/client/src/ui/services/api-client.ts:392
Method
destroy
(fromScene?: boolean)
assets/worldx-runtime/client/src/objects/CharacterSprite.ts:794
Function
doWhisper
()
assets/worldx-runtime/client/src/ui/panels/GodPanel.tsx:81
Function
draw
(now: number)
assets/worldx-runtime/client/src/ui/pages/CreateWorldBackground.tsx:77
Function
draw
()
assets/worldx-runtime/client/src/ui/panels/MapControls.tsx:81
Function
drawCoordinateGrid
(imageBuffer)
assets/worldx-runtime/generators/map/src/utils/image-utils.mjs:101
Function
enrichEventTime
(event: SimulationEvent)
assets/worldx-runtime/server/src/api/routes/events.ts:51
Method
findPathToLocation
( fromX: number, fromY: number, locationId: string )
assets/worldx-runtime/client/src/systems/PathfindingManager.ts:68
Method
fmtMem
(m: { gameDay: number; gameTick: number; content: string })
assets/worldx-runtime/server/src/simulation/dialogue-generator.ts:182
Function
formatWorldActionSummary
(worldDesign)
assets/worldx-runtime/generators/map/src/utils/world-design-summary.mjs:1
Function
gameTimeToString
(gt: GameTime)
assets/worldx-runtime/server/src/utils/time-helpers.ts:137
Function
geminiProChat
(prompt, { temperature = 0.3, logStep = "gemini-pro", requestTimeoutMs, timeoutEnvKey } = {})
assets/worldx-runtime/generators/map/src/models/gemini-pro.mjs:47
Function
geminiProVisionJSON
(text, imageBuffers, { temperature = 0.3 } = {})
assets/worldx-runtime/generators/character/src/models/gemini-pro.mjs:17
Function
generateCharacterWeekly
( charId: string, fromDay: number, toDay: number, llmClient: LLMClient, )
assets/worldx-runtime/server/src/content/summary-generator.ts:86
Function
getAllCharacterStates
()
assets/worldx-runtime/server/src/store/character-state-store.ts:52
Function
getAllGlobalState
()
assets/worldx-runtime/server/src/store/world-state-store.ts:132
Function
getAllObjectStates
()
assets/worldx-runtime/server/src/store/world-state-store.ts:47
Function
getAllTimelinesGrouped
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:422
Function
getCallStats
( fromDate?: string, )
assets/worldx-runtime/server/src/llm/cost-tracker.ts:80
Function
getCandidates
(filter: CandidateFilter = {})
assets/worldx-runtime/server/src/store/content-store.ts:45
Function
getCharacterDetail
(id: string)
assets/worldx-runtime/client/src/ui/services/api-client.ts:173
Function
getCharacterState
(id: string)
assets/worldx-runtime/server/src/store/character-state-store.ts:44
Function
getCharacters
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:169
Function
getCharactersByLocation
(locationId: string)
assets/worldx-runtime/server/src/store/character-state-store.ts:111
Function
getCostByTaskType
( fromDate?: string, )
assets/worldx-runtime/server/src/llm/cost-tracker.ts:57
Function
getCurrentJob
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:357
Function
getCurrentPlaybackTime
()
assets/worldx-runtime/client/src/utils/time-sync.ts:3
Method
getCurrentTime
()
assets/worldx-runtime/client/src/systems/PlaybackController.ts:76
Function
getCurrentTimeline
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:402
Method
getCurrentWorldDir
()
assets/worldx-runtime/server/src/services/timeline-manager.ts:219
Function
getDailyCost
(date?: string)
assets/worldx-runtime/server/src/llm/cost-tracker.ts:46
Method
getDerivedStateFromError
()
assets/worldx-runtime/client/src/ui/App.tsx:38
Method
getDialogueSession
(sessionId: string)
assets/worldx-runtime/server/src/core/world-manager.ts:527
Function
getDiary
(id: string, day?: number)
assets/worldx-runtime/client/src/ui/services/api-client.ts:178
Function
getEvents
(params: { fromDay?: number; toDay?: number; type?: string; actorId?: string; limit?: numb
assets/worldx-runtime/client/src/ui/services/api-client.ts:187
Function
getEventsByIds
(ids: string[])
assets/worldx-runtime/server/src/store/event-store.ts:138
Function
getEventsByRange
(from: GameTime, to: GameTime)
assets/worldx-runtime/client/src/ui/services/api-client.ts:202
Function
getEventsByTimeRange
(from: GameTime, to: GameTime)
assets/worldx-runtime/server/src/store/event-store.ts:126
Function
getGeneratedWorlds
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:161
Function
getGlobalState
(key: string)
assets/worldx-runtime/server/src/store/world-state-store.ts:109
Function
getHighlights
(minScore = 6, limit = 20)
assets/worldx-runtime/client/src/ui/services/api-client.ts:212
Function
getJobStatus
(jobId: string)
assets/worldx-runtime/client/src/ui/services/api-client.ts:361
Function
getLLMSettings
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:136
Function
getLatestEvents
(count: number)
assets/worldx-runtime/server/src/store/event-store.ts:149
Method
getLocationName
(locationId: string)
assets/worldx-runtime/client/src/systems/MapManager.ts:445
Function
getLocations
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:165
Function
getMemories
(id: string)
assets/worldx-runtime/client/src/ui/services/api-client.ts:183
Function
getMemory
(id: string)
assets/worldx-runtime/server/src/store/memory-store.ts:135
Method
getMemorySummaryForPrompt
( characterId: string, currentTime: GameTime, topK?: number, )
assets/worldx-runtime/server/src/core/memory-manager.ts:176
Method
getObjectPosition
(objectId: string)
assets/worldx-runtime/client/src/systems/MapManager.ts:426
Function
getObjectsByLocation
(locationId: string)
assets/worldx-runtime/server/src/store/world-state-store.ts:53
Function
getStructuredOutputAttemptModes
( mode: StructuredOutputMode, capabilityHint?: StructuredOutputMode, )
assets/worldx-runtime/server/src/llm/structured-output.ts:19
Function
getTimelineEvents
(timelineId: string)
assets/worldx-runtime/client/src/ui/services/api-client.ts:418
Function
getTimelines
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:398
Function
getWorldInfo
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:157
Function
getWorldTime
()
assets/worldx-runtime/client/src/ui/services/api-client.ts:153
Function
godBroadcast
(params: { content: string; scope?: string; tone?: string; tags?: string[]; writeMemory?:
assets/worldx-runtime/client/src/ui/services/api-client.ts:255
Function
godWhisper
(params: { characterId: string; content: string; importance?: number; type?: "observation" | "
assets/worldx-runtime/client/src/ui/services/api-client.ts:265
Function
handleDevTickGranularityChange
(event: ChangeEvent<HTMLSelectElement>)
assets/worldx-runtime/client/src/ui/panels/TopBar.tsx:240
Method
handleSimEvent
(event: SimulationEvent)
assets/worldx-runtime/client/src/scenes/WorldScene.ts:380
Function
handleSubmit
(event: FormEvent)
assets/worldx-runtime/client/src/ui/panels/ModelSettingsModal.tsx:38
Function
handleSwitchToReplay
()
assets/worldx-runtime/client/src/ui/panels/TopBar.tsx:147
Function
handleSwitchToRun
()
assets/worldx-runtime/client/src/ui/panels/TopBar.tsx:163
Function
handleTimelineChange
(event: ChangeEvent<HTMLSelectElement>)
assets/worldx-runtime/client/src/ui/panels/TopBar.tsx:221
Function
handleWorldChange
(event: ChangeEvent<HTMLSelectElement>)
assets/worldx-runtime/client/src/ui/panels/TopBar.tsx:269
Function
hasMemory
( characterId: string, type: MemoryType, content: string, gameDay: number, gameTick: number, )
assets/worldx-runtime/server/src/store/memory-store.ts:58
Method
hasWalkableLine
( from: { gx: number; gy: number }, to: { gx: number; gy: number }, )
assets/worldx-runtime/client/src/systems/MapManager.ts:143
Method
hasWorld
()
assets/worldx-runtime/server/src/services/app-context.ts:50
Function
hashString
(value: string)
assets/worldx-runtime/client/src/systems/MapManager.ts:688
Function
initCharacterState
(state: CharacterState)
assets/worldx-runtime/server/src/store/character-state-store.ts:20
Function
initWorldState
(locations: LocationConfig[])
assets/worldx-runtime/server/src/store/world-state-store.ts:4
Method
initialize
()
assets/worldx-runtime/server/src/llm/prompt-builder.ts:38
Method
initialize
()
assets/worldx-runtime/server/src/core/character-manager.ts:27
Method
initialize
* Resolve (or create) a timeline for the given world directory. * If timelineId is provided and exists, use it; otherwise pick the latest or create
assets/worldx-runtime/server/src/services/timeline-manager.ts:56
Function
insertCandidate
(candidate: ContentCandidate)
assets/worldx-runtime/server/src/store/content-store.ts:22
Function
insertMemories
(memories: MemoryEntry[])
assets/worldx-runtime/server/src/store/memory-store.ts:80
Function
insertMemory
(memory: MemoryEntry)
assets/worldx-runtime/server/src/store/memory-store.ts:54
Method
isPreferredSpawnMainAreaPoint
(pointId: string | null | undefined)
assets/worldx-runtime/server/src/core/world-manager.ts:339
Method
isSceneComplete
()
assets/worldx-runtime/server/src/core/world-manager.ts:169
Function
isSceneEnding
( tick: number, config?: SceneTimeConfig, )
assets/worldx-runtime/server/src/utils/time-helpers.ts:155
Function
isUnsupportedJsonModeError
(error: unknown)
assets/worldx-runtime/server/src/llm/structured-output.ts:29
Method
length
()
assets/worldx-runtime/client/src/systems/EventQueue.ts:35
Function
listSnapshots
()
assets/worldx-runtime/server/src/store/snapshot-store.ts:48
← previous
next →
901–1,000 of 1,074, ranked by callers