v2.2.0
新增New
- 通道整合 — Lark 与飞书统一在同一通道引擎下,支持媒体状态清理、任务批处理语义以及按工作区隔离的聊天写入。Channel unification — Lark and Feishu consolidated under one channel engine with media-state cleanup, task-batching semantics, and workspace-scoped chat writes.
- 守护进程身份与新运行时 — 运行时注册支持 profile tag,守护进程按 profile 区分身份,并新增
pi-coding-agent提供商。Daemon identity & new runtime — profile-tagged runtime registration, per-profile daemon identity, and a newpi-coding-agentprovider. - 工作区管理 — 批量邀请并附带技能、运行时可见的资源授权、支持分页与刷新授权的角色,以及新增的资源授权模型。Workspace management — batch invites that include skills, visible resource grants on runtimes, paginated roles with refresh grants, and a new resource-grant model.
- RBAC 资源授权 — 成员可自助管理智能体访问,智能体生命周期操作按工作区隔离。RBAC resource grants — self-managed agent access for members and lifecycle operations gated by workspace scope.
- 工单与元数据 — 元数据 CRUD 走 service 层并配套选择器 UI,新增评论 Enter 键行为偏好、工单列表搜索过滤器,
my-tickets范围过滤下推到后端。Tickets & metadata — metadata CRUD via the service layer with a picker UI, comment Enter-key behavior preference, ticket list search filter, andmy-ticketsscope filtering pushed to the backend. - CLI 增强 — 新增
skill list查询参数;工单命令支持--project-id别名;智能体与团队创建命令支持--description-stdin与--description-file。CLI surface —skill listquery flags, ticket list search filter,--project-idalias on ticket commands,--description-stdinand--description-fileon agent and team create. - 个人偏好设置 — 个人偏好、通知设置、键盘快捷键录制与编辑器显示模式偏好。Profile & preferences — personal preferences, notification settings, keyboard shortcut recording, and editor display-mode preferences.
- 任务清单 — 智能体任务新增随任务运行的本地 checklist。Agent-task checklist — per-task run-local checklist surfaced to CLI sessions.
- License CLI —
mopheus-license新增模板预设。License CLI — template presets available inmopheus-license.
改进Improved
- 编辑器行为 — Enter 与 Mod-Enter 互补处理;检测快捷键冲突;
/add comment风格在提示词中统一。Editor behavior — Enter / Mod-Enter complementary handling, shortcuts conflict detection, and/add commentstyle unified across prompts. - 蒸馏流程 — 记忆更新支持重新蒸馏的选择信号;去重逻辑与
mopheus memory子命令对齐。Distillation — redistillation choices signal for memory refinement; dedup logic aligned withmopheus memorysubcommand. - 激活与注册 — 运行时注册时保留激活状态;新智能体默认 normal 角色。Activation & registration — runtime activation preserved on register; new agents default to the normal role.
- 国际化 — 工作区设置页各 Tab 完成翻译;新增记忆角色范围标签。i18n — workspace settings tabs translated; memory role scope label added.
- 守护进程运行时 — 每次智能体任务运行后清理任务级技能。Hermes channel — per-task skills cleared between agent-task runs.
- Codex 沙箱 — macOS 沙箱与 Linux 行为对齐。Codex sandbox — macOS sandbox aligned with the Linux behavior.
- 通道安装流程 — 接受邀请后刷新工作区列表;删除时清理媒体状态。Channel install flows — workspaces refresh after invitation acceptance; media state cleaned on deletion.
- 输出示例 — slim 提示词的 repo 命令样例与现行 CLI 参数对齐;新增按提供商的 task tracking 说明。Output guidance — slim repo command examples aligned with current CLI flags; provider-specific task tracking guidance added.
修复Fixed
- 跨工作区加固 — 关闭团队 CRUD、成员加入、智能体生命周期、jobs/triggers/runs、运行时、收件箱操作、技能 CRUD、附件、工单 pin、标签、团队负责人、聊天写入、Lark 安装绑定以及 License 配额检查中残留的跨工作区泄漏。Cross-workspace hardening — closing leaks in team CRUD, member onboarding, agent lifecycles, jobs/triggers/runs, runtimes, inbox operations, skill CRUD, attachments, ticket pins, labels, team leaders, chat writes, Lark installation/binding, and license quota checks.
- 品牌重命名 —
moclaw → mopheus,覆盖 CLI、脚本、文档与各包。Brand rename —moclaw → mopheusacross CLI, scripts, docs, and packages. - 标签操作类型重命名 —
TicketLableOperationParams → TicketLabelOperationParams。Label operation type rename —TicketLableOperationParams → TicketLabelOperationParams. - 鉴权 — 明确当前密码要求;JWT 过期单独报告;集中用户错误码。Auth — current-password requirement clarified; expired JWT sessions report a distinct error; user error codes centralized.
- 守护进程 — 先前工作目录失效时优雅处理;运行时被禁用时允许负责人心跳;心跳回收限定为快照长度。Daemon — graceful handling when the prior working directory is unavailable; allow owner heartbeats when the runtime is disabled; bound heartbeat drain to snapshot length.
- 工作区 — 仅负责人可删除;接受重命名前的 License 代码;配置变更后刷新工作区数据。Workspace — enforce owner-only deletion; accept pre-rename license codes; refresh workspace data on config changes.
- 迁移与安装升级 — 跨升级保留已有表数据与自定义系统配置;避免重复注入已迁移的环境变量;强化重命名后的升级脚本。Migration & install upgrades — preserve existing table data and custom system config across upgrades; avoid duplicating migrated environment keys; harden renamed upgrade scripts.
- 技能 — 技能列表分页;统一脚本文件权限;恢复导入编排。Skills — paginated skills list, normalized script file permissions, renewal of import orchestration.
- 智能体 — 监听 kimi 缺会话日志并自动重试 resume;配置 ACP 非交互权限;运行时离线时任务进入队列;将 Codex 计划更新作为工具事件上报。Agent — detect kimi missing sessions from stderr and retry resume; configure ACP unattended permissions; queue agent tasks when the runtime is offline; surface Codex plan updates as tool events.
- 通知 — 当前聚焦窗口时抑制横幅;允许前台通知测试。Notifications — suppress banners while focused; foreground tests allowed.
- 编辑器 — 限制大附件预览;长评论导航、聊天消息复制按钮、按结构化 ID 路由群体 @ 提及。Editor — limit large attachment previews; long-comment navigation, chat copy button, group mention routing by structured ids.
- 收件箱 — 合并工单已读与归档操作;单项操作按工作区与收件人隔离。Inbox — group ticket read and archive actions; scope single-item operations by workspace and recipient.
- 通道 — 保留侧边栏聊天入口;删除时清理媒体状态。Hermes channel — keep the sidebar chat available; clean media state on deletion.
- 后端 — 运行时被禁用但负责人在线时允许心跳与注册;守护进程解决 claim 的工作区;为 JOIN 查询补全列限定。Backend — allow heartbeat and registration for disabled runtimes when the owner is active; resolve daemon claim workspace; qualify joined SQL column references.
