From 5911351804adf92e073196917d8282087b9acc58 Mon Sep 17 00:00:00 2001 From: dengjingren Date: Sat, 27 Jun 2026 00:19:34 +0800 Subject: [PATCH 1/2] feat: add text2sql + text2sql_ui plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - plugins/text2sql (backend, depends_on ai): 自然语言查库,数据集/数据源/Few-shot 样例管理与只读安全取数 - plugins/text2sql_ui (frontend): 数据集/数据源/样例管理页 - regenerate plugins-data.{json,ts} via generate.ts --- .gitmodules | 6 ++++++ plugins-data.json | 38 ++++++++++++++++++++++++++++++++++++++ plugins-data.ts | 38 ++++++++++++++++++++++++++++++++++++++ plugins/text2sql | 1 + plugins/text2sql_ui | 1 + 5 files changed, 84 insertions(+) create mode 160000 plugins/text2sql create mode 160000 plugins/text2sql_ui diff --git a/.gitmodules b/.gitmodules index 05c48c4..1b056ad 100644 --- a/.gitmodules +++ b/.gitmodules @@ -62,3 +62,9 @@ [submodule "plugins/ddddocr_server"] path = plugins/ddddocr_server url = https://github.com/fastapi-practices/ddddocr_server.git +[submodule "plugins/text2sql"] + path = plugins/text2sql + url = https://github.com/dividduang/text2sql.git +[submodule "plugins/text2sql_ui"] + path = plugins/text2sql_ui + url = https://github.com/dividduang/text2sql_ui.git diff --git a/plugins-data.json b/plugins-data.json index a68e066..a50da20 100644 --- a/plugins-data.json +++ b/plugins-data.json @@ -313,6 +313,44 @@ "branch": "master" } }, + { + "plugin": { + "summary": "Text2SQL", + "version": "0.1.0", + "description": "自然语言查库(Text2SQL):数据集/数据源/Few-shot 样例管理与只读安全取数,并可作为能力注入 ai 聊天", + "author": "david", + "tags": [ + "ai", + "other" + ], + "database": [ + "mysql", + "postgresql" + ] + }, + "git": { + "path": "plugins/text2sql", + "url": "https://github.com/dividduang/text2sql.git", + "branch": "master" + } + }, + { + "plugin": { + "summary": "Text2SQL UI", + "version": "0.1.0", + "description": "Text2SQL 数据集 / 数据源 / Few-shot 样例管理(自然语言查库),需与 ai_ui 插件一同安装", + "author": "wu-clan", + "tags": [ + "ai", + "other" + ] + }, + "git": { + "path": "plugins/text2sql_ui", + "url": "https://github.com/dividduang/text2sql_ui.git", + "branch": "master" + } + }, { "plugin": { "summary": "workflow审批流", diff --git a/plugins-data.ts b/plugins-data.ts index af74a82..078b5fd 100644 --- a/plugins-data.ts +++ b/plugins-data.ts @@ -337,6 +337,44 @@ export const pluginDataList: PluginData[] = [ "branch": "master" } }, + { + "plugin": { + "summary": "Text2SQL", + "version": "0.1.0", + "description": "自然语言查库(Text2SQL):数据集/数据源/Few-shot 样例管理与只读安全取数,并可作为能力注入 ai 聊天", + "author": "david", + "tags": [ + "ai", + "other" + ], + "database": [ + "mysql", + "postgresql" + ] + }, + "git": { + "path": "plugins/text2sql", + "url": "https://github.com/dividduang/text2sql.git", + "branch": "master" + } + }, + { + "plugin": { + "summary": "Text2SQL UI", + "version": "0.1.0", + "description": "Text2SQL 数据集 / 数据源 / Few-shot 样例管理(自然语言查库),需与 ai_ui 插件一同安装", + "author": "wu-clan", + "tags": [ + "ai", + "other" + ] + }, + "git": { + "path": "plugins/text2sql_ui", + "url": "https://github.com/dividduang/text2sql_ui.git", + "branch": "master" + } + }, { "plugin": { "summary": "workflow审批流", diff --git a/plugins/text2sql b/plugins/text2sql new file mode 160000 index 0000000..0a2eddd --- /dev/null +++ b/plugins/text2sql @@ -0,0 +1 @@ +Subproject commit 0a2edddc4455b66994fb1cfbd2a819bd6657c2bf diff --git a/plugins/text2sql_ui b/plugins/text2sql_ui new file mode 160000 index 0000000..5d43eed --- /dev/null +++ b/plugins/text2sql_ui @@ -0,0 +1 @@ +Subproject commit 5d43eedfefd350268dde4e189b01a45f286a7148 From 19ab9b6b4a66a8e5f1870a560d730e50eb635431 Mon Sep 17 00:00:00 2001 From: dengjingren Date: Sat, 27 Jun 2026 10:29:35 +0800 Subject: [PATCH 2/2] chore: bump text2sql to self-contained revision 117d89e (no ai modifications) --- plugins/text2sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/text2sql b/plugins/text2sql index 0a2eddd..117d89e 160000 --- a/plugins/text2sql +++ b/plugins/text2sql @@ -1 +1 @@ -Subproject commit 0a2edddc4455b66994fb1cfbd2a819bd6657c2bf +Subproject commit 117d89ed714f11f75aab02d7675afaa09c72a36d