Interface: MockSessionConfig
Makaio Framework / services-core/session/testing/orchestrator-shared / MockSessionConfig
Interface: MockSessionConfig
Section titled “Interface: MockSessionConfig”Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:34
Configuration for creating mock sessions.
Properties
Section titled “Properties”agents?
Section titled “agents?”
optionalagents?:object[]
Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:37
adapterId
Section titled “adapterId”adapterId:
string
Adapter instance that owns this agent
adapterName
Section titled “adapterName”adapterName:
string
Adapter type name (e.g., ‘claude-code’, ‘copilot’)
adapterSessionId?
Section titled “adapterSessionId?”
optionaladapterSessionId?:string
Provider’s session ID for native resume support
agentId
Section titled “agentId”agentId:
string
Unique agent execution unit ID (stable across connector swaps and restarts)
clientId?
Section titled “clientId?”
optionalclientId?:string
Client identifier for the client application this agent runs under (e.g., ‘claude-code’, ‘codex’). Omit for API-only adapters.
compressionMode?
Section titled “compressionMode?”
optionalcompressionMode?:"manual"|"auto"|"off"
Compression mode for session context management.
createdAt
Section titled “createdAt”createdAt:
number
Timestamp when agent was created (= when added to session)
optionalcwd?:string
Current working directory
harnessId?
Section titled “harnessId?”
optionalharnessId?:string
Resolved harness ID for this agent.
lastActivityAt
Section titled “lastActivityAt”lastActivityAt:
number
Timestamp of last activity (message sent/received)
model?
Section titled “model?”
optionalmodel?:string
Current model identifier
personaId?
Section titled “personaId?”
optionalpersonaId?:string
Persona used to configure this agent (if any).
profileId?
Section titled “profileId?”
optionalprofileId?:string
Profile used to configure this agent (if any).
providerConfigId?
Section titled “providerConfigId?”
optionalproviderConfigId?:string
Provider config UUID for credential/endpoint resolution
role:
"lead"|"member"=AgentRoleSchema
Agent’s role in the session
sessionId
Section titled “sessionId”sessionId:
string
Makaio session this agent belongs to
status
Section titled “status”status:
"active"|"idle"|"dead"|"disposed"=AgentStatusSchema
Agent lifecycle status
leadAgentId?
Section titled “leadAgentId?”
optionalleadAgentId?:string
Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:38
sessionId
Section titled “sessionId”sessionId:
string
Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:35
status?
Section titled “status?”
optionalstatus?:"active"|"closed"
Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:36
targetWorkingDirectory?
Section titled “targetWorkingDirectory?”
optionaltargetWorkingDirectory?:string
Defined in: ../../../packages/services/core/src/session/testing/orchestrator-shared.ts:39