Skip to content

v1.6.6

Latest

Choose a tag to compare

@Jacobinwwey Jacobinwwey released this 26 Mar 13:55

English

Highlights

  • Refactored the NoteMD provider call flow to a definition-driven runtime inspired by recent obsidian-NotEMD and cline provider strategies.
  • Added transport-based dispatch (openai-compatible, anthropic, google, azure-openai, ollama) with provider metadata (apiKeyMode, apiTestMode, category).
  • Expanded built-in provider presets: Qwen, Doubao, Moonshot, GLM, MiniMax, Groq, Together, Fireworks, Requesty, and OpenAI Compatible.

Unified TOML Configuration

  • Unified Tauri + Godot + NoteMD runtime settings into app_config.toml.
  • Added full NoteMD persistence with [notemd] and [[notemd.providers]], while preserving legacy compatibility through [notemd.api] mirror fields.
  • Added Path Mode persistence in [path_mode] and runtime APIs:
    • GET /api/path-mode/settings
    • POST|PUT /api/path-mode/settings
  • Migrated Godot settings panel sync to runtime TOML settings API.

Stability and Governance

  • Hardened Tauri Rust config save logic to preserve unknown TOML sections, preventing accidental overwrite of [notemd] / [path_mode] during KB/language updates.
  • Added and updated contract/integration tests for provider routing, TOML extraction/persistence, and Path Mode settings APIs.
  • Updated bilingual docs and Diataxis references, including schema and operator guidance for app_config.toml.

中文

重点更新

  • 参考 obsidian-NotEMD 与 cline 的 Provider 调用策略,重构 NoteMD API 调用流为“定义驱动”运行时架构。
  • 新增 transport 分发(openai-compatibleanthropicgoogleazure-openaiollama)及 provider 元数据(apiKeyModeapiTestModecategory)。
  • 扩展内置 Provider 预设:QwenDoubaoMoonshotGLMMiniMaxGroqTogetherFireworksRequestyOpenAI Compatible

TOML 配置统一

  • 将 Tauri + Godot + NoteMD 的运行时配置统一到 app_config.toml
  • NoteMD 全量配置持久化到 [notemd][[notemd.providers]],并保留 [notemd.api] 兼容镜像。
  • Path Mode 配置持久化到 [path_mode],并提供运行时接口:
    • GET /api/path-mode/settings
    • POST|PUT /api/path-mode/settings
  • Godot 设置面板切换为运行时 TOML 配置同步链路。

稳定性与治理

  • 加固 Tauri Rust 侧配置回写逻辑:保留未知 TOML section,避免更新 KB/语言时误覆盖 [notemd] / [path_mode]
  • 新增并更新 Provider/TOML/Path Mode 相关契约与集成测试。
  • 同步更新双语文档与 Diataxis 参考(含 app_config.toml 配置结构与运维说明)。