{"version":3,"sources":["../src/cli-colors.ts"],"sourcesContent":["import picocolors from \"picocolors\";\n\n/**\n * Create colors for Farm's terminal output.\n *\n * Some interactive terminal hosts advertise a limited TERM value or set\n * NO_COLOR for captured subprocess output even though they render ANSI styles.\n * Prefer the actual stream type so the dev server remains colored in a TTY,\n * while redirected output stays plain.\n */\nexport function createCliColors(interactive = process.stdout.isTTY === true) {\n  return picocolors.createColors(interactive);\n}\n"],"mappings":";;;;;AAAA,OAAO,gBAAgB;AAUhB,SAAS,gBAAgB,cAAc,QAAQ,OAAO,UAAU,MAAM;AAC3E,SAAO,WAAW,aAAa,WAAW;AAC5C;AAFgB;","names":[]}