Bug Description
After one-click installation of OpenViking Plugin 2.0 (v2026.3.25), the plugin fails to load with a ParseError.
Environment
- OpenClaw: 2026.3.24
- Plugin version: 2026.3.25 (latest from main branch)
- Installation method:
curl -fsSL https://raw.githubusercontent.com/volcengine/OpenViking/main/examples/openclaw-plugin/install.sh | bash
Error
[plugins] openviking failed to load from /path/to/extensions/openviking/index.ts: Error: ParseError: Identifier sessionId has already been declared.
/path/to/extensions/openviking/index.ts:722:14
Root Cause
The new version has const sessionId declared 4 times in the same scope (lines ~146, ~722, ~510, ~518), causing a JavaScript duplicate identifier error.
Workaround
Rolled back to plugin v2026.2.6-3 which works correctly.
Related
Possibly related to recent plugin refactor commits: