67 Commits

Author SHA1 Message Date
Daniel 3cd8bb5c99 🎨 CLI supports setting the logging level
Signed-off-by: Daniel <845765@qq.com>
2026-07-03 11:50:37 +08:00
Daniel 81dc28ff79 🎨 CLI supports setting the logging level
Signed-off-by: Daniel <845765@qq.com>
2026-07-03 11:50:37 +08:00
Daniel 67d18d85c4 🎨 Add inbox command to CLI
Signed-off-by: Daniel <845765@qq.com>
2026-07-01 00:47:25 +08:00
Daniel 823e35b20a 🎨 Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788 https://ld246.com/article/1782811075261
Signed-off-by: Daniel <845765@qq.com>
2026-06-30 21:28:33 +08:00
Daniel d6b27de5e0 Command Line Interface (CLI) https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-28 12:47:47 +08:00
Daniel 5dca6d22d1 🎨 Supports launching in Safe Mode on Desktop https://github.com/siyuan-note/siyuan/issues/17948
Signed-off-by: Daniel <845765@qq.com>
2026-06-26 23:49:31 +08:00
Daniel e1303a2d80 Command Line Interface (CLI) https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-24 08:40:42 +08:00
Daniel 790640c6ea Command Line Interface (CLI) https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-24 08:37:44 +08:00
Daniel db266e7fab 🎨 Improve block op api
Signed-off-by: Daniel <845765@qq.com>
2026-06-20 11:21:15 +08:00
Daniel 30a8ad7258 Command Line Interface (CLI) https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-18 12:42:22 +08:00
Daniel 2ca1f179f0 Improve database view performance https://github.com/siyuan-note/siyuan/issues/17830
Signed-off-by: Daniel <845765@qq.com>
2026-06-17 19:55:41 +08:00
Daniel 09c214a984 🎨 https://github.com/siyuan-note/siyuan/issues/17865
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 13:34:07 +08:00
Daniel bcbd18658a 💥 Kernel serving now requires an explicit serve subcommand https://github.com/siyuan-note/siyuan/issues/17866
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 12:47:30 +08:00
游夏 36f4e3720e 🎨 Add Simplified/Traditional Chinese sensitivity option (#17846)
*  搜索支持区分繁简选项 Add Simplified/Traditional Chinese sensitivity option for search

新增搜索配置 hanSensitive(区分繁简,默认开启 = 现状行为,命名与语义
向 caseSensitive 对齐)。关闭后简体与繁体可互相检索。

- FTS 层:关闭区分繁简时,blocks_fts / blocks_fts_case_insensitive 建表
  追加 han_insensitive 分词器参数(依赖 88250/go-sqlite3 配套补丁),
  繁体在分词时按单字折叠为简体,token 偏移仍指向原文;
- 切换选项复用区分大小写现有的 FullReindex 流程;
- 高亮:EncloseHighlighting 在关闭区分繁简时将关键字逐字符展开为
  繁简等价字符类(如 诗经 -> [诗詩][经經]),与分词器使用同一份
  OpenCC TSCharacters 映射数据;
- 兼容:旧版本 conf.json 缺 hanSensitive 字段时按既往行为置为开启;
  setSearch 请求未携带该字段(现行前端/第三方调用)时保持当前值,
  避免被零值意外翻转并触发重建索引;
- 遵照配置界面重写计划(#17601),本次不改动设置界面与 i18n,仅添加
  配置数据结构字段与前端类型定义(config.d.ts)。

范围说明:本次仅覆盖块全文搜索(关键字/查询语法)的命中与高亮;
历史/资源文件搜索、数据库属性过滤、虚拟引用、查找替换的替换动作
不在本次范围内(替换保持字节精确以避免误改原文)。

Fixes #13304

* 🐛 add missing util.SearchHanSensitive referenced by highlighting and sql.SetHanSensitive

Copilot 评审指出 util.SearchHanSensitive 未定义导致无法编译:补上该全局
变量(默认 true,与既往行为一致,由 sql.SetHanSensitive 维护),并修正
conf/search.go 的 gofmt 对齐。已在本地以 dev 当前 go.mod(已合并的
88250/go-sqlite3 分词器)完成 go build -tags fts5 与 kernel/search 单测验证。
2026-06-12 15:59:50 +08:00
Daniel 234037ac9f AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 23:19:58 +08:00
Daniel ac970950f5 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 16:54:02 +08:00
Daniel 440fa9afdb Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-10 12:20:48 +08:00
Daniel a53053c354 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-09 21:38:45 +08:00
Daniel 24b874e0e6 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-06 17:14:56 +08:00
Daniel 1d7ba73fe3 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-06 17:09:05 +08:00
Daniel 703b8f8fe7 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-05 15:38:15 +08:00
Daniel 3e0ad0610c Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-03 17:55:54 +08:00
Daniel cff2b19f6a Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-02 23:18:40 +08:00
Daniel def96bf85c Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-01 17:00:02 +08:00
Daniel 031c067ca4 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-06-01 17:00:02 +08:00
Daniel 2f0fcb7bb4 Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-05-31 22:11:20 +08:00
Daniel 514267106c Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-31 21:52:44 +08:00
Daniel 418a47a959 Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-05-31 11:52:43 +08:00
Daniel 08aaaedb13 Semantic search using AI embeddings https://github.com/siyuan-note/siyuan/issues/17788
Signed-off-by: Daniel <845765@qq.com>
2026-05-30 21:04:01 +08:00
Daniel f5f510ec2e Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-29 17:09:20 +08:00
Daniel 16c6e30359 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-28 20:03:20 +08:00
Daniel 89368e0105 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-26 17:54:12 +08:00
Daniel fff44b5d4c Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-26 17:45:50 +08:00
Daniel 7345f451e2 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-26 17:28:25 +08:00
Daniel d6cc71e10a Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-22 11:35:43 +08:00
Jeffrey Chen 0a454d3cb7 🎨 Add read-only mode to /api/query/sql (#17696)
* 🧑‍💻 Add read-only mode to `/api/query/sql`

* 🎨 sql.CheckSingleStatement excludes end-of-line comments
2026-05-18 18:28:31 +08:00
Daniel d711ede632 🎨 https://github.com/siyuan-note/siyuan/issues/17695
Signed-off-by: Daniel <845765@qq.com>
2026-05-18 11:36:00 +08:00
Daniel 1fa1b0e5b9 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 16:42:41 +08:00
Daniel 74718978fb Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 15:47:47 +08:00
Daniel 5220026291 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 15:23:38 +08:00
Daniel bc5145412e Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 12:17:17 +08:00
Daniel 38c85d2469 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 11:59:58 +08:00
Daniel 0e73daf7e8 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 11:18:07 +08:00
Daniel 4443f1bb76 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 11:10:00 +08:00
Daniel 2961aaedb7 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 10:40:21 +08:00
Daniel 3f10a83416 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 09:39:26 +08:00
Daniel 55ec419f65 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 09:35:02 +08:00
Daniel 2aad10cf40 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 09:21:22 +08:00
Daniel 28e4d1f1ce Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-17 08:51:36 +08:00
Daniel 6674933fa2 Command Line Interface https://github.com/siyuan-note/siyuan/issues/17674
Signed-off-by: Daniel <845765@qq.com>
2026-05-16 17:31:08 +08:00