mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-03 12:01:32 +00:00
* feat(channels): add channel-owned setup contracts * test(channels): align legacy setup fixtures * chore(channels): regenerate config and SDK baselines after rebase * fix(update): run fresh doctor after current-process core changes * fix(channels): align add pre-scan with execution precedence * style(cli): format channels-cli test additions * fix(channels): restore option-before-positional channel resolution via metadata arity scan * fix(channels): keep help flags out of metadata arity escalation * test(update): mock fresh post-update doctor in current-process suites * style: format review fixes and correct entrypoint mock type * fix(channels): register only modern contract options for dual-publishing plugins * test(update): align downgrade suites with fresh-doctor child invocation * docs(channels): record empty-contract and input-forwarding invariants * fix(line): keep the shipped --token switch as a channel access token alias * fix(signal): stop treating exact cross-family loopback endpoints as bind-aligned * chore(config): regenerate docs config baselines after second rebase * style: format rebased channels add tests * fix(channels): enforce field-key and flag-name agreement in setup contracts * fix(signal): detect container endpoints for bare --http-url setup * fix(signal): ignore unconfigured accounts in transport collision checks * fix(channels): validate negated setup flags in contract and normalizer * fix(signal): preserve existing transport kind when setup detection is unreachable * style(signal): use direct boolean check in collision guard * style(signal): type test config literals * docs(update): record two-read design of fresh-doctor validation gate * fix(channels): satisfy post-rebase architecture gates * docs: refresh channel setup map --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
95 lines
3.0 KiB
JSON
95 lines
3.0 KiB
JSON
{
|
|
"name": "@openclaw/slack",
|
|
"version": "2026.7.2",
|
|
"description": "OpenClaw Slack channel plugin for channels, DMs, commands, and app events.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/openclaw/openclaw"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@slack/bolt": "4.7.3",
|
|
"@slack/types": "2.21.1",
|
|
"@slack/web-api": "7.18.0",
|
|
"p-map": "7.0.5",
|
|
"typebox": "1.3.3",
|
|
"ws": "8.21.0",
|
|
"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
|
|
},
|
|
"channel": {
|
|
"id": "slack",
|
|
"configuredState": {
|
|
"env": {
|
|
"anyOf": [
|
|
"SLACK_BOT_TOKEN",
|
|
"SLACK_APP_TOKEN",
|
|
"SLACK_USER_TOKEN"
|
|
]
|
|
}
|
|
},
|
|
"approvalFlags": ["native"],
|
|
"label": "Slack",
|
|
"selectionLabel": "Slack (Socket Mode)",
|
|
"detailLabel": "Slack Bot",
|
|
"docsPath": "/channels/slack",
|
|
"docsLabel": "slack",
|
|
"blurb": "supported (Socket Mode).",
|
|
"systemImage": "number",
|
|
"markdownCapable": true,
|
|
"commands": {
|
|
"nativeCommandsAutoEnabled": false,
|
|
"nativeSkillsAutoEnabled": false
|
|
},
|
|
"setup": { "fields": [
|
|
{ "key": "botToken", "kind": "string", "sensitive": true, "cli": { "flags": "--bot-token <token>", "description": "Slack bot token" } },
|
|
{ "key": "appToken", "kind": "string", "sensitive": true, "cli": { "flags": "--app-token <token>", "description": "Slack app token" } },
|
|
{ "key": "userToken", "kind": "string", "sensitive": true, "cli": { "flags": "--user-token <token>", "description": "Slack user token" } },
|
|
{ "key": "signingSecret", "kind": "string", "sensitive": true, "cli": { "flags": "--signing-secret <secret>", "description": "Slack signing secret" } },
|
|
{ "key": "identity", "kind": "choice", "choices": ["bot", "user"], "cli": { "flags": "--identity <kind>", "description": "Slack identity" } },
|
|
{ "key": "mode", "kind": "choice", "choices": ["socket", "http"], "cli": { "flags": "--mode <mode>", "description": "Slack connection mode" } },
|
|
{ "key": "useEnv", "kind": "boolean", "cli": { "flags": "--use-env", "description": "Use Slack environment credentials" } }
|
|
] }
|
|
},
|
|
"install": {
|
|
"npmSpec": "@openclaw/slack",
|
|
"defaultChoice": "npm",
|
|
"minHostVersion": ">=2026.5.28",
|
|
"allowInvalidConfigRecovery": true
|
|
},
|
|
"compat": {
|
|
"pluginApi": ">=2026.7.2"
|
|
},
|
|
"startup": {
|
|
"deferConfiguredChannelFullLoadUntilAfterListen": true
|
|
},
|
|
"build": {
|
|
"openclawVersion": "2026.7.2",
|
|
"bundledDist": false
|
|
},
|
|
"release": {
|
|
"publishToClawHub": true,
|
|
"publishToNpm": true
|
|
}
|
|
}
|
|
}
|