{
  "name": "@openclaw/matrix",
  "version": "2026.5.7",
  "description": "OpenClaw Matrix channel plugin",
  "repository": {
    "type": "git",
    "url": "https://github.com/openclaw/openclaw"
  },
  "type": "module",
  "dependencies": {
    "@matrix-org/matrix-sdk-crypto-nodejs": "^0.5.1",
    "@matrix-org/matrix-sdk-crypto-wasm": "18.2.0",
    "fake-indexeddb": "^6.2.5",
    "markdown-it": "14.1.1",
    "matrix-js-sdk": "41.4.0",
    "music-metadata": "^11.12.3",
    "typebox": "1.1.37"
  },
  "devDependencies": {
    "@openclaw/plugin-sdk": "workspace:*",
    "openclaw": "workspace:*"
  },
  "peerDependencies": {
    "openclaw": ">=2026.5.7"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  },
  "openclaw": {
    "extensions": [
      "./index.js"
    ],
    "setupEntry": "./setup-entry.js",
    "setupFeatures": {
      "configPromotion": true
    },
    "channel": {
      "id": "matrix",
      "label": "Matrix",
      "selectionLabel": "Matrix (plugin)",
      "docsPath": "/channels/matrix",
      "docsLabel": "matrix",
      "blurb": "open protocol; install the plugin to enable.",
      "order": 70,
      "quickstartAllowFrom": true,
      "doctorCapabilities": {
        "dmAllowFromMode": "nestedOnly",
        "groupModel": "sender",
        "groupAllowFromFallbackToAllowFrom": false,
        "warnOnEmptyGroupSenderAllowlist": true
      },
      "cliAddOptions": [
        {
          "flags": "--homeserver <url>",
          "description": "Matrix homeserver URL"
        },
        {
          "flags": "--user-id <id>",
          "description": "Matrix user ID"
        },
        {
          "flags": "--access-token <token>",
          "description": "Matrix access token"
        },
        {
          "flags": "--device-name <name>",
          "description": "Matrix device name"
        },
        {
          "flags": "--initial-sync-limit <n>",
          "description": "Matrix initial sync limit"
        }
      ],
      "persistedAuthState": {
        "specifier": "./auth-presence",
        "exportName": "hasAnyMatrixAuth"
      }
    },
    "install": {
      "minHostVersion": ">=2026.4.10"
    }
  }
}
