archondev 2.19.14 → 2.19.15

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/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -125,7 +125,8 @@ function shouldEnableSafeMode() {
125
125
  return process.env["TERM_PROGRAM"] === "Apple_Terminal";
126
126
  }
127
127
  function toAsciiSafe(value) {
128
- return value.replace(/[^\x09\x0A\x0D\x20-\x7E]/g, "");
128
+ const withoutAnsi = value.replace(/\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])/g, "");
129
+ return withoutAnsi.replace(/[^\x09\x0A\x0D\x20-\x7E]/g, "");
129
130
  }
130
131
  function enableTerminalCompatibilityMode() {
131
132
  if (!shouldEnableSafeMode()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archondev",
3
- "version": "2.19.14",
3
+ "version": "2.19.15",
4
4
  "description": "Local-first AI-powered development governance system",
5
5
  "main": "dist/index.js",
6
6
  "bin": {