noteconnection 1.6.6 → 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
@@ -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,19 +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`.
329
- - One-click docs publish command: `npm run docs:edgeone:publish`.
330
- - CI auto publish workflow (EdgeOne): `.github/workflows/docs-edgeone-publish.yml`.
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`.
331
348
  - CI policy gate for docs mapping and site build: `.github/workflows/docs-diataxis-site.yml`.
332
- - Sharelife community UI docs release + rollback guide:
333
- - English: [`docs/en/sharelife_community_release_and_rollback.md`](docs/en/sharelife_community_release_and_rollback.md)
334
- - 中文: [`docs/zh/sharelife_community_release_and_rollback.md`](docs/zh/sharelife_community_release_and_rollback.md)
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)
335
352
 
336
353
  ## 🛠️ Hardware & Driver Requirements (AMDGPU)
337
354
 
@@ -346,6 +363,16 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
346
363
 
347
364
  ## 📅 Changelog
348
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
+
349
376
  ### v1.6.6 - Unified Provider Runtime & TOML Settings Consolidation (2026-03-26)
350
377
  - Upgraded NoteMD API calling flow to a definition-driven provider architecture inspired by recent obsidian-NotEMD and cline patterns.
351
378
  - Added transport-based dispatch (openai-compatible, anthropic, google, azure-openai, ollama) and provider metadata (apiKeyMode, apiTestMode, category).
@@ -358,11 +385,11 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
358
385
  - Updated bilingual documentation and templates for v1.6.6 schema and operations.
359
386
  ### v1.6.5 - Documentation Portal Update (2026-03-26)
360
387
 
361
- - Published MkDocs documentation to EdgeOne Pages project `noteconnection-docs`.
388
+ - Published MkDocs documentation to GitHub Pages project site.
362
389
  - Added bilingual README guidance for docs lookup paths (user/tutorial and developer/reference entry points).
363
- - Standardized docs publish command for maintainers:
390
+ - Standardized docs publish flow for maintainers:
364
391
  - `npm run docs:site:build`
365
- - `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)
366
393
  ### v1.6.0 - Unified Runtime, NoteMD Integration & Release Hardening (2026-03-23)
367
394
 
368
395
  - **Tag Compare Snapshot (`v1.3.0..v1.6.0`)**:
@@ -919,7 +946,7 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
919
946
  ## 中文文档
920
947
 
921
948
 
922
- # 2026-03-24 v1.6.0
949
+ # 2026-03-29 v1.6.7
923
950
  # NoteConnection: 层级知识图谱可视化系统
924
951
 
925
952
  <img width="606" height="309" alt="banner" src="https://github.com/user-attachments/assets/92e90de5-2b1a-4398-8e8b-6e142c92b6a2" />
@@ -1191,6 +1218,7 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
1191
1218
  - **重置**: 使用 **文件 > 重置为默认** 返回由捆绑的演示笔记。
1192
1219
  - **配置路径覆盖**: 可通过 `NOTE_CONNECTION_CONFIG_PATH`(完整文件路径)或 `NOTE_CONNECTION_CONFIG_DIR`(目录)自定义 `app_config.toml` 位置。
1193
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`)。
1194
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)。
1195
1223
 
1196
1224
  ```toml
@@ -1204,8 +1232,25 @@ hide_tauri_when_pathmode_opens = true
1204
1232
  restore_tauri_when_pathmode_exits = true
1205
1233
  confirm_before_full_shutdown_from_godot = true
1206
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
1207
1243
  ```
1208
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
+
1209
1254
  ## 🏗️ 构建与部署 (Build & Deployment)
1210
1255
 
1211
1256
  对于从源码构建的开发者,NoteConnection 提供两种构建模式:
@@ -1225,19 +1270,18 @@ sync_language = true
1225
1270
  - 映射一致性校验:`npm run docs:diataxis:check`。
1226
1271
  - 本地预览文档站点:`npm run docs:site:serve`。
1227
1272
  - 构建静态文档站点:`npm run docs:site:build`。
1228
- - EdgeOne 文档入口(MkDocs 发布):`https://noteconnection-docs.edgeone.run`
1229
- - 若出现 `401 Authorization Required`,请使用最近一次部署输出中的 `EDGEONE_DEPLOY_URL` 签名链接,或在 EdgeOne Pages 项目中关闭预设域名访问保护。
1230
- - 公共镜像(兜底):`https://jacobinwwey.github.io/NoteConnection/`。
1273
+ - GitHub Pages 文档入口(project site):`https://jacobinwwey.github.io/NoteConnection/`。
1274
+ - 根域名(路由基线):`https://jacobinwwey.github.io/`。
1231
1275
  - 推荐查询入口:
1232
1276
  - 用户文档:`/diataxis/zh/tutorials/first-run/` 或 `/diataxis/en/tutorials/first-run/`
1233
1277
  - 开发文档:`/diataxis/en/reference/interfaces-and-runtime/` 与 `/diataxis/en/reference/release-and-governance/`
1234
- - EdgeOne 发布命令(MkDocs 产物):`edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`。
1235
- - 一键文档发布命令:`npm run docs:edgeone:publish`。
1236
- - CI 自动发布工作流(EdgeOne):`.github/workflows/docs-edgeone-publish.yml`。
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`。
1237
1281
  - CI 文档治理工作流:`.github/workflows/docs-diataxis-site.yml`。
1238
- - Sharelife 社区界面文档发布与回滚指南:
1239
- - English:[`docs/en/sharelife_community_release_and_rollback.md`](docs/en/sharelife_community_release_and_rollback.md)
1240
- - 中文:[`docs/zh/sharelife_community_release_and_rollback.md`](docs/zh/sharelife_community_release_and_rollback.md)
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)
1241
1285
 
1242
1286
  ---
1243
1287
 
@@ -1245,6 +1289,16 @@ sync_language = true
1245
1289
 
1246
1290
  ## 更新日志 (Changelog)
1247
1291
 
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
+
1248
1302
  ### v1.6.6 - Provider 运行时流程与 TOML 配置统一 (2026-03-26)
1249
1303
  - 参考 obsidian-NotEMD 与 cline 的 Provider 策略,重构 NoteMD API 调用流为定义驱动。
1250
1304
  - 新增 transport 分发(openai-compatible / anthropic / google / azure-openai / ollama)与 provider 元数据(apiKeyMode、apiTestMode、category)。
@@ -1258,11 +1312,11 @@ sync_language = true
1258
1312
 
1259
1313
  ### v1.6.5 - 文档门户更新 (2026-03-26)
1260
1314
 
1261
- - 已将 MkDocs 文档发布到 EdgeOne Pages 项目 `noteconnection-docs`。
1315
+ - 已将 MkDocs 文档发布到 GitHub Pages project site。
1262
1316
  - 在 README 中补充了面向用户与开发者的中英文文档检索入口。
1263
- - 维护者发布命令统一为:
1317
+ - 维护者发布流程统一为:
1264
1318
  - `npm run docs:site:build`
1265
- - `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` 回滚)
1266
1320
 
1267
1321
  ### v1.6.0 - 单窗口运行时、NoteMD 集成与发布加固 (2026-03-23)
1268
1322
 
@@ -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,19 +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`.
329
- - One-click docs publish command: `npm run docs:edgeone:publish`.
330
- - CI auto publish workflow (EdgeOne): `.github/workflows/docs-edgeone-publish.yml`.
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`.
331
348
  - CI policy gate for docs mapping and site build: `.github/workflows/docs-diataxis-site.yml`.
332
- - Sharelife community UI docs release + rollback guide:
333
- - English: [`docs/en/sharelife_community_release_and_rollback.md`](docs/en/sharelife_community_release_and_rollback.md)
334
- - 中文: [`docs/zh/sharelife_community_release_and_rollback.md`](docs/zh/sharelife_community_release_and_rollback.md)
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)
335
352
 
336
353
  ## 🛠️ Hardware & Driver Requirements (AMDGPU)
337
354
 
@@ -346,6 +363,16 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
346
363
 
347
364
  ## 📅 Changelog
348
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
+
349
376
  ### v1.6.6 - Unified Provider Runtime & TOML Settings Consolidation (2026-03-26)
350
377
  - Upgraded NoteMD API calling flow to a definition-driven provider architecture inspired by recent obsidian-NotEMD and cline patterns.
351
378
  - Added transport-based dispatch (openai-compatible, anthropic, google, azure-openai, ollama) and provider metadata (apiKeyMode, apiTestMode, category).
@@ -358,11 +385,11 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
358
385
  - Updated bilingual documentation and templates for v1.6.6 schema and operations.
359
386
  ### v1.6.5 - Documentation Portal Update (2026-03-26)
360
387
 
361
- - Published MkDocs documentation to EdgeOne Pages project `noteconnection-docs`.
388
+ - Published MkDocs documentation to GitHub Pages project site.
362
389
  - Added bilingual README guidance for docs lookup paths (user/tutorial and developer/reference entry points).
363
- - Standardized docs publish command for maintainers:
390
+ - Standardized docs publish flow for maintainers:
364
391
  - `npm run docs:site:build`
365
- - `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)
366
393
  ### v1.6.0 - Unified Runtime, NoteMD Integration & Release Hardening (2026-03-23)
367
394
 
368
395
  - **Tag Compare Snapshot (`v1.3.0..v1.6.0`)**:
@@ -919,7 +946,7 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
919
946
  ## 中文文档
920
947
 
921
948
 
922
- # 2026-03-24 v1.6.0
949
+ # 2026-03-29 v1.6.7
923
950
  # NoteConnection: 层级知识图谱可视化系统
924
951
 
925
952
  <img width="606" height="309" alt="banner" src="https://github.com/user-attachments/assets/92e90de5-2b1a-4398-8e8b-6e142c92b6a2" />
@@ -1191,6 +1218,7 @@ npm start -- --path "E:/Knowledge/ObsidianVault" --no-gpu
1191
1218
  - **重置**: 使用 **文件 > 重置为默认** 返回由捆绑的演示笔记。
1192
1219
  - **配置路径覆盖**: 可通过 `NOTE_CONNECTION_CONFIG_PATH`(完整文件路径)或 `NOTE_CONNECTION_CONFIG_DIR`(目录)自定义 `app_config.toml` 位置。
1193
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`)。
1194
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)。
1195
1223
 
1196
1224
  ```toml
@@ -1204,8 +1232,25 @@ hide_tauri_when_pathmode_opens = true
1204
1232
  restore_tauri_when_pathmode_exits = true
1205
1233
  confirm_before_full_shutdown_from_godot = true
1206
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
1207
1243
  ```
1208
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
+
1209
1254
  ## 🏗️ 构建与部署 (Build & Deployment)
1210
1255
 
1211
1256
  对于从源码构建的开发者,NoteConnection 提供两种构建模式:
@@ -1225,19 +1270,18 @@ sync_language = true
1225
1270
  - 映射一致性校验:`npm run docs:diataxis:check`。
1226
1271
  - 本地预览文档站点:`npm run docs:site:serve`。
1227
1272
  - 构建静态文档站点:`npm run docs:site:build`。
1228
- - EdgeOne 文档入口(MkDocs 发布):`https://noteconnection-docs.edgeone.run`
1229
- - 若出现 `401 Authorization Required`,请使用最近一次部署输出中的 `EDGEONE_DEPLOY_URL` 签名链接,或在 EdgeOne Pages 项目中关闭预设域名访问保护。
1230
- - 公共镜像(兜底):`https://jacobinwwey.github.io/NoteConnection/`。
1273
+ - GitHub Pages 文档入口(project site):`https://jacobinwwey.github.io/NoteConnection/`。
1274
+ - 根域名(路由基线):`https://jacobinwwey.github.io/`。
1231
1275
  - 推荐查询入口:
1232
1276
  - 用户文档:`/diataxis/zh/tutorials/first-run/` 或 `/diataxis/en/tutorials/first-run/`
1233
1277
  - 开发文档:`/diataxis/en/reference/interfaces-and-runtime/` 与 `/diataxis/en/reference/release-and-governance/`
1234
- - EdgeOne 发布命令(MkDocs 产物):`edgeone pages deploy build/mkdocs-site -n noteconnection-docs -e production -a global`。
1235
- - 一键文档发布命令:`npm run docs:edgeone:publish`。
1236
- - CI 自动发布工作流(EdgeOne):`.github/workflows/docs-edgeone-publish.yml`。
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`。
1237
1281
  - CI 文档治理工作流:`.github/workflows/docs-diataxis-site.yml`。
1238
- - Sharelife 社区界面文档发布与回滚指南:
1239
- - English:[`docs/en/sharelife_community_release_and_rollback.md`](docs/en/sharelife_community_release_and_rollback.md)
1240
- - 中文:[`docs/zh/sharelife_community_release_and_rollback.md`](docs/zh/sharelife_community_release_and_rollback.md)
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)
1241
1285
 
1242
1286
  ---
1243
1287
 
@@ -1245,6 +1289,16 @@ sync_language = true
1245
1289
 
1246
1290
  ## 更新日志 (Changelog)
1247
1291
 
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
+
1248
1302
  ### v1.6.6 - Provider 运行时流程与 TOML 配置统一 (2026-03-26)
1249
1303
  - 参考 obsidian-NotEMD 与 cline 的 Provider 策略,重构 NoteMD API 调用流为定义驱动。
1250
1304
  - 新增 transport 分发(openai-compatible / anthropic / google / azure-openai / ollama)与 provider 元数据(apiKeyMode、apiTestMode、category)。
@@ -1258,11 +1312,11 @@ sync_language = true
1258
1312
 
1259
1313
  ### v1.6.5 - 文档门户更新 (2026-03-26)
1260
1314
 
1261
- - 已将 MkDocs 文档发布到 EdgeOne Pages 项目 `noteconnection-docs`。
1315
+ - 已将 MkDocs 文档发布到 GitHub Pages project site。
1262
1316
  - 在 README 中补充了面向用户与开发者的中英文文档检索入口。
1263
- - 维护者发布命令统一为:
1317
+ - 维护者发布流程统一为:
1264
1318
  - `npm run docs:site:build`
1265
- - `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` 回滚)
1266
1320
 
1267
1321
  ### v1.6.0 - 单窗口运行时、NoteMD 集成与发布加固 (2026-03-23)
1268
1322