{
  "name": "@iflow-mcp/mcp-dual-cycle-reasoner",
  "version": "1.5.1",
  "description": "MCP server implementing dual-cycle metacognitive reasoning framework for autonomous agents",
  "type": "module",
  "main": "build/fastmcp-server.js",
  "bin": {
    "mcp-dual-cycle-reasoner": "build/server.js"
  },
  "scripts": {
    "build": "tsc",
    "start": "node build/server.js",
    "dev": "tsc --watch",
    "test": "jest",
    "test:live": "jest test/live-server.test.ts --testPathIgnorePatterns=[] --verbose --silent=false",
    "test:coverage": "jest --coverage --coverageReporters=text --coverageReporters=lcov",
    "lint": "eslint src --ext .ts",
    "format": "prettier --write src/**/*.ts",
    "download-models": "node scripts/download-models.js",
    "postinstall": "npm run download-models"
  },
  "keywords": [
    "mcp",
    "dual-cycle",
    "metacognition",
    "reasoning",
    "autonomous-agents",
    "cognitive-architecture",
    "self-monitoring",
    "loop-detection",
    "belief-revision",
    "case-based-reasoning"
  ],
  "author": "Nicolas Iglesias <nfiglesias@gmail.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cyqlelabs/mcp-dual-cycle-reasoner.git"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "dependencies": {
    "@huggingface/transformers": "^3.6.3",
    "@modelcontextprotocol/sdk": "^0.5.0",
    "chalk": "^5.3.0",
    "compromise": "^14.14.4",
    "fastmcp": "^3.9.0",
    "ml-matrix": "^6.12.1",
    "natural": "^8.1.0",
    "simple-statistics": "^7.8.8",
    "uuid": "^10.0.0",
    "zod": "^3.22.0"
  },
  "devDependencies": {
    "@types/jest": "^29.5.0",
    "@types/node": "^20.0.0",
    "@types/uuid": "^10.0.0",
    "@typescript-eslint/eslint-plugin": "^6.21.0",
    "@typescript-eslint/parser": "^6.21.0",
    "eslint": "^8.50.0",
    "jest": "^29.5.0",
    "mcp-client": "^1.13.0",
    "prettier": "^3.0.0",
    "ts-jest": "^29.1.0",
    "typescript": "^5.2.0"
  },
  "jest": {
    "preset": "ts-jest/presets/default-esm",
    "extensionsToTreatAsEsm": [
      ".ts"
    ],
    "testEnvironment": "node",
    "silent": true,
    "testPathIgnorePatterns": [
      "test/live-server.test.ts"
    ],
    "transform": {
      "^.+\\.ts$": [
        "ts-jest",
        {
          "useESM": true
        }
      ],
      "^.+\\.js$": [
        "ts-jest",
        {
          "useESM": true
        }
      ]
    },
    "transformIgnorePatterns": [
      "node_modules/(?!(chalk|ansi-styles|@modelcontextprotocol|mcp-client|reconnecting-eventsource|strict-event-emitter-types)/)"
    ],
    "moduleNameMapper": {
      "^(.+)\\.js$": "$1"
    }
  }
}
