Skip to content

docs(ecosystem): add Hindsight memory plugin#31652

Open
DK09876 wants to merge 1 commit into
anomalyco:devfrom
DK09876:add-hindsight-plugin
Open

docs(ecosystem): add Hindsight memory plugin#31652
DK09876 wants to merge 1 commit into
anomalyco:devfrom
DK09876:add-hindsight-plugin

Conversation

@DK09876

@DK09876 DK09876 commented Jun 10, 2026

Copy link
Copy Markdown

Issue for this PR

Closes # N/A — documentation addition, no associated issue.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds one row to the ## Plugins table on the ecosystem page for @vectorize-io/opencode-hindsight, a published npm plugin that gives OpenCode persistent long-term memory across sessions (auto-retain on session idle, recall injected at session start). It sits alongside the existing opencode-supermemory row, which is the same category of plugin.

How did you verify your code works?

It is a single Markdown table row in packages/web/src/content/docs/ecosystem.mdx. I matched the exact column format of the surrounding rows (linked name + one-line description) and confirmed the link resolves to the plugin's source.

Screenshots / recordings

Not a UI change — docs table only.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@mdbenito

Copy link
Copy Markdown

Note that the plugin may fail to load due to a regression in how opencode loads plugins. See e.g. #23726 and #13543 (fixed in 2e27403 but now regressed?)

@DK09876

DK09876 commented Jun 17, 2026

Copy link
Copy Markdown
Author

Thanks for flagging this, @mdbenito — you were right. The root cause was on our end: the plugin's entry point re-exported a couple of helper functions (loadConfig, deriveBankId) alongside the Plugin, and OpenCode's loader iterates every export and treats each as a plugin factory — so those helpers got invoked as plugins (and on stricter load paths surfaced as the "Plugin export is not a function" error you referenced).

Fixed in @vectorize-io/opencode-hindsight@0.2.6 (just published): the entry now exports only the Plugin (plus type-only exports). I verified it loads cleanly in current OpenCode and the recall/retain/reflect tools register and work. Bumping to 0.2.6 should resolve it. Thanks again for the detailed pointer to the loader regression — saved a lot of digging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants