qa-deck-backend 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/bin/cli.js +0 -0
  2. package/package.json +1 -1
  3. package/server.js +0 -7
package/bin/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qa-deck-backend",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Local backend for the QA Deck Chrome extension — enables Capture and AI test generation",
5
5
  "main": "server.js",
6
6
  "bin": {
package/server.js CHANGED
@@ -38,13 +38,6 @@ const ALLOWED_ORIGINS = [
38
38
 
39
39
  if (!fs.existsSync(PROJECTS_DIR)) fs.mkdirSync(PROJECTS_DIR, { recursive: true });
40
40
 
41
- // Guard: warn if running from unexpected location (e.g. stale process from renamed folder)
42
- const expectedDirName = "qa-autopilot-backend";
43
- if (path.basename(__dirname) !== expectedDirName) {
44
- console.warn(`⚠️ WARNING: server.js is running from an unexpected directory: ${__dirname}`);
45
- console.warn(` Expected directory name: "${expectedDirName}"`);
46
- console.warn(` If you renamed the project folder, restart this server from the correct path.\n`);
47
- }
48
41
 
49
42
  // Sanitize AI JSON output — strips markdown fences and escapes literal control
50
43
  // characters that Claude sometimes emits inside string values (e.g. raw newlines