vigthoria-cli 1.8.9 → 1.8.10

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/utils/api.js CHANGED
@@ -130,6 +130,10 @@ function sanitizeUserFacingErrorText(input) {
130
130
  out = out.replace(/\b(?:localhost|127\.0\.0\.1)(?::\d+)?\b/gi, '[redacted-host]');
131
131
  out = out.replace(/\b[a-z0-9.-]+\.vigthoria\.io\b/gi, '[redacted-host]');
132
132
  out = out.replace(/(?:[A-Za-z]:)?[\\/](?:var|opt|tmp|home|root|etc|usr)[\\/][^\s'"<>)]*/gi, '[redacted-path]');
133
+ // Windows drive-letter paths (e.g. C:\Users\Name\AppData\...).
134
+ out = out.replace(/[A-Za-z]:\\[^\s'"<>)]+/g, '[redacted-path]');
135
+ // UNC paths (\\server\share\...).
136
+ out = out.replace(/\\\\[^\s'"<>)]+/g, '[redacted-path]');
133
137
  out = out.replace(/\{\s*"detail"\s*:\s*"[^"]*"\s*\}/g, '');
134
138
  out = out.replace(/\s+/g, ' ').trim();
135
139
  if (out.length > 160)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vigthoria-cli",
3
- "version": "1.8.9",
3
+ "version": "1.8.10",
4
4
  "description": "Vigthoria Coder CLI - AI-powered terminal coding assistant",
5
5
  "main": "dist/index.js",
6
6
  "files": [