Variable: AdapterSessionStorageSubjects
Makaio Framework / services-core / AdapterSessionStorageSubjects
Variable: AdapterSessionStorageSubjects
Section titled “Variable: AdapterSessionStorageSubjects”
constAdapterSessionStorageSubjects:BusSubjects<FlatSubjectDefinitions<"storage:adapterSession", {countByAdapter: {request:ZodObject<{adapterName:ZodString; },$strip>;response:ZodObject<{discovered:ZodNumber;imported:ZodNumber;total:ZodNumber; },$strip>; };createAndLink: {request:ZodObject<{adapterId:ZodString;adapterName:ZodString;adapterSessionId:ZodString;existingSessionId:ZodOptional<ZodString>;metadata:ZodIntersection<ZodUnion<readonly [ZodObject<{forkPointMessageId: …;kind: …;parentAdapterSessionId: …; },$strip>,ZodObject<{forkPointMessageId: …;kind: …;parentAdapterSessionId: …; },$strip>,ZodObject<{forkPointMessageId: …;kind: …;parentAdapterSessionId: …; },$strip>,ZodObject<{forkPointMessageId: …;kind: …;parentAdapterSessionId: …; },$strip>]>,ZodObject<{cwd:ZodNullable<ZodString>;model:ZodNullable<ZodString>;title:ZodNullable<ZodString>; },$strip>>; },$strip>;response:ZodObject<{created:ZodBoolean;sessionId:ZodString; },$strip>; };get: {request:ZodObject<{adapterSessionId:ZodString; },$strip>;response:ZodObject<{session:ZodNullable<ZodObject<{adapterName:ZodString;adapterSessionId:ZodString;cwd:ZodNullable<ZodString>;discoveredAt:ZodNumber;forkPointMessageId:ZodNullable<ZodString>;kind:ZodEnum<{compress: …;fork: …;root: …;subagent: …; }>;logFilePath:ZodNullable<ZodString>;model:ZodNullable<ZodString>;parentAdapterSessionId:ZodNullable<ZodString>;sessionId:ZodNullable<ZodString>;startedAt:ZodNumber;status:ZodEnum<{discovered: …;imported: …;live: …;tracking: …; }>; },$strip>>; },$strip>; };getByLogFilePath: {request:ZodObject<{logFilePath:ZodString; },$strip>;response:ZodObject<{session:ZodNullable<ZodObject<{adapterName:ZodString;adapterSessionId:ZodString;cwd:ZodNullable<ZodString>;discoveredAt:ZodNumber;forkPointMessageId:ZodNullable<ZodString>;kind:ZodEnum<{compress: …;fork: …;root: …;subagent: …; }>;logFilePath:ZodNullable<ZodString>;model:ZodNullable<ZodString>;parentAdapterSessionId:ZodNullable<ZodString>;sessionId:ZodNullable<ZodString>;startedAt:ZodNumber;status:ZodEnum<{discovered: …;imported: …;live: …;tracking: …; }>; },$strip>>; },$strip>; };linkSession: {request:ZodObject<{adapterSessionId:ZodString;sessionId:ZodString; },$strip>;response:ZodObject<{success:ZodBoolean; },$strip>; };list: {request:ZodObject<{ },$strip>;response:ZodObject<{sessions:ZodArray<ZodObject<{adapterName:ZodString;adapterSessionId:ZodString;cwd:ZodNullable<ZodString>;discoveredAt:ZodNumber;forkPointMessageId:ZodNullable<ZodString>;kind:ZodEnum<{compress: …;fork: …;root: …;subagent: …; }>;logFilePath:ZodNullable<ZodString>;model:ZodNullable<ZodString>;parentAdapterSessionId:ZodNullable<ZodString>;sessionId:ZodNullable<ZodString>;startedAt:ZodNumber;status:ZodEnum<{discovered: …;imported: …;live: …;tracking: …; }>; },$strip>>; },$strip>; };updateStatus: {request:ZodObject<{adapterSessionId:ZodString;status:ZodEnum<{discovered:"discovered";imported:"imported";live:"live";tracking:"tracking"; }>; },$strip>;response:ZodObject<{success:ZodBoolean; },$strip>; };upsert: {request:ZodDiscriminatedUnion<[ZodObject<{adapterName:ZodString;adapterSessionId:ZodString;cwd:ZodNullable<ZodString>;forkPointMessageId:ZodNull;kind:ZodLiteral<"root">;logFilePath:ZodOptional<ZodNullable<ZodString>>;model:ZodNullable<ZodString>;parentAdapterSessionId:ZodNull;startedAt:ZodOptional<ZodNumber>; },$strip>,ZodObject<{adapterName:ZodString;adapterSessionId:ZodString;cwd:ZodNullable<ZodString>;forkPointMessageId:ZodString;kind:ZodLiteral<"fork">;logFilePath:ZodOptional<ZodNullable<ZodString>>;model:ZodNullable<ZodString>;parentAdapterSessionId:ZodString;startedAt:ZodOptional<ZodNumber>; },$strip>,ZodObject<{adapterName:ZodString;adapterSessionId:ZodString;cwd:ZodNullable<ZodString>;forkPointMessageId:ZodNull;kind:ZodLiteral<"subagent">;logFilePath:ZodOptional<ZodNullable<ZodString>>;model:ZodNullable<ZodString>;parentAdapterSessionId:ZodString;startedAt:ZodOptional<ZodNumber>; },$strip>,ZodObject<{adapterName:ZodString;adapterSessionId:ZodString;cwd:ZodNullable<ZodString>;forkPointMessageId:ZodNull;kind:ZodLiteral<"compress">;logFilePath:ZodOptional<ZodNullable<ZodString>>;model:ZodNullable<ZodString>;parentAdapterSessionId:ZodString;startedAt:ZodOptional<ZodNumber>; },$strip>],"kind">;response:ZodObject<{adapterSessionId:ZodString;created:ZodBoolean;sessionId:ZodNullable<ZodString>; },$strip>; }; }>,"storage:adapterSession"> =AdapterSessionStorageNamespace.subjects
Defined in: ../../../packages/services/core/src/session/adapter-sessions/namespace.ts:251
Typed subjects for adapter session storage operations.