Commit Graph

70 Commits

Author SHA1 Message Date
chenow9 d08189ba7d
feat(ai): add Grok CLI as a Desktop no-API-key provider
* feat(ai): add Grok CLI as a Desktop no-API-key provider

Add grok-cli alongside Codex/Claude Code/Pi, with path/env settings,
isolated MCP-scoped headless runs, model listing, and connection test.

* feat(ai): expose Grok CLI reasoning effort like Codex

Attach low/medium/high effort capabilities to Grok models for the
assistant effort menu, wire resolve_model_effort for grok-cli, and
use the monochrome Grok mark icon.

* i18n: add Grok CLI error messages for remaining locales

Fill grokCli* cliErrors strings in es, it, ja, ko, pt-BR, and zh-TW
to match en/zh-CN and satisfy i18n autofill CI.

* fix(ai): align Grok CLI headless with official Build flags

Address review feedback on PR #5494:
- Use streaming-json + CliAgentJsonlDialect::GrokStreamingJson
- Switch permission to --always-approve and MCPTool(dbx__*) rules
- Prefer --effort over --reasoning-effort; keep --prompt-file

Verified with unit tests and a local headless e2e against grok 1.0.

* style(ai): fix rustfmt for Grok CLI provider files

* test(ai): fix Grok CLI entry in provider ordering spec

* fix(ai): harden grok CLI error wording and config schema

Add 'not signed in' to classify_grok_run_error and test_grok_connection
auth detection — real @xai-official/grok 1.0.0 emits this exact wording
on headless auth failure (verified against the shipped binary).

Remove invalid config.toml fields: permission_mode='always-approve'
(not a valid enum; auto-approve is driven by --always-approve flag) and
startup_timeout_sec/tool_timeout_sec/enabled_tools (not mcp_servers
schema fields per 'grok mcp add').

---------

Co-authored-by: t8y2 <1156263951@qq.com>
2026-08-10 10:54:27 +08:00
Guoyu Su 36e5fa4f4c
feat(ai): add Cursor CLI provider 2026-08-08 11:08:18 +08:00
Guoyu Su 309e3aef5e
feat(ai): add OpenCode CLI provider 2026-08-07 17:06:03 +08:00
fuuulstack ed26fc10f5
feat(editor): add semantic selection and match-all cursors 2026-08-03 15:50:43 +08:00
zipg 2dffbb9286
fix(ai): restore default model configuration 2026-08-02 10:09:01 +08:00
zhangyc e2ba75b102
feat(saved-sql): run queries in the current database 2026-07-31 01:57:39 +08:00
Octopus 0234470466
feat(ai): add MiniMax provider preset 2026-07-30 23:05:12 +08:00
zipg 0edba2f023
fix(settings): reset scroll on tab switch 2026-07-30 00:07:27 +08:00
yanguibao1997 51b5c8ae95
feat(sidebar): add local table search 2026-07-29 21:27:37 +08:00
Guoyu Su 9571519179
feat(ai): add Anthropic-compatible provider 2026-07-29 20:38:09 +08:00
Guoyu Su de44fddf29
feat(ai): add Pi Coding Agent provider 2026-07-29 02:10:06 +08:00
gggaiitx e2b35944ce
feat(grid): right-align numeric result columns 2026-07-27 18:54:54 +08:00
zipg c6135d6bb2
fix(grid): persist table info tab preference 2026-07-23 19:03:14 +08:00
zipg 6a81b3261b
fix(settings): remove 200% UI scale option 2026-07-23 12:51:04 +08:00
t8y2 ae7c368c4a feat(grid): support custom result grid font 2026-07-22 19:10:23 +08:00
zipg 1d1959c579
fix(sql): default execution to current statement 2026-07-20 17:32:27 +08:00
二丫讲梵 cdbe0079e7
feat(settings): configure table open page size 2026-07-20 14:05:40 +08:00
Guoyu Su d3947d246c
feat(ai): add Claude Code CLI provider 2026-07-17 01:17:06 +08:00
ptma 9efdf79ad9
feat(grid): add timezone-aware column formatting 2026-07-16 18:42:33 +08:00
zipg 0a1efdcb85
feat(settings): add global date and time formats 2026-07-16 14:49:28 +08:00
zipg 343a5ba6c9
fix(grid): separate table open row limit 2026-07-11 08:55:43 +08:00
DengQingNian e429c8945b
feat(mysql): edit column charset and collation 2026-07-10 15:13:57 +08:00
gggaiitx 2f134585ea
feat(editor): add auto close brackets setting 2026-07-09 09:53:01 +08:00
t8y2 65af804099 feat(editor): allow disabling SQL snippets 2026-07-07 12:36:51 +08:00
二丫讲梵 6d0a59a913
feat(editor): SQL editor execution button config toggle & optimization
- 在 SQL 编辑器的左侧添加每条语句的执行按钮
- 支持通过快捷键和右键菜单执行语句
- 增加多语言支持的相关文本描述
2026-07-06 18:01:31 +08:00
二丫讲梵 35d5e90378
feat(settings): improve sidebar search
- 新增设置选项以启用/禁用数据库内的表搜索
- 更新相关组件以支持表搜索功能
- 添加多语言支持的描述信息
2026-07-06 17:24:56 +08:00
onenewcode 77cd835cda
[fix] fix Linux Alt+F4 exit handling (#2576) 2026-07-05 12:41:54 +08:00
t8y2 7e7c4944e9 refactor(desktop): organize lib modules by domain 2026-07-04 13:53:52 +08:00
二丫讲梵 90d2ede740
feat(sidebar): add connection copy paste shortcuts 2026-07-04 12:19:56 +08:00
t8y2 47238b689c feat(editor): add vim mode 2026-07-03 15:38:07 +08:00
t8y2 1ff3676531 fix(data): use saved row limit for table opens 2026-07-03 14:00:39 +08:00
t8y2 d249bd5ac8 feat(settings): add interface font selection 2026-07-02 19:55:43 +08:00
zipg 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
zipg c4de3738fc
Improve: 记住单元格详情 JSON 格式化状态 (#2252)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 22:38:45 +08:00
ptma 4e012a9dd9
feat(grid): support datetime formatter patterns 2026-06-30 20:37:23 +08:00
zipg a458ebd08f
feat(table): add table font size control (#2095) 2026-06-30 01:57:14 +08:00
dalew d815a16b86
feat(redis): move scan page size to connections 2026-06-26 11:13:34 +08:00
t8y2 42541d1146 fix(export): align row limits and progress 2026-06-25 17:01:32 +08:00
Spencer.Chang 529454e6d1
feat(structure): add configurable preset fields for new tables 2026-06-25 01:05:36 +08:00
miracle 588ba3352d
feat: stream query result CSV/XLSX exports
* docs: add query result streaming export design

* feat(core): stream query result exports

* feat: expose query result streaming export APIs

* feat(desktop): stream query result exports from grid

* fix: route query result export cancellation through its command

* fix: reduce query export batch size and cancel latency

* opt: del local test files
2026-06-24 21:18:11 +08:00
zipg 96aada2631
fix: optimize query cell detail panel layout
* fix: improve cell detail editor layout

* test: update cell detail drawer default

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-24 19:15:51 +08:00
t8y2 46cefabe57 fix(grid): show column comments by default 2026-06-18 16:50:53 +08:00
SuLea-IT 634e26e8e7
Merge PR #1024 2026-06-11 10:47:42 +08:00
t8y2 8df9484447 feat(ai): support auth methods 2026-06-10 12:14:36 +08:00
t8y2 edba8214b5 feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
SuLea-IT 5138c1a702
Add configurable SQL formatter settings (#908)
Thanks!
2026-06-09 12:05:17 +08:00
二丫讲梵 178a800ce8
feat(shortcuts): 添加打开设置的键盘快捷键
新增 openSettings 快捷键,默认绑定 Mod+,,用于触发设置对话框。

包含所有语言包的翻译、键盘快捷键文档更新,以及测试用例。
2026-06-08 21:52:26 +08:00
t8y2 fabf2172e4 chore: migrate test runner from node:test/tsx to vitest
155 files, 1091 tests, 4.3s (2x faster than previous 9.1s).
2026-06-08 01:17:27 +08:00
t8y2 3eefe87380 feat(settings): allow disabling update reminders 2026-06-07 01:07:31 +08:00
t8y2 e780e66e41 fix(sql): improve kingbase metadata loading and dangerous sql confirmation 2026-06-05 12:48:29 +08:00