UNPKG

agency-x

Version:

This project is a Claude-compatible, LLM-agnostic sub-agent framework that simulates a complete SaaS product team. It is delivered as a reusable, developer-ready NPM package.

24 lines (18 loc) 333 B
import { Say } from 'say'; let voiceEnabled = false; const say = new Say(); export const setVoiceEnabled = (enabled: boolean) => { voiceEnabled = enabled; }; const speak = (text: string) => { if (voiceEnabled) { say.speak(text); } }; const stop = () => { say.stop(); }; export const narrator = { speak, stop, };