Skip to content

Commit 5644e14

Browse files
author
zhangmengqiu.zmq
committed
feat(studio): add multi-bot channels and account Ark key discovery
Resolve existing Ark model keys with deployment credentials and select the newest eligible key by creation time. Add capability-gated Feishu bot account management and scheduled-task delivery selection, retaining legacy single-bot behavior. Include bilingual contracts, regression tests, the current lockfile changes, and rebuilt Studio assets. Pre-commit, Pyright and frontend gates pass. The Python repository regression has 6933 passing tests and one Markdown MIME failure reproduced on the unmodified baseline; record the result in the paired designs.
1 parent f7576c4 commit 5644e14

113 files changed

Lines changed: 3366 additions & 1155 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎frontend/README.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,3 +1828,27 @@ MPA 名称校验使用主题错误色显示非法输入及错误提示,并提
18281828
MPA Agent details currently expose only Basic information. Other tabs and the Profile configuration action are hidden; this page does not query Profile status or submit Profile operations. General Agent pages and chat session protocols are unchanged.
18291829

18301830
MPA 智能体详情当前仅显示基本信息。其他页面及 Profile 配置操作隐藏;本页不查询 Profile 状态或提交 Profile 操作。普通智能体页面与聊天会话协议保持不变。
1831+
1832+
### MPA Feishu multi-bot accounts / MPA 飞书多机器人
1833+
1834+
Runtimes advertising `multiBotChannels: ["feishu"]` expose a robot selector in
1835+
Automations → Messaging channels → MPA agent messaging channels. Add bots with
1836+
QR or manual binding, then manage enablement, unbinding, diagnostics and group
1837+
permissions for the selected `appId`. Adding a different bot preserves existing
1838+
accounts. Feishu scheduled tasks select an enabled delivery bot; switching to
1839+
Web delivery removes `delivery.appId`. Channel management requires Studio
1840+
administrator access. A failed or unauthorized account lookup blocks Feishu
1841+
task submission instead of selecting an arbitrary bot. Older runtimes keep the
1842+
single-bot interface. Compatible MPA images must be deployed separately.
1843+
1844+
Runtime 声明 `multiBotChannels: ["feishu"]` 后,可在“自动化 → 消息渠道 →
1845+
MPA 智能体消息渠道”中选择机器人。扫码或手动添加后,启停、解绑、诊断和群权限
1846+
均按选中的 `appId` 管理;新增不同机器人保留既有绑定。飞书定时任务须选择已启用
1847+
的投递机器人,切换 Web 投递会清除 `delivery.appId`。渠道管理需要 Studio 管理员
1848+
权限;账号读取失败或无权限时阻止飞书任务提交,不任意选择机器人。旧 Runtime
1849+
保持单机器人界面,兼容的 MPA 镜像需另行部署。
1850+
1851+
Contracts and verification / 契约与验证:
1852+
[channels](../specs/mpa-channels/README.md),
1853+
[tasks](../specs/studio-mpa-cron-tasks/README.md),
1854+
[design](../prd-spec/features/mpa-feishu-multi-bot/2026-10-09-studio-multi-bot.md).

0 commit comments

Comments
 (0)