Skip to content

0.2.2

Choose a tag to compare

@github-actions github-actions released this 23 Nov 10:11
· 2 commits to main since this release

Fixes the issues reported by the Obsidian community directory's automated review. No change in features.

  • Verifiable builds: this and future releases are built by GitHub Actions from the tagged source, and main.js, manifest.json and styles.css come with artifact attestations. Verify a download with gh attestation verify main.js --repo sigmalos/Note-Agent.
  • Code review findings: all errors from the directory's lint rules are fixed. Responses from model servers and MCP servers are now parsed with explicit type checks instead of untyped access; timers use window so they keep working in pop-out windows; the Node network stack is only loaded in the desktop app; a regular expression unsupported on iOS before 16.4 is gone; the console only shows warnings and errors (diagnostic messages need debug logging).
  • Styles: no more !important; reduced-motion handling keeps working.
  • README: now in English, with the Chinese version in README.zh-CN.md, plus a section on what the plugin accesses (file list, notes, clipboard writes only) and why.

修复 Obsidian 社区插件目录自动审核中报告的问题,功能没有变化。

  • 可验证的构建:本版本起由 GitHub Actions 从对应标签的源码构建,main.js、manifest.json、styles.css 附带构建来源证明(artifact attestations),可用 gh attestation verify main.js --repo sigmalos/Note-Agent 验证。
  • 代码审核:修复了目录 lint 规则报告的全部错误。解析模型服务和 MCP 服务的返回内容时改为显式类型检查;计时器改用 window,在弹出窗口中也能正常工作;Node 网络模块只在桌面端加载;去掉了 iOS 16.4 以下不支持的正则写法;控制台只输出警告和错误(诊断信息需开启调试日志)。
  • 样式:不再使用 !important,“减少动态效果”设置仍然生效。
  • README:改为英文,中文版移至 README.zh-CN.md;新增插件访问哪些内容(文件列表、笔记、只写入剪贴板)及原因的说明。