Variable: McpSubjects
Makaio Framework / contracts / McpSubjects
Variable: McpSubjects
Section titled “Variable: McpSubjects”
constMcpSubjects:BusSubjects<FlatSubjectDefinitions<"mcp", {server.connected:ZodObject<{serverName:ZodString;toolCount:ZodNumber; },$strip>;server.disconnected:ZodObject<{reason:ZodString;serverName:ZodString; },$strip>;server.error:ZodObject<{error:ZodString;serverName:ZodString; },$strip>;server.reconnecting:ZodObject<{attempt:ZodNumber;serverName:ZodString; },$strip>;session.register: {request:ZodObject<{adapterId:ZodString;adapterName:ZodString;adapterSessionId:ZodString;agentId:ZodString;contextOverrides:ZodObject<{adapterId:ZodOptional<ZodString>;adapterName:ZodOptional<ZodString>;agentId:ZodOptional<ZodString>;constraints:ZodOptional<ZodRecord<ZodString,ZodUnknown>>;cwd:ZodOptional<ZodString>;env:ZodOptional<ZodRecord<ZodString,ZodString>>;reasoning:ZodOptional<ZodString>;sessionId:ZodOptional<ZodString>;toolCallId:ZodOptional<ZodString>;turnContext:ZodOptional<ZodRecord<ZodString,ZodUnknown>>;turnId:ZodOptional<ZodString>; },$strip>;sessionId:ZodString; },$strip>;response:ZodObject<{port:ZodNumber; },$strip>; };session.resolve: {request:ZodObject<{profileId:ZodNullable<ZodString>;profileMcpConfig:ZodOptional<ZodObject<{directTools:ZodOptional<ZodArray<…>>;discoveryTools:ZodOptional<ZodArray<…>>;toolExposure:ZodOptional<ZodRecord<…, …>>; },$strip>>;projectId:ZodNullable<ZodString>;sessionId:ZodString; },$strip>;response:ZodObject<{directTools:ZodArray<ZodObject<{description:ZodOptional<ZodString>;enabled:ZodBoolean;enabledAt:ZodOptional<ZodNumber>;enabledBy:ZodOptional<ZodEnum<…>>;exposed:ZodBoolean;exposureMode:ZodEnum<{direct: …;discovery: …;hidden: …; }>;fullName:ZodString;inputSchema:ZodRecord<ZodString,ZodUnknown>;originalName:ZodString;serverName:ZodString; },$strip>>;discoverableTools:ZodArray<ZodObject<{description:ZodOptional<ZodString>;enabled:ZodBoolean;enabledAt:ZodOptional<ZodNumber>;enabledBy:ZodOptional<ZodEnum<…>>;exposed:ZodBoolean;exposureMode:ZodEnum<{direct: …;discovery: …;hidden: …; }>;fullName:ZodString;inputSchema:ZodRecord<ZodString,ZodUnknown>;originalName:ZodString;serverName:ZodString; },$strip>>;profileId:ZodNullable<ZodString>;projectId:ZodNullable<ZodString>;servers:ZodArray<ZodObject<{exposureMode:ZodEnum<{direct: …;discovery: …; }>;name:ZodString;transport:ZodDiscriminatedUnion<[…, …, …],"type">; },$strip>>;sessionId:ZodString; },$strip>; };session.unregister: {request:ZodObject<{adapterSessionId:ZodString; },$strip>;response:ZodObject<{ },$strip>; };tools.enabled:ZodObject<{source:ZodEnum<{discovery:"discovery";toolset:"toolset"; }>;tools:ZodArray<ZodString>; },$strip>;tools.updated:ZodObject<{added:ZodArray<ZodString>;removed:ZodArray<ZodString>; },$strip>; }>,"mcp"> =McpNamespace.subjects
Defined in: ../../../packages/contracts/src/mcp/namespace.ts:8
Typed subject accessors for the MCP namespace.