noteconnection 1.6.5 → 1.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # 2026-03-24 v1.6.0
1
+ # 2026-03-24 v1.6.0
2
2
 
3
3
  # NoteConnection Knowledge Graph
4
4
 
@@ -285,6 +285,7 @@ Managing your knowledge base source is now easier than ever.
285
285
  - **Reset**: Use **File > Reset to Default** to return to the bundled demo notes.
286
286
  - **Config Path Overrides**: Set `NOTE_CONNECTION_CONFIG_PATH` (full file path) or `NOTE_CONNECTION_CONFIG_DIR` (directory) to customize where `app_config.toml` is stored.
287
287
  - **Window Behavior Tuning**: Edit `[multi_window]` in `app_config.toml` (`single_window_mode`, `hide_tauri_when_pathmode_opens`, `restore_tauri_when_pathmode_exits`, `confirm_before_full_shutdown_from_godot`, `sync_language`).
288
+ - **Reader Protocol Tuning**: Edit `[frontend_settings.reading]` to control markdown rendering runtime (`markdown_engine`, `chunk_block_size`, `prefetch_blocks`, `index_cache_ttl_sec`, `max_doc_bytes`).
288
289
  - **Detailed Config Guide**: See [`docs/en/app_config.toml_guide.md`](docs/en/app_config.toml_guide.md) and template [`docs/examples/app_config.template.toml`](docs/examples/app_config.template.toml).
289
290
 
290
291
  ```toml
@@ -298,8 +299,25 @@ hide_tauri_when_pathmode_opens = true
298
299
  restore_tauri_when_pathmode_exits = true
299
300
  confirm_before_full_shutdown_from_godot = true
300
301
  sync_language = true
302
+
303
+ [frontend_settings.reading]
304
+ mode = "window"
305
+ markdown_engine = "auto" # "legacy" | "pulldown" | "auto"
306
+ chunk_block_size = 36
307
+ prefetch_blocks = 8
308
+ index_cache_ttl_sec = 1800
309
+ max_doc_bytes = 100663296
301
310
  ```
302
311
 
312
+ ### Markdown Reader Protocol (v1.6.6)
313
+
314
+ - **Dual-engine gray release**:
315
+ - `markdown_engine = "auto"`: prefer `pulldown-cmark`, fallback to legacy on failure.
316
+ - `markdown_engine = "pulldown"`: keep automatic fallback to legacy to avoid blank readers.
317
+ - `markdown_engine = "legacy"`: force original parser path.
318
+ - **Unified cross-window behavior**: Tauri reader and Godot reader now both consume the same sidecar markdown protocol (`index/chunk/resolve-node/resolve-wiki`).
319
+ - **Large file stability**: reader no longer requires single-shot full markdown payloads and supports block-based incremental loading.
320
+
303
321
  ## 🏗️ Build & Deployment
304
322
 
305
323
  For developers building from source, NoteConnection offers two build modes:
@@ -319,14 +337,18 @@ For developers building from source, NoteConnection offers two build modes:
319
337
  - Run mapping validation: `npm run docs:diataxis:check`.
320
338
  - Run local docs site preview: `npm run docs:site:serve`.
321
339
  - Build static docs site: `npm run docs:site:build`.
322
- - EdgeOne Docs Portal (MkDocs deploy): `https://noteconnection-docs.edgeone.run`
323
- - If you see `401 Authorization Required`, open the latest signed URL printed by deployment as `EDGEONE_DEPLOY_URL`, or disable preset-domain protection in EdgeOne Pages settings.
324
- - Public mirror (fallback): `https://jacobinwwey.github.io/NoteConnection/`.
340
+ - GitHub Pages Docs Portal (project site): `https://jacobinwwey.github.io/NoteConnection/`.
341
+ - Host root (for routing baseline): `https://jacobinwwey.github.io/`.
325
342
  - Recommended lookup entry points:
326
343
  - Users: `/diataxis/zh/tutorials/first-run/` or `/diataxis/en/tutorials/first-run/`
327
344
  - Developers: `/diataxis/en/reference/interfaces-and-runtime/` and `/diataxis/en/reference/release-and-governance/`
328
- - EdgeOne publish command (MkDocs site): `edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`.
345
+ - CI auto publish workflow (GitHub Pages): `.github/workflows/docs-github-pages-publish.yml`.
346
+ - Manual rollback entry: run workflow dispatch and set `git_ref` to a stable tag/commit.
347
+ - MkDocs base/path can be overridden by environment variables: `MKDOCS_SITE_URL`, `MKDOCS_BASE_PATH`.
329
348
  - CI policy gate for docs mapping and site build: `.github/workflows/docs-diataxis-site.yml`.
349
+ - Docs release + rollback runbook:
350
+ - English: [`docs/en/docs_release_and_rollback.md`](docs/en/docs_release_and_rollback.md)
351
+ - 中文: [`docs/zh/docs_release_and_rollback.md`](docs/zh/docs_release_and_rollback.md)
330
352
 
331
353
  ## 🛠️ Hardware & Driver Requirements (AMDGPU)
332
354
 
@@ -341,13 +363,33 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
341
363
 
342
364
  ## 📅 Changelog
343
365
 
366
+ ### v1.6.7 - Docs Governance Cleanup & GitHub Pages Stabilization (2026-03-29)
367
+ - Removed unrelated external community UI documentation references from the repository documentation system.
368
+ - Replaced legacy external runbooks with project-owned docs operations runbooks:
369
+ - `docs/en/docs_release_and_rollback.md`
370
+ - `docs/zh/docs_release_and_rollback.md`
371
+ - Updated Diataxis governance mapping and cross-links to use the new canonical runbook paths.
372
+ - Added GitHub Pages preflight verification in docs publish workflow to surface clear warnings when Pages is not enabled.
373
+ - Resolved docs portal 404 condition by enabling repository Pages with `gh-pages` branch as publish source.
374
+ - Prepared formal release metadata and version alignment to `1.6.7` (npm + Tauri).
375
+
376
+ ### v1.6.6 - Unified Provider Runtime & TOML Settings Consolidation (2026-03-26)
377
+ - Upgraded NoteMD API calling flow to a definition-driven provider architecture inspired by recent obsidian-NotEMD and cline patterns.
378
+ - Added transport-based dispatch (openai-compatible, anthropic, google, azure-openai, ollama) and provider metadata (apiKeyMode, apiTestMode, category).
379
+ - Expanded built-in provider presets: Qwen, Doubao, Moonshot, GLM, MiniMax, Groq, Together, Fireworks, Requesty, OpenAI Compatible.
380
+ - Unified runtime settings persistence in app_config.toml across Tauri + Godot + NoteMD:
381
+ - full NoteMD settings in [notemd] + [[notemd.providers]] (with legacy [notemd.api] compatibility mirror)
382
+ - Godot Path Mode settings in [path_mode] with runtime API endpoint /api/path-mode/settings
383
+ - Godot settings panel migrated to runtime TOML sync path.
384
+ - Hardened Rust-side TOML writes to preserve unknown sections, preventing accidental loss of [notemd] / [path_mode] when Tauri updates KB path or language.
385
+ - Updated bilingual documentation and templates for v1.6.6 schema and operations.
344
386
  ### v1.6.5 - Documentation Portal Update (2026-03-26)
345
387
 
346
- - Published MkDocs documentation to EdgeOne Pages project `noteconnection-docs`.
388
+ - Published MkDocs documentation to GitHub Pages project site.
347
389
  - Added bilingual README guidance for docs lookup paths (user/tutorial and developer/reference entry points).
348
- - Standardized docs publish command for maintainers:
390
+ - Standardized docs publish flow for maintainers:
349
391
  - `npm run docs:site:build`
350
- - `edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`
392
+ - `.github/workflows/docs-github-pages-publish.yml` (`workflow_dispatch` supports `git_ref` rollback)
351
393
  ### v1.6.0 - Unified Runtime, NoteMD Integration & Release Hardening (2026-03-23)
352
394
 
353
395
  - **Tag Compare Snapshot (`v1.3.0..v1.6.0`)**:
@@ -904,7 +946,7 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
904
946
  ## 中文文档
905
947
 
906
948
 
907
- # 2026-03-24 v1.6.0
949
+ # 2026-03-29 v1.6.7
908
950
  # NoteConnection: 层级知识图谱可视化系统
909
951
 
910
952
  <img width="606" height="309" alt="banner" src="https://github.com/user-attachments/assets/92e90de5-2b1a-4398-8e8b-6e142c92b6a2" />
@@ -1176,6 +1218,7 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
1176
1218
  - **重置**: 使用 **文件 > 重置为默认** 返回由捆绑的演示笔记。
1177
1219
  - **配置路径覆盖**: 可通过 `NOTE_CONNECTION_CONFIG_PATH`(完整文件路径)或 `NOTE_CONNECTION_CONFIG_DIR`(目录)自定义 `app_config.toml` 位置。
1178
1220
  - **窗口行为可调**: 在 `app_config.toml` 的 `[multi_window]` 段调整 `single_window_mode`、`hide_tauri_when_pathmode_opens`、`restore_tauri_when_pathmode_exits`、`confirm_before_full_shutdown_from_godot`、`sync_language`。
1221
+ - **阅读协议可调**: 在 `[frontend_settings.reading]` 中统一调节 Markdown 渲染链路(`markdown_engine`、`chunk_block_size`、`prefetch_blocks`、`index_cache_ttl_sec`、`max_doc_bytes`)。
1179
1222
  - **详细配置说明**: 参见 [`docs/zh/app_config.toml_guide.md`](docs/zh/app_config.toml_guide.md) 与模板 [`docs/examples/app_config.template.toml`](docs/examples/app_config.template.toml)。
1180
1223
 
1181
1224
  ```toml
@@ -1189,8 +1232,25 @@ hide_tauri_when_pathmode_opens = true
1189
1232
  restore_tauri_when_pathmode_exits = true
1190
1233
  confirm_before_full_shutdown_from_godot = true
1191
1234
  sync_language = true
1235
+
1236
+ [frontend_settings.reading]
1237
+ mode = "window"
1238
+ markdown_engine = "auto" # "legacy" | "pulldown" | "auto"
1239
+ chunk_block_size = 36
1240
+ prefetch_blocks = 8
1241
+ index_cache_ttl_sec = 1800
1242
+ max_doc_bytes = 100663296
1192
1243
  ```
1193
1244
 
1245
+ ### Markdown 阅读协议(v1.6.6)
1246
+
1247
+ - **双引擎灰度发布**:
1248
+ - `markdown_engine = "auto"`:优先 `pulldown-cmark`,失败自动回退 legacy。
1249
+ - `markdown_engine = "pulldown"`:仍保留自动回退 legacy,避免阅读器空白。
1250
+ - `markdown_engine = "legacy"`:强制使用旧解析链路。
1251
+ - **双窗口统一行为**:Tauri 阅读器与 Godot 阅读器都统一消费 sidecar Markdown 协议(`index/chunk/resolve-node/resolve-wiki`)。
1252
+ - **大文档稳定性提升**:阅读链路不再依赖单次整文全量载入,改为块级增量加载。
1253
+
1194
1254
  ## 🏗️ 构建与部署 (Build & Deployment)
1195
1255
 
1196
1256
  对于从源码构建的开发者,NoteConnection 提供两种构建模式:
@@ -1210,14 +1270,18 @@ sync_language = true
1210
1270
  - 映射一致性校验:`npm run docs:diataxis:check`。
1211
1271
  - 本地预览文档站点:`npm run docs:site:serve`。
1212
1272
  - 构建静态文档站点:`npm run docs:site:build`。
1213
- - EdgeOne 文档入口(MkDocs 发布):`https://noteconnection-docs.edgeone.run`
1214
- - 若出现 `401 Authorization Required`,请使用最近一次部署输出中的 `EDGEONE_DEPLOY_URL` 签名链接,或在 EdgeOne Pages 项目中关闭预设域名访问保护。
1215
- - 公共镜像(兜底):`https://jacobinwwey.github.io/NoteConnection/`。
1273
+ - GitHub Pages 文档入口(project site):`https://jacobinwwey.github.io/NoteConnection/`。
1274
+ - 根域名(路由基线):`https://jacobinwwey.github.io/`。
1216
1275
  - 推荐查询入口:
1217
1276
  - 用户文档:`/diataxis/zh/tutorials/first-run/` 或 `/diataxis/en/tutorials/first-run/`
1218
1277
  - 开发文档:`/diataxis/en/reference/interfaces-and-runtime/` 与 `/diataxis/en/reference/release-and-governance/`
1219
- - EdgeOne 发布命令(MkDocs 产物):`edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`。
1278
+ - CI 自动发布工作流(GitHub Pages):`.github/workflows/docs-github-pages-publish.yml`。
1279
+ - 手动回滚入口:运行 workflow_dispatch 并设置 `git_ref` 为稳定 tag/commit。
1280
+ - MkDocs base/path 可通过环境变量覆盖:`MKDOCS_SITE_URL`、`MKDOCS_BASE_PATH`。
1220
1281
  - CI 文档治理工作流:`.github/workflows/docs-diataxis-site.yml`。
1282
+ - 文档发布与回滚运行手册:
1283
+ - English:[`docs/en/docs_release_and_rollback.md`](docs/en/docs_release_and_rollback.md)
1284
+ - 中文:[`docs/zh/docs_release_and_rollback.md`](docs/zh/docs_release_and_rollback.md)
1221
1285
 
1222
1286
  ---
1223
1287
 
@@ -1225,13 +1289,35 @@ sync_language = true
1225
1289
 
1226
1290
  ## 更新日志 (Changelog)
1227
1291
 
1228
- ### v1.6.5 - �ĵ��Ż����£�2026-03-26��
1229
-
1230
- - �ѽ� MkDocs �ĵ������� EdgeOne Pages ��Ŀ `noteconnection-docs`��
1231
- - ���� README ������Ӣ�IJ�ѯָ���������û��̳�����뿪���ο���ڣ���
1232
- - ά���߷�������ͳһΪ��
1292
+ ### v1.6.7 - 文档治理清理与 GitHub Pages 稳定性修复 (2026-03-29)
1293
+ - 清理并移除了项目文档体系中与本项目无关的外部社区界面文档引用。
1294
+ - 将历史外部手册替换为项目内通用文档运维手册:
1295
+ - `docs/en/docs_release_and_rollback.md`
1296
+ - `docs/zh/docs_release_and_rollback.md`
1297
+ - 同步更新 Diataxis 映射与跨文档链接,确保权威来源路径一致。
1298
+ - 在文档发布工作流新增 GitHub Pages 预检步骤,未启用 Pages 时给出明确告警。
1299
+ - 已通过仓库 Pages 启用与 `gh-pages` 源配置修复文档站点 404 问题。
1300
+ - 完成下个正式版本发布准备,并将版本统一到 `1.6.7`(npm + Tauri)。
1301
+
1302
+ ### v1.6.6 - Provider 运行时流程与 TOML 配置统一 (2026-03-26)
1303
+ - 参考 obsidian-NotEMD 与 cline 的 Provider 策略,重构 NoteMD API 调用流为定义驱动。
1304
+ - 新增 transport 分发(openai-compatible / anthropic / google / azure-openai / ollama)与 provider 元数据(apiKeyMode、apiTestMode、category)。
1305
+ - 扩展内置 Provider 预设:Qwen、Doubao、Moonshot、GLM、MiniMax、Groq、Together、Fireworks、Requesty、OpenAI Compatible。
1306
+ - 完成 Tauri + Godot + NoteMD 的 app_config.toml 统一配置:
1307
+ - NoteMD 全量配置持久化到 [notemd] + [[notemd.providers]](保留 [notemd.api] 兼容镜像)
1308
+ - Path Mode 配置持久化到 [path_mode],并提供 /api/path-mode/settings 读写接口
1309
+ - Godot 设置面板升级为运行时 TOML 同步链路。
1310
+ - 加固 Rust 端 TOML 回写:保留未知 section,避免 Tauri 更新 KB/语言时覆盖 [notemd] / [path_mode]。
1311
+ - 同步更新 v1.6.6 双语模板与 Diataxis 文档。
1312
+
1313
+ ### v1.6.5 - 文档门户更新 (2026-03-26)
1314
+
1315
+ - 已将 MkDocs 文档发布到 GitHub Pages project site。
1316
+ - 在 README 中补充了面向用户与开发者的中英文文档检索入口。
1317
+ - 维护者发布流程统一为:
1233
1318
  - `npm run docs:site:build`
1234
- - `edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`
1319
+ - `.github/workflows/docs-github-pages-publish.yml`(`workflow_dispatch` 支持 `git_ref` 回滚)
1320
+
1235
1321
  ### v1.6.0 - 单窗口运行时、NoteMD 集成与发布加固 (2026-03-23)
1236
1322
 
1237
1323
  - **Tag 对比快照(`v1.3.0..v1.6.0`)**:
@@ -1,4 +1,4 @@
1
- # 2026-03-24 v1.6.0
1
+ # 2026-03-24 v1.6.0
2
2
 
3
3
  # NoteConnection Knowledge Graph
4
4
 
@@ -285,6 +285,7 @@ Managing your knowledge base source is now easier than ever.
285
285
  - **Reset**: Use **File > Reset to Default** to return to the bundled demo notes.
286
286
  - **Config Path Overrides**: Set `NOTE_CONNECTION_CONFIG_PATH` (full file path) or `NOTE_CONNECTION_CONFIG_DIR` (directory) to customize where `app_config.toml` is stored.
287
287
  - **Window Behavior Tuning**: Edit `[multi_window]` in `app_config.toml` (`single_window_mode`, `hide_tauri_when_pathmode_opens`, `restore_tauri_when_pathmode_exits`, `confirm_before_full_shutdown_from_godot`, `sync_language`).
288
+ - **Reader Protocol Tuning**: Edit `[frontend_settings.reading]` to control markdown rendering runtime (`markdown_engine`, `chunk_block_size`, `prefetch_blocks`, `index_cache_ttl_sec`, `max_doc_bytes`).
288
289
  - **Detailed Config Guide**: See [`docs/en/app_config.toml_guide.md`](docs/en/app_config.toml_guide.md) and template [`docs/examples/app_config.template.toml`](docs/examples/app_config.template.toml).
289
290
 
290
291
  ```toml
@@ -298,8 +299,25 @@ hide_tauri_when_pathmode_opens = true
298
299
  restore_tauri_when_pathmode_exits = true
299
300
  confirm_before_full_shutdown_from_godot = true
300
301
  sync_language = true
302
+
303
+ [frontend_settings.reading]
304
+ mode = "window"
305
+ markdown_engine = "auto" # "legacy" | "pulldown" | "auto"
306
+ chunk_block_size = 36
307
+ prefetch_blocks = 8
308
+ index_cache_ttl_sec = 1800
309
+ max_doc_bytes = 100663296
301
310
  ```
302
311
 
312
+ ### Markdown Reader Protocol (v1.6.6)
313
+
314
+ - **Dual-engine gray release**:
315
+ - `markdown_engine = "auto"`: prefer `pulldown-cmark`, fallback to legacy on failure.
316
+ - `markdown_engine = "pulldown"`: keep automatic fallback to legacy to avoid blank readers.
317
+ - `markdown_engine = "legacy"`: force original parser path.
318
+ - **Unified cross-window behavior**: Tauri reader and Godot reader now both consume the same sidecar markdown protocol (`index/chunk/resolve-node/resolve-wiki`).
319
+ - **Large file stability**: reader no longer requires single-shot full markdown payloads and supports block-based incremental loading.
320
+
303
321
  ## 🏗️ Build & Deployment
304
322
 
305
323
  For developers building from source, NoteConnection offers two build modes:
@@ -319,14 +337,18 @@ For developers building from source, NoteConnection offers two build modes:
319
337
  - Run mapping validation: `npm run docs:diataxis:check`.
320
338
  - Run local docs site preview: `npm run docs:site:serve`.
321
339
  - Build static docs site: `npm run docs:site:build`.
322
- - EdgeOne Docs Portal (MkDocs deploy): `https://noteconnection-docs.edgeone.run`
323
- - If you see `401 Authorization Required`, open the latest signed URL printed by deployment as `EDGEONE_DEPLOY_URL`, or disable preset-domain protection in EdgeOne Pages settings.
324
- - Public mirror (fallback): `https://jacobinwwey.github.io/NoteConnection/`.
340
+ - GitHub Pages Docs Portal (project site): `https://jacobinwwey.github.io/NoteConnection/`.
341
+ - Host root (for routing baseline): `https://jacobinwwey.github.io/`.
325
342
  - Recommended lookup entry points:
326
343
  - Users: `/diataxis/zh/tutorials/first-run/` or `/diataxis/en/tutorials/first-run/`
327
344
  - Developers: `/diataxis/en/reference/interfaces-and-runtime/` and `/diataxis/en/reference/release-and-governance/`
328
- - EdgeOne publish command (MkDocs site): `edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`.
345
+ - CI auto publish workflow (GitHub Pages): `.github/workflows/docs-github-pages-publish.yml`.
346
+ - Manual rollback entry: run workflow dispatch and set `git_ref` to a stable tag/commit.
347
+ - MkDocs base/path can be overridden by environment variables: `MKDOCS_SITE_URL`, `MKDOCS_BASE_PATH`.
329
348
  - CI policy gate for docs mapping and site build: `.github/workflows/docs-diataxis-site.yml`.
349
+ - Docs release + rollback runbook:
350
+ - English: [`docs/en/docs_release_and_rollback.md`](docs/en/docs_release_and_rollback.md)
351
+ - 中文: [`docs/zh/docs_release_and_rollback.md`](docs/zh/docs_release_and_rollback.md)
330
352
 
331
353
  ## 🛠️ Hardware & Driver Requirements (AMDGPU)
332
354
 
@@ -341,13 +363,33 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
341
363
 
342
364
  ## 📅 Changelog
343
365
 
366
+ ### v1.6.7 - Docs Governance Cleanup & GitHub Pages Stabilization (2026-03-29)
367
+ - Removed unrelated external community UI documentation references from the repository documentation system.
368
+ - Replaced legacy external runbooks with project-owned docs operations runbooks:
369
+ - `docs/en/docs_release_and_rollback.md`
370
+ - `docs/zh/docs_release_and_rollback.md`
371
+ - Updated Diataxis governance mapping and cross-links to use the new canonical runbook paths.
372
+ - Added GitHub Pages preflight verification in docs publish workflow to surface clear warnings when Pages is not enabled.
373
+ - Resolved docs portal 404 condition by enabling repository Pages with `gh-pages` branch as publish source.
374
+ - Prepared formal release metadata and version alignment to `1.6.7` (npm + Tauri).
375
+
376
+ ### v1.6.6 - Unified Provider Runtime & TOML Settings Consolidation (2026-03-26)
377
+ - Upgraded NoteMD API calling flow to a definition-driven provider architecture inspired by recent obsidian-NotEMD and cline patterns.
378
+ - Added transport-based dispatch (openai-compatible, anthropic, google, azure-openai, ollama) and provider metadata (apiKeyMode, apiTestMode, category).
379
+ - Expanded built-in provider presets: Qwen, Doubao, Moonshot, GLM, MiniMax, Groq, Together, Fireworks, Requesty, OpenAI Compatible.
380
+ - Unified runtime settings persistence in app_config.toml across Tauri + Godot + NoteMD:
381
+ - full NoteMD settings in [notemd] + [[notemd.providers]] (with legacy [notemd.api] compatibility mirror)
382
+ - Godot Path Mode settings in [path_mode] with runtime API endpoint /api/path-mode/settings
383
+ - Godot settings panel migrated to runtime TOML sync path.
384
+ - Hardened Rust-side TOML writes to preserve unknown sections, preventing accidental loss of [notemd] / [path_mode] when Tauri updates KB path or language.
385
+ - Updated bilingual documentation and templates for v1.6.6 schema and operations.
344
386
  ### v1.6.5 - Documentation Portal Update (2026-03-26)
345
387
 
346
- - Published MkDocs documentation to EdgeOne Pages project `noteconnection-docs`.
388
+ - Published MkDocs documentation to GitHub Pages project site.
347
389
  - Added bilingual README guidance for docs lookup paths (user/tutorial and developer/reference entry points).
348
- - Standardized docs publish command for maintainers:
390
+ - Standardized docs publish flow for maintainers:
349
391
  - `npm run docs:site:build`
350
- - `edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`
392
+ - `.github/workflows/docs-github-pages-publish.yml` (`workflow_dispatch` supports `git_ref` rollback)
351
393
  ### v1.6.0 - Unified Runtime, NoteMD Integration & Release Hardening (2026-03-23)
352
394
 
353
395
  - **Tag Compare Snapshot (`v1.3.0..v1.6.0`)**:
@@ -904,7 +946,7 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
904
946
  ## 中文文档
905
947
 
906
948
 
907
- # 2026-03-24 v1.6.0
949
+ # 2026-03-29 v1.6.7
908
950
  # NoteConnection: 层级知识图谱可视化系统
909
951
 
910
952
  <img width="606" height="309" alt="banner" src="https://github.com/user-attachments/assets/92e90de5-2b1a-4398-8e8b-6e142c92b6a2" />
@@ -1176,6 +1218,7 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
1176
1218
  - **重置**: 使用 **文件 > 重置为默认** 返回由捆绑的演示笔记。
1177
1219
  - **配置路径覆盖**: 可通过 `NOTE_CONNECTION_CONFIG_PATH`(完整文件路径)或 `NOTE_CONNECTION_CONFIG_DIR`(目录)自定义 `app_config.toml` 位置。
1178
1220
  - **窗口行为可调**: 在 `app_config.toml` 的 `[multi_window]` 段调整 `single_window_mode`、`hide_tauri_when_pathmode_opens`、`restore_tauri_when_pathmode_exits`、`confirm_before_full_shutdown_from_godot`、`sync_language`。
1221
+ - **阅读协议可调**: 在 `[frontend_settings.reading]` 中统一调节 Markdown 渲染链路(`markdown_engine`、`chunk_block_size`、`prefetch_blocks`、`index_cache_ttl_sec`、`max_doc_bytes`)。
1179
1222
  - **详细配置说明**: 参见 [`docs/zh/app_config.toml_guide.md`](docs/zh/app_config.toml_guide.md) 与模板 [`docs/examples/app_config.template.toml`](docs/examples/app_config.template.toml)。
1180
1223
 
1181
1224
  ```toml
@@ -1189,8 +1232,25 @@ hide_tauri_when_pathmode_opens = true
1189
1232
  restore_tauri_when_pathmode_exits = true
1190
1233
  confirm_before_full_shutdown_from_godot = true
1191
1234
  sync_language = true
1235
+
1236
+ [frontend_settings.reading]
1237
+ mode = "window"
1238
+ markdown_engine = "auto" # "legacy" | "pulldown" | "auto"
1239
+ chunk_block_size = 36
1240
+ prefetch_blocks = 8
1241
+ index_cache_ttl_sec = 1800
1242
+ max_doc_bytes = 100663296
1192
1243
  ```
1193
1244
 
1245
+ ### Markdown 阅读协议(v1.6.6)
1246
+
1247
+ - **双引擎灰度发布**:
1248
+ - `markdown_engine = "auto"`:优先 `pulldown-cmark`,失败自动回退 legacy。
1249
+ - `markdown_engine = "pulldown"`:仍保留自动回退 legacy,避免阅读器空白。
1250
+ - `markdown_engine = "legacy"`:强制使用旧解析链路。
1251
+ - **双窗口统一行为**:Tauri 阅读器与 Godot 阅读器都统一消费 sidecar Markdown 协议(`index/chunk/resolve-node/resolve-wiki`)。
1252
+ - **大文档稳定性提升**:阅读链路不再依赖单次整文全量载入,改为块级增量加载。
1253
+
1194
1254
  ## 🏗️ 构建与部署 (Build & Deployment)
1195
1255
 
1196
1256
  对于从源码构建的开发者,NoteConnection 提供两种构建模式:
@@ -1210,14 +1270,18 @@ sync_language = true
1210
1270
  - 映射一致性校验:`npm run docs:diataxis:check`。
1211
1271
  - 本地预览文档站点:`npm run docs:site:serve`。
1212
1272
  - 构建静态文档站点:`npm run docs:site:build`。
1213
- - EdgeOne 文档入口(MkDocs 发布):`https://noteconnection-docs.edgeone.run`
1214
- - 若出现 `401 Authorization Required`,请使用最近一次部署输出中的 `EDGEONE_DEPLOY_URL` 签名链接,或在 EdgeOne Pages 项目中关闭预设域名访问保护。
1215
- - 公共镜像(兜底):`https://jacobinwwey.github.io/NoteConnection/`。
1273
+ - GitHub Pages 文档入口(project site):`https://jacobinwwey.github.io/NoteConnection/`。
1274
+ - 根域名(路由基线):`https://jacobinwwey.github.io/`。
1216
1275
  - 推荐查询入口:
1217
1276
  - 用户文档:`/diataxis/zh/tutorials/first-run/` 或 `/diataxis/en/tutorials/first-run/`
1218
1277
  - 开发文档:`/diataxis/en/reference/interfaces-and-runtime/` 与 `/diataxis/en/reference/release-and-governance/`
1219
- - EdgeOne 发布命令(MkDocs 产物):`edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`。
1278
+ - CI 自动发布工作流(GitHub Pages):`.github/workflows/docs-github-pages-publish.yml`。
1279
+ - 手动回滚入口:运行 workflow_dispatch 并设置 `git_ref` 为稳定 tag/commit。
1280
+ - MkDocs base/path 可通过环境变量覆盖:`MKDOCS_SITE_URL`、`MKDOCS_BASE_PATH`。
1220
1281
  - CI 文档治理工作流:`.github/workflows/docs-diataxis-site.yml`。
1282
+ - 文档发布与回滚运行手册:
1283
+ - English:[`docs/en/docs_release_and_rollback.md`](docs/en/docs_release_and_rollback.md)
1284
+ - 中文:[`docs/zh/docs_release_and_rollback.md`](docs/zh/docs_release_and_rollback.md)
1221
1285
 
1222
1286
  ---
1223
1287
 
@@ -1225,13 +1289,35 @@ sync_language = true
1225
1289
 
1226
1290
  ## 更新日志 (Changelog)
1227
1291
 
1228
- ### v1.6.5 - �ĵ��Ż����£�2026-03-26��
1229
-
1230
- - �ѽ� MkDocs �ĵ������� EdgeOne Pages ��Ŀ `noteconnection-docs`��
1231
- - ���� README ������Ӣ�IJ�ѯָ���������û��̳�����뿪���ο���ڣ���
1232
- - ά���߷�������ͳһΪ��
1292
+ ### v1.6.7 - 文档治理清理与 GitHub Pages 稳定性修复 (2026-03-29)
1293
+ - 清理并移除了项目文档体系中与本项目无关的外部社区界面文档引用。
1294
+ - 将历史外部手册替换为项目内通用文档运维手册:
1295
+ - `docs/en/docs_release_and_rollback.md`
1296
+ - `docs/zh/docs_release_and_rollback.md`
1297
+ - 同步更新 Diataxis 映射与跨文档链接,确保权威来源路径一致。
1298
+ - 在文档发布工作流新增 GitHub Pages 预检步骤,未启用 Pages 时给出明确告警。
1299
+ - 已通过仓库 Pages 启用与 `gh-pages` 源配置修复文档站点 404 问题。
1300
+ - 完成下个正式版本发布准备,并将版本统一到 `1.6.7`(npm + Tauri)。
1301
+
1302
+ ### v1.6.6 - Provider 运行时流程与 TOML 配置统一 (2026-03-26)
1303
+ - 参考 obsidian-NotEMD 与 cline 的 Provider 策略,重构 NoteMD API 调用流为定义驱动。
1304
+ - 新增 transport 分发(openai-compatible / anthropic / google / azure-openai / ollama)与 provider 元数据(apiKeyMode、apiTestMode、category)。
1305
+ - 扩展内置 Provider 预设:Qwen、Doubao、Moonshot、GLM、MiniMax、Groq、Together、Fireworks、Requesty、OpenAI Compatible。
1306
+ - 完成 Tauri + Godot + NoteMD 的 app_config.toml 统一配置:
1307
+ - NoteMD 全量配置持久化到 [notemd] + [[notemd.providers]](保留 [notemd.api] 兼容镜像)
1308
+ - Path Mode 配置持久化到 [path_mode],并提供 /api/path-mode/settings 读写接口
1309
+ - Godot 设置面板升级为运行时 TOML 同步链路。
1310
+ - 加固 Rust 端 TOML 回写:保留未知 section,避免 Tauri 更新 KB/语言时覆盖 [notemd] / [path_mode]。
1311
+ - 同步更新 v1.6.6 双语模板与 Diataxis 文档。
1312
+
1313
+ ### v1.6.5 - 文档门户更新 (2026-03-26)
1314
+
1315
+ - 已将 MkDocs 文档发布到 GitHub Pages project site。
1316
+ - 在 README 中补充了面向用户与开发者的中英文文档检索入口。
1317
+ - 维护者发布流程统一为:
1233
1318
  - `npm run docs:site:build`
1234
- - `edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`
1319
+ - `.github/workflows/docs-github-pages-publish.yml`(`workflow_dispatch` 支持 `git_ref` 回滚)
1320
+
1235
1321
  ### v1.6.0 - 单窗口运行时、NoteMD 集成与发布加固 (2026-03-23)
1236
1322
 
1237
1323
  - **Tag 对比快照(`v1.3.0..v1.6.0`)**: