{
  "name": "workspai",
  "version": "0.43.0",
  "type": "module",
  "description": "Open-source workspace intelligence CLI for software systems: create, adopt, govern, verify, and align polyglot workspaces for humans, CI, IDEs, and AI agents.",
  "keywords": [
    "rapidkit",
    "workspai",
    "ai",
    "cli",
    "create",
    "workspace",
    "workspace-intelligence",
    "governance",
    "backend",
    "frontend",
    "fastapi",
    "nestjs",
    "nextjs",
    "react",
    "springboot",
    "spring",
    "gofiber",
    "gogin",
    "microservices",
    "api",
    "generator",
    "scaffold"
  ],
  "author": "RapidKit Labs",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/rapidkitlabs/workspai.git",
    "directory": "packages/cli"
  },
  "bin": {
    "workspai": "dist/index.js"
  },
  "files": [
    "dist",
    "contracts",
    "docs",
    "templates",
    "workspai.config.example.cjs",
    "rapidkit.config.example.cjs",
    "data/modules-embeddings.json",
    "scripts/enforce-package-manager.cjs",
    "scripts/check-cli-resolution.cjs",
    "scripts/check-agent-customization-drift.mjs",
    "scripts/enterprise-package-smoke.mjs",
    "scripts/prepack-enterprise.mjs"
  ],
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  },
  "scripts": {
    "preinstall": "node scripts/enforce-package-manager.cjs",
    "postinstall": "node scripts/check-cli-resolution.cjs",
    "sync-kits": "bash scripts/sync-kits.sh",
    "build": "tsup",
    "build:watch": "tsup --watch",
    "dev": "tsup --watch",
    "dev:local": "corepack npm run build && corepack npm link",
    "install:local": "corepack npm unlink -g workspai || true && corepack npm run build && corepack npm link",
    "uninstall:local": "corepack npm unlink -g workspai || true",
    "prepare": "node scripts/prepare-husky.mjs",
    "test:e2e:first-install": "bash scripts/e2e-first-install.sh",
    "test:e2e:user-first-install": "bash scripts/e2e-user-first-install.sh",
    "test": "vitest run",
    "test:drift": "node scripts/run-drift-guard.mjs",
    "benchmark:intelligence": "vitest run src/__tests__/workspace-intelligence-benchmark.test.ts",
    "sync:shared-contracts": "node scripts/sync-shared-contracts.mjs",
    "check:shared-contracts": "node scripts/sync-shared-contracts.mjs --check",
    "sync:parity-snapshot": "node scripts/sync-shared-contracts.mjs",
    "check:parity-snapshot": "node scripts/sync-shared-contracts.mjs --check",
    "generate:contracts": "node scripts/generate-shared-contracts.mjs",
    "check:generated-contracts": "node scripts/generate-shared-contracts.mjs --check",
    "check:agent-customization-drift": "node scripts/check-agent-customization-drift.mjs",
    "validate:contracts": "corepack npm run check:shared-contracts && vitest run src/__tests__/contracts/",
    "test:parity-contract": "corepack npm run check:shared-contracts && vitest run src/__tests__/contracts/import-stack-parity.snapshot.test.ts",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "test:prepare-embeddings": "node scripts/prepare-mock-embeddings.mjs",
    "generate-embeddings": "npx tsx src/ai/generate-embeddings.ts",
    "verify:package-cli": "node scripts/verify-package-cli.mjs",
    "smoke:enterprise-package": "node scripts/enterprise-package-smoke.mjs",
    "prepack": "node scripts/prepack-enterprise.mjs",
    "test:e2e": "vitest run src/__tests__/e2e.test.ts",
    "test:scenarios": "node scripts/run-scenario-matrix-local.mjs",
    "test:scenarios:full": "node scripts/run-scenario-matrix-local.mjs --full",
    "test:scenarios:docker": "bash scripts/scenario-matrix.sh",
    "test:runtime-matrix": "node scripts/runtime-acceptance-matrix.mjs",
    "test:runtime-matrix:full": "node scripts/runtime-acceptance-matrix.mjs --full",
    "lint": "eslint src --ext .ts",
    "lint:fix": "eslint src --ext .ts --fix",
    "format": "prettier --write \"src/**/*.ts\"",
    "format:check": "prettier --check \"src/**/*.ts\"",
    "typecheck": "tsc --noEmit",
    "validate": "corepack npm run typecheck && corepack npm run lint && corepack npm run format:check && corepack npm test",
    "security": "npm audit --audit-level=moderate",
    "security:fix": "npm audit fix",
    "metrics": "npx tsx scripts/metrics.ts",
    "validate:docs-examples": "node scripts/validate-doc-examples.mjs",
    "check:markdown-links": "node scripts/check-markdown-links.mjs",
    "check:docs-drift": "node scripts/docs-drift-guard.mjs",
    "smoke:readme": "node scripts/smoke-readme-commands.mjs",
    "validate:docs": "corepack npm run check:markdown-links && corepack npm run check:docs-drift && corepack npm run validate:docs-examples && corepack npm run smoke:readme",
    "smoke:frontend-generators": "tsup && node scripts/smoke-frontend-generators.mjs",
    "smoke:frontend-generators:network": "tsup && node scripts/smoke-frontend-generators.mjs --execute",
    "sync:contracts": "node scripts/sync-contracts.mjs",
    "check:contracts": "node scripts/sync-contracts.mjs --check",
    "bundle-size": "corepack npm run build && node scripts/report-dist-size.mjs",
    "analyze": "corepack npm run build && node scripts/analyze-dist.mjs",
    "size-check": "corepack npm run build && size-limit",
    "bench": "npx tsx scripts/benchmarks.ts",
    "quality": "corepack npm run typecheck && corepack npm run lint && corepack npm run format:check && corepack npm test && corepack npm run size-check && corepack npm run security && corepack npm run validate:docs && corepack npm run smoke:frontend-generators && corepack npm run check:contracts && corepack npm run check:shared-contracts && corepack npm run check:parity-snapshot && corepack npm run check:agent-customization-drift",
    "act-matrix": "act -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-22.04 -P macos-latest=ghcr.io/catthehacker/ubuntu:act-22.04 -P windows-latest=ghcr.io/catthehacker/ubuntu:act-22.04 --pull=false -j build-test-matrix",
    "release:dry": "bash scripts/release.sh --no-publish --yes --allow-dirty",
    "release:patch": "bash scripts/release.sh patch",
    "release:minor": "bash scripts/release.sh minor",
    "release:major": "bash scripts/release.sh major"
  },
  "dependencies": {
    "@clack/prompts": "^0.9.1",
    "chalk": "^5.3.0",
    "cli-progress": "^3.12.0",
    "commander": "^12.1.0",
    "execa": "^9.3.1",
    "fs-extra": "^11.2.0",
    "inquirer": "^13.2.2",
    "nunjucks": "^3.2.4",
    "openai": "^6.22.0",
    "ora": "^8.0.1",
    "validate-npm-package-name": "^5.0.1"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.3.3",
    "@size-limit/preset-big-lib": "^12.0.0",
    "@types/cli-progress": "^3.11.6",
    "@types/fs-extra": "^11.0.4",
    "@types/inquirer": "^9.0.7",
    "@types/node": "^20.14.0",
    "@types/nunjucks": "^3.2.6",
    "@types/validate-npm-package-name": "^4.0.2",
    "@typescript-eslint/eslint-plugin": "^8.46.2",
    "@typescript-eslint/parser": "^8.46.2",
    "@vitest/coverage-v8": "^4.0.15",
    "@vitest/ui": "^4.0.15",
    "eslint": "^9.39.2",
    "husky": "^9.1.7",
    "lint-staged": "^15.5.2",
    "prettier": "^3.6.2",
    "size-limit": "^12.0.0",
    "tsup": "^8.5.1",
    "tsx": "^4.20.6",
    "typescript": "^5.5.0",
    "vite-bundle-visualizer": "^1.2.1",
    "vitest": "^4.0.15"
  },
  "optionalDependencies": {
    "@rollup/rollup-win32-x64-msvc": "*"
  },
  "engines": {
    "node": ">=20.19.0"
  },
  "lint-staged": {
    "*.ts": [
      "eslint --fix",
      "prettier --write"
    ]
  },
  "overrides": {
    "minimatch": "^10.2.1",
    "esbuild": "^0.28.1"
  },
  "packageManager": "npm@10.8.2"
}
