Skip to main content

Interface: DirectorContext

Defined in: apps/paracosm/src/runtime/director.ts:52

Context passed to the Event Director for generating turn events.

Properties

agentMoodSummary?

optional agentMoodSummary: string

Defined in: apps/paracosm/src/runtime/director.ts:82

Agent mood summary from last turn


aliveCount

aliveCount: number

Defined in: apps/paracosm/src/runtime/director.ts:64


colony?

optional colony: Record<string, number>

Defined in: apps/paracosm/src/runtime/director.ts:91

Deprecated

Use state


driftSummary

driftSummary: object[]

Defined in: apps/paracosm/src/runtime/director.ts:78

conscientiousness

conscientiousness: number

name

name: string

openness

openness: number

role

role: string


knowledgeCategories?

optional knowledgeCategories: string[]

Defined in: apps/paracosm/src/runtime/director.ts:87

Categories the scenario knows about (from KnowledgeBundle.categoryMapping).


knowledgeTopics?

optional knowledgeTopics: string[]

Defined in: apps/paracosm/src/runtime/director.ts:85

Knowledge topic IDs available in the scenario knowledge bundle. Provides grounding for researchKeywords so events tie back to real citations.


leaderArchetype

leaderArchetype: string

Defined in: apps/paracosm/src/runtime/director.ts:56


leaderHexaco

leaderHexaco: HexacoProfile

Defined in: apps/paracosm/src/runtime/director.ts:57


leaderHexacoHistory?

optional leaderHexacoHistory: HexacoSnapshot[]

Defined in: apps/paracosm/src/runtime/director.ts:59

Commander's HEXACO per-turn history for trajectory cue generation.


leaderName

leaderName: string

Defined in: apps/paracosm/src/runtime/director.ts:55


marsBornCount?

optional marsBornCount: number

Defined in: apps/paracosm/src/runtime/director.ts:95

Deprecated

Use nativeBornCount


nativeBornCount

nativeBornCount: number

Defined in: apps/paracosm/src/runtime/director.ts:66

Count of agents born at the settlement (vs arrived from elsewhere)


politics

politics: Record<string, number | string | boolean>

Defined in: apps/paracosm/src/runtime/director.ts:63

Political/social state variables


previousCrises?

optional previousCrises: object[]

Defined in: apps/paracosm/src/runtime/director.ts:93

category

category: string

decision?

optional decision: string

outcome

outcome: TurnOutcome

selectedOptionId?

optional selectedOptionId: string

title

title: string

turn

turn: number

Deprecated

Use previousEvents


previousEvents

previousEvents: object[]

Defined in: apps/paracosm/src/runtime/director.ts:69

category

category: string

decision?

optional decision: string

outcome

outcome: TurnOutcome

selectedOptionId?

optional selectedOptionId: string

title

title: string

turn

turn: number


recentBirths

recentBirths: number

Defined in: apps/paracosm/src/runtime/director.ts:68


recentDeaths

recentDeaths: number

Defined in: apps/paracosm/src/runtime/director.ts:67


recentToolOutputs

recentToolOutputs: object[]

Defined in: apps/paracosm/src/runtime/director.ts:80

Key outputs from forged tools last turn

department

department: string

name

name: string

output

output: string


state

state: Record<string, number>

Defined in: apps/paracosm/src/runtime/director.ts:61

Scenario state metrics (population, morale, resources, etc.)


toolsForged

toolsForged: string[]

Defined in: apps/paracosm/src/runtime/director.ts:77


turn

turn: number

Defined in: apps/paracosm/src/runtime/director.ts:53


year

year: number

Defined in: apps/paracosm/src/runtime/director.ts:54