You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "0xMudit (via GitHub)" <gi...@apache.org> on 2026/08/26 09:27:18 UTC
[I] refactor(runtime): extract bots subsystem to separate package [maka]
0xMudit opened a new issue, #3910:
URL: https://github.com/apache/maka/issues/3910
## Summary
The bots subsystem (16 source files: telegram, discord, slack, wecom, wechat, feishu, dingtalk, qq bridges) is bundled inside `packages/runtime/src/bots/` despite being a delivery concern orthogonal to session management. This forces 6 third-party IM SDK dependencies into runtime's direct dependency tree.
## Evidence
- `packages/runtime/src/bots/` — 16 files including `base-adapter.ts`, `bot-registry.ts`, and 8 platform-specific bridges
- `packages/runtime/package.json` depends on `@slack/web-api`, `@larksuiteoapi/node-sdk`, `@wecom/aibot-node-sdk`, `ws` at runtime dependency level
- These dependencies are only needed for bot bridges, not for core session management
- `@maka/runtime/bots` is the public export path
## Proposed Solution
Extract `bots/` into its own package (`@maka/bots` or `@maka/runtime-bots`) with a dependency on `@maka/runtime` for session management types.
Benefits:
- Removes 6 third-party IM SDK dependencies from `@maka/runtime`'s dependency tree
- Clearer ownership boundary — bot bridges are a delivery concern
- Independent versioning and release cycle for bot integrations
- Smaller `@maka/runtime` install footprint for non-bot consumers
## Acceptance Criteria
- [ ] `@maka/bots` package exists with all 16 bot source files
- [ ] `@maka/runtime` no longer depends on IM SDK packages directly
- [ ] All bot bridge tests pass in the new package
- [ ] `@maka/runtime/bots` re-export path is preserved for backward compatibility
- [ ] Bot registry initialization works from the new package
## Labels
refactor, help wanted
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
Re: [I] refactor(runtime): extract bots subsystem to separate package [maka]
Posted by "Astro-Han (via GitHub)" <gi...@apache.org>.
Astro-Han closed issue #3910: refactor(runtime): extract bots subsystem to separate package
URL: https://github.com/apache/maka/issues/3910
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
Re: [I] refactor(runtime): extract bots subsystem to separate package [maka]
Posted by "Astro-Han (via GitHub)" <gi...@apache.org>.
Astro-Han commented on issue #3910:
URL: https://github.com/apache/maka/issues/3910#issuecomment-5717936386
Closing this as an issue for now: the direction has not been confirmed by a maintainer, and the tracker only keeps proposals that already have an agreed scope. Please continue it in GitHub Discussions (https://github.com/apache/maka/discussions); once the shape and acceptance criteria are settled there, open an issue with that scope and it will be picked up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org