{
  "name": "brass-runtime",
  "version": "1.21.0",
  "description": "Effect runtime utilities for TypeScript",
  "license": "MIT",
  "author": "Augusto Vivaldelli",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    },
    "./http": {
      "types": "./dist/http/index.d.ts",
      "import": "./dist/http/index.mjs",
      "require": "./dist/http/index.cjs"
    },
    "./http/testing": {
      "types": "./dist/http/testing.d.ts",
      "import": "./dist/http/testing.mjs",
      "require": "./dist/http/testing.cjs"
    },
    "./schema": {
      "types": "./dist/schema/index.d.ts",
      "import": "./dist/schema/index.mjs",
      "require": "./dist/schema/index.cjs"
    },
    "./core": {
      "types": "./dist/core/index.d.ts",
      "import": "./dist/core/index.mjs",
      "require": "./dist/core/index.cjs"
    },
    "./observability": {
      "types": "./dist/observability/index.d.ts",
      "import": "./dist/observability/index.mjs",
      "require": "./dist/observability/index.cjs"
    },
    "./perf": {
      "types": "./dist/perf/index.d.ts",
      "import": "./dist/perf/index.mjs",
      "require": "./dist/perf/index.cjs"
    },
    "./agent": {
      "types": "./dist/agent/index.d.ts",
      "import": "./dist/agent/index.mjs",
      "require": "./dist/agent/index.cjs"
    },
    "./package.json": "./package.json",
    "./wasm/pkg/brass_runtime_wasm_engine.js": "./wasm/pkg/brass_runtime_wasm_engine.js",
    "./wasm/pkg/brass_runtime_wasm_engine_bg.wasm": "./wasm/pkg/brass_runtime_wasm_engine_bg.wasm"
  },
  "files": [
    "dist",
    "wasm/pkg",
    "README.md",
    "CHANGELOG.md",
    "docs",
    "LICENSE",
    "package.json"
  ],
  "keywords": [
    "runtime",
    "functional",
    "effect-system",
    "algebraic-effects",
    "async",
    "effects",
    "fiber",
    "fibers",
    "concurrency",
    "abortcontroller",
    "cancellation",
    "structured-concurrency",
    "typescript",
    "runtime"
  ],
  "scripts": {
    "dev": "tsx src/examples/index.ts",
    "clean": "rimraf dist wasm/pkg",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "COVERAGE_GATE=baseline vitest run --coverage",
    "test:coverage:report": "COVERAGE_GATE=off vitest run --coverage",
    "test:coverage:100": "COVERAGE_GATE=100 vitest run --coverage",
    "test:types": "tsc -p tsconfig.json --noEmit",
    "check": "npm run test:types && npm run test && npm run test:coverage",
    "check:full": "npm run clean && npm run build && npm run test",
    "build": "npm run build:wasm && npm run build:ts",
    "build:legacy": "npm run clean && npm run build:types && npm run build:esm && npm run build:cjs",
    "build:types": "tsc -p tsconfig.types.json",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "agent:dev": "tsx src/agent/cli/main.ts",
    "agent:doctor": "tsx src/agent/cli/main.ts --doctor",
    "agent:vscode:package": "node scripts/install-vscode-extension.mjs --no-code-install --no-settings",
    "agent:vscode:install": "node scripts/install-vscode-extension.mjs",
    "agent:vscode:uninstall": "node scripts/clean-vscode-extension.mjs --yes --no-vsix --no-settings --no-global-storage",
    "agent:vscode:clean": "node scripts/clean-vscode-extension.mjs --yes",
    "agent:vscode:reinstall": "npm run agent:vscode:clean && npm run agent:vscode:install",
    "agent:local-install": "npm run agent:vscode:install",
    "agent:init": "tsx src/agent/cli/main.ts --init",
    "agent:init:dry-run": "tsx src/agent/cli/main.ts --init --init-dry-run",
    "agent:test:smoke": "node scripts/agent-local-smoke.mjs",
    "agent:test:local": "npm run build && npm run agent:test:smoke",
    "agent:link": "npm run build && npm link",
    "agent:unlink": "node scripts/unlink-agent-cli.mjs",
    "agent:vscode:install:global": "npm run agent:link && node scripts/install-vscode-extension.mjs --use-global-command --no-root-build",
    "agent:vscode:bundle": "npm run build && node scripts/prepare-vscode-bundle.mjs",
    "agent:vscode:uninstall:global": "npm run agent:vscode:clean && npm run agent:unlink",
    "agent:vscode:reinstall:global": "npm run agent:vscode:uninstall:global && npm run agent:vscode:install:global",
    "benchmark": "tsx src/benchmarks/runner.ts",
    "benchmark:json": "tsx src/benchmarks/runner.ts --json",
    "benchmark:runtime": "tsx src/benchmarks/runner.ts runtime-performance-track",
    "benchmark:runtime:budget": "node scripts/check-runtime-benchmark-budget.mjs",
    "benchmark:http": "tsx src/benchmarks/runner.ts http-concurrent",
    "benchmark:http:proxy": "BRASS_HTTP_BENCH_VARIANTS=node-http-text,default-minimal-json,default-proxy-json,default-proxy-node-json,default-json tsx src/benchmarks/runner.ts http-concurrent",
    "benchmark:http:proxy:300tps": "BRASS_HTTP_RAMP_CLIENT=proxy BRASS_HTTP_RAMP_MAX_TPS=300 BRASS_HTTP_RAMP_STEP_TPS=300 BRASS_HTTP_RAMP_STEP_SECONDS=180 BRASS_HTTP_RAMP_CONCURRENCY=600 tsx src/benchmarks/runner.ts http-ramp-tps",
    "benchmark:http:overhead": "tsx src/benchmarks/runner.ts http-local-overhead",
    "benchmark:http:soak": "BRASS_HTTP_BENCH_MODE=soak tsx src/benchmarks/runner.ts http-concurrent",
    "benchmark:http:budget": "node scripts/check-http-benchmark-budget.mjs",
    "benchmark:http:ramp": "tsx src/benchmarks/runner.ts http-ramp-tps",
    "benchmark:adaptive": "tsx src/benchmarks/runner.ts adaptive-limiter-soak",
    "benchmark:adaptive:soak": "BRASS_ADAPTIVE_BENCH_MODE=soak tsx src/benchmarks/runner.ts adaptive-limiter-soak",
    "benchmark:observability": "tsx src/benchmarks/runner.ts observability-overhead",
    "benchmark:observability:budget": "node scripts/check-observability-benchmark-budget.mjs",
    "benchmark:perf": "tsx src/perf/cli.ts --json",
    "perf": "tsx src/perf/cli.ts && node --expose-gc --require tsx/cjs src/benchmarks/http-local-overhead-gate.ts",
    "perf:profile": "tsx src/perf/cli.ts",
    "perf:json": "tsx src/perf/cli.ts --json",
    "perf:runtime:ab": "tsx src/perf/cli.ts --profile runtime-ab",
    "perf:runtime:soak": "tsx src/perf/cli.ts --profile runtime-soak",
    "perf:runtime:budget": "tsx src/perf/budgetCli.ts",
    "perf:http:memory": "tsx src/perf/cli.ts --profile http-memory",
    "perf:history": "tsx src/perf/cli.ts --record-history",
    "release:check": "npm run test:types && npm test && npm run build:ts && npm run validate:cjs && npm run perf:runtime:budget && npm run benchmark:runtime:budget && npm run benchmark:http:budget && npm run benchmark:observability:budget",
    "example:observability:express": "tsx src/examples/observabilityExpress.ts",
    "example:observability:fastify": "tsx src/examples/observabilityFastify.ts",
    "example:observability:nest": "tsx src/examples/observabilityNest.ts",
    "smoke:observability:collector": "node scripts/observability-collector-smoke.mjs",
    "context": "node scripts/context-pack.mjs",
    "test:coverage:html": "COVERAGE_GATE=off vitest run --coverage --reporter=default",
    "build:wasm": "cd crates/brass-runtime-wasm-engine && wasm-pack build --target nodejs --out-dir ../../wasm/pkg",
    "build:ts": "tsup",
    "validate:cjs": "node scripts/validate-cjs.mjs"
  },
  "devDependencies": {
    "@types/node": "^22.15.0",
    "@vitest/coverage-v8": "^4.1.5",
    "conventional-changelog-conventionalcommits": "^9.3.1",
    "fast-check": "^4.7.0",
    "rimraf": "^6.1.2",
    "tsup": "^8.5.1",
    "tsx": "^4.21.0",
    "typescript": "^5.9.3",
    "vitest": "^4.1.5"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/BaldrVivaldelli/brass-runtime.git"
  },
  "bugs": {
    "url": "https://github.com/BaldrVivaldelli/brass-runtime/issues"
  },
  "homepage": "https://github.com/BaldrVivaldelli/brass-runtime#readme",
  "bin": {
    "brass-agent": "dist/agent/cli/main.cjs",
    "brass-perf": "dist/perf/cli.cjs"
  }
}
