{
  "name": "openspecui",
  "version": "9.0.2",
  "description": "OpenSpec UI - Visual interface for spec-driven development",
  "type": "module",
  "main": "dist/index.mjs",
  "bin": {
    "openspecui": "./dist/cli.mjs"
  },
  "exports": {
    ".": {
      "development": "./src/index.ts",
      "import": "./dist/index.mjs",
      "default": "./dist/index.mjs"
    },
    "./hooks": {
      "development": "./src/hooks.ts",
      "import": "./dist/hooks.mjs",
      "default": "./dist/hooks.mjs",
      "types": "./dist/hooks.d.mts"
    }
  },
  "files": [
    "dist",
    "web",
    "app"
  ],
  "scripts": {
    "build": "pnpm run build:web && pnpm run build:app && pnpm run build:copy-web && tsdown",
    "build:web": "pnpm --filter @openspecui/web build",
    "build:app": "pnpm --filter @openspecui/app build",
    "build:copy-web": "bun scripts/copy-web-assets.ts",
    "typecheck": "tsc --noEmit && tsc -p tsconfig.command-tests.json --noEmit && tsc -p tsconfig.nested-spec-tests.json --noEmit",
    "typecheck:nested-spec-tests": "tsc -p tsconfig.nested-spec-tests.json --noEmit",
    "dev": "tsx --conditions=development src/cli.ts",
    "test": "vitest run",
    "test:watch": "vitest"
  },
  "dependencies": {
    "@lydell/node-pty": "^1.1.0",
    "@opentray/ext-webview": "0.18.0",
    "@parcel/watcher": "^2.5.1",
    "better-sqlite3": "^12.5.0",
    "opentray": "0.18.0",
    "zod": "^3.24.1"
  },
  "// runtime-note": "The published openspecui package installs heavyweight translation runtimes only when the user asks for them.",
  "// bundle-note": "tsdown keeps translator package runtime imports external, so the settings-panel install flow resolves ranges on demand instead of preinstalling them.",
  "peerDependencies": {
    "ctranslate2": "^1.0.0",
    "node-llama-cpp": "~3.18.1"
  },
  "peerDependenciesMeta": {
    "ctranslate2": {
      "optional": true
    },
    "node-llama-cpp": {
      "optional": true
    }
  },
  "devDependencies": {
    "@clack/prompts": "^1.7.0",
    "@hono/node-server": "^1.14.1",
    "@openspecui/core": "9.0.2",
    "@openspecui/server": "9.0.2",
    "@openspecui/web": "9.0.2",
    "@types/node": "^22.10.2",
    "@types/ws": "^8.5.13",
    "@types/yargs": "^17.0.35",
    "hono": "^4.7.3",
    "open": "^10.1.0",
    "tsdown": "^0.16.6",
    "tsx": "^4.19.2",
    "typescript": "^5.7.2",
    "vitest": "^4.1.0",
    "yaml": "^2.8.0",
    "yargs": "^18.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/jixoai/openspecui"
  }
}
