{
  "name": "@ggui-ai/wire",
  "version": "0.20.0",
  "description": "ggui wire — runtime hooks for generated component ↔ agent communication",
  "license": "Apache-2.0",
  "keywords": [
    "ggui",
    "react",
    "hooks",
    "mcp",
    "generative-ui",
    "agent"
  ],
  "files": [
    "README.md",
    "dist",
    "!**/*.test.ts",
    "!**/*.test.tsx",
    "!**/*.test-d.ts",
    "!**/*.test-d.tsx",
    "!**/*.test.js",
    "!**/*.test.d.ts",
    "!**/*.test.d.ts.map",
    "!**/*.test.js.map",
    "!**/*.test-d.js",
    "!**/*.test-d.d.ts",
    "!**/__tests__/**",
    "!**/*.spec.ts",
    "!**/*.spec.tsx"
  ],
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./internal": {
      "types": "./dist/internal.d.ts",
      "import": "./dist/internal.js",
      "default": "./dist/internal.js"
    },
    "./package.json": "./package.json"
  },
  "dependencies": {
    "@ggui-ai/protocol": "0.20.0"
  },
  "peerDependencies": {
    "react": "^18.0.0 || ^19.0.0"
  },
  "devDependencies": {
    "@types/react": "^19.0.0",
    "typescript": "^5.0.0",
    "vitest": "^3.2.6"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/ggui-ai/ggui.git",
    "directory": "packages/wire"
  },
  "homepage": "https://github.com/ggui-ai/ggui/tree/main/packages/wire",
  "bugs": {
    "url": "https://github.com/ggui-ai/ggui/issues"
  },
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=22.0.0"
  },
  "author": "ggui contributors <hello@ggui.ai>",
  "scripts": {
    "build": "rm -rf dist.staging-$$ && tsc -p tsconfig.build.json --outDir dist.staging-$$ && node ../scripts/fix-esm-imports.mjs dist.staging-$$ && node ../scripts/atomic-swap.mjs dist.staging-$$ dist && pnpm run generate:docs",
    "dev": "tsc --watch",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:watch": "vitest",
    "generate:docs": "node --experimental-strip-types scripts/generate-wire-docs.ts"
  }
}