Commit Graph
7192 Commits
Author SHA1 Message Date
LRcoding 21cec24e75 fix(mysql): support cleartext password auth option (#2499) 2026-07-03 13:47:47 +08:00
t8y2 cabe89a19b fix(mongodb): support legacy count helpers 2026-07-03 13:25:36 +08:00
t8y2 c702149931 fix(ui): unify sidebar tooltips 2026-07-03 12:41:25 +08:00
t8y2 3d3b0a688f fix(mysql): preserve copied BLOB hex literals 2026-07-03 12:24:21 +08:00
Abeautifulsnow d6ef9f140a fix(ai): bound schema context and result preview to prevent oversized AI payloads (#2496)
* fix(ai): limit indexes and foreign keys per table in schema context

Prevent AI input token spikes caused by tables with large numbers of
indexes or foreign keys being fully serialized into the system prompt.

Apply a default cap of 10 indexes and 10 FKs per table in all three
schema-loading paths: focused_table mode, database mode, and
loadMentionedTableContext for @-mentioned tables.

Both limits are configurable via buildAiContext options
(maxIndexesPerTable, maxFksPerTable).

* fix(ai): truncate large column values in result preview

Prevent input token explosion when the active tab contains large text
or JSON fields (e.g. request_body, response_body in audit log tables).

formatResultPreview previously serialized each value without any length
limit, so 5 rows from a wide table with multi-KB text columns could
produce 100K+ tokens in the system prompt.

Cap each serialized value at 200 characters with an ellipsis suffix.
2026-07-03 12:04:00 +08:00
t8y2 e3b3dfc095 fix(dameng): include independent indexes in table DDL 2026-07-03 11:59:41 +08:00
juveandjuve ecb9372979 chore(nix): bump dbx-desktop to 0.5.44 and update flake locks (#2469)
Co-authored-by: juve <juevmail8@gmail.com>
2026-07-03 11:42:36 +08:00
t8y2 b6274858fe fix(agent): preserve JDBC decimal precision 2026-07-03 11:41:36 +08:00
二丫讲梵 710eb3d008 fix(sidebar): correct import/export button icons (#2492) 2026-07-03 11:30:20 +08:00
一颗红心 69bfd59c3c fix(sql-library): restore Ctrl+click multi-select on Windows (#2470) 2026-07-03 11:12:49 +08:00
t8y2 6f2e4774f4 feat(updates): add AtomGit update download source 2026-07-03 11:01:27 +08:00
Spencer.Chang cb42a4184a fix(editor): avoid run gutter for MySQL REPLACE function 2026-07-03 10:36:03 +08:00
t8y2 9676ed764e fix(agent): validate selected driver artifact 2026-07-03 10:31:52 +08:00
t8y2 7641bd3512 feat(release): sync releases to AtomGit 2026-07-03 03:04:52 +08:00
t8y2 fb4bce90d6 fix(agent): cache JDBC column metadata 2026-07-03 02:26:01 +08:00
github-actions[bot] c1d3f9423d chore: bump module versions [skip ci] 2026-07-02 18:03:00 +00:00
github-actions[bot] 9d2d1e3297 chore(packages): release 0.4.20 [skip node-packages-release] packages-v0.4.20 2026-07-02 18:00:23 +00:00
t8y2 36611a3e0e feat(release): detect package and agent release changes agents-v0.2.43 2026-07-03 01:58:45 +08:00
t8y2 b51d6f02df chore: bump module versions v0.5.44 2026-07-03 01:06:54 +08:00
t8y2 60abe59a80 fix(redis): copy displayed key name 2026-07-03 00:14:11 +08:00
t8y2 46c0309c39 fix(grid): cover horizontal wheel pagination 2026-07-03 00:02:11 +08:00
t8y2 ff73a1df42 fix(editor): keep semicolon cursor on statement 2026-07-03 00:00:44 +08:00
t8y2 8be2136658 feat(redis): add copy key name action 2026-07-02 23:59:24 +08:00
一颗红心andCursor 97f107caac fix(app): unify import/export icons and clarify result archive tooltip
* fix(app): unify import and export icons across sidebar surfaces

Use Upload for import actions and Download for export actions in the
connection sidebar, object browser, connection tree menus, and table
toolbox so icon semantics match the rest of the app.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(i18n): rename import result archive tooltip label

Clarify the editor toolbar action as importing a saved result archive so
it pairs clearly with the save result archive action.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-02 23:45:02 +08:00
大峰 9083dc0e53 fix(editor): support qualified table navigation 2026-07-02 22:00:51 +08:00
CSXFanMeng 82e9df1853 feat(export): add all-database export 2026-07-02 21:16:56 +08:00
LRcoding f16454a403 fix(app): preserve object source formatting 2026-07-02 20:21:22 +08:00
zipgandstaff 4c96aa6e40 Feature: SQL 编辑器右键支持编辑表结构 (#2456)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 20:20:32 +08:00
t8y2 d249bd5ac8 feat(settings): add interface font selection 2026-07-02 19:55:43 +08:00
Guoyu Su 074715b002 fix(redis): connect pubsub to desktop websocket server 2026-07-02 19:47:41 +08:00
二丫讲梵 af9ad39ffb feat(sidebar): 添加一键折叠所有节点功能
- 在侧边栏中添加了“折叠所有”按钮,用户可以一键折叠所有展开的节点。
- 更新了相关的国际化文本,支持多语言。
- 增加了 collapseAllGroups 和 collapseExpandedTreeNodes 函数以支持新功能。
2026-07-02 18:50:01 +08:00
Abeautifulsnow e7dffeca37 fix(ai): tool call status cards, table overflow, streaming TextDelta
* fix(ai): merge tool call status cards

* fix(ai): constrain markdown table overflow

* fix(ai): restore streaming of answer text via TextDelta events

The on_chunk closure was missing live AgentEvent::TextDelta emission for text content, causing the AI answer text to appear all at once after the turn completed. Reasoning deltas were unaffected.

Root cause: commit c30033628 rewrote the on_chunk closure and accidentally dropped the TextDelta emit line while keeping ReasoningDelta intact.

Fix: restore TextDelta emit in on_chunk for incremental streaming, and remove the post-turn full-TextDelta workaround which would duplicate content.

* test(ai): extract chunk_to_events and add streaming event tests

Extract the event-generation logic from the on_chunk closure into a pure function chunk_to_events() to make it testable, and add 6 unit tests covering all chunk content combinations: text-only, reasoning-only, mixed, empty, and edge cases.

This ensures a regression like the one fixed in the previous commit (where TextDelta emission was dropped while ReasoningDelta was kept) would be caught by tests.
2026-07-02 18:49:50 +08:00
t8y2 d35c966390 fix(redis): batch sparse key searches 2026-07-02 18:41:25 +08:00
t8y2 44c91ae47d fix(connection): default Vastbase agent database 2026-07-02 18:40:12 +08:00
t8y2 3e01840825 fix(ai): remove temperature from AI requests 2026-07-02 17:58:35 +08:00
Guoyu Su 5cd87e862d fix(desktop): remove duplicate popover import 2026-07-02 17:56:19 +08:00
Spencer.Chang b249768322 fix(grid): improve condition history dropdown behavior 2026-07-02 16:46:46 +08:00
zipgandstaff 4efff9a190 fix(editor): prompt before closing unsaved SQL tabs
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 16:43:55 +08:00
Tony Tang 23b9228f82 feat(connection): add StarRocks TLS support 2026-07-02 16:37:20 +08:00
zipgandstaff eaa0d7e735 feat: 增强标签溢出列表操作 (#2399)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 16:12:34 +08:00
zipgandstaff 022df3665f feat: 优化编辑表结构页面体验 (#2406)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 16:09:53 +08:00
onenewcode 1ef757e88f feat: fix Redis key search visibility 2026-07-02 15:13:11 +08:00
t8y2 b61ed7c255 feat(ci): autofill i18n translations 2026-07-02 15:11:38 +08:00
t8y2 3694781508 fix(i18n): complete missing locale keys and remove dead keys 2026-07-02 15:03:17 +08:00
ptma 424a7a1b42 feat(influxdb): improve InfluxDB error message extraction 2026-07-02 14:46:33 +08:00
zipgandstaff a6df5c1f35 feat(grid): compact JSON action in cell detail editor
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 14:32:23 +08:00
t8y2 937131a426 feat(i18n): add auto-refresh translations for zh-TW, ja, es, it, pt-BR 2026-07-02 14:30:43 +08:00
xiaoliangLand李晓亮 e9fa72285c feat(grid): add auto refresh for data grid results
Co-authored-by: 李晓亮 <lixiaoliang@midu.com>
2026-07-02 14:28:58 +08:00
Abeautifulsnow a0754206d3 feat(ai-config): persist AI settings per provider (#2412)
## 背景说明
AI 设置原本只有一个配置槽,切换模型厂商时会覆盖之前填写的 endpoint、API Key、model 等信息。本次改动让每个模型厂商各自保存一份配置,并在设置页和对话窗口提供已配置状态与快速切换能力。

## 修改内容
- 新增 ai_provider_configs 存储表,用于按 provider 保存独立 AI 配置
- 新增 Tauri/Web API:保存和加载 provider 级 AI 配置
- 设置页 provider 下拉展示“当前/已配置”状态
- 设置页切换 provider 前会先保存当前表单编辑内容,避免未保存输入丢失
- 对话窗口模型选择器支持查看并切换已配置过的其他 provider
- provider 配置保存时强制 config.provider 与 provider key 一致,避免错位配置污染
- 所有语言补齐新增 i18n 文案

## 修复的问题
- 切换模型厂商时原厂商配置会丢失
- 设置页切换 provider 时本地表单编辑态可能未保存
- provider key 与 config.provider 不一致时可能激活错误厂商
- 对话窗口模型选择器只能看到当前 provider 的模型,不能看到其他已配置厂商

## 测试
- npx tsc --noEmit
- cargo check -p dbx-core
- cargo check -p dbx-web
- cargo check --manifest-path src-tauri/Cargo.toml
2026-07-02 14:24:57 +08:00
clj1566317 486b9ee8ed fix redis sentinel tunnel route 2026-07-02 14:21:52 +08:00