Repository navigation
v0.2.0
新功能 / New
- 数据库会话:新协议“数据库”,支持 MySQL(及 MariaDB、TiDB、OceanBase、Doris、StarRocks)、PostgreSQL(及 Redshift、openGauss、Greenplum)、SQLite、SQL Server、ClickHouse、Redis 和 MongoDB,可以经跳板机或代理连接,支持 TLS。左侧是对象树,选中库、表或集合时下方显示行数、大小等信息;每种数据库有自己的图标。
Database sessions: a new "Database" protocol for MySQL (and MariaDB, TiDB, OceanBase, Doris, StarRocks), PostgreSQL (and Redshift, openGauss, Greenplum), SQLite, SQL Server, ClickHouse, Redis and MongoDB, through a jump host or proxy and with TLS. An object tree on the left shows row counts, sizes and more for the selected database, table or collection; each engine has its own icon. - SQL 编辑器:语法高亮和库表列补全,Ctrl+Enter 执行光标所在语句,可执行整个脚本或 SQL 文件、取消正在执行的查询;多个结果分页签显示,事务跟着编辑器标签页走;DROP、TRUNCATE、不带 WHERE 的修改等危险语句执行前确认,只读会话拦截写入。
SQL editor: syntax highlighting and completion of databases, tables and columns; Ctrl+Enter runs the statement at the cursor, or run a whole script or SQL file, and cancel a running query. Several results show in tabs, and a transaction belongs to its editor tab. Dangerous statements (DROP, TRUNCATE, changes without WHERE) ask first, and read-only sessions refuse writes. - 表格浏览和编辑:分页(取数行数和每页行数分开设置),可视化筛选(支持括号分组、字段选择、快速筛选)和排序(右键表头),按数据类型给单元格着色;双击修改,新增行后自动跳到新行,点保存后在一个事务里提交。导出 CSV / TSV / Excel / JSON / INSERT 语句(可选当前筛选或全部、限制行数),从 CSV 导入。
Table browsing and editing: paging (rows fetched and rows per page set separately), visual filters (with parenthesised groups, a field picker and quick filters) and sorting (right-click a header), cells colored by data type. Double-click to edit; Add jumps to the new row; Save commits the changes in one transaction. Export to CSV / TSV / Excel / JSON / INSERT statements (current filter or everything, with a row limit), and import from CSV. - MongoDB:文档表格(保持字段顺序,双击展开子文档和数组)、文档详情、索引视图;mongosh 风格的查询编辑器(
db.users.find(...)、聚合、命令);表格修改点保存后写入;导入 JSON / CSV(CSV 的a.b列写成子文档,按列识别类型)。
MongoDB: a document grid (field order kept, double-click to expand sub-documents and arrays), document details and an index view; a mongosh-style query editor (db.users.find(...), aggregations, commands); grid changes are written on Save; import JSON / CSV (a.bCSV columns become sub-documents, types detected per column). - Redis:按模式和类型扫描键,查看和编辑各种类型的值,命令行。
Redis: scan keys by pattern and type, view and edit values of every type, and a command line. - 从 Navicat 和 dbx 导入数据库连接,包括 Navicat 的 MongoDB 副本集连接。
Import database connections from Navicat and dbx, including Navicat MongoDB replica-set connections. - AI agent 可以通过 MCP 操作数据库窗格:
list_panes列出数据库窗格,申请控制后可以用db_list_objects浏览库表、db_describe查看表结构、db_query执行 SQL、MongoDB 命令或 Redis 命令;open_session也能打开数据库会话。agent 使用自己的连接,只读会话仍然拦截写入,危险语句需要它特别声明;窗格上方显示 AI 控制横幅,暂停或收回控制会取消正在执行的查询。已经安装过 Nexterm MCP 的 agent 不用重新安装,更新后重启 agent 即可。
AI agents can work with database panes over MCP:list_paneslists database panes; once in control, an agent can browse withdb_list_objects, look at a table withdb_describeand run SQL, MongoDB commands or Redis commands withdb_query, andopen_sessioncan open database sessions. The agent uses a connection of its own, read-only sessions still refuse writes, and dangerous statements need it to say so explicitly. The pane shows the AI control banner; pausing or taking back control cancels a running query. Agents that already have the Nexterm MCP server don't need to reinstall it: restart them after updating. - 会话侧栏分组编辑:分组右键菜单可以在此分组中新建会话、重命名(F2,重名时询问是否合并)、移动到其他分组、解散分组(会话和子分组上移一级)、删除分组及其会话;按分组设置的 OneKey 范围跟着更新。
Edit session groups in the sidebar: a group's context menu can create a session in it, rename it (F2; asks before merging into a group of the same name), move it, dissolve it (its sessions and subgroups move up a level), or delete it with its sessions. OneKey scopes set per group follow along.
修复 / Fixed
- 用新版本保存过的会话(例如数据库会话)在旧版本里不再让会话列表被当成损坏;包含新协议的同步包标为版本 2,旧版会提示它由更新的版本创建。
Sessions saved by a newer version (such as database sessions) no longer make an older version treat the session list as damaged; a sync package with new protocols is marked version 2, and older versions say it was made by a newer one.
Full Changelog: v0.1.17...v0.2.0
Full Changelog: v0.1.17...v0.2.0