v0.34.0

arkohut/pensievev0.34.0May 13, 2026by arkohut

AI Summary

Adds `memos doctor` command and hardens Windows/macOS installation processes.

Key Highlights

  • New `memos doctor` command for health checks and permissions
  • Windows installation hardening with hidden console windows
  • macOS launcher tidy with launchd path updates

New Features

  • Comprehensive health-checking command
  • Windows console hiding via VBS wrapper
  • macOS launchd agent management improvements
  • Removal of deprecated Florence-2 and Qwen2-VL backends

Full Release Notes

## Features

  - New `memos doctor` command by @arkohut
    - Checks Python interpreter, sqlite3 `enable_load_extension`, base dir writability, and server port status
    - On macOS, probes TCC screen-recording permission and pre-registers the interpreter so users only flip a toggle in
  System Settings
    - On Windows, reports the `Startup\Memos.lnk` + `~/.memos/launch.bat` autostart pair as `registered` / `not registered` /
   `broken`
    - `memos record` now requests screen-recording permission on first run when denied

  - Windows installation hardening by @arkohut
    - pythonw launches use `CREATE_NO_WINDOW` — no more console flashes on `memos start` / `restart`
    - `resolve_pythonw()` replaces the case-sensitive `python.exe → pythonw.exe` string replace
    - `launch.bat` drops the conda activation branch and adds `chcp 65001` for UTF-8 logs
    - READMEs add a Windows install section: prefer `uv tool` / `pipx`, enable long paths, exclude `~/.memos` from Defender,
  avoid Microsoft Store Python / WSL / OneDrive-synced profile

  - macOS launcher tidy by @arkohut
    - `memos enable` no longer auto-loads the plist — run `memos start` to start now, launchd takes over at next login
    - `memos disable` skips `launchctl unload` on stale state instead of erroring
    - Plist `PATH` includes `/opt/homebrew/bin` for Apple Silicon

  ## Chores

  - Drop orphaned `build_executable.py` and `memos_ml_backends/` (Florence-2 / Qwen2-VL servers superseded by Ollama) by
  @arkohut
  - README introduces the `pensieve-search` agent skill across EN / 中 / 日 by @arkohut

  **Full Changelog**: https://github.com/arkohut/pensieve/compare/v0.33.0...v0.34.0

  ---

  ## 新特性

  - 新增 `memos doctor` 命令 by @arkohut
    - 检查 Python 解释器、sqlite3 `enable_load_extension`、base 目录可写性以及 server port 状态
    - macOS 上探测 TCC 屏幕录制权限,并预先把解释器注册到列表里,用户只需在系统设置里翻一下开关
    - Windows 上报告 `Startup\Memos.lnk` + `~/.memos/launch.bat` 自启动对的状态:`registered` / `not registered` / `broken`
    - `memos record` 在权限被拒时会在首次运行时主动请求屏幕录制权限

  - Windows 安装链路加固 by @arkohut
    - pythonw 启动改用 `CREATE_NO_WINDOW`,`memos start` / `restart` 不再闪控制台
    - 新增 `resolve_pythonw()` 取代大小写敏感的 `python.exe → pythonw.exe` 字符串替换
    - `launch.bat` 去掉 conda 激活分支,并加上 `chcp 65001` 让日志保持 UTF-8
    - README 新增 Windows 安装小节:推荐 `uv tool` / `pipx`、开启长路径、把 `~/.memos` 加入 Defender 排除,避免 Microsoft
  Store Python / WSL / OneDrive 同步的用户目录

  - macOS 启动脚本整理 by @arkohut
    - `memos enable` 不再自动 load plist —— 想立即启动跑 `memos start`,下次登录由 launchd 接管
    - `memos disable` 在服务未 load 时跳过 `launchctl unload`,不再因残留状态报错
    - plist `PATH` 中加入 `/opt/homebrew/bin`,兼容 Apple Silicon

  ## 杂项

  - 移除长期无人引用的 `build_executable.py` 与 `memos_ml_backends/`(Florence-2 / Qwen2-VL 服务已被 Ollama 替代)by @arkohut
  - README 在英文 / 中文 / 日文版本中介绍 `pensieve-search` agent skill by @arkohut

  **完整更新日志**: https://github.com/arkohut/pensieve/compare/v0.33.0...v0.34.0