{
  "name": "claude-flow-novice",
  "version": "2.21.0",
  "description": "Claude Flow Novice - Advanced orchestration platform for multi-agent AI workflows with CFN Loop architecture\n\nIncludes CodeSearch (hybrid SQLite + pgvector), mem0/memgraph specialists, and all CFN skills.",
  "main": "index.js",
  "type": "module",
  "bin": {
    "cfn-init": "./scripts/cfn-init.js",
    "cfn-check-memory": "./.claude/cfn-scripts/check-memory.sh",
    "cfn-run-limited": "./.claude/cfn-scripts/run-with-memory-limit.sh"
  },
  "scripts": {
    "test": "npm run test:unit && npm run test:integration && npm run test:e2e",
    "test:unit": "./.claude/cfn-scripts/run-with-memory-limit.sh 2G jest --testPathPattern=tests/unit --coverage --coverageDirectory=coverage/unit",
    "test:integration": "./.claude/cfn-scripts/run-with-memory-limit.sh 4G jest --testPathPattern=tests/integration --coverage --coverageDirectory=coverage/integration",
    "test:e2e": "./.claude/cfn-scripts/run-with-memory-limit.sh 6G jest --testPathPattern=tests/e2e --coverage --coverageDirectory=coverage/e2e",
    "test:docker": "./tests/docker-mode/run-all-implementations.sh",
    "test:cli": "./tests/cli-mode/run-all-tests.sh",
    "test:cfn-v3": "./tests/cfn-v3/test-e2e-cfn-loop.sh",
    "test:mdap": "node lib/mdap/orchestrator.js --test",
    "lint": "eslint src/ tests/ --ext .ts,.js",
    "lint:fix": "eslint src/ tests/ --ext .ts,.js --fix",
    "format": "prettier --write src/**/*.{ts,js} tests/**/*.{ts,js}",
    "build": "tsc",
    "build:watch": "tsc --watch",
    "dev": "tsx watch src/index.ts",
    "start": "node dist/index.js",
    "docker:build": "./scripts/docker/build.sh",
    "docker:run": "./scripts/docker/run.sh",
    "docker:stop": "./scripts/docker/stop.sh",
    "docker:clean": "./scripts/docker/clean.sh",
    "docs:generate": "typedoc src/index.ts",
    "docs:serve": "http-server docs -p 8080",
    "migrate": "node scripts/migrate.js",
    "backup": "node scripts/backup.js",
    "restore": "node scripts/restore.js",
    "security:audit": "npm audit && echo 'Running additional security checks...' && ./scripts/security/security-audit.sh",
    "performance:benchmark": "node tests/performance/benchmark.js",
    "coverage:merge": "./scripts/coverage/merge-coverage.js",
    "coverage:report": "npm run test && npm run coverage:merge && npm run coverage:html",
    "coverage:html": "open-cli coverage/merged/index.html",
    "docker:build:agent": "./.claude/skills/docker-build/build.sh --dockerfile docker/Dockerfile.agent --tag cfn-agent:latest",
    "docker:build:worker": "./.claude/skills/docker-build/build.sh --dockerfile docker/Dockerfile.worker --tag cfn-worker:latest",
    "docker:build:orchestrator": "./.claude/skills/docker-build/build.sh --dockerfile docker/Dockerfile.orchestrator --tag cfn-orchestrator:latest",
    "cfn:loop:task": "./.claude/commands/cfn-loop/cfn-loop-task.sh",
    "cfn:loop:cli": "./.claude/commands/cfn-loop/cfn-loop-cli.sh",
    "cfn:spawn:agent": "./.claude/skills/cfn-agent-spawning/spawn-agent.sh",
    "cfn:validate:loop": "./.claude/skills/cfn-loop-validation/validate-loop.sh",
    "redis:start": "redis-server --daemonize yes --port 6379",
    "redis:stop": "redis-cli shutdown",
    "redis:flush": "redis-cli flushall",
    "postgres:start": "docker-compose -f docker/docker-compose.yml up -d postgres",
    "postgres:stop": "docker-compose -f docker/docker-compose.yml stop postgres",
    "postgres:migrate": "node scripts/database/migrate.js",
    "orchestrate:start": "./.claude/skills/cfn-loop-orchestration/orchestrate.sh",
    "orchestrate:monitor": "tail -f .artifacts/logs/orchestration.log",
    "codesearch:index": "./.claude/skills/cfn-codesearch-codebase-index/index.sh",
    "codesearch:search": "./.claude/skills/cfn-codesearch-codebase-index/search.sh",
    "codesearch:query-errors": "./.claude/skills/cfn-codesearch-codebase-index/query-error-patterns.sh",
    "codesearch:query-learnings": "./.claude/skills/cfn-codesearch-codebase-index/query-learnings.sh",
    "codesearch:local:init": "./.claude/skills/cfn-codesearch/cfn-integration.sh init",
    "codesearch:local:index": "./.claude/skills/cfn-codesearch/cfn-integration.sh index",
    "codesearch:local:query": "./.claude/skills/cfn-codesearch/cfn-integration.sh query",
    "codesearch:local:stats": "./.claude/skills/cfn-codesearch/cfn-integration.sh stats",
    "codesearch:local:build": "cd .claude/skills/cfn-codesearch && cargo build --release",
    "check:memory": "./.claude/cfn-scripts/check-memory.sh",
    "check:memory:kill": "./.claude/cfn-scripts/check-memory.sh --kill",
    "ci:pre-commit": "npm run lint && npm run test:unit && npm run security:audit",
    "ci:full": "npm run test && npm run lint:fix && npm run security:audit && npm run performance:benchmark",
    "dev:watch": "concurrently \"npm run build:watch\" \"nodemon dist/index.js\"",
    "release:major": "npm version major && git push --follow-tags",
    "release:minor": "npm version minor && git push --follow-tags",
    "release:patch": "npm version patch && git push --follow-tags",
    "postinstall": "node scripts/postinstall.js"
  },
  "keywords": [
    "ai",
    "agents",
    "orchestration",
    "cfn-loop",
    "collaborative-ai",
    "multi-agent",
    "task-decomposition",
    "consensus-validation",
    "distributed-intelligence",
    "workflow-automation",
    "mdap",
    "trigger-dev-migration"
  ],
  "author": "CFN Development Team",
  "license": "MIT",
  "dependencies": {
    "@anthropic-ai/sdk": "^0.67.0",
    "@types/node": "^20.10.0",
    "axios": "^1.6.0",
    "bcryptjs": "^2.4.3",
    "bull": "^4.12.2",
    "cerebras": "^1.0.0",
    "chalk": "^5.3.0",
    "claude-flow-novice": "^2.18.6",
    "commander": "^11.1.0",
    "compression": "^1.7.4",
    "cors": "^2.8.5",
    "dotenv": "^16.3.1",
    "express": "^4.18.2",
    "express-rate-limit": "^7.1.5",
    "glob": "^10.3.10",
    "helmet": "^7.1.0",
    "inquirer": "^9.2.11",
    "ioredis": "^5.3.2",
    "joi": "^17.11.0",
    "jsonwebtoken": "^9.0.2",
    "knex": "^3.0.1",
    "lodash": "^4.17.21",
    "node-cron": "^3.0.3",
    "pg": "^8.11.3",
    "semver": "^7.5.4",
    "sqlite3": "^5.1.6",
    "uuid": "^9.0.1",
    "winston": "^3.11.0",
    "ws": "^8.14.2",
    "yaml": "^2.3.4"
  },
  "devDependencies": {
    "@cerebras/cerebras_cloud_sdk": "^1.59.0",
    "@types/bcryptjs": "^2.4.6",
    "@types/compression": "^1.7.5",
    "@types/cors": "^2.8.17",
    "@types/express": "^4.17.21",
    "@types/inquirer": "^9.0.7",
    "@types/jest": "^29.5.8",
    "@types/jsonwebtoken": "^9.0.5",
    "@types/lodash": "^4.14.202",
    "@types/node-cron": "^3.0.11",
    "@types/semver": "^7.5.6",
    "@types/supertest": "^2.0.16",
    "@types/uuid": "^9.0.7",
    "@types/ws": "^8.5.10",
    "@typescript-eslint/eslint-plugin": "^6.12.0",
    "@typescript-eslint/parser": "^6.12.0",
    "concurrently": "^8.2.2",
    "eslint": "^8.54.0",
    "http-server": "^14.1.1",
    "jest": "^29.7.0",
    "nodemon": "^3.0.2",
    "open-cli": "^7.2.0",
    "prettier": "^3.1.0",
    "supertest": "^6.3.3",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.1",
    "tsx": "^4.6.0",
    "typedoc": "^0.25.7",
    "typescript": "^5.3.2"
  },
  "engines": {
    "node": ">=18.0.0",
    "npm": ">=9.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/cfn-dev/claude-flow-novice.git"
  },
  "bugs": {
    "url": "https://github.com/cfn-dev/claude-flow-novice/issues"
  },
  "homepage": "https://github.com/cfn-dev/claude-flow-novice#readme",
  "config": {
    "cfn": {
      "loop": {
        "maxIterations": 10,
        "consensusThreshold": 0.9,
        "timeoutMs": 300000
      },
      "redis": {
        "port": 6379,
        "host": "localhost"
      },
      "docker": {
        "registry": "cfn-dev",
        "timeout": 120000
      }
    }
  },
  "optionalDependencies": {
    "docker-compose": "^0.24.6"
  }
}
