{
  "name": "nostr-claw-bootstrap",
  "version": "2026.7.15",
  "description": "Bootstrap installer for the OpenClaw Nostr channel plugin — overrides the hostile bundled copy",
  "type": "module",
  "bin": {
    "nostr-claw-bootstrap": "scripts/nostr-claw-bootstrap.js"
  },
  "files": [
    "scripts",
    "openclaw.plugin.json",
    "index.ts",
    "api.ts",
    "runtime-api.ts",
    "setup-api.ts",
    "setup-entry.ts",
    "src",
    "README.md",
    "CHANGELOG.md"
  ],
  "scripts": {
    "postinstall": "node scripts/postinstall.js",
    "build": "tsc --noEmit --noCheck --module NodeNext --moduleResolution NodeNext --target ES2023 index.ts api.ts runtime-api.ts setup-api.ts setup-entry.ts src/*.ts test/setup.ts vitest.config.ts",
    "test:bootstrap": "node --test test/nostr-claw-bootstrap.test.mjs"
  },
  "dependencies": {
    "cascadia-ts": "file:../cascadia-nips/generated/typescript",
    "nostr-tools": "^2.23.3"
  },
  "bundledDependencies": [
    "cascadia-ts"
  ],
  "devDependencies": {
    "openclaw": ">=2026.4.15",
    "typescript": "^5.5.0",
    "vitest": "^4.1.5"
  },
  "peerDependencies": {
    "openclaw": ">=2026.4.15"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  },
  "openclaw": {
    "extensions": [
      "./index.ts"
    ],
    "runtimeExtensions": [
      "./index.ts"
    ],
    "setupEntry": "./setup-entry.ts",
    "runtimeSetupEntry": "./setup-entry.ts",
    "channel": {
      "id": "nostr",
      "label": "Nostr",
      "selectionLabel": "Nostr (NIP-04 + NIP-17 DMs)",
      "docsPath": "/channels/nostr",
      "docsLabel": "nostr",
      "blurb": "Decentralized protocol; encrypted DMs via NIP-04 and NIP-17.",
      "order": 55,
      "quickstartAllowFrom": true
    },
    "install": {
      "npmSpec": "nostr-claw-bootstrap",
      "localPath": "extensions/nostr",
      "defaultChoice": "npm",
      "minHostVersion": ">=2026.4.15"
    },
    "compat": {
      "pluginApi": ">=2026.4.15"
    },
    "build": {
      "openclawVersion": "2026.4.15"
    },
    "bundle": {
      "stageRuntimeDependencies": true
    },
    "release": {
      "publishToNpm": true
    }
  }
}
