Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

1.9 KB
Raw Blame
{
  "name": "ldr-puppeteer-tests",
  "version": "1.0.0",
  "description": "Puppeteer UI tests for Local Deep Research",
  "scripts": {
    "test": "mocha test_*.js --timeout 60000",
    "test:toolchain": "node --test toolchain/*.test.js",
    "test:all": "npm run test:deep && npm run test:ui && npm run test:ssrf",
    "test:ci": "rm -f screenshots/*.png 2>/dev/null; HEADLESS=true mocha test_deep_functionality.js test_ui_functionality.js test_ssrf_protection.js --timeout 600000 --reporter spec",
    "install-browsers": "puppeteer browsers install chrome",
    "test:openai": "mocha test_openai_api_key_ui.js --timeout 60000",
    "test:ssrf": "rm -f screenshots/*.png 2>/dev/null; mocha test_ssrf_protection.js --timeout 120000",
    "test:ssrf:watch": "rm -f screenshots/*.png 2>/dev/null; HEADLESS=false SLOW_MO=50 mocha test_ssrf_protection.js --timeout 300000",
    "test:ui": "rm -f screenshots/*.png 2>/dev/null; mocha test_ui_functionality.js --timeout 300000",
    "test:ui:watch": "rm -f screenshots/*.png 2>/dev/null; HEADLESS=false SLOW_MO=50 mocha test_ui_functionality.js --timeout 300000",
    "test:deep": "rm -f screenshots/*.png 2>/dev/null; mocha test_deep_functionality.js --timeout 300000",
    "test:deep:watch": "rm -f screenshots/*.png 2>/dev/null; HEADLESS=false SLOW_MO=50 mocha test_deep_functionality.js --timeout 300000",
    "test:headful": "HEADLESS=false npm test",
    "test:debug": "HEADLESS=false mocha test_*.js --timeout 300000 --inspect-brk"
  },
  "dependencies": {
    "chai": "^6.3.0",
    "mocha": "^12.0.3",
    "puppeteer": "25.16.0"
  },
  "overrides": {
    "diff": "^8.0.3",
    "minimatch": "^11.0.3",
    "glob": "^14.0.3",
    "serialize-javascript": ">=7.1.4",
    "yauzl": "^3.2.1",
    "flatted": "^3.4.0",
    "fast-uri": "^3.1.2",
    "basic-ftp": "^6.2.2",
    "ip-address": "^10.1.1",
    "js-yaml": "^4.2.0"
  },
  "devDependencies": {
    "eslint": "^10.14.0"
  }
}