UNPKG

mnemos-coder

Version:

CLI-based coding agent with graph-based execution loop and terminal UI

20 lines 844 B
/** * Generic Subagent - Config-driven subagent implementation * Created from configuration without needing specific implementation */ import { BaseSubagent } from './BaseSubagent.js'; import { SubagentConfig, SubagentResponse } from './types.js'; import { MCPClient } from '../mcp-client-sdk.js'; import { ChatMessage } from '../llm-client.js'; export declare class GenericSubagent extends BaseSubagent { constructor(config: SubagentConfig, sharedMCPClient?: MCPClient); /** * Generic implementation using LLM and tools */ protected executeInternal(messages: ChatMessage[]): AsyncGenerator<SubagentResponse, void, unknown>; /** * Generic subagents can handle any task based on their configuration */ canHandle(taskDescription: string): Promise<number>; } //# sourceMappingURL=GenericSubagent.d.ts.map