993 Commits

Author SHA1 Message Date
Daniel d9b481b34a 🔖 Release v3.7.0
Signed-off-by: Daniel <845765@qq.com>
2026-06-30 09:39:54 +08:00
Jeffrey Chen 7ad73c3b75 🎨 Get the update log only in non-pre-release versions (#17983) 2026-06-29 19:17:24 +08:00
Daniel 132306961b 🔖 Release v3.7.0-rc.2
Signed-off-by: Daniel <845765@qq.com>
2026-06-29 15:41:10 +08:00
Daniel a83cdc7417 🐛 https://github.com/siyuan-note/siyuan/issues/17973
Signed-off-by: Daniel <845765@qq.com>
2026-06-29 12:27:21 +08:00
Daniel 769b73fdbe 🐛 https://github.com/siyuan-note/siyuan/issues/17973
Signed-off-by: Daniel <845765@qq.com>
2026-06-29 12:27:18 +08:00
Daniel 67f58e70dc 🔖 Release v3.7.0-rc.1
Signed-off-by: Daniel <845765@qq.com>
2026-06-28 20:15:31 +08:00
Daniel 0f4e400811 🔖 Release v3.7.0-beta.4
Signed-off-by: Daniel <845765@qq.com>
2026-06-28 11:18:18 +08:00
Daniel 9e6429234b 🔖 Release v3.7.0-beta.3
Signed-off-by: Daniel <845765@qq.com>
2026-06-27 08:56:28 +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 f3eba7a4be AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-26 11:41:55 +08:00
Daniel 49a6468d5b AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-26 11:01:52 +08:00
Daniel 56ab4026ab 🔖 Release v3.7.0-beta.2
Signed-off-by: Daniel <845765@qq.com>
2026-06-26 00:06:11 +08:00
Daniel 0edf26a09f 🎨 Improve ai settings https://github.com/siyuan-note/siyuan/issues/17914
Signed-off-by: Daniel <845765@qq.com>
2026-06-25 16:15:36 +08:00
Daniel 33af4c0a5e 🎨 Improve ai settings https://github.com/siyuan-note/siyuan/issues/17914
Signed-off-by: Daniel <845765@qq.com>
2026-06-25 15:47:19 +08:00
Daniel 02a97f0dc8 Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-06-25 07:27:15 +08:00
Daniel 929c54937c 🔖 Release v3.7.0-beta.1
Signed-off-by: Daniel <845765@qq.com>
2026-06-23 19:50:39 +08:00
Daniel 156f9e8561 🎨 Directly inserting a list block into a list item block is no longer supported https://github.com/siyuan-note/siyuan/issues/17890
Signed-off-by: Daniel <845765@qq.com>
2026-06-21 15:02:33 +08:00
Daniel 1d8e00599f 🎨 https://github.com/siyuan-note/siyuan/issues/17890
Signed-off-by: Daniel <845765@qq.com>
2026-06-20 17:11:32 +08:00
Jeffrey Chen 5e0a1a4be2 ♻️ Change the lang value to comply with RFC 5646 https://github.com/siyuan-note/siyuan/issues/17855 (#17888) 2026-06-19 23:34:31 +08:00
Daniel 8a2472e66e 🎨 https://github.com/siyuan-note/siyuan/issues/14394#issuecomment-4747687317
Signed-off-by: Daniel <845765@qq.com>
2026-06-19 10:49:00 +08:00
Daniel abe1fe19d5 🎨 Stop exposing the absolute workspace path to browsers https://github.com/siyuan-note/siyuan/issues/17410
Signed-off-by: Daniel <845765@qq.com>
2026-06-17 08:20:17 +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
Daniel 96d77f229f 🎨 https://github.com/siyuan-note/siyuan/issues/17863#issuecomment-4714055684
Signed-off-by: Daniel <845765@qq.com>
2026-06-16 10:09:56 +08:00
Daniel a8ff18e037 🎨 https://github.com/siyuan-note/siyuan/issues/17859
Signed-off-by: Daniel <845765@qq.com>
2026-06-15 09:56:43 +08:00
Daniel 69a8fba803 ♻️ Change the lang value to comply with RFC 5646 https://github.com/siyuan-note/siyuan/issues/17855
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 14:03:02 +08:00
Daniel 3248a83895 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 10:27:30 +08:00
Daniel 879a85f87e AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-14 10:26:15 +08:00
Daniel 7b79fc3089 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 20:22:45 +08:00
Daniel 59dc786120 New settings UI https://github.com/siyuan-note/siyuan/issues/17601
Signed-off-by: Daniel <845765@qq.com>
2026-06-13 12:09:59 +08:00
Daniel 6d6c3b14ac ♻️ No longer create table blocks_fts_case_insensitive https://github.com/siyuan-note/siyuan/issues/17849
Signed-off-by: Daniel <845765@qq.com>
2026-06-12 22:18:07 +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 32cbfe5f18 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-09 21:38:46 +08:00
Yingyi / 颖逸 0502614d59 🎨 Add MCP tool management API for kernel plugin (#17834)
* 🎨 Enhance MCP tool management with registration, unregistration, and sanitization features

* 🎨 Enhance MCP tool management with registration, unregistration, and sanitization features

* 🎨 Improve registerTool function with enhanced argument validation and output schema support

* 🎨 Enhance error handling and output schema in MCP tool registration

* 🎨 Add state check in invokeMcpTool to prevent invocation when plugin is not running
2026-06-09 20:21:25 +08:00
Daniel 824d1dc7fb AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-07 23:10:50 +08:00
Daniel d15652747e AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-05 21:54:52 +08:00
Daniel 3be15c8af0 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-05 20:47:03 +08:00
Daniel 9f8dfea61e AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-05 12:55:24 +08:00
Daniel c5aa7f4595 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 20:28:33 +08:00
Daniel fec1cf62a0 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 20:20:52 +08:00
Daniel b8d6fa5d38 AI Agent https://github.com/siyuan-note/siyuan/issues/17797
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 20:18:14 +08:00
Daniel b56232dc8c Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 20:13:53 +08:00
Daniel 6de5ca5afb Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 19:51:17 +08:00
Daniel 1c0ef9ff46 🎨 https://github.com/siyuan-note/siyuan/issues/17788#issuecomment-4619149674
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 19:10:59 +08:00
Daniel 88ae06150d 🎨 Improve indexing
Signed-off-by: Daniel <845765@qq.com>
2026-06-04 12:17:50 +08:00
Daniel 8216a96b5a 🔒 https://github.com/siyuan-note/siyuan/security/advisories/GHSA-r6v5-4c66-f6pw
Signed-off-by: Daniel <845765@qq.com>
2026-06-03 21:08:14 +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
mm-o dda0fb9136 🎨 Add Generic Streamed Proxy Responses for Kernel Plugins (#17748)
* Add streaming proxy response for kernel plugins

* Harden kernel plugin streaming proxy
2026-05-29 09:43:21 +08:00
Yingyi / 颖逸 ff1b0bc658 ♻️ Refactor error codes for consistency in kernel plugin, broadcast and utility functions (#17770)
* Refactor error codes in broadcast, network, plugin, and utility functions for consistency

* Fix API endpoint paths in multiple functions for consistency
2026-05-29 09:29:17 +08:00
Yingyi / 颖逸 16036ae701 🎨 Implement kernel plugin lifecycle management and client plugin API (#17761)
* 🎨 Implement kernel plugin lifecycle management and state updates

* 🎨 Refactor kernel plugin to use options object in constructor and enhance event bus integration

* 🎨 Move kernel initialization to after plugin onload for improved lifecycle management

* 🎨 Improve error handling and argument validation in kernel plugin methods

* 🎨 Enhance error handling in removePluginSourceWatch by returning error

* 🎨 Refactor kernel plugin state management by removing 'loaded' state and related lifecycle events

* Fix running state code in kernel plugin state management
2026-05-27 17:26:10 +08:00
Daniel ddc20ede8c 🎨 https://github.com/siyuan-note/siyuan/issues/17753#issuecomment-4544741363
Signed-off-by: Daniel <845765@qq.com>
2026-05-27 10:58:59 +08:00