From cd5e8f9165bc372ea9926a858a8873c4db7ab46d Mon Sep 17 00:00:00 2001 From: Mateusz Tymek Date: Mon, 2 Feb 2026 18:21:55 +0100 Subject: [PATCH] Update README.md, document context injection --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 65cb4b7..813e529 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Give your notes AI capability by embedding Opencode [OpenCode](https://opencode. - Query and explore your knowledge base - Generate outlines and structured notes +This plugin uses OpenCode's web view that can be embedded directly into Obsidian window. Usually similar plugins would use the ACP protocol, but I want to see how how much is possible without having to implement (and manage) a custom chat UI - I want the full power of OpenCode in my Obsidian. + _Note: plugin author is not afiliated with OpenCode or Obsidian - this is a 3rd party software._ ## Requirements @@ -32,13 +34,14 @@ _Note: plugin author is not afiliated with OpenCode or Obsidian - this is a 3rd - `Cmd/Ctrl+Shift+O` to toggle the panel - Server starts automatically when you open the panel -### Commands +## Context injection (experimental) -| Command | Description | -|---------|-------------| -| Toggle OpenCode panel | Show/hide sidebar | -| Start OpenCode server | Manual start | -| Stop OpenCode server | Manual stop | +This plugin can automatically inject context to the running OC instance: list of open notes and currently selected text. + +It can be configured form the plugin settings. + +Currently, this is work-in-progress feature with some limitations: +- It won't work when creating new session from OC interface. ## Settings