github ys-ll/uniterm v1.4.1

latest releases: v1.10.1, main-snapshot, v1.10.1-alpha...
3 months ago

v1.4.1

What's Changed

New Features

  • MongoDB database support. Browse databases, collections, and documents in a tree sidebar, run queries with the built-in editor, and edit documents inline.
  • AI natural language query editor. Describe queries in plain language and AI generates the SQL or MongoDB filter, with automatic schema detection for relational databases.
  • SSH Tunnel Manager with 3 forwarding modes: Local (-L), Remote (-R), and Dynamic (-D, SOCKS5). Tunnels are listed in a dedicated sidebar tab with status indicators, grouped by drag-and-drop, and support auto-start on launch. (@surenwuyuwuqiu)
  • Serial port logging. Serial sessions can now log all received data to a file with save and toggle options, configurable in the serial connection dialog. (@wangxufeng)
  • AI message queue. Messages can now be sent while the AI agent is running or awaiting confirmation. Queued messages are shown as removable chips above the input and are processed at the next turn boundary of the agent loop.

Improvements

  • Ctrl+scroll wheel now adjusts terminal font size (±1px, range 8–32px), persisted to settings. (@surenwuyuwuqiu)
  • Added persistent AI execution status indicator showing the current phase, e.g. Thinking, Outputting, Executing, Awaiting confirmation.
  • AI command end detection now strips ANSI from captured prompts and uses an idle heuristic for dynamic prompts, improving reliability.
  • AI sidebar toolbar optimized: send/stop replaced with icon buttons, model/mode selectors use ghost style, avatars removed with wider message layout, markdown rendered in <p> tags.
  • AI user cancellation now shows a friendly "interrupted" hint instead of raw "API Error: context canceled".
  • New and edit connection forms: host and port merged into a single row for a cleaner layout.
  • Sidebar group collapse state is now persisted and restored across operations, no longer lost when creating or deleting a connection group.

Bug Fixes

  • RDP blank screen on modern Windows. Added NLA (Network Level Authentication) toggle — enabled by default using CredSSP for modern Windows; when disabled, uses RDP standard security with password field for auto-login.
  • Fixed system font names containing spaces (e.g. DejaVu Sans Mono, Fira Code) causing double-width character rendering in terminal due to CSS font-family parsing. (@surenwuyuwuqiu)
  • Fixed window geometry not being clamped and saving incorrectly when minimized, which could cause the next launch to restore an off-screen or minuscule window. Added MinWidth=400, MinHeight=300 and skip geometry save while minimized.
  • Fixed database connection advanced configuration toggle not responding when creating or editing database connections. The SSH tunnel selector was incorrectly nested inside the FTP type template, causing it to not render for non-FTP connection types.

Thanks to @surenwuyuwuqiu and @wangxufeng for their contributions to this release.

更新内容

新功能

  • MongoDB 数据库支持。树形侧边栏浏览数据库、集合和文档,内置编辑器运行查询,支持文档行内编辑。
  • AI 自然语言数据库查询。用自然语言描述需求,AI 自动生成 SQL 或 MongoDB 查询,关系型数据库支持自动获取表结构。
  • SSH 隧道管理器,支持三种转发模式:本地转发 (-L)、远程转发 (-R) 和动态转发 (-D, SOCKS5)。隧道在侧边栏独立标签页中展示,带状态指示灯,支持拖拽分组、启动时自动启动。(@surenwuyuwuqiu)
  • 串口日志记录。串口会话可将所有接收数据记录到文件,支持保存和开关切换,在串口连接对话框中配置。(@wangxufeng)
  • AI 消息队列。AI 运行中或等待确认时仍可发送消息,待处理消息显示为可移除的标签条,在 agent 循环的下一轮边界自动注入处理。

改进

  • Ctrl+滚轮调整终端字体大小(±1px,范围 8–32px),设置自动持久化。(@surenwuyuwuqiu)
  • AI 执行时增加运行状态提示,如:思考中、输出中、执行中、等待确认。
  • AI 命令结束检测优化:从捕获的提示符中剥离 ANSI 转义序列,并为动态提示符增加空闲启发式检测,提升判断可靠性。
  • AI 侧边栏工具栏优化:发送/停止改为图标按钮,模型/模式选择器使用 ghost 样式,移除头像并拓宽消息布局,markdown 用 <p> 标签包裹。
  • AI 用户取消操作时显示友好的"已中断"提示,而非原始的 "API Error: context canceled"。
  • 连接新建和编辑表单主机与端口合并为单行,布局更简洁。
  • 侧边栏分组折叠状态持久化,新建或删除分组时不再丢失折叠状态。

Bug 修复

  • 修复现代 Windows RDP 连接白屏问题。新增 NLA(网络级认证)开关 — 默认启用 CredSSP 兼容现代 Windows;关闭后使用 RDP 标准安全并显示密码字段用于自动登录。
  • 修复系统字体名含空格(如 DejaVu Sans Mono、Fira Code)时,CSS font-family 解析错误导致终端字符占双格、比例失调的问题。(@surenwuyuwuqiu)
  • 修复窗口无边界的尺寸和最小化时保存异常坐标导致的启动后窗口不可见或极小问题。新增 MinWidth=400, MinHeight=300,最小化时跳过保存窗口位置和尺寸。
  • 修复新建或编辑数据库连接时,高级配置按钮点击无效的问题。原因:SSH 隧道选择器被错误地嵌套在 FTP 类型模板内部,导致非 FTP 连接类型无法正常渲染。

感谢 @surenwuyuwuqiu 和 @wangxufeng 对本版本的贡献。

Don't miss a new uniterm release

NewReleases is sending notifications on new releases.