Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ The MiniMax Code Agent communicates through the host MCP client. Business reques

| MiniApp | What it does | Author |
| --- | --- | --- |
| [Work Group](plugins/liuhaolin07/miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8/) | A chat-style work group where several MiniMax Code Agents reply in one thread, mention each other to hand work over, and ask you for tool approvals and answers as cards in the page | [liuhaolin07](https://github.com/liuhaolin07) |
| [Prompt Enhancer](plugins/skypata/prompt-enhancer/) | Rewrite a one-line request into a complete prompt for a coding assistant; the model list and reasoning levels come from MiniMax Code's own configuration, and the rewrite runs on your signed-in account | [skypata](https://github.com/skypata) |
| [Postman Lite](plugins/ssugarr/postman-lite/) | A lightweight local API request tool: build requests, send them through a local proxy that sidesteps browser CORS limits, and inspect responses, with collections kept as plain JSON | [ssugarr](https://github.com/ssugarr) |
| [Weekly Planner](plugins/alanhean/weekly-planner/) | A local weekly planner: add tasks with a date and a priority, review them day by day, tick them off, and track the week's completion rate | [Alanhean](https://github.com/Alanhean) |
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ MiniMax Code Agent 通过宿主 MCP 客户端与 MiniApp 协作。业务请求

| MiniApp | 功能 | 作者 |
| --- | --- | --- |
| [工作群](plugins/liuhaolin07/miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8/README.zh-CN.md) | 聊天式工作群:多个 MiniMax Code Agent 在同一个群里回复、互相 @ 接力,工具审批和提问以卡片形式在页面里完成 | [liuhaolin07](https://github.com/liuhaolin07) |
| [提示词增强器](plugins/skypata/prompt-enhancer/) | 把一句话改写成可以直接交给编码助手的完整提示词,模型清单与推理等级取自 MiniMax Code 自己的配置,改写走你已登录的账号 | [skypata](https://github.com/skypata) |
| [Postman Lite](plugins/ssugarr/postman-lite/README.zh-CN.md) | 轻量的本地 API 请求工具:构建请求、通过本地代理转发(绕过浏览器 CORS 限制)、查看响应,集合以纯 JSON 保存 | [ssugarr](https://github.com/ssugarr) |
| [周计划](plugins/alanhean/weekly-planner/README.zh-CN.md) | 本地周计划:手动录入任务、日期与优先级,按天查看安排,勾选完成并跟踪本周完成率 | [Alanhean](https://github.com/Alanhean) |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"schemaVersion": 1,
"name": "miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8",
"displayName": "工作群",
"version": "1.0.0",
"description": "一个可以接入多个 Agent 的工作群:在群里 @ 成员,成员各自用独立会话回复,并可在回复里点名其他成员接力;工具审批和问题都在群里完成。",
"author": "liuhaolin07",
"icon": "icon.png",
"category": "Productivity",
"exampleQueries": [
"打开工作群,让调研和评审一起看这个需求。",
"在工作群里 @执行 把这份清单整理成表格。"
],
"apps": [],
"mcpServers": [],
"skills": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 liuhaolin07

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Work Group (`miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8`)

English | [简体中文](./README.zh-CN.md)

A chat-style work group inside MiniMax Code. Several Agents sit in one thread with you: mention the
ones you need, each replies from its own session, and a member can mention another member to hand
work over. Tool approvals and questions from an Agent arrive as cards in the group instead of in a
separate chat.

## Install

Copy this directory, including the hidden `.minimax-plugin/`, into the MiniMax Code plugins
directory as `miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8/` (`~/.minimax/plugins/` by default; the
root README's Install section explains where that directory is). Restart MiniMax Code and ask the
Agent to "打开工作群" or "Open Work Group".

## Use

- The group starts with four members bound to your configured Agents: 协调者 (coordinator, your
default Agent), 调研 (Explore), 执行 (Worker) and 评审 (Verifier). Add, edit or remove members at
any time; a member can be bound to a real Agent or defined as a custom role with its own
instructions.
- Mention members with `@name` (or the chips above the input). Mentioned members reply; with no
mention the coordinator replies. A member's reply that mentions another member queues that member
next, up to 3 levels deep and 6 turns per message.
- When a member needs a tool, the group shows an approval card with the tool name, reason and input.
Nothing runs until you choose "允许一次" (allow once) or "拒绝" (deny). When a member asks you a
question, the group shows the questionnaire and continues the turn after you submit it.
- Each member keeps its own session, so it remembers what it did earlier. "重置会话" starts it over,
"在会话中查看" opens that session in the chat side panel.
- "停止" cancels a member's running turn, "全部停止" cancels everything queued, and "清空对话"
deletes the transcript and resets every session.
- Members, messages, approvals and questions are stored by the Node service, so a restart or a
reclaimed page restores the group. A pending approval that was interrupted by a restart is shown
as expired rather than left waiting.

## Tested environment

- MiniMax Code 3.1.19 on Windows 11 (x64), installed from the workspace package and opened through
the Agent. Client acceptance exercised: initial view and empty state, member panel, add a member →
reload → still present → delete with confirmation, send a message → a real Agent turn completed
and rendered, clear the conversation. Console: no errors. Network: no failed requests.
- Not exercised in a live turn: the tool approval card, the questionnaire card, the stop control,
and opening a member session in the side panel. Those paths were exercised against a mocked Agent
runtime, together with mention chaining, session continuation, member validation and restart
recovery.
- The package uses the legacy `agentAccess` and `window.mcode.miniapp` spellings on purpose so it
also loads on clients before 3.1.20. With `agentAccess` and `agentConcurrency` declared, the
minimum client is MiniMax Code 3.1.2.

## Data & access

- Files: reads its own `miniapp/client/*` assets. Writes one JSON state file, `group-state.json`, in
the Host-provided `context.dataDir`.
- Network: none beyond the Host-assigned loopback port.
- Processes: none.
- Agent turns: yes. `agentAccess: ["session.run"]` lets each member run Agent turns with that
Agent's full capabilities (files, shell, Skills, MCP), up to 4 turns at once. A Node-initiated
turn works in this Mini App's own Agent directory; a turn started from a page opened in a chat
uses that chat's project directory.
- Conversations read: none of your own conversations. Only the sessions this Mini App creates.
- Tools and Connectors called: none directly. An Agent may call its own tools; every
`permission.requested` is shown in the page and answered with `allowOnce` or `deny` only after
you choose.
- Microphone, camera, notifications: none.
- Host navigation read: none.
- File extensions handled: none.
- State: members, messages, approvals and questionnaires in `context.dataDir`; the unsent draft and
scroll position in the page's `sessionStorage`.

## Files

```text
.minimax-plugin/plugin.json Plugin manifest
package.json Mini App declaration
miniapp/miniapp.json Payload roots, Node entry, page route, agentAccess
miniapp/client/index.html The page served at /group
miniapp/client/styles.css Page styles
miniapp/client/app.js Page logic: polling, rendering, cards, member form
miniapp/node/server.mjs Node entry: start(context) → { dispose }
miniapp/node/miniapp-api.ts Type declarations for the runtime context; not loaded at runtime
icon.png Plugin icon
```

## License

[MIT](./LICENSE)
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# 工作群(`miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8`)

[English](./README.md) | 简体中文

MiniMax Code 里的聊天式工作群。你和多个 Agent 在同一个群里:@ 需要的成员,每个成员用自己的会话回复,成员可以在回复里 @ 其他成员接力。Agent 的工具审批和提问都以卡片形式出现在群里,不需要切到别的聊天。

## 安装

把整个目录(含隐藏的 `.minimax-plugin/`)复制到 MiniMax Code 的插件目录,目录名为
`miniapp-af37075b-6a0d-41c1-bc4e-8817be9656b8/`(默认 `~/.minimax/plugins/`,根 README 的安装一节说明了该目录的位置)。重启 MiniMax Code,然后让 Agent「打开工作群」。

## 使用

- 群内预置四位成员,分别绑定你已配置的 Agent:协调者(默认 Agent)、调研(Explore)、执行(Worker)、评审(Verifier)。可以随时添加、编辑或删除成员;成员可以绑定真实 Agent,也可以是带职责指令的自定义角色。
- 用 `@名称`(或输入框上方的胶囊)点名成员,被点名的成员回复;不点名时由协调者回复。成员在回复里 @ 其他成员时,被点名的成员会排在其后发言,最多接力 3 层、每条消息最多 6 次运行。
- 成员需要调用工具时,群里会出现审批卡,显示工具名、原因和参数;你选择「允许一次」或「拒绝」之前不会执行。成员向你提问时会出现问卷卡,提交后自动续跑。
- 每个成员保持自己的会话,会记得之前做过什么。「重置会话」让它从新会话开始,「在会话中查看」把该成员的会话在聊天侧栏打开。
- 「停止」取消某个成员正在进行的回合,「全部停止」取消所有排队和进行中的回合,「清空对话」删除聊天记录并重置所有会话。
- 成员、消息、审批和问题由 Node 服务持久化,重启或页面被回收后群会恢复;因重启中断的审批卡会显示为已失效,不会一直挂着。

## 测试环境

- MiniMax Code 3.1.19,Windows 11(x64)。从工作区包安装,通过 Agent 打开。客户端验收覆盖:初始视图与空状态、成员面板、添加成员 → 刷新后仍在 → 带确认框删除、发送消息 → 真实 Agent 回合完成并渲染、清空对话。控制台无错误,网络无失败请求。
- 未在真实回合中触发:工具审批卡、问卷卡、停止按钮、在侧栏打开成员会话。这些路径在模拟 Agent 运行时下验证过,点名接力、会话延续、成员校验和重启恢复也在其中。
- 本包有意使用旧的 `agentAccess` 与 `window.mcode.miniapp` 写法,以便在 3.1.20 之前的客户端上也能加载。声明了 `agentAccess` 与 `agentConcurrency`,最低客户端为 MiniMax Code 3.1.2。

## 数据与权限

- 文件:只读取自身的 `miniapp/client/*` 资源;在宿主提供的 `context.dataDir` 中写入一个 JSON 状态文件 `group-state.json`。
- 网络:除宿主分配的本地回环端口外不访问其他地址。
- 进程:不启动子进程。
- Agent 回合:会。`agentAccess: ["session.run"]` 让成员以该 Agent 的完整能力(文件、Shell、Skills、MCP)运行回合,同时最多 4 个。Node 发起的回合在本 Mini App 自己的 Agent 目录中工作;从某个聊天里打开的页面发起的回合使用该聊天的项目目录。
- 读取的会话:不读取你的任何自有会话,只使用本 Mini App 自己创建的会话。
- 调用的工具与连接器:不直接调用。Agent 可能调用自己的工具;每个 `permission.requested` 都会显示在页面上,只有你做出选择后才会以 `allowOnce` 或 `deny` 回应。
- 麦克风、摄像头、通知:不使用。
- 读取宿主导航:不使用。
- 处理的文件扩展名:无。
- 状态:成员、消息、审批和问卷存放在 `context.dataDir`;未发送的草稿和滚动位置存放在页面的 `sessionStorage`。

## 文件

```text
.minimax-plugin/plugin.json 插件清单
package.json Mini App 声明
miniapp/miniapp.json 载荷根目录、Node 入口、页面路由、agentAccess
miniapp/client/index.html /group 页面
miniapp/client/styles.css 页面样式
miniapp/client/app.js 页面逻辑:轮询、渲染、卡片、成员表单
miniapp/node/server.mjs Node 入口:start(context) → { dispose }
miniapp/node/miniapp-api.ts 运行时上下文的类型声明,运行时不会加载
icon.png 插件图标
```

## 许可

[MIT](./LICENSE)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading