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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The MiniMax Code Agent communicates through the host MCP client. Business reques
| [Disk Insight](plugins/zch0227/disk-insight/) | See where disk space went on macOS and Windows with a sunburst space map, find junk files sorted into three safety tiers, large and duplicate files, and how much code repositories and Git worktrees take; ask an Agent about any item, and permanently delete what you select after a confirmation that lists every item. Requires MiniMax Code 3.1.2 or later | [zch0227](https://github.com/zch0227) |
| [A/时差保安 / Timezone Guard](plugins/liuchen19960902/timezone-guard/) | Check the other side's local time before you message: the target city's clock turns into a green "now is fine", yellow "keep it short", or red "go to sleep" verdict. Requires MiniMax Code 3.1.2 or later | [FineCat](https://github.com/LiuChen19960902) |
| [AI Node Canvas](plugins/antianqi/ai-node-canvas/) | An infinite-canvas node graph for MiniMax Code: wire text, image, video and audio runs into a graph, let each result flow downstream, cut a clip on a timeline, split a soundtrack off a video, and run media tools on any result | [antianqi](https://github.com/antianqi) |
| [MiniMax Bot Team](plugins/antianqi/minimax-bot-team/) | Today's bot is one person wearing several masks, taking turns with you. MiniMax Bot Team gives you a team instead: members with different skills and temperaments, each guarding one field, and they can argue about the same question from different angles | [antianqi](https://github.com/antianqi) |
| [An-bot-team](plugins/antianqi/an-bot-team/) | Today's bot is one person wearing several masks, taking turns with you. An-bot-team gives you a team instead: members with different skills and temperaments, each guarding one field, and they can argue about the same question from different angles | [antianqi](https://github.com/antianqi) |
| [Agent Flow](plugins/huixin615/agent-flow/) | Import this plugin's Hook event file to inspect native task calls and sub-agent lifecycles, with exact task-to-child links when IDs are available. Choose a recorded chat or the latest imported record; no Host session files are opened. Requires MiniMax Code 3.1.4 or later | [Huixin615](https://github.com/Huixin615) |
| [蹬王之王 · Expiry Guardian](plugins/hylouis233/expiry-guardian/) | Track credit and reset-card expiry from a local ledger you maintain, and get a "spend the card or let the credits burn first" recommendation with the reasoning spelled out | [Hylouis](https://github.com/Hylouis233) |
| [MiniMax Pet](plugins/minimax-ai/minimax-pet/) | A lightweight companion with appearance, task and settings tabs, visible-session activity, answer-needed reminders, Markdown-rendered replies, a one-click jump to a task's conversation (3.1.11 or later) and a transparent desktop pet. Requires MiniMax Code 3.1.6 or later | [MiniMax](https://github.com/MiniMax-AI) |
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ MiniMax Code Agent 通过宿主 MCP 客户端与 MiniApp 协作。业务请求
| [磁盘透视](plugins/zch0227/disk-insight/README.zh-CN.md) | 查看 macOS 和 Windows 的磁盘空间去向:旭日图空间地图,按三档风险分类的垃圾文件,大文件和重复文件,代码仓库和 Git worktree 的占用;任何条目都可以问 Agent,选中的条目在确认框里逐一列出,确认后直接永久删除。需要 MiniMax Code 3.1.2 或更高版本 | [zch0227](https://github.com/zch0227) |
| [A/时差保安](plugins/liuchen19960902/timezone-guard/README.zh-CN.md) | 发消息前先看对方那边几点:按对方城市当地时间给出「现在可以聊 / 短聊就好 / 先睡,别发」三档判定。需要 MiniMax Code 3.1.2 或更高版本 | [FineCat](https://github.com/LiuChen19960902) |
| [AI 节点画布](plugins/antianqi/ai-node-canvas/README.zh-CN.md) | MiniMax Code 里的无限画布节点图:把文本、图片、视频、音频的生成接成一张图,结果顺着连线往下传;能在时间轴上剪片段、把视频里的声音分离出来,任何一张结果都能直接做二次处理 | [antianqi](https://github.com/antianqi) |
| [MiniMax Bot 团队](plugins/antianqi/minimax-bot-team/) | 现在的 bot 像一个人轮流带着几个面具跟你聊天;MiniMax Bot Team 给你一支真正各有能力、各有性格的团队,还能围坐一起从不同角度讨论同一个问题 | [antianqi](https://github.com/antianqi) |
| [An-bot-team 团队](plugins/antianqi/an-bot-team/) | 现在的 bot 像一个人轮流带着几个面具跟你聊天;An-bot-team 给你一支真正各有能力、各有性格的团队,还能围坐一起从不同角度讨论同一个问题 | [antianqi](https://github.com/antianqi) |
| [Agent 协作透视](plugins/huixin615/agent-flow/README.zh-CN.md) | 手动导入插件 Hook 记录,查看原生 task 调用与子 Agent 运行区间;有明确 ID 时关联父子任务。可选择记录会话或一键查看最近导入的记录,不读取宿主会话文件。需要 MiniMax Code 3.1.4 或更高版本 | [Huixin615](https://github.com/Huixin615) |
| [蹬王之王](plugins/hylouis233/expiry-guardian/README.md) | 看你自己维护的本地账本,算出「该用卡还是该留积分」,并把理由说清楚 | [Hylouis](https://github.com/Hylouis233) |
| [MiniMax Pet](plugins/minimax-ai/minimax-pet/README.zh-CN.md) | 提供外观/任务/设置、可见会话状态、需要回答提醒、按 Markdown 渲染的回复、一键打开任务对话(3.1.11 起)和透明桌宠;需要 MiniMax Code 3.1.6 或更高版本 | [MiniMax](https://github.com/MiniMax-AI) |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"schemaVersion": 1,
"name": "minimax-bot-team",
"displayName": "MiniMax Bot Team / MiniMax Bot 团队",
"version": "1.0.1",
"description": "现在的 bot 像一个人轮流带着几个面具跟你聊天。MiniMax Bot Team 给你的是一支真正各有能力、各有性格的团队,各自守着一个领域,也能围坐一起,从不同角度讨论同一个问题。 / Today's bot is one person wearing several masks, taking turns with you. MiniMax Bot Team gives you a team instead: members with different skills and different temperaments, each guarding one field, and they can sit down together and argue about the same question from different angles.",
"name": "an-bot-team",
"displayName": "An-bot-team / An Bot 团队",
"version": "1.1.0",
"description": "现在的 bot 像一个人轮流带着几个面具跟你聊天。An-bot-team 给你的是一支真正各有能力、各有性格的团队,各自守着一个领域,也能围坐一起,从不同角度讨论同一个问题。 / Today's bot is one person wearing several masks, taking turns with you. An-bot-team gives you a team instead: members with different skills and different temperaments, each guarding one field, and they can sit down together and argue about the same question from different angles.",
"author": "antianqi",
"icon": "icon.png",
"category": "Productivity",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# MiniMax Bot Team
# An-bot-team

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

Today's bot is one person wearing several masks, taking turns with you. MiniMax
Bot Team gives you a team instead: members with different skills and different
Today's bot is one person wearing several masks, taking turns with you. An-bot-team gives you a team instead: members with different skills and different
temperaments, each guarding one field, and they can sit down together and argue about the
same question from different angles.

Author: [antianqi](https://github.com/antianqi) - Version: `1.0.1`
Author: [antianqi](https://github.com/antianqi) - Version: `1.1.0`

## What it does

Expand Down Expand Up @@ -44,19 +43,19 @@ Author: [antianqi](https://github.com/antianqi) - Version: `1.0.1`
git clone https://github.com/MiniMax-AI/MiniMax-Code-MiniApps.git
```

2. Copy the whole directory `plugins/antianqi/minimax-bot-team/`, **including the hidden
`.minimax-plugin` directory**, into `<dataDir>/plugins/minimax-bot-team/`. By default
2. Copy the whole directory `plugins/antianqi/an-bot-team/`, **including the hidden
`.minimax-plugin` directory**, into `<dataDir>/plugins/an-bot-team/`. By default
`<dataDir>` is `~/.minimax`, so the plugin goes to
`~/.minimax/plugins/minimax-bot-team/`. The author directory only groups the
`~/.minimax/plugins/an-bot-team/`. The author directory only groups the
contributions in this repository - do not copy it into `plugins/`.

From MiniMax Code 3.1.11 you can import the package instead of copying it: on the
Plugins page choose **Create**, then **Import from a Git repository** under Mini App,
and paste
`https://github.com/MiniMax-AI/MiniMax-Code-MiniApps/tree/main/plugins/antianqi/minimax-bot-team`.
`https://github.com/MiniMax-AI/MiniMax-Code-MiniApps/tree/main/plugins/antianqi/an-bot-team`.

3. Restart MiniMax Code, confirm that the plugin is recognized and enabled, and open the
panel. Ask the Agent to open "MiniMax Bot", or use the plugin entry in the plugin list.
panel. Ask the Agent to open "An-bot-team", or use the plugin entry in the plugin list.

Nothing has to be configured: no API key, no account, no service to sign up for. The Bots
run on the models the Host already uses.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# MiniMax Bot 团队
# An-bot-team 团队

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

现在的 bot 像一个人轮流带着几个面具跟你聊天。MiniMax Bot Team 给你的是一支真正各有
现在的 bot 像一个人轮流带着几个面具跟你聊天。An-bot-team 给你的是一支真正各有
能力、各有性格的团队,各自守着一个领域,也能围坐一起,从不同角度讨论同一个问题。

作者:[antianqi](https://github.com/antianqi) - 版本:`1.0.1`
作者:[antianqi](https://github.com/antianqi) - 版本:`1.1.0`

## 它做什么

Expand Down Expand Up @@ -35,16 +35,16 @@
git clone https://github.com/MiniMax-AI/MiniMax-Code-MiniApps.git
```

2. 把整个目录 `plugins/antianqi/minimax-bot-team/`(**包含隐藏的 `.minimax-plugin` 目录**)
复制到 `<dataDir>/plugins/minimax-bot-team/`。默认 `<dataDir>` 是 `~/.minimax`,所以装到
`~/.minimax/plugins/minimax-bot-team/`。作者目录只是本仓库里的分组,别把它一起复制进
2. 把整个目录 `plugins/antianqi/an-bot-team/`(**包含隐藏的 `.minimax-plugin` 目录**)
复制到 `<dataDir>/plugins/an-bot-team/`。默认 `<dataDir>` 是 `~/.minimax`,所以装到
`~/.minimax/plugins/an-bot-team/`。作者目录只是本仓库里的分组,别把它一起复制进
`plugins/`。

MiniMax Code 3.1.11 起可以直接导入:在插件页选 **Create**,Mini App 下选 **Import from a Git
repository**,粘贴
`https://github.com/MiniMax-AI/MiniMax-Code-MiniApps/tree/main/plugins/antianqi/minimax-bot-team`。
`https://github.com/MiniMax-AI/MiniMax-Code-MiniApps/tree/main/plugins/antianqi/an-bot-team`。

3. 重启 MiniMax Code,确认插件被识别并启用,然后打开面板。让 Agent 打开「MiniMax Bot」,或在
3. 重启 MiniMax Code,确认插件被识别并启用,然后打开面板。让 Agent 打开「An-bot-team」,或在
插件列表里点开它。

不需要配置任何东西:没有 API key,没有账号,没有要注册的服务。Bot 跑在宿主已经在用的模型上。
Expand Down
Binary file added plugins/antianqi/an-bot-team/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* MiniMax Bot — visual language follows DS Bot's team surface, adapted to MiniMax Code. */
/* An-bot-team — visual language follows DS Bot's team surface, adapted to MiniMax Code. */
:root,
[data-theme='light'] {
--bg: #fcfcfc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const TOOL_PHRASES = [
[/image|video|audio|music|speech/i, 'tool.media'],
];
const baseToolName = (name) => String(name ?? '').replace(/^mcp__.*?__/, '');
const isTeamTool = (name) => String(name).includes('minimax-bot-pro') || TEAM_TOOLS.has(baseToolName(name));
const isTeamTool = (name) => String(name).includes('an-bot-team') || TEAM_TOOLS.has(baseToolName(name));
/** What a tool call does, in words; `bare` drops the "use" wrapper for unknown tools. */
const toolPhrase = (name, bare = false) => {
const key = TOOL_PHRASES.find(([re]) => /** @type {RegExp} */ (re).test(baseToolName(name)))?.[1];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-check
// Shared state, API, icons and helpers for the MiniMax Bot client.
// Shared state, API, icons and helpers for the An-bot-team client.
import { PALETTES, botMark, groupMark, inkOf } from './octopus.js';
import { localeTag, setLocale, systemLocale, t } from './i18n.js';

Expand All @@ -8,7 +8,7 @@ export { t };
/** @typedef {import('./client-api.js').McodeClientAPI} McodeClientAPI */

// ------------------------------------------------------------------ prefs (view preferences only)
const PREF_KEY = 'minimax-bot-pro.prefs.v1';
const PREF_KEY = 'an-bot-team.prefs.v1';
export const prefs = (() => {
const base = { theme: 'system', accent: 'ocean', motion: 'normal', lastRead: {}, lastChat: '' };
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MiniMax Bot</title>
<title>An-bot-team</title>
<link rel="stylesheet" href="/bot/app.css" />
</head>
<body>
Expand All @@ -17,7 +17,7 @@
<header class="side-top">
<div class="brand">
<span id="brand-mark"></span>
<h1>MiniMax Bot</h1>
<h1>An-bot-team</h1>
</div>
<button type="button" class="round search" id="search-btn" aria-label="搜索" title="搜索(⌘K)" data-i18n-label="side.search" data-i18n-title="side.searchTitle">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="6.5" /><path d="M20 20l-4.2-4.2" /></svg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default {
'side.empty.direct': '还没有单聊',
'main.loading': '正在加载…',
'main.noBots': '还没有 Bot',
'boot.failed': '无法连接 MiniMax Bot 服务:{error}',
'boot.failed': '无法连接 An-bot-team 服务:{error}',
'boot.noAgent': '当前 MiniMax Code 版本不支持 Mini App 运行 Agent,Bot 暂时无法回复',
'pill.detailsLabel': '{name},查看详情',
// feed
Expand Down Expand Up @@ -353,7 +353,7 @@ export default {
'side.empty.direct': 'No direct chats yet',
'main.loading': 'Loading…',
'main.noBots': 'No Bots yet',
'boot.failed': "Couldn't connect to the MiniMax Bot service: {error}",
'boot.failed': "Couldn't connect to the An-bot-team service: {error}",
'boot.noAgent': "This version of MiniMax Code can't run Agents for Mini Apps, so Bots can't reply right now",
'pill.detailsLabel': '{name}, view details',
'connection.connecting': 'Connecting to the service…',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export default {
'panels.schedule.interval': '每隔一段时间',
'panels.schedule.time': '时间',
'panels.schedule.intervalMinutes': '间隔(分钟)',
'panels.schedule.hint': 'MiniMax Bot 服务运行时会触发;结果会出现在那个 Bot 的私聊里。',
'panels.schedule.hint': 'An-bot-team 服务运行时会触发;结果会出现在那个 Bot 的私聊里。',
'panels.schedule.added': '已添加定时任务',
'panels.schedule.neverRun': '还没运行',
'panels.schedule.pause': '暂停',
Expand Down Expand Up @@ -659,7 +659,7 @@ export default {
'panels.schedule.interval': 'At an interval',
'panels.schedule.time': 'Time',
'panels.schedule.intervalMinutes': 'Interval (minutes)',
'panels.schedule.hint': "Runs while the MiniMax Bot service is running; results show up in that Bot's direct chat.",
'panels.schedule.hint': "Runs while the An-bot-team service is running; results show up in that Bot's direct chat.",
'panels.schedule.added': 'Scheduled task added',
'panels.schedule.neverRun': 'Not run yet',
'panels.schedule.pause': 'Pause',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"minHeight": 480
}
},
"mcpEndpoints": [{ "server": "minimax-bot-team", "path": "/mcp/minimax-bot-team" }],
"mcpEndpoints": [{ "server": "an-bot-team", "path": "/mcp/an-bot-team" }],
"agentAccess": ["session.run"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { join } from 'node:path';
import { renameWithRetry } from './fs-retry.mjs';

/** The protocol marks the agent block opens and closes with. */
export const AGENT_BLOCK_MARK = '<minimax-bot-agent>';
export const AGENT_BLOCK_END = '</minimax-bot-agent>';
export const AGENT_BLOCK_MARK = '<an-bot-team-agent>';
export const AGENT_BLOCK_END = '</an-bot-team-agent>';

/** The files a Bot usually owns. Any other safe `.md` name is accepted as well. */
export const AGENT_FILES = Object.freeze(['AGENTS.md', 'IDENTITY.md', 'SOUL.md', 'USER.md', 'ENV.md']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function slotLane(kind) {

/** True for the plugin's own MCP tools, whose calls the plugin can refuse with a reason. */
function isPluginTool(name) {
return String(name ?? '').startsWith('mcp__minimax-bot-pro__');
return String(name ?? '').startsWith('mcp__an-bot-team__');
}
const GROUP_CONTEXT_MESSAGES = 30;
/** A group message shorter than this is a remark, not a hand-over worth a brief. */
Expand Down Expand Up @@ -1135,7 +1135,7 @@ export class Engine {
resolveToolTurn(botId, toolName) {
if (!botId) return undefined;
const turns = [...this.running.values()].filter((turn) => turn.botId === botId && this.isActiveTurn(turn));
const full = `mcp__minimax-bot-pro__${toolName}`;
const full = `mcp__an-bot-team__${toolName}`;
const matched = turns.filter((turn) => (turn.toolStarts ?? []).some((item) => item.name === toolName || item.name === full));
if (matched.length) {
// The Host starts the call it is about to make: the latest observation is the right turn.
Expand Down Expand Up @@ -1266,7 +1266,7 @@ export class Engine {
}

bindToolPart(turn, name) {
const candidates = turn?.message.parts.filter((part) => part.type === 'tool' && part.state === 'running' && part.name === `mcp__minimax-bot-pro__${name}`) ?? [];
const candidates = turn?.message.parts.filter((part) => part.type === 'tool' && part.state === 'running' && part.name === `mcp__an-bot-team__${name}`) ?? [];
return candidates.length === 1 ? candidates[0] : undefined;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import { t } from './i18n.mjs';
* Both marks are listed in the forged-marks list of `relay-guard.mjs`, so a reply that writes
* them into its own text cannot open a block of its own in another Bot's prompt.
*/
export const GROUP_NOTE_MARK = '<minimax-bot-group-summary>';
export const GROUP_NOTE_MARK = '<an-bot-team-group-summary>';
/** Closes the block that carries the group's note. */
export const GROUP_NOTE_END = '</minimax-bot-group-summary>';
export const GROUP_NOTE_END = '</an-bot-team-group-summary>';
/** How many entries the note keeps. The newest ones win. */
export const NOTE_MAX_ENTRIES = 6;
/** How many characters the whole note may take. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export async function setBridgeHelper({ dataDir, pluginRoot, enabled }) {
await writeFile(join(dir, name), source, 'utf8');
}
const helper = [
'// Generated by the MiniMax Bot plugin. Do not edit: it is rewritten on every start.',
'// Generated by the An-bot-team plugin. Do not edit: it is rewritten on every start.',
"const mod = await import('./host-memory.mjs');",
"const query = process.argv.slice(2).join(' ');",
"const result = await mod.searchHostMemory(query);",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

/** The plugin id: the MCP server name and the endpoint path. */
export const PLUGIN_ID = 'minimax-bot-team';
export const PLUGIN_ID = 'an-bot-team';

/** The version the Host and the MCP tools report. */
export const PLUGIN_VERSION = '1.0.1';
export const PLUGIN_VERSION = '1.1.0';
Loading
Loading