feat: obsidian integration plugin #1943
Merged
+4,636
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to
This PR relates to the following issues:
Obsidian Integration #302
The development and maintenance of the @elizaos/plugin-obsidian package, focusing on enhancing elizaOS agents integration capabilities with Obsidian vaults.
Key features include:
Deep traversal of Obsidian notes:
Advanced search functionality:
Obsidian memory store integration:
Naval database integration as an example:
These enhancements aim to provide users with powerful tools for knowledge management and retrieval within their Obsidian vaults, while also demonstrating the plugin's extensibility for integrating external data sources.
Risks
Low - This is a plugin package that integrates with Obsidian vault functionality using the Obsidian Rest API.
Main risks include:
Background
What does this PR do?
This PR maintains the Obsidian plugin package which provides integration between ELIZA OS agents and Obsidian vaults. The plugin enables:
What kind of change is this?
Features (non-breaking change which adds functionality):
Documentation changes needed?
Obsisdian plugin is documented in the package README.md which includes:
Testing
Where should a reviewer start?
src/index.ts
src/actions/
Detailed testing steps
Setup Testing Environment
Core API Tests (
src/tests/obsidianClient.test.ts
)Test Authentication:
Test Note Operations:
Test File Operations:
Test Search Functionality:
obsidianProvider.search('query', 'plaintext')
obsidianProvider.search('TABLE field FROM "folder"', 'dataview')
obsidianProvider.search({ var: 'field' }, 'jsonlogic')
obsidianProvider.searchKeywords('keyword1 OR keyword2')
Test Command Integration:
Error Handling Tests
Integration Testing
Expected test results:
Database changes
Discord username
@sekmet2600