{
  "name": "@aithos/protocol-core",
  "version": "0.11.4",
  "sideEffects": [
    "./dist/envelope.js",
    "./dist/mandate.js",
    "./dist/did.js"
  ],
  "description": "Aithos protocol \u2014 reference implementation of the core primitives (DIDs, ethos, mandates, bundles) used by the CLI and by any host that speaks the protocol.",
  "license": "Apache-2.0",
  "author": "Mathieu Colla <mathieu.colla.pro@gmail.com>",
  "homepage": "https://github.com/aithos-protocol/aithos-protocol#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/aithos-protocol/aithos-protocol.git",
    "directory": "packages/protocol-core"
  },
  "bugs": {
    "url": "https://github.com/aithos-protocol/aithos-protocol/issues"
  },
  "keywords": [
    "aithos",
    "did",
    "identity",
    "ethos",
    "mandate",
    "ed25519",
    "self-sovereign",
    "ai-agent",
    "protocol"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./backend": {
      "types": "./dist/backend.d.ts",
      "import": "./dist/backend.js"
    },
    "./bundle": {
      "types": "./dist/bundle.d.ts",
      "import": "./dist/bundle.js"
    },
    "./canonical": {
      "types": "./dist/canonical.d.ts",
      "import": "./dist/canonical.js"
    },
    "./did": {
      "types": "./dist/did.d.ts",
      "import": "./dist/did.js"
    },
    "./envelope": {
      "types": "./dist/envelope.d.ts",
      "import": "./dist/envelope.js"
    },
    "./ethos": {
      "types": "./dist/ethos.d.ts",
      "import": "./dist/ethos.js"
    },
    "./ethos-authz": {
      "types": "./dist/ethos-authz.d.ts",
      "import": "./dist/ethos-authz.js"
    },
    "./filesystem-storage": {
      "types": "./dist/filesystem-storage.d.ts",
      "import": "./dist/filesystem-storage.js"
    },
    "./identity": {
      "types": "./dist/identity.d.ts",
      "import": "./dist/identity.js"
    },
    "./mandate": {
      "types": "./dist/mandate.d.ts",
      "import": "./dist/mandate.js"
    },
    "./mandate-store": {
      "types": "./dist/mandate-store.d.ts",
      "import": "./dist/mandate-store.js"
    },
    "./encoding": {
      "types": "./dist/encoding.d.ts",
      "import": "./dist/encoding.js"
    },
    "./sponsorship": {
      "types": "./dist/sponsorship.d.ts",
      "import": "./dist/sponsorship.js"
    },
    "./storage": {
      "types": "./dist/storage.d.ts",
      "import": "./dist/storage.js"
    },
    "./bundle-v04": {
      "types": "./dist/bundle-v04.d.ts",
      "import": "./dist/bundle-v04.js"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.json",
    "check-types": "tsc --noEmit",
    "clean": "rm -rf dist",
    "test": "node --import tsx --test --test-reporter=spec \"test/**/*.test.ts\"",
    "prepublishOnly": "npm run clean && npm run build && npm run check-types",
    "check:browser": "node --experimental-vm-modules scripts/check-browser.mjs"
  },
  "dependencies": {
    "@noble/curves": "^2.2.0",
    "@noble/ed25519": "^2.3.0",
    "@noble/hashes": "^1.8.0",
    "@scure/base": "^1.2.6",
    "@stablelib/hkdf": "^2.0.1",
    "@stablelib/sha256": "^2.0.1",
    "@stablelib/xchacha20poly1305": "^2.0.1",
    "@types/adm-zip": "^0.5.8",
    "adm-zip": "^0.5.17",
    "ulid": "^2.4.0"
  },
  "devDependencies": {
    "@types/node": "^20.19.41",
    "tsx": "^4.22.4",
    "typescript": "^5.9.3",
    "esbuild": "^0.21.5"
  },
  "engines": {
    "node": ">=20"
  }
}