Skip to content

Cherry-pick batch: Slack adapter (19 commits)#1969

Merged
alexey-pelykh merged 12 commits intomainfrom
staging/cherry-pick-1879
Mar 24, 2026
Merged

Cherry-pick batch: Slack adapter (19 commits)#1969
alexey-pelykh merged 12 commits intomainfrom
staging/cherry-pick-1879

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick batch from upstream

Issue: #1879
Commits: 19 attempted, 11 cherry-picked, 8 resolved empty (fork already had changes)

Most upstream commits were cross-cutting import refactors (moving src/slack/ to extensions/slack/src/) that conflict with the fork's consolidated remoteclaw/plugin-sdk/slack architecture. After cherry-picking and conflict resolution, only the genuinely new Slack-specific files survived:

  • extensions/slack/src/http/index.ts — HTTP route registration
  • extensions/slack/src/http/registry.ts — HTTP registry
  • extensions/slack/src/http/registry.test.ts — Registry tests

See issue for full commit list.

Closes #1879

🤖 Generated with Claude Code

gumadeiras and others added 12 commits March 24, 2026 11:41
…enclaw#45621)

Move all Slack channel implementation files from src/slack/ to
extensions/slack/src/ and replace originals with shim re-exports.
This follows the extension migration pattern for channel plugins.

- Copy all .ts files to extensions/slack/src/ (preserving directory
  structure: monitor/, http/, monitor/events/, monitor/message-handler/)
- Transform import paths: external src/ imports use relative paths
  back to src/, internal slack imports stay relative within extension
- Replace all src/slack/ files with shim re-exports pointing to
  the extension copies
- Update tsconfig.plugin-sdk.dts.json rootDir from "src" to "." so
  the DTS build can follow shim chains into extensions/
- Update write-plugin-sdk-entry-dts.ts re-export path accordingly
- Preserve extensions/slack/index.ts, package.json, openclaw.plugin.json,
  src/channel.ts, src/runtime.ts, src/channel.test.ts (untouched)

(cherry picked from commit 8746362)
@alexey-pelykh alexey-pelykh enabled auto-merge (squash) March 24, 2026 10:52
@alexey-pelykh alexey-pelykh merged commit 005f09f into main Mar 24, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the staging/cherry-pick-1879 branch March 24, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cherry-pick: Slack adapter (19 commits)

5 participants