{
  "name": "@openclaw/imessage",
  "version": "2026.7.2",
  "private": true,
  "description": "OpenClaw iMessage channel plugin using imsg on a signed-in Mac",
  "type": "module",
  "dependencies": {
    "typebox": "1.3.6",
    "zod": "4.4.3"
  },
  "devDependencies": {
    "@openclaw/plugin-sdk": "workspace:*"
  },
  "openclaw": {
    "extensions": [
      "./index.ts"
    ],
    "setupEntry": "./setup-entry.ts",
    "setupFeatures": {
      "configPromotion": true,
      "legacyStateMigrations": true
    },
    "channel": {
      "id": "imessage",
      "approvalFlags": [
        "native"
      ],
      "label": "iMessage",
      "selectionLabel": "iMessage (imsg)",
      "detailLabel": "iMessage",
      "docsPath": "/channels/imessage",
      "docsLabel": "imessage",
      "blurb": "Local iMessage/SMS through the imsg bridge, including private API message actions when enabled.",
      "aliases": [
        "imsg"
      ],
      "systemImage": "message.fill",
      "setup": {
        "fields": [
          {
            "key": "cliPath",
            "kind": "string",
            "cli": { "flags": "--cli-path <path>", "description": "iMessage CLI path" }
          },
          {
            "key": "dbPath",
            "kind": "string",
            "cli": { "flags": "--db-path <path>", "description": "iMessage database path" }
          },
          {
            "key": "service",
            "kind": "choice",
            "choices": ["imessage", "sms", "auto"],
            "cli": { "flags": "--service <service>", "description": "iMessage service" }
          },
          {
            "key": "region",
            "kind": "string",
            "cli": { "flags": "--region <region>", "description": "SMS region" }
          }
        ]
      }
    },
    "compat": {
      "pluginApi": ">=2026.7.2"
    },
    "build": {
      "openclawVersion": "2026.7.2"
    }
  },
  "pluginInspector": {
    "version": 1,
    "plugin": {
      "id": "imessage",
      "priority": "high",
      "seams": [
        "channel-plugin",
        "message-actions",
        "conversation-bindings",
        "outbound-media"
      ],
      "sourceRoot": "src",
      "expect": {
        "registrations": [
          "createChatChannelPlugin"
        ],
        "manifestContracts": [
          "channels"
        ]
      }
    },
    "capture": {
      "mockSdk": true
    }
  }
}
