opencode-immune 1.0.47 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin.js +3 -1
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -59,7 +59,9 @@ async function checkPluginUpdate(state) {
|
|
|
59
59
|
if (latest && latest !== currentVersion) {
|
|
60
60
|
state.pluginUpdateMessage =
|
|
61
61
|
`[PLUGIN UPDATE] opencode-immune ${currentVersion} → ${latest} is available. ` +
|
|
62
|
-
`Please inform the user:
|
|
62
|
+
`Please inform the user: run \`opencode plugin opencode-immune@latest --force\`, ` +
|
|
63
|
+
`then restart opencode. If opencode still loads the old package, clear its package cache with ` +
|
|
64
|
+
`\`rm -rf ~/.cache/opencode/packages/opencode-immune@latest\` and run the update command again.`;
|
|
63
65
|
writePluginLog(state, "warn", `[opencode-immune] Plugin update available: ${currentVersion} → ${latest}.`);
|
|
64
66
|
}
|
|
65
67
|
else if (latest) {
|