github zhukunpenglinyutong/jetbrains-cc-gui 0.5.6

5 hours ago

✨ Features

  • Add ZCode CLI as a new AI provider: a persistent zcode app-server JSON-RPC runtime with streaming thinking deltas, merged tool-call cards, mid-turn permission-mode switching, reasoning-effort mapping, session history readback/deletion, and automatic credential resolution from the ZCode desktop client — no API key entry needed in the plugin (by @zhukunpenglinyutong)
  • Add MiniMax Code (mcode) as a new AI provider: streaming chat via headless minimax exec, session resume, image attachments, full session-history readback and safe deletion, a model picker fed from ~/.minimax/config.yaml, and MiniMax Coding Plan quota in Usage Statistics (by @whyz23901, @zhukunpenglinyutong)
  • Add a native "Auto" permission mode for Claude and Codex: the provider-side reviewer decides first and only escalations reach the approval dialog; Codex maps it to the guarded workspace-write sandbox with on-request approval (codex-sdk ≥ 0.146.0), while headless CLI providers safely downgrade it to Default (by @gadfly3173, @zhukunpenglinyutong)
  • Give code-review results a dedicated findings card: verdict, category, clickable file:line links that jump into the IDE, and collapsible details, localized across all 10 languages (by @gadfly3173)
  • Add pluggable relay usage vendors for the plan-usage indicator: Kimi For Coding, MiniMax Coding Plan, and z.ai / bigmodel.cn hosts are matched from ANTHROPIC_BASE_URL, with TLS-only credential transport and a bounded hashed cache (by @Mrlihao)
  • Enable the Codex pet settings tab, with Petdex sort-label translations (by @GGMGG)

🔧 Improvements

  • Decompose the webview's largest components (App.tsx, ChatInputBox, MessageItem, ProviderDialog, settings sections, dashboard widgets) into focused modules and hooks with no intended behavior change; the full 1562-test suite stays green (by @zhukunpenglinyutong)
  • Support dsh ≥ 0.1.5 hosts: an observed modern wire dialect with browser-session cookie authentication, bidirectional mux streaming, fail-closed negotiation (never silently downgrades to unauthenticated legacy), and DoS-bounded frames (by @WongSilver, @zhukunpenglinyutong)
  • Keep webview startup work off the EDT: Node detection, the environment probe, and the HTML load/transform now run on a pooled thread guarded by an initialization generation, so opening the tool window no longer stutters the IDE (by @gadfly3173)
  • Permission, AskUserQuestion, and plan-approval dialogs survive webview reloads: per-request dialog tokens, persisted drafts, absolute deadlines, and an ordered replay with acknowledgements — stale decisions can no longer resolve superseded requests or write permission memory (by @gadfly3173)
  • Provider runtime lifecycle cleanup: leaving a session shuts down Claude / Grok / ZCode daemons, idle runtimes are reaped after 60s, and the ai-bridge daemon self-exits after 3 minutes fully idle (by @zty-f, @zhukunpenglinyutong)
  • Unify permission-mode normalization (legacy autoEditacceptEdits) and serialize per-runtime mode transitions (by @zhukunpenglinyutong)
  • Add Codex bridge watchdogs (10-minute no-output, 2-hour total) and a scheme-allowlisted open-in-system-browser bridge (by @gadfly3173)

🐛 Fixes

  • Stop queued chat messages from being silently dropped between turns: dequeue+execute is now atomic, the queue is cleared on session transitions, and a plain interrupt keeps it (by @gadfly3173)
  • Preserve streaming thinking/text block boundaries across lagging backend snapshots (by @gadfly3173)
  • Make session titles work behind relays that route by session, and keep background task-notification results out of foreground turns (by @R-Tsubasa)
  • Detect session-file changes without relying on directory mtime, rebuild the history index to strip <recommended_plugins> injection from Codex session titles (by @gadfly3173, @hebulin)
  • Render unlabeled code blocks as plain text instead of highlight.js auto-detection guesses, and render edit-card code in the code font (by @gadfly3173)
  • Treat the read-tool offset as a 1-based starting line, and preserve large images for provider aliases (by @gadfly3173)
  • Fix consecutive image-only sends and quote/copy buttons overlapping message text (by @achieved1027)
  • Disable thinking on the Claude ask paths (commit message, prompt enhancer) for reasoning models, with 2048-token headroom (by @kangtsang, @zeng.gang)
  • Keep a saved Codex auto mode across provider switches — a normalization-order bug silently demoted it to Default (found and fixed during release review)

中文:

✨ 新功能

  • 新增 ZCode CLI 作为 AI Provider:持久化 zcode app-server JSON-RPC 运行时,支持流式 thinking 增量、合并的工具调用卡片、回合中途切换权限模式、推理强度映射、会话历史读取/删除,并自动复用 ZCode 桌面客户端的凭证——插件内无需填写 API Key(by @zhukunpenglinyutong
  • 新增 MiniMax Code(mcode)作为 AI Provider:通过无头 minimax exec 流式对话,支持会话续接、图片附件、完整会话历史读取与安全删除、从 ~/.minimax/config.yaml 读取的模型选择器,以及用量统计中的 MiniMax Coding Plan 额度查询(by @whyz23901@zhukunpenglinyutong
  • 新增 Claude 与 Codex 的原生 「Auto」权限模式:由 Provider 侧审查器先行裁决,只有升级请求才会弹出批准对话框;Codex 将其映射为受护栏约束的 workspace-write 沙箱 + 按需批准(要求 codex-sdk ≥ 0.146.0),无头 CLI Provider 会安全降级为 Default(by @gadfly3173@zhukunpenglinyutong
  • 代码审查结果新增 专用 Findings 卡片:结论、分类、可点击跳转到 IDE 的文件:行号链接、可折叠详情,全部 10 种语言本地化(by @gadfly3173
  • 新增 可插拔的中继用量查询 vendor:根据 ANTHROPIC_BASE_URL 匹配 Kimi For Coding、MiniMax Coding Plan 与 z.ai / bigmodel.cn,凭证仅走 TLS 传输,缓存带哈希且有界(by @Mrlihao
  • 启用 Codex 宠物设置页,并补齐 Petdex 排序标签翻译(by @GGMGG

🔧 优化

  • 拆分 webview 最大的一批组件(App.tsx、ChatInputBox、MessageItem、ProviderDialog、各设置板块、仪表盘组件)为聚焦的模块与 Hook,行为保持不变;1562 个测试全绿(by @zhukunpenglinyutong
  • 支持 dsh ≥ 0.1.5 主机:可观测的现代线协议方言、浏览器会话 Cookie 认证、双向 mux 流、失败即报错绝不降级为无认证旧协议的协商策略,以及防 DoS 的有界帧(by @WongSilver@zhukunpenglinyutong
  • webview 启动工作移出 EDT:Node 探测、环境检查与 HTML 加载/转换改在受初始化代际守卫的线程池执行,打开工具窗口不再卡 IDE(by @gadfly3173
  • 权限、提问与计划批准弹窗在 webview 刷新后可恢复:每个请求独立 dialogToken、草稿持久化、绝对截止时间、带确认的有序重放——过期的旧决策无法再解决已被取代的请求或写入权限记忆(by @gadfly3173
  • Provider 运行时生命周期清理:离开会话即关闭 Claude / Grok / ZCode 守护进程,空闲 60 秒的运行时被回收,ai-bridge 守护进程完全空闲 3 分钟后自行退出(by @zty-f@zhukunpenglinyutong
  • 统一 权限模式归一化(旧值 autoEditacceptEdits),并按运行时串行化模式切换(by @zhukunpenglinyutong
  • 新增 Codex 桥接看门狗(10 分钟无输出、2 小时上限)与带协议白名单的 系统浏览器打开 桥接(by @gadfly3173

🐛 修复

  • 修复 回合之间排队的聊天消息被静默丢弃:出队与执行改为原子操作,会话切换时清空队列,普通打断保留队列(by @gadfly3173
  • 修复后端快照滞后时 流式 thinking/文本块边界被吞 的问题(by @gadfly3173
  • 修复 按会话路由的中继下会话标题不生效,后台任务通知结果不再混入前台回合(by @R-Tsubasa
  • 会话文件变更检测不再依赖目录 mtime;重建历史索引以清除 Codex 会话标题中的 <recommended_plugins> 注入(by @gadfly3173@hebulin
  • 未标注语言的代码块按纯文本渲染,不再交给 highlight.js 自动猜测;编辑卡片中的代码改用代码字体(by @gadfly3173
  • read 工具的 offset 按 1 起始行号处理;Provider 别名下的大图不再被压缩(by @gadfly3173
  • 修复 纯图片连续发送报错 与引用复制按钮遮挡消息文字(by @achieved1027)
  • 推理模型下 Claude 询问路径(提交信息、提示词增强)关闭 thinking,预留 2048 token 余量(by @kangtsang、@zeng.gang)
  • 修复已保存的 Codex auto 模式在切换 Provider 后被静默降级 的问题(归一化顺序错误,发布审查中发现并修复)

What's Changed

  • fix: render unlabeled code blocks as plain text instead of auto-detection by @gadfly3173 in #1764
  • feat: add native auto-approval modes for Claude and Codex by @gadfly3173 in #1754
  • feat(claude) Claude 增加国产厂商coding plan用量查询 by @Mrlihao in #1763
  • fix(commit-message): disable thinking on Claude ask path for reasoning models by @kangtsang in #1760
  • feat(codex-pet): enable Pet settings tab by @GGMGG in #1756
  • feat: add MiniMax Code CLI as a new AI provider by @whyz23901 in #1735
  • fix: correct provider runtime, usage and cross-platform regressions by @gadfly3173 in #1773
  • chore(release): v0.5.5-fix1 — add Fable 5.1 and GPT-6 Astra, retire O… by @zhukunpenglinyutong in #1785
  • fix(history): detect session file changes without relying on directory mtime by @gadfly3173 in #1791
  • fix(webview): stop queued messages from being silently dropped between turns by @gadfly3173 in #1807
  • feat(webview): dedicated findings card for ReportFindings tool calls by @gadfly3173 in #1798
  • fix(webview): stop edit cards from rendering code in the UI font by @gadfly3173 in #1814
  • fix: keep webview startup work off the EDT by @gadfly3173 in #1822
  • fix: preserve Claude streaming block boundaries across snapshots by @gadfly3173 in #1818
  • fix(dsh): support dsh >= 0.1.5 hosts (browser-session auth + modern wire) by @WongSilver in #1821
  • fix(ai-bridge): tolerate relays that omit message_start.content or require a session header by @R-Tsubasa in #1827
  • fix(history): stop <recommended_plugins> injection from becoming Codex session titles by @hebulin in #1817
  • docs: add macOS scrolling performance tip by @christophehad in #1816
  • 修复:清理 Provider 运行时与 Codex 进程 by @zty-f in #1815
  • fix: preserve dialog state across reloads and isolate reused requests by @gadfly3173 in #1830
  • fix(claude): preserve large images for provider aliases by @gadfly3173 in #1787
  • Feature/v0.5.6 by @zhukunpenglinyutong in #1770

New Contributors

Full Changelog: 0.5.5...0.5.6

Don't miss a new jetbrains-cc-gui release

NewReleases is sending notifications on new releases.