Skip to content

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 22 Sep 03:00
· 23 commits to main since this release

Obsidian files are now injected with their real path, so the model can actually
open the note you are looking at.

Fixed

  • The injected File path is always absolute. Obsidian writes
    active_buffer.file as a vault-relative path (protocol v0.2), and it was
    injected verbatim. The model has no way to know the vault root, so it resolved
    the path against pi's cwd — for an Obsidian vault on iCloud
    (iCloud~md~obsidian) and a project in com~apple~CloudDocs that lands on a
    path that does not exist, and read failed with ENOENT on a file sitting
    right there on disk. write/edit on such a path created a shadow
    Career/review/… tree inside the project directory instead. The pi side now
    resolves a relative file against cwd (the vault root) before injecting;
    nvim and VS Code already wrote absolute paths and are unaffected. Protocol
    unchanged — this is a reader-side fix.

Full changelog: https://github.com/Andy8647/pi-ide-context/blob/v0.4.2/CHANGELOG.md