feat: add minimax m3 backend profile
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
- 第一版只做 RESTful API、CLI 和轻量轮询,不做 Event System、OA Event Flow、OA sink、GitHub sink、notification sink 或 integrations 表。
|
||||
- Queue 和 Session 分层:Queue 查询返回 `sessionPath`;输出、trace、debug 和会话控制统一转到 Session API/CLI。
|
||||
- Queue 列表、统计、已读状态和 commander 视图必须直接查询 Queue summary/stats/read 模型,不从 Core execution trace 或 Session trace 反推。
|
||||
- 废弃 MiniMax 和 OpenCode 支持。第一版只保留 Codex/Codex-compatible backend profile,例如现有 `codex` 与 `deepseek` profile。
|
||||
- 废弃旧 MiniMax/OpenCode 直连支持。第一版只保留 Codex/Codex-compatible backend profile,例如现有 `codex`、`deepseek` 与 `minimax-m3` profile。
|
||||
- 不吸收 UniDesk 环境提示。执行上下文必须显式来自 workspace/resource/profile/tool/SecretRef 等 AgentRun 合同,不能继承旧 Code Queue 的隐式 env hint。
|
||||
|
||||
## 职责边界
|
||||
@@ -121,7 +121,7 @@ Queue 首版新增或扩展的稳定表方向:
|
||||
| attempt | `agentrun_queue_attempts` + Core run/command/runner job | attempt 引用真实执行资源 | 旧 attempt 输出结构 |
|
||||
| `processQueue` / `runTask` | AgentRun Scheduler | 由 Scheduler 扫描 pending task/attempt 并创建 runner job | UniDesk Code Queue scheduler |
|
||||
| `runCodexTurn` | Codex app-server stdio backend | 复用协议和 failure 分类经验 | 环境专用路径和明文凭据 |
|
||||
| MiniMax/OpenCode 执行 | 无 | 废弃 | fallback、兼容配置、judge backend |
|
||||
| 旧 MiniMax/OpenCode 直连执行 | 无 | 废弃 | fallback、兼容配置、judge backend |
|
||||
| activeRuns / active slot | Scheduler capacity 和 lease | 合并进 AgentRun 调度/lease 模型 | 旧内存状态 authority |
|
||||
| judge | `agentrun_queue_judge_runs` | 使用 Codex-compatible judge profile 或规则 judge | MiniMax judge |
|
||||
| prompt history / steer / resume / cancel | Queue audit + Session/Core control | Queue 记录任务级控制意图,执行细节走 Session/Core | 直接向旧 runner 写进程状态 |
|
||||
@@ -165,7 +165,7 @@ Queue Q2 的真实手动验收必须覆盖以下稳定边界:
|
||||
- `queue show` 返回 `sessionPath`;输出、trace 和会话控制只能通过 Session API/CLI 完成。
|
||||
- Queue overview、stats、read cursor 和 commander 视图来自 Queue summary/stats/read 表或等价 Queue 查询,不读取 Core trace 反推。
|
||||
- 不存在 OA/Event/OA sink/GitHub/notification/integrations 首版表和首版必需流程。
|
||||
- MiniMax/OpenCode 相关入口、配置、fallback 和 judge 路线不作为 AgentRun Queue 首版能力。
|
||||
- 旧 MiniMax/OpenCode 直连入口、配置、fallback 和 judge 路线不作为 AgentRun Queue 首版能力;MiniMax-M3 只能作为 Codex-compatible `minimax-m3` profile 使用。
|
||||
- 旧 UniDesk Code Queue 不接收新任务;历史数据不迁移到 AgentRun。
|
||||
- CLI、API、日志、summary、trace 和 Session 输出不泄露 Secret value、token、DSN password 或 URL credential。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user