fix: resolve mise environment for OpenCode plugin enablement
Merged
DI
4d ago+128+128+012345678901234567890123456789-33-33-01234567890123456789
Summary
- Read
GRAM_OPENCODE_PLUGINSthroughmise env --jsonusing a sharedisPluginEnabledhelper in.opencode/lib/plugins.js, reused by the pause-stack and Worktrunk plugins and parsing JSON directly in JavaScript. - Preserve exact colon-separated plugin ID matching and keep plugins disabled when the value is unset or lookup fails.
- Cover enablement and failure cases for both plugins, and update the documented append command to preserve resolved values.
Motivation
The previous mise set lookup read configured values without resolving the environment correctly. Using mise's resolved environment honors local overrides and templates without adding a jq subprocess to plugin setup.