{
  "name": "@hraness/direct",
  "version": "0.7.30",
  "description": "Direct gives browser agents repeatable app states that open by URL, with your real interface running on fixture data.",
  "license": "MIT",
  "type": "module",
  "sideEffects": [
    "./src/core/index.ts",
    "./src/index.ts",
    "./src/react.ts",
    "./src/testing/index.ts",
    "./src/web.ts",
    "./src/effect/index.ts"
  ],
  "packageManager": "bun@1.3.14",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hraness/direct.git"
  },
  "homepage": "https://hraness.com/direct",
  "bugs": {
    "url": "https://github.com/hraness/direct/issues"
  },
  "keywords": [
    "frontend-development",
    "frontend-testing",
    "deterministic-testing",
    "browser-testing",
    "scenario-testing",
    "fixtures",
    "coding-agents",
    "typescript"
  ],
  "exports": {
    ".": {
      "types": "./src/index.ts",
      "import": "./dist/index.js"
    },
    "./core": {
      "types": "./src/core/index.ts",
      "import": "./dist/core/index.js"
    },
    "./react": {
      "types": "./src/react.ts",
      "import": "./dist/react.js"
    },
    "./testing": {
      "types": "./src/testing/index.ts",
      "import": "./dist/testing/index.js"
    },
    "./web": {
      "types": "./src/web.ts",
      "import": "./dist/web.js"
    },
    "./tooling/browser-verification": {
      "types": "./src/tooling/browser-verification-entry.ts",
      "import": "./dist/tooling/browser-verification-entry.js"
    },
    "./tooling/bombadil": {
      "types": "./src/tooling/bombadil.ts",
      "import": "./dist/tooling/bombadil.js"
    },
    "./tooling/bombadil-campaign": "./src/tooling/bombadil-campaign.ts",
    "./tooling/bundle-boundary": {
      "types": "./src/tooling/bundle-boundary.ts",
      "import": "./dist/tooling/bundle-boundary.js"
    },
    "./effect": {
      "types": "./src/effect/index.ts",
      "import": "./dist/effect/index.js"
    }
  },
  "imports": {
    "#bombadil-named-snapshot": "./src/tooling/bombadil-named-snapshot.ts"
  },
  "main": "./dist/index.js",
  "types": "./src/index.ts",
  "files": [
    "dist",
    "src/core/coverage.ts",
    "src/core/definition.ts",
    "src/core/effects.ts",
    "src/core/fixture.ts",
    "src/core/ids.ts",
    "src/core/index.ts",
    "src/core/json-value.ts",
    "src/core/json.ts",
    "src/core/query.ts",
    "src/core/reason.ts",
    "src/core/resource.ts",
    "src/core/result.ts",
    "src/core/runtime.ts",
    "src/core/scenario.ts",
    "src/core/store.ts",
    "src/index.ts",
    "src/react.ts",
    "src/testing/activity.ts",
    "src/testing/coverage-binding.ts",
    "src/testing/evidence.ts",
    "src/testing/index.ts",
    "src/testing/manifest.ts",
    "src/testing/probe.ts",
    "src/testing/scripted-transport.ts",
    "src/testing/session.ts",
    "src/tooling/browser-verification-entry.ts",
    "src/tooling/browser-layout-contract.ts",
    "src/tooling/browser-verification.ts",
    "src/tooling/browser-network-proxy.ts",
    "src/tooling/verification-output.ts",
    "src/tooling/bombadil-internal.d.ts",
    "src/tooling/bombadil-campaign.ts",
    "src/tooling/bombadil-named-snapshot.ts",
    "src/tooling/bombadil-runner.ts",
    "src/tooling/bombadil.ts",
    "src/tooling/bundle-boundary.ts",
    "src/tooling/utf8-byte-boundary.d.ts",
    "src/tooling/utf8-byte-boundary.js",
    "src/web.ts",
    "src/web/browser.ts",
    "src/web/browser-bridge.ts",
    "src/web/fetch-firewall.ts",
    "skills",
    "README.md",
    "LICENSE",
    "src/effect/index.ts",
    "src/effect/driver.ts",
    "src/effect/deadline.ts",
    "src/effect/supervisor.ts"
  ],
  "scripts": {
    "build": "bun run build:clean && bun run build:runtime && bun run build:tooling && bun run build:support",
    "build:clean": "bun -e 'await (await import(\"node:fs/promises\")).rm(\"./dist\", { recursive: true, force: true })'",
    "build:runtime": "bun build ./src/index.ts ./src/core/index.ts ./src/react.ts ./src/testing/index.ts ./src/web.ts ./src/effect/index.ts --outdir ./dist --root ./src --target browser --format esm --splitting --packages external",
    "build:tooling": "bun build ./src/tooling/browser-verification-entry.ts ./src/tooling/bundle-boundary.ts --outdir ./dist/tooling --root ./src/tooling --target bun --format esm --splitting --minify-syntax --minify-whitespace --packages external && bun build ./src/tooling/bombadil.ts --outdir ./dist/tooling --root ./src/tooling --target bun --format esm --splitting --minify-syntax --minify-whitespace --packages external",
    "typecheck": "tsc --noEmit",
    "test": "bun test ./src",
    "example:build": "node --experimental-strip-types examples/todos/build.ts production",
    "example:build:direct": "node --experimental-strip-types examples/todos/build.ts direct",
    "example:check-boundary": "bun run examples/todos/direct/check-production-boundary.ts",
    "example:dev": "node --experimental-strip-types examples/todos/preview.ts production",
    "example:direct": "node --experimental-strip-types examples/todos/preview.ts direct",
    "example:react-native": "bun run --cwd examples/react-native start",
    "example:react-native:test": "bun run --cwd examples/react-native test",
    "example:react-native:typecheck": "tsc -p examples/react-native/tsconfig.json --noEmit",
    "example:react-native:verify": "bun run examples/react-native/verify.ts",
    "example:test": "bun test ./examples/todos",
    "example:typecheck": "tsc -p examples/todos/tsconfig.json --noEmit",
    "example:verify": "bun run examples/todos/verify.ts",
    "lint": "eslint src examples scripts",
    "test:npm-release": "bun test ./scripts/npm-publish-workflow.test.ts ./scripts/github-release.test.ts ./scripts/ci-source-coverage.test.ts ./scripts/support-helper.test.ts",
    "test:package": "bun run ./scripts/package-smoke.ts",
    "kb:refresh": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell refresh --root kb",
    "kb:check:lane": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell check --root kb --no-catalog",
    "kb:check": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell check --root kb && bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell agents check --root kb --repo .",
    "kb:catalog": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell catalog --root kb",
    "kb:search": "bunx --bun --package https://github.com/hraness/wordcell/releases/download/v0.24.0/hraness-wordcell-0.24.0.tgz wordcell search --root kb --mode exact --selected-passage",
    "check": "bun run typecheck && bun run check:effect && bun run test:npm-release && bun run build && bun run test:package && bun run test && bun run lint && bun run example:test && bun run example:typecheck && bun run example:verify && bun run example:react-native:test && bun run example:react-native:typecheck && bun run example:react-native:verify",
    "prepack": "bun run check",
    "check:effect": "bun run scripts/effect-policy.ts && bun test scripts/check-effect-architecture.test.ts",
    "build:support": "bun run scripts/build-support-helper.ts --check"
  },
  "peerDependencies": {
    "@antithesishq/bombadil": "0.7.2",
    "agent-browser": "0.32.3",
    "react": ">=18 <20",
    "effect": "3.22.1"
  },
  "peerDependenciesMeta": {
    "@antithesishq/bombadil": {
      "optional": true
    },
    "agent-browser": {
      "optional": true
    },
    "react": {
      "optional": true
    },
    "effect": {
      "optional": true
    }
  },
  "devDependencies": {
    "@babel/core": "7.29.7",
    "@hraness/ui": "github:hraness/ui#v0.5.12",
    "@stylexjs/babel-plugin": "0.19.0",
    "@stylexjs/stylex": "0.19.0",
    "@types/babel__core": "7.20.5",
    "@antithesishq/bombadil": "0.7.2",
    "@eslint/js": "^9.39.2",
    "@expo/metro-runtime": "~57.0.6",
    "@types/bun": "^1.3.14",
    "@types/node": "^24.10.0",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "eslint": "^9.39.2",
    "expo": "~57.0.9",
    "fast-check": "^4.8.0",
    "react": "19.2.3",
    "react-dom": "19.2.3",
    "react-native": "0.86.2",
    "react-native-web": "~0.21.2",
    "lightningcss": "1.33.0",
    "rolldown": "1.2.8",
    "typescript": "6.0.3",
    "typescript-eslint": "^8.53.0",
    "vite": "8.2.1",
    "effect": "3.22.1",
    "@hraness/support-foundation": "git+https://github.com/hraness/support-foundation.git#b32c1c81bb2444f50509ed54388758ecfab1f1c0"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  }
}
