Files
openclaw/extensions/imessage/package.json
2026-08-01 08:01:18 +08:00

121 lines
2.9 KiB
JSON

{
"name": "@openclaw/imessage",
"version": "2026.7.2",
"description": "OpenClaw iMessage channel plugin using imsg on a signed-in Mac",
"repository": {
"type": "git",
"url": "https://github.com/openclaw/openclaw"
},
"type": "module",
"dependencies": {
"typebox": "1.3.6",
"zod": "4.4.3"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*",
"openclaw": "workspace:*"
},
"peerDependencies": {
"openclaw": ">=2026.7.2"
},
"peerDependenciesMeta": {
"openclaw": {
"optional": true
}
},
"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" }
}
]
}
},
"install": {
"clawhubSpec": "clawhub:@openclaw/imessage",
"npmSpec": "@openclaw/imessage",
"defaultChoice": "npm",
"minHostVersion": ">=2026.7.2",
"allowInvalidConfigRecovery": true
},
"compat": {
"pluginApi": ">=2026.7.2"
},
"build": {
"openclawVersion": "2026.7.2",
"bundledDist": false
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
},
"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
}
}
}