claude-yes 1.12.0 → 1.12.1

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.
package/dist/cli.js CHANGED
@@ -5173,7 +5173,7 @@ async function claudeYes({
5173
5173
  errorNoConversation = true;
5174
5174
  return;
5175
5175
  }
5176
- }).run()).replaceAll(/.*(?:\r\n?|\r?\n)/g, (line) => prefix + line).forEach(() => idleWatcher.ping()).map((e) => !process.stdout.isTTY ? removeControlCharacters(e) : e).to(fromWritable(process.stdout));
5176
+ }).run()).replaceAll(/.*(?:\r\n?|\r?\n)/g, (line) => prefix + line).forEach(() => idleWatcher.ping()).to(fromWritable(process.stdout));
5177
5177
  }
5178
5178
  // node_modules/enhanced-ms/dist/index.js
5179
5179
  var units = {
package/dist/index.js CHANGED
@@ -4953,7 +4953,7 @@ async function claudeYes({
4953
4953
  errorNoConversation = true;
4954
4954
  return;
4955
4955
  }
4956
- }).run()).replaceAll(/.*(?:\r\n?|\r?\n)/g, (line) => prefix + line).forEach(() => idleWatcher.ping()).map((e) => !process.stdout.isTTY ? removeControlCharacters(e) : e).to(fromWritable(process.stdout));
4956
+ }).run()).replaceAll(/.*(?:\r\n?|\r?\n)/g, (line) => prefix + line).forEach(() => idleWatcher.ping()).to(fromWritable(process.stdout));
4957
4957
  }
4958
4958
  export {
4959
4959
  removeControlCharacters,
package/index.ts CHANGED
@@ -171,7 +171,7 @@ export default async function claudeYes({
171
171
  )
172
172
  .replaceAll(/.*(?:\r\n?|\r?\n)/g, (line) => prefix + line) // add prefix
173
173
  .forEach(() => idleWatcher.ping()) // ping the idle watcher on output for last active time to keep track of claude status
174
- .map((e) => (!process.stdout.isTTY ? removeControlCharacters(e) : e)) // remove control characters if output is not a TTY
174
+ // .map((e) => (!process.stdout.isTTY ? removeControlCharacters(e) : e)) // remove control characters if output is not a TTY
175
175
  .to(fromWritable(process.stdout));
176
176
  }
177
177
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-yes",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "homepage": "https://github.com/snomiao/claude-yes#readme",
5
5
  "license": "MIT",
6
6
  "author": "snomiao <snomiao@gmail.com>",