feat: add the obsidian connector for nao cli [nao-cli]#1075
feat: add the obsidian connector for nao cli [nao-cli]#1075Francois-lenne wants to merge 5 commits into
Conversation
|
This PR was auto-closed. Only contributors approved with Maintainers review auto-closed issues daily. Issues that do not meet the quality bar in CONTRIBUTING.md will not be reopened or receive a reply. If a maintainer replies See CONTRIBUTING.md. |
There was a problem hiding this comment.
2 issues found across 14 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
🚀 Preview Deployment
Preview will be automatically removed when this PR is closed. |
|
hi @Bl3f i resolve all the issues with the type checker and the ai code review |
Bl3f
left a comment
There was a problem hiding this comment.
Thank you so much for this first contribution. I'm not an Obsidian user but it looks good to me.
So let's merge this. We will publish a release tomorrow with it!
Bl3f
left a comment
There was a problem hiding this comment.
Oh actually pytest is failling, can you fix it first pls?
|
@Bl3f sorry for this issue i fix it i change the output-dir constant |
Why
NAO already ingests context from local databases, git repos, and Notion, but it has no first-class way to pull in local Obsidian notes.
This PR adds a simple Obsidian V1 focused on the core use case: sync Markdown notes from a local vault into the nao context, using the same overall pattern as the existing Notion
integration.
What
Adds a new obsidian integration to the CLI:
Example config:
obsidian:
path: /path/to/your/obsidian-vault
This V1 intentionally does not handle Obsidian-specific semantics yet ([[wikilinks]], embeds, assets, .canvas, backlinks, etc.).
Files
Testing
Test it localy in macos
uv run --project /Users/username/nao/cli pytest
/Users/username/nao/cli/tests/nao_core/commands/sync/test_obsidian_provider.py
/Users/username/nao/cli/tests/nao_core/commands/sync/test_providers.py
/Users/username/nao/cli/tests/nao_core/commands/test_init.py
This PR was written using GPT-5 Codex.