class AgentSpawningModule {
    id = 'tool.agent-spawning';
    description = 'Spawn lightweight helper agents.';
    async create() {
        const tools = [
            {
                name: 'spawn_agent',
                description: 'Spawn a helper agent with a focus area.',
                handler: async ({ focus }) => `Spawned agent for ${focus ?? 'general assistance'}`,
            },
        ];
        const toolSuite = {
            id: 'agent-spawning.tools',
            description: 'Agent spawning helpers',
            tools,
        };
        return { id: this.id, description: this.description, toolSuite };
    }
}
export function createAgentSpawningToolPlugin() {
    return {
        id: 'tool.agent-spawning',
        targets: ['universal'],
        create: () => new AgentSpawningModule(),
    };
}
//# sourceMappingURL=agentSpawningPlugin.js.map