Artur Smirnov50 downloadsTreat raw @.opencode/... Markdown references as internal Obsidian links for the native graph view.
OpenCode Links Graph is an Obsidian plugin that makes raw OpenCode references visible as edges in Obsidian's native graph view.
It is designed for vaults that use OpenCode-style references as the canonical link syntax:
@.opencode/knowledge/README.md
@.opencode/agents/manager.md
@.opencode/...md target to a real vault file.Obsidian's native graph only reads links that Obsidian's metadata cache recognizes. Raw custom text like @.opencode/... is not a native Markdown link, so the graph ignores it.
This plugin bridges that gap by adding resolved-link metadata at runtime. The source files remain OpenCode-native; Obsidian sees graph edges.
.obsidian/plugins/opencode-links-graph/.npm install
npm run build
For active development:
npm run dev
| Setting | Default | Purpose |
|---|---|---|
| OpenCode link regex | See default settings | Pattern used to find OpenCode links. Default: @.opencode/...md. |
| Refresh delay | 400 |
Debounce after vault/metadata changes. |
| Show notices | false |
Show indexed-edge count after automatic refreshes. Manual refresh always shows a notice. |
| Debug logging | false |
Print details to the developer console. |
metadataCache.resolvedLinks shape. That shape is widely used by plugins but is not a formal public API, so future Obsidian versions may require updates.manifest.json version.npm version <version> or update package.json manually.npm run version to update versions.json.npm run build.manifest.json, main.js, and styles.css if present.MIT