Commit Graph

976 Commits

Author SHA1 Message Date
ptma 889d0af92c
perf(structure): minimize column reorder SQL generation 2026-07-01 14:38:34 +08:00
miracle 0c91fecf5d
feat(editor): add table copy/paste keyboard shortcuts
* feat: add table copy/paste with configurable structure and data options

- Implement Navicat-style table copy/paste functionality
- Support multi-table selection and batch operations
- Configurable paste modes: structure+data (default), structure only, data only
- Backend: add build_copy_table_data_sql API (INSERT INTO ... SELECT)
- TreeItem.vue: copy/paste context menus, paste dialog with mode selection
- ObjectBrowser.vue: batch toolbar buttons, context menu, paste dialog
- Refactor TreeClipboard type to support multi-table entries
- Add i18n keys for all 7 locale files (en, zh-CN, zh-TW, ja, es, it, pt-BR)

* Fix table paste shortcuts

* Fix Kafka MQ sidebar detection

* Restrict table paste scope

* Support data copy for primary SQL databases
2026-07-01 12:49:37 +08:00
zipg 5d2ce9f189
fix(sqlserver): restrict identity to compatible column types
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:48:37 +08:00
zipg a224a6747c
fix: handle oracle plsql statement ranges
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:26:03 +08:00
t8y2 3d5e873837 fix(ci): sync agent protocol contract 2026-07-01 09:15:21 +08:00
t8y2 3d6c609f42 chore(release): prepare v0.5.42 2026-07-01 02:20:43 +08:00
t8y2 e83f41c63c fix(sqlserver): use numeric literals for bitn 2026-07-01 02:10:47 +08:00
t8y2 6d9132e2a9 fix(mongo): support legacy agent bulk updates 2026-07-01 01:52:32 +08:00
zipg b11ab2ddff
fix(core): restore Oracle object browser metadata 2026-07-01 01:09:21 +08:00
t8y2 299a9843f3 fix(elasticsearch): pass routing for document writes 2026-07-01 00:43:14 +08:00
zipg ea2b5d1bfd
Fix:支持 SQL Server 新增字段设置自增 (#2254)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 23:30:50 +08:00
onenewcode b90e4fd64e
feat(mongodb): support createIndex shell command (#2187) 2026-06-30 21:34:58 +08:00
zipg c38bc05417
Fix:修复 SQL 子查询语义诊断误报 (#2184)
* Fix:修复 SQL 子查询语义诊断误报

* Improve:添加 SQL 语义诊断开关

* Improve:优化 SQL 语义诊断开关说明

* Fix:收紧 SQL 语义诊断飘红范围

* Improve:调整 SQL 语义诊断默认策略

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:15:59 +08:00
zipg 73a996ebe6
Fix: 修复 SQL Server 修改默认值时报错 (#2190)
* Fix SQL Server default constraint DDL

* Polish SQL Server default display

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:14:50 +08:00
t8y2 25dcbeb7e4 feat(oscar): add OSCAR database support 2026-06-30 20:07:55 +08:00
weihan d3272b4750
fix(postgres): 修复 GaussDB Schema 浏览对象报错 (#2186)
- GaussDB 复用 PostgreSQL 对象浏览查询,但带时间戳的元数据 SQL 依赖 pg_stat_file、pg_xact_commit_timestamp 等函数,在 prepare 阶段失败,导致原有 fallback 无法触发。
- 让 fallback 覆盖 prepare 和 query 阶段。查询失败时降级到无时间戳查询,保证表、视图、函数、序列仍可正常展示。
2026-06-30 20:06:23 +08:00
zipg ce72468e5a
Fix:修复 Kingbase 新增字段 SQL 语法 (#2180)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:05:24 +08:00
jischeng c6719eec55
fix(ai): preserve tool name when OpenAI-compatible provider re-sends empty id (#2196)
GLM-5.2 (and potentially other OpenAI-compatible providers) send id="" on
every tool-call delta after the first, while only the first delta carries
function.name. The streaming parser treated Some("") as a valid id and
emitted ToolCallStart for every chunk; the accumulator's insert then
overwrote the previously-correct name with "", producing "Unknown tool:"
errors and trapping the agent in a retry loop until the 30-turn limit.

Two fixes, mutually reinforcing:

1. OpenAI parser: only treat a non-empty id as a genuine tool-call start
   (filter out id=""), so subsequent deltas no longer trigger ToolCallStart.

2. Accumulator: merge ToolCallStart into an existing entry instead of
   blind insert — keep the known name when the new one is empty, and
   preserve accumulated arguments. Defense in depth for any other provider
   that re-sends id or splits name across chunks.

Added a regression test that feeds a re-sent ToolCallStart with an empty
name and asserts the name and arguments survive.

Verified end-to-end with the real GLM-5.2 provider: Unknown tool count
dropped from 12+ to 0, and the agent completed in 3 turns instead of
hitting the 30-turn safety limit.
2026-06-30 19:52:43 +08:00
zipg d04463ebeb
Feature:支持 SQL Server 旧版兼容模式 (#2181)
* fix: 支持 SQL Server 旧版非加密重试

* fix: 优化 SQL Server 旧版兼容模式入口

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 19:52:07 +08:00
Guoyu Su 8747a0e8f9
fix(clickhouse): place pagination before settings clause (#2206) 2026-06-30 19:51:03 +08:00
zipg 04b12f7c06
Fix: 修复 MySQL 存储过程 SELECT 结果未显示 (#2245)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:27:03 +08:00
luoianun ba71068bc8
fix(agent): harden JRE runtime downloads
Co-authored-by: luoianun <20828060+luoianun@users.noreply.github.com>
2026-06-30 17:59:15 +08:00
onenewcode 7941f30484
fix(postgres): preserve owned sequences during transfer 2026-06-30 17:49:18 +08:00
zipg 9b93ac777c
fix: 修复 MySQL 索引注释回填 2026-06-30 17:40:48 +08:00
t8y2 9337c7593d fix(driver-store): hide native agent JRE badge 2026-06-30 17:38:50 +08:00
zipg a6264a0051
fix: 修复 Oracle 表注释列表显示为空 2026-06-30 17:38:30 +08:00
zipg 95be4fb195
fix: 修复 SQL Server 列注释显示 2026-06-30 17:31:57 +08:00
miracle 7cec4892bf
feat(kafka): support Kafka MQ admin client 2026-06-30 17:01:24 +08:00
hb 074cef8358
fix(duckdb): replace empty placeholder database files 2026-06-30 02:45:21 +08:00
zipg 285a1c555a
fix(postgres): prevent composite foreign key DDL from being split (#2091) 2026-06-30 02:00:00 +08:00
lexmin0412 c04203ca90
fix(vector): use specified database for Milvus collection listing (#2087) 2026-06-30 01:53:48 +08:00
zipg 2a2d46c48b
Fix:同步 OceanBase 查询超时设置 (#2156) 2026-06-30 00:12:15 +08:00
LC b951d3a50a
fix(ai): 修复 OpenAI Responses API 请求和流解析 (#2149) 2026-06-29 21:21:45 +08:00
zipg 4c9a265bdb
fix: skip sqlserver rowversion columns during transfer (#2146) 2026-06-29 21:00:54 +08:00
Guoyu Su b330b00335
fix(web): persist agent drivers under data dir (#2147) 2026-06-29 20:59:05 +08:00
zipg 55bfa11bd1
fix: fallback agent batch execution errors (#2113) 2026-06-29 20:34:46 +08:00
zipg 7091615f8a
fix: 修复 PostgreSQL 重载过程显示重复 2026-06-29 19:58:01 +08:00
t8y2 ba87230302 feat(release): bump app version to 0.5.41 2026-06-29 12:35:59 +08:00
lexmin0412 bc409cffc0
feat(ai): add vector DB assistant tools 2026-06-29 11:46:41 +08:00
zipg 3c7c1924ba
Fix:修复 SQL Server datetime 查询和导出精度 2026-06-29 11:28:33 +08:00
zipg ba283e07c4
Fix: 修复 PostgreSQL 默认权限语句诊断误报 2026-06-29 11:20:15 +08:00
zipg cedf4f1be3
fix(mongo): normalize MongoDB URI query path 2026-06-29 11:18:05 +08:00
t8y2 d01ffb0d55 feat(web): support context path deployments 2026-06-29 09:14:37 +08:00
t8y2 4c48263793 feat(grid): add database value filter 2026-06-29 03:13:35 +08:00
t8y2 2d2284a0ef fix(ai): preserve UTF-8 in streamed responses 2026-06-29 01:25:43 +08:00
Guoyu Su 7a5984a1fd
fix(mongodb): support shell projection and db.version 2026-06-29 00:27:27 +08:00
Guoyu Su 7b32c71b1b
fix(postgres): support pg10 routine metadata without prokind 2026-06-28 20:16:25 +08:00
Abeautifulsnow 22a9fcf4a6
fix(codex): send exec prompt through stdin 2026-06-28 19:34:48 +08:00
zipg f57c41381b
fix(portable): prevent stale portable marker from wiping history data 2026-06-28 19:00:40 +08:00
zipg 56fb49058f
fix(sidebar): preserve comment-matched tables during remote table list refresh 2026-06-28 18:52:40 +08:00