Repository navigation
0.7.2
中文
新增功能
- 模型连接引导与快速开聊:重构「主机设置 → 模型连接」(原「模型服务商」),首页「配置模型」直达,提供 OpenAI、Anthropic、DeepSeek、Cursor、Kimi 与 GLM「快速连接」,支持按品牌或模型名搜索「服务商目录」以及通过「其他网关」添加自定义端点(默认以主机名命名,发现失败时可手动填写模型与 API 格式)。SDK 主机可在设置中直接保存内置服务商的 API Key 并刷新目录;在已连接的服务商卡片中选择模型与项目后,点击「开始对话」即可打开新草稿。
- 只读「对话」工作流:工作流新增「对话」(Chat)模式,将可用工具限制为只读文件检查(
read、glob、grep)并关闭插件提示词注入,适合纯问答与代码阅读;切换回其他工作流后恢复完整工具集。 - 历史记录按项目分组与可搜索的会话导入:「历史」页新增「按时间」与「按项目」视图切换,支持按主机筛选、单主机离线单独提示以及多选批量归档或删除;「导入会话」支持按标题、摘要预览、项目路径和服务商名称组合关键词即时搜索,点击「刷新」可重新扫描。
- 文件树实时监听刷新:打开「文件」面板时,支持目录监听的主机会自动同步来自终端、其他编辑器与代理的文件变更(包括非 Git 项目和新建空文件夹),仅重读受影响的已展开目录,收起目录在重新展开时读取最新内容。
- 侧边栏项目文件夹图标与全部标记已读:侧边栏项目行改用文件夹图标直接展示展开/折叠状态;按状态分组时,右键「已完成」可选择「全部标记已读」,将当前筛选范围内「待审阅」对话批量移至「已完成」(不影响失败对话和权限请求)。
修复与优化
- 插件设备信任与跨窗口同步:Desktop 改为由主进程串行读写
plugin-client-trust.json并向其他主窗口广播变更,不再依赖 mini-electron 缺失的浏览器navigator.locks,修复 Windows 等环境下报Secure browser storage locking is unavailable及 daemon 插件侧边栏无法加载的问题(#147);广播时跳过未加载完成、已分离或已销毁的主窗口,避免阻塞其他窗口同步撤销。 - 插件页面主机切换布局:插件页面仅有一个可用主机时改为在顶栏显示主机标签,多个主机时改用分段控件切换。
- Agent 创建 worktree 的项目归属与隐藏空 worktree:代理会话通过
create_workspace创建 worktree 时默认归属调用方所在项目(即使仓库嵌套在非 Git 项目中),并支持通过projectId或separateProject: true显式指定归属;未开始对话的 worktree 在侧边栏菜单提供「从侧边栏隐藏」,仅归档工作区记录而不删除磁盘上的 Git worktree、分支和文件(#146)。 - Codex 与多服务商模型目录:同步上游模型目录与兼容规则;在 Node SDK 上持续保持 Codex 目录保护、中止超时的发现请求且不再回退到通用 ChatGPT 模型列表,同时重置此前受污染的
openai-codex缓存。 - Cursor 配额查询与会话稳定性:改进 Cursor 凭据只读发现(支持环境变量、
agent.db多账号、可读state.vscdb与~/.config/cursor/auth.json,跳过加密的cursor-safe-载荷且不触发钥匙串弹窗或写入数据库),优先使用/api/usage-summary并按需回退,缺失可用凭据时显示空态引导;手动「刷新」配额绕过前后端 5 分钟缓存,登录/登出或配置变更时自动失效缓存。恢复前先压缩 Cursor 工具调用轮次,并将较大的 Cursor 服务端历史外置为按需加载的 Blob,避免超大冷历史条目反复解码抖动。 - 历史缺失图片容错:历史记录中缺失图片文件时仅将对应图片替换为不可用提示,保留文本、工具结果与正常图片,不再阻塞历史加载或后续提问。
- 新建对话斜杠命令与子代理创建:修复新建对话草稿未加载原生斜杠命令与项目技能的问题;修复调用
create_agent创建子代理时工具意图元数据传递异常,并支持通过provider: "omp/<model-id>"为单个子代理指定模型。 - 应用内自动更新与 Windows 原生模块升级:修正应用内自动更新源为
iris-cat-dev/omp;Windows 原生插件缓存改按 SDK 版本、变体与二进制内容哈希区分,升级同版本号重编产物时不再误用旧缓存,并允许沙箱客户端保留自定义会话名称。 - 可选 QQ 插件设置界面重构:QQ 插件设置页拆分为模型、账号、访问、沙箱与高级标签页,并适配主题配色与主机模型选择(插件不随应用预装,需单独更新)。
功能调整
- 「增强」工作流重试方式变更:「标准」与「增强」工作流在遇到临时模型请求故障时均改用 OMP 原生重试策略,在当前回合内显示重试状态,不再等待 5 秒后自动发送「继续」用户消息;点击「停止」可取消正在进行的重试。输出达到长度上限时的自动续写保持不变。
- 远程主机 SDK 版本要求:远程后端部署固定使用
sdk-v18.14.0-desktop-core.3(包含内容搜索、会话批注接口以及 Cursor/Shell 移植修复);已有远程主机需通过常规主机更新并重建已加载的 SDK 会话以生效。
English
New features
- Model connections onboarding and quick chat: Reworked Host Settings → Model connections (previously Providers), reachable directly from Configure models on the home screen. Added Quick connect for OpenAI, Anthropic, DeepSeek, Cursor, Kimi, and GLM, brand/model search in the Provider directory, and Other gateways for custom endpoints (defaulting to the hostname, with manual model and API format entry when discovery returns no models). SDK hosts can save built-in provider API keys directly in Settings and refresh the catalog; connected provider cards let you pick a model and project and click Start chat to open a new draft.
- Read-only Chat workflow: Added the Chat workflow, limiting active OMP tools to read-only file inspection (
read,glob,grep) and suppressing plugin prompt injections for lightweight Q&A and code reading. Switching back to another workflow restores the full toolset. - Project-grouped history and searchable session imports: Added By time and By project views in History, with host filtering, separate offline-host notices, and multi-select bulk archive or delete. Import session now supports instant multi-keyword search across titles, prompt previews, project paths, and provider names without rescanning transcripts (use Refresh to rescan).
- Live file-tree refresh: While Files is open on hosts that support directory watching, changes from terminals, external editors, and agents appear automatically (including in non-Git projects and newly created empty folders). Only affected expanded directories are reread, while collapsed folders refresh when reopened.
- Sidebar project folder icons and mark all as read: Sidebar project rows now use folder icons to show expanded and collapsed states directly. When grouped by status, right-clicking Done offers Mark all as read to move conversations from Ready to review to Done within the active sidebar filters without affecting failed conversations or permission requests.
Fixes and improvements
- Plugin device trust and cross-window sync: Desktop now serializes device approvals in
plugin-client-trust.jsonin the main process and broadcasts changes across main windows instead of relying onnavigator.locks(unavailable in mini-electron), fixingSecure browser storage locking is unavailableand missing daemon plugin sidebars on Windows and other mini-electron runtimes (#147). Broadcasts also skip unloaded, detached, or destroyed windows so revocations continue reaching other open windows. - Plugin surface host switcher layout: Plugin screens now show a compact host badge in the header when only one host is available and use a segmented control when switching across multiple hosts.
- Agent worktree project ownership and hiding empty worktrees: Worktrees created by
create_workspaceduring an agent session now belong to the caller's project by default (even for nested Git repositories inside a non-Git project), with explicitprojectIdandseparateProject: trueoverrides. Unstarted worktrees offer Hide from sidebar in their row menu, archiving only the workspace record while keeping the Git worktree, branch, and files on disk (#146). - Codex and multi-provider model catalog: Synced upstream model catalog data and compatibility rules, kept the Codex catalog guard active on the Node SDK, aborted timed-out discovery without falling back to generic ChatGPT models, and reset previously polluted
openai-codexcaches. - Cursor quota lookups and session stability: Improved read-only Cursor credential discovery across environment variables, multi-account
agent.db, readablestate.vscdb, and~/.config/cursor/auth.json(skipping encryptedcursor-safe-payloads without Keychain prompts or database writes), preferring/api/usage-summarywith fallbacks and showing empty-state guidance when no token is available. Manual Refresh bypasses both client and server 5-minute quota caches, and sign-in/sign-out or configuration changes invalidate cached results. Compacted Cursor tool runs before resuming, externalized large Cursor server history records to lazy-loaded blobs, and avoided repeated decoding thrash on oversized cold history entries. - Missing historical image recovery: Missing image blobs in conversation history now render an unavailable-image notice in place while preserving surrounding text, tool results, and intact images instead of blocking history loading or subsequent turns.
- New draft slash commands and subagent creation: Fixed new conversation drafts not loading native slash commands and project skills. Fixed tool-intent metadata handling when creating subagents via
create_agent, and documented per-subagent model selection viaprovider: "omp/<model-id>". - In-app auto-updates and Windows native addon upgrades: Updated the in-app auto-updater repository target to
iris-cat-dev/omp. Windows native addon caches now key by SDK version, variant, and binary SHA-256 so same-version rebuilds do not reuse stale DLLs, and sandboxed clients preserve named sessions. - Optional QQ plugin settings UI refactor: The QQ plugin settings view is reorganized into Model, Account, Access, Sandbox, and Advanced tabs with theme palette support and host model selection (not preinstalled; update separately).
Changes
- Enhanced workflow retry behavior: Both Standard and Enhanced workflows now use OMP's native retry policy for temporary model-request failures, showing retry status inside the current turn instead of waiting five seconds and sending an automatic Continue user message; Stop cancels retries in progress. Automatic continuation when responses hit the output-length limit is unchanged.
- Remote host SDK requirement: Remote backend deployment now pins
sdk-v18.14.0-desktop-core.3(providing structured file search, session annotation RPC, and the Cursor/shell ports). Existing remote hosts require a normal host update and recreating loaded SDK sessions to apply.
完整更新记录 / Full changelog: 0.7.1...0.7.2