{
  "name": "@senad-d/observme",
  "version": "0.1.9",
  "type": "module",
  "description": "ObservMe: a Pi extension that instruments Pi agent sessions and exports OpenTelemetry traces, metrics, and logs to an external observability stack (OTel Collector, Grafana Tempo/Loki/Prometheus).",
  "license": "MIT",
  "author": "Senad Dizdarević <112484166+senad-d@users.noreply.github.com>",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/senad-d/ObservMe.git"
  },
  "exports": {
    ".": "./src/extension.ts",
    "./integration": "./src/integration.ts"
  },
  "bugs": {
    "url": "https://github.com/senad-d/ObservMe/issues"
  },
  "homepage": "https://github.com/senad-d/ObservMe#readme",
  "keywords": [
    "pi-package",
    "pi-extension",
    "pi-coding-agent",
    "cli",
    "terminal",
    "typescript",
    "coding-agent",
    "observability",
    "opentelemetry"
  ],
  "engines": {
    "node": ">=22.19.0"
  },
  "files": [
    ".env.example",
    "README.md",
    "LICENSE",
    "SECURITY.md",
    "CHANGELOG.md",
    "docs/**/*.md",
    "skills/**/*.md",
    "dashboards/**/*.json",
    "dashboards/**/*.yaml",
    "examples/**/*.md",
    "examples/**/*.ts",
    "examples/**/*.yaml",
    "img/*",
    "src/**/*.ts",
    "src/config/anchored-exclusive-create-helper.mjs",
    "tsconfig.json"
  ],
  "scripts": {
    "dev": "pi --no-extensions -e .",
    "typecheck": "tsc --noEmit",
    "typecheck:test": "tsc --project tsconfig.test.json --noEmit",
    "lint": "npm run typecheck && npm run typecheck:test && npm run lint:eslint && npm run format:check && npm run check",
    "lint:eslint": "eslint . --max-warnings=0",
    "lint:fix": "eslint . --fix",
    "format:check": "node scripts/check-format.mjs",
    "test": "node --test test/*.test.mjs test/*.test.ts",
    "test:active-agent-lease:contracts": "node --test test/active-agent-lease.test.ts test/alerts.test.mjs test/cardinality.test.ts test/config-defaults.test.mjs test/config-loader.test.mjs test/config-validation.test.mjs test/dashboards.test.mjs test/metrics.test.ts test/pi-handlers.test.mjs test/semconv-metrics.test.mjs",
    "test:integration:collector": "node --test test/integration/collector-debug.test.mjs",
    "test:integration:active-agent-lease": "node --test test/integration/active-agent-lease.test.mjs",
    "test:integration:grafana-stack": "node --test test/integration/grafana-stack.test.mjs",
    "test:coverage": "node scripts/test-coverage.mjs",
    "smoke:discover": "node scripts/smoke-observability.mjs",
    "smoke:packaged": "node scripts/smoke-packaged-install.mjs",
    "smoke:handlers": "node scripts/smoke-handler-execution.mjs",
    "smoke:pi-lifecycle": "node scripts/smoke-pi-lifecycle.mjs",
    "smoke:pi-runtime": "node scripts/smoke-pi-runtime.mjs",
    "validate:pi-compatibility": "npm run typecheck && npm run typecheck:test && node --test test/pi-compatibility.test.ts test/event-mapping.test.ts test/template.test.mjs && npm run smoke:packaged && npm run smoke:handlers && npm run smoke:pi-lifecycle && npm run smoke:pi-runtime",
    "validate:grafana-obs": "node scripts/validate-grafana-obs-flow.mjs",
    "check": "node --check scripts/check-package-contents.mjs && node --check scripts/test-coverage.mjs && node --check scripts/smoke-observability.mjs && node --check scripts/smoke-packaged-install.mjs && node --check scripts/smoke-handler-execution.mjs && node --check scripts/smoke-pi-lifecycle.mjs && node --check scripts/smoke-pi-runtime.mjs && node --check scripts/validate-grafana-obs-flow.mjs",
    "pack:dry-run": "npm pack --dry-run --json",
    "check:pack": "node scripts/check-package-contents.mjs",
    "validate": "npm run lint && npm run test && npm run check:pack && npm run smoke:packaged && npm run smoke:handlers && npm run smoke:pi-lifecycle && npm run smoke:pi-runtime"
  },
  "observmeCompatibility": {
    "pi": {
      "earliestTestedVersion": "0.80.5",
      "releaseTestedVersion": "0.82.0",
      "runtimePolicy": "required-api-capabilities"
    }
  },
  "pi": {
    "extensions": [
      "./src/extension.ts"
    ],
    "skills": [
      "./skills"
    ],
    "image": "https://raw.githubusercontent.com/senad-d/ObservMe/main/img/demo.gif"
  },
  "peerDependencies": {
    "@earendil-works/pi-ai": "*",
    "@earendil-works/pi-coding-agent": "*",
    "typebox": "*"
  },
  "devDependencies": {
    "@earendil-works/pi-ai": "0.82.0",
    "@earendil-works/pi-coding-agent": "0.82.0",
    "@eslint/js": "^10.0.1",
    "@types/node": "^26.1.1",
    "c8": "^11.0.0",
    "eslint": "^10.6.0",
    "globals": "^17.7.0",
    "monocart-coverage-reports": "^2.12.12",
    "typebox": "^1.3.6",
    "typescript": "6.0.3",
    "typescript-eslint": "8.65.0"
  },
  "dependencies": {
    "@opentelemetry/api": "1.9.1",
    "@opentelemetry/api-logs": "0.220.0",
    "@opentelemetry/exporter-logs-otlp-proto": "0.220.0",
    "@opentelemetry/exporter-metrics-otlp-proto": "0.220.0",
    "@opentelemetry/exporter-trace-otlp-proto": "0.220.0",
    "@opentelemetry/resources": "2.9.0",
    "@opentelemetry/sdk-logs": "0.220.0",
    "@opentelemetry/sdk-metrics": "2.9.0",
    "@opentelemetry/sdk-trace-base": "2.9.0",
    "@opentelemetry/sdk-trace-node": "2.9.0"
  }
}
