Interface: CreateAndLinkParams
Makaio Framework / services-core / CreateAndLinkParams
Interface: CreateAndLinkParams
Section titled “Interface: CreateAndLinkParams”Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:23
Parameters for the unified session creation and linking helper.
Properties
Section titled “Properties”adapterId
Section titled “adapterId”adapterId:
string
Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:31
Adapter instance ID (machine/installation specific).
adapterName
Section titled “adapterName”adapterName:
string
Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:29
Adapter type name (e.g., ‘claude-code’).
adapterSessionId
Section titled “adapterSessionId”adapterSessionId:
string
Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:27
Adapter-specific session identifier.
bus:
IMakaioBus
Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:25
Bus instance for storage writes and lifecycle emissions.
existingSessionId?
Section titled “existingSessionId?”
optionalexistingSessionId?:string
Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:35
Existing Makaio sessionId to reuse (e.g., from discovery stub).
metadata
Section titled “metadata”metadata: {
forkPointMessageId:string;kind:"fork";parentAdapterSessionId:string; } | {forkPointMessageId:null;kind:"subagent";parentAdapterSessionId:string; } | {forkPointMessageId:null;kind:"compress";parentAdapterSessionId:string; } | {forkPointMessageId:null;kind:null;parentAdapterSessionId:null; } &object
Defined in: ../../../packages/services/core/src/session/adapter-sessions/handlers.ts:33
Session metadata from the adapter.
Type Declaration
Section titled “Type Declaration”cwd:
string|null
Working directory for scope resolution, if known.
model:
string|null
AI model name used in this session, if known.
title:
string|null
Human-readable session title, if known.