Skip to content

Interface: MockSessionConfig

Makaio Framework


Makaio Framework / services-core/session/testing/orchestrator-shared / MockSessionConfig

Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:34

Configuration for creating mock sessions.

optional agents?: object[]

Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:37

adapterId: string

Adapter instance that owns this agent

adapterName: string

Adapter type name (e.g., ‘claude-code’, ‘copilot’)

optional adapterSessionId?: string

Provider’s session ID for native resume support

agentId: string

Unique agent execution unit ID (stable across connector swaps and restarts)

optional clientId?: string

Client identifier for the client application this agent runs under (e.g., ‘claude-code’, ‘codex’). Omit for API-only adapters.

optional compressionMode?: "manual" | "auto" | "off"

Compression mode for session context management.

createdAt: number

Timestamp when agent was created (= when added to session)

optional cwd?: string

Current working directory

optional harnessId?: string

Resolved harness ID for this agent.

lastActivityAt: number

Timestamp of last activity (message sent/received)

optional model?: string

Current model identifier

optional personaId?: string

Persona used to configure this agent (if any).

optional profileId?: string

Profile used to configure this agent (if any).

optional providerConfigId?: string

Provider config UUID for credential/endpoint resolution

role: "lead" | "member" = AgentRoleSchema

Agent’s role in the session

sessionId: string

Makaio session this agent belongs to

status: "active" | "idle" | "dead" | "disposed" = AgentStatusSchema

Agent lifecycle status


optional leadAgentId?: string

Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:38


sessionId: string

Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:35


optional status?: "active" | "closed"

Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:36


optional targetWorkingDirectory?: string

Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:39