Repository navigation
Releases: yyZe0122/YunmengZe-Agent
Release list
YunmengZe Agent v1.0.1
YunmengZe Agent v1.0.1
Stable release · 正式版
This release adds startup switches for optional capabilities, improves credential error reporting and fixes cancellation, session leases and preference expiry. It also includes the module review, removal of unused code, and updated English/Chinese READMEs and wiki pages.
本版增加可选能力的启动开关,改进凭据错误提示,修复取消、会话租约和偏好过期处理,并整理分模块 review、确定无用的代码及双语 README / Wiki。
Highlights
- Explicit optional capabilities. Skills, memory, child tasks, web, vision and MCP have independent startup switches, enabled by default. Disabled capabilities skip initialization and tool registration; disabling skills also skips discovery and expansion. Web child tasks follow the web switch. Existing data is preserved.
- Configuration and credential snapshots. Startup records resolved credentials and their errors together. The main model and enabled-capability dependencies must be available; an invalid optional model is reported as unavailable without blocking unrelated work. Provider adapters receive resolved keys directly.
ymz config validateand the TUI show availability information. - Clearer module boundaries. Optional capabilities have explicit Engine composition files. Frontends call application operations instead of accessing session or memory stores directly. Memory receives transcript evidence through an interface, providers no longer depend on tools, and web tools receive their own configuration values. Further architectural changes remain proposals in the review backlog.
- Cancellation and compaction fixes. Cancellation interrupts blocked MCP stdio exchanges and closes the affected connection. Manual compaction renews and releases the session lease, and a cancelled native-compaction request does not start a fallback request. Context packing accounts for image content when reclaiming older tool results while preserving the stored transcript.
- Preference expiry. Naturally expired preferences can be learned again from newer evidence. Explicit forgetting and existing archives continue to prevent automatic recovery; user corrections refresh the preference expiry.
- Focused cleanup and documentation. Remove unused configuration loaders, obsolete context splitting and memory write APIs, and redundant internal guards. Retain relevant business tests and adapt existing callers to current APIs. Align both READMEs, the wiki and contributor guidance with the implementation, retain copyable Scoop/Homebrew installation commands, and record outstanding review findings separately.
中文摘要
- 技能、记忆、子任务、网页、视觉和 MCP 可分别通过启动配置关闭,默认开启。关闭后不初始化或注册相关工具;关闭技能也不扫描、展开技能,关闭网页同时禁用 web 子任务。已有数据保留。
- 启动时同时快照凭据和解析错误,只要求主模型及已启用能力的依赖可用。其他无效模型会标为不可用,选择时明确报错;配置校验和 TUI 显示相应状态。
- 可选能力集中在 Engine 的独立装配文件中;前端通过应用操作访问会话与记忆,记忆通过接口读取对话证据,Provider 与工具解除反向依赖。进一步的架构调整仍保留为方案。
- 修复 MCP stdio 阻塞调用取消、手动压缩期间的租约续期,以及原生压缩取消后继续回退的问题;回收旧工具结果时计入图片,数据库继续保留完整对话。
- 自然过期的偏好可由更新证据重新学习,显式遗忘和已有归档仍阻止自动恢复;用户更正会更新过期时间。
- 清理确定无用的旧配置入口、上下文拆分算法、记忆写入接口及内部重复防御;保留相关业务测试,更新 README、Wiki、工程约定和未完成的 review 待办。
Upgrade from v1.0.0
No database migration is added or changed in v1.0.1. Existing configurations keep optional capabilities enabled unless explicitly disabled. The switches are chat.skills.enabled, chat.memory.enabled, chat.task.enabled, chat.web.enabled, chat.vision.enabled and mcp.enabled. chat.compaction.enabled controls automatic compaction only. Restart ymz after configuration or credential changes.
v1.0.1 没有新增或修改数据库迁移;原有配置默认继续启用可选能力。通过上述开关按需关闭能力,chat.compaction.enabled 仅控制自动压缩。配置或凭据修改后需要重启 ymz。
See the versioned configuration reference and module review backlog. The ten outstanding review findings are documented follow-up work, not fixes included in this release.
配置说明和分模块审核详见以上版本化文档;review 中的 10 项问题仍是待办,本版未宣称完成这些修复。
Assets
| Platform / 平台 | File / 文件 |
|---|---|
| Linux amd64 | ymz_1.0.1_linux_amd64.tar.gz |
| Linux arm64 | ymz_1.0.1_linux_arm64.tar.gz |
| macOS amd64 | ymz_1.0.1_darwin_amd64.tar.gz |
| macOS arm64 | ymz_1.0.1_darwin_arm64.tar.gz |
| Windows amd64 | ymz_1.0.1_windows_amd64.zip |
| Windows arm64 | ymz_1.0.1_windows_arm64.zip |
| SHA-256 checksums / 校验文件 | checksums.txt |
Archives contain ymz (ymz.exe on Windows), the license, both READMEs, configuration examples/schema and user installers. The release workflow also updates the Homebrew cask and Scoop manifest through the package-repository token. User installers resolve the latest stable release and verify SHA-256.
发布包包含程序、许可证、双语 README、配置示例与 Schema,以及用户安装脚本。发布工作流通过软件包仓库令牌更新 Homebrew Cask 和 Scoop 清单;用户安装器解析最新正式版并校验 SHA-256。
After package metadata is published, update with scoop update ymz or brew update && brew upgrade --cask ymz. See the versioned installation guide for initial installation and explicit version selection.
软件包元数据发布后,可用以上命令升级;首次安装及指定版本请参阅对应版本的安装指南。
YunmengZe Agent v1.0.0
YunmengZe Agent v1.0.0
Stable release · 正式版
YunmengZe Agent now runs as one local ymz process. The terminal UI and scripting CLI share the same engine and SQLite database, with two explicit modes: read-only plan and directly executing agent.
云梦泽 Agent 现在以单个本地 ymz 进程运行。终端界面和脚本命令直接使用同一引擎与 SQLite 数据库,仅保留只读的 plan 和直接执行的 agent 两种模式。
Highlights
- One executable and one database. Run
ymzto open the TUI orymz runfor scripts. Sessions, messages, compaction state and memory sharecore.db; no background daemon or HTTP Gateway is required. - Explicit execution modes. Plan enforces read-only access at tool execution and passes that restriction to child sessions. Agent uses the current OS account's access without an approval or grant service. Child sessions are leaves; at most two explicitly independent tasks run concurrently, with the parent integrating their results.
- Streaming and context management. OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and Google Gemini stream output while preserving protocol-specific reasoning and image content. Transient failures retry only before output begins. Token-based compaction also works inside long tool runs; optional Responses native compaction persists its replay window while retaining the original transcript.
- Focused tools and integrations. Skills, slash templates, TUI questions, web tools, images and MCP remain available. MCP stdio uses newline-delimited JSON with an 8 MiB message limit; connections are reused by session and server. File edits preserve BOM and newline style, tool output is bounded, and shell cancellation stops the process tree.
- Preference memory and stable configuration. Low-frequency curation extracts evidenced user preferences, supports correction and forgetting, and keeps old facts out of automatic injection. Provider configuration and secrets are captured together at startup; restart
ymzafter changes. Images use the current model when supported or an explicit vision role. - Simpler distribution. GitHub Actions builds and publishes six platform archives plus SHA-256 checksums through the shared release script. Windows has a PowerShell wrapper. Homebrew and Scoop updates use an optional dedicated token. Local configs, database sidecars and generated output are excluded from Git, and contributor commands include a lint action that does not run tests.
- Current documentation and UI fixes. Both READMEs and the wiki describe the current implementation. Restored TUI history includes saved thinking blocks, interrupted runs clear pending thinking, and new sessions refresh workspace skill suggestions. CLI arguments are validated before the engine opens the database.
中文摘要
- 单程序、单数据库:
ymz打开 TUI,ymz run用于脚本;会话、消息、压缩状态和记忆共用core.db,不再依赖后台 daemon 或 HTTP Gateway。 - 明确的执行模式: Plan 在工具执行入口落实只读限制,子会话继承该限制;Agent 使用当前系统账户权限直接执行。子会话不能继续创建子会话,最多并行运行两个明确独立的任务,由父会话整合结果。
- 流式输出与上下文压缩: 四种 Provider 协议支持流式输出,保留协议原生思考信息和图片内容;瞬时错误仅在尚未输出时重试。长时间工具循环也能按 token 压缩上下文,Responses 可选原生压缩并持久化回放窗口,数据库保留完整原始对话。
- 保留核心工具: 技能、斜杠模板、TUI 提问、网页、图片和 MCP 继续可用。MCP stdio 使用逐行 JSON,单条消息上限 8 MiB,按会话和服务器复用连接。文件编辑保留 BOM 和换行格式,工具输出有大小限制,取消 shell 会终止进程树。
- 偏好记忆与配置快照: 低频整理有证据支持的用户偏好,支持更正和遗忘;旧事实不自动注入。启动时一起快照 Provider 配置和密钥,修改后需要重启。图片使用具备能力的当前模型或显式配置的 vision 角色。
- 发版与文档: 一键命令推送分支和标签,由 Actions 构建上传;提供 Windows 包装脚本、六平台压缩包和校验文件。Homebrew/Scoop 更新使用可选专用令牌。补齐本地数据忽略规则、无测试的 lint 入口、双语 README 和当前 Wiki,并修复历史思考显示及启动参数校验。
Breaking changes and upgrade
- Stop all old processes and back up the entire configuration directory before starting v1.0.0. The default is
~/.yunmengzeon every OS, or the directory set byYMZ_HOME. Include any existingcore.db-walandcore.db-shmfiles, configuration, instructions and skills. - Migration 030 imports existing conversations and child history into the local session tables, retains memory and removes retired feature tables. Migrations 031 and 032 add preference evidence/curation state and native compaction storage. Released migrations 001–029 are unchanged. There is no downgrade migration; restore a backup with a compatible older program to roll back.
- Database-opening commands, including
ymz sessionsandymz db check, can apply migrations. Useymz config validateto check configuration without opening the database. - Update old configuration against the v1.0.0 configuration reference. Remove retired chat fields,
models.speechandmodelsPath; unknown fields fail validation. Optional model roles aresubagent,compact,web,visionandmemory. Unknown image capability requires an explicitsupportsImagesoverride or a vision model. - Replace
run --execution-modewithrun --mode plan|agent. Existing Auto sessions migrate to Agent, which executes directly with OS account access. Choose Plan explicitly when read-only behavior is needed.
Removed components include ymzd, the Gateway, both VS Code extensions, approval/grant services, scheduling, checkpoints/undo, todos, cross-session transcript search, skill maintenance/usage tracking, dedicated Git tools, provider hot reload, OpenCode import, speech/audio transcription and video/ffmpeg integration. Release assets contain only the ymz executable; there are no VSIX packages or Node dependencies.
中文升级说明
- 首次运行 v1.0.0 前,退出旧 daemon 及所有使用同一配置目录的进程,备份整个配置目录。 默认目录为
~/.yunmengze,也可由YMZ_HOME指定;备份应包含存在的数据库 WAL/SHM 文件、配置、规则和技能。 - 迁移 030 导入旧会话与子会话历史、保留记忆,并删除已移除功能的表;031、032 分别增加偏好证据/整理状态和原生压缩存储。已发布迁移 001–029 保持不变。没有降级迁移,需要回退时使用备份及与其兼容的旧程序。
ymz sessions、ymz db check等打开数据库的命令也可能触发迁移;仅检查配置请使用ymz config validate。- 按 v1.0.0 配置参考更新配置,移除过时的 chat 字段、
models.speech和modelsPath。未知字段会校验失败;配置或密钥修改后重启程序。 run --execution-mode改为run --mode plan|agent。旧 Auto 会话迁移为 Agent,会使用当前系统账户权限直接执行;需要只读行为时明确选择 Plan。
本版移除 ymzd、Gateway、两个 VS Code 扩展、审批和授权服务、定时任务、检查点/撤销、待办、跨会话全文检索、技能维护与使用统计、专用 Git 工具、Provider 热更新、OpenCode 导入及音频/视频处理。发布包只提供 ymz 可执行文件,不含 VSIX 或 Node 依赖。
Assets
| Platform / 平台 | File / 文件 |
|---|---|
| Linux amd64 | ymz_1.0.0_linux_amd64.tar.gz |
| Linux arm64 | ymz_1.0.0_linux_arm64.tar.gz |
| macOS amd64 | ymz_1.0.0_darwin_amd64.tar.gz |
| macOS arm64 | ymz_1.0.0_darwin_arm64.tar.gz |
| Windows amd64 | ymz_1.0.0_windows_amd64.zip |
| Windows arm64 | ymz_1.0.0_windows_arm64.zip |
| SHA-256 checksums / 校验文件 | checksums.txt |
Each archive contains ymz (or ymz.exe), the license, both READMEs, example configuration, its schema and user installers. Download the archive for your platform from this release and verify it against checksums.txt before use. Homebrew/Scoop availability depends on the optional package-repository publication step.
每个压缩包包含程序、许可证、双语 README、配置示例与 Schema,以及用户级安装脚本。下载对应平台文件并核对 checksums.txt 后使用;Homebrew/Scoop 是否更新取决于可选的软件包仓库发布步骤。
See the versioned installation guide, usage guide and database reference.