@mangomagic/cli 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.mjs +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mangomagic/cli",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "MangoMagic CLI — sign in, manage episodes, and expose MangoMagic to MCP clients (Claude Desktop, Cursor).",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.mjs CHANGED
@@ -140,7 +140,8 @@ async function runToolCommand(argv) {
140
140
 
141
141
  function shouldStartChat(argv) {
142
142
  if (argv.includes("--home") || argv.includes("--no-chat")) return false;
143
- return Boolean(process.stdin.isTTY && process.stdout.isTTY);
143
+ if (process.env.MANGOMAGIC_CLI_NO_CHAT === "1" || process.env.CI === "true") return false;
144
+ return true;
144
145
  }
145
146
 
146
147
  function splashMode() {