memorix
memorix copied to clipboard
fix request : stdout for opencode
console.log('[memorix] hook fired:', payload.hook_event_name);
causes
console.error also displaying.
so remove or some how fix.
+1 The hook echo in OpenCode is annoying.
Fixed in the upcoming release. Two changes:
-
Removed all console.log / console.error from the generated OpenCode plugin template. The unHook() function now runs fully silent errors are swallowed (hooks must never break the agent).
-
If you already have the plugin installed, you'll need to either:
- Re-run memorix installHooks opencode to regenerate the plugin file, or
- Manually delete the 3 console.log lines from .opencode/plugins/memorix.js
The fix will be in the next npm release.