Issue Description
The published npm package lancedb-opencode-pro@0.8.1 has a version mismatch between the package metadata and the actual compiled code.
Observed Behavior
package.json version field: 0.8.1
dist/index.js hardcoded PLUGIN_VERSION: 0.7.0
- When the plugin initializes, it logs:
Plugin v0.7.0 initialized
Expected Behavior
The version reported by the plugin should match the published package version (0.8.1).
Technical Details
# package.json
\"version\": \"0.8.1\"
# dist/index.js
const PLUGIN_VERSION = \"0.7.0\";
log(\"info\", `Plugin v\${PLUGIN_VERSION} initialized\`);
This was discovered when running the plugin in a Docker container environment (codeforge/ai-dev) with:
- Bun runtime
- @lancedb/lancedb 0.27.2
- opencode 1.4.3
Impact
While the plugin functionality appears to work correctly, this version mismatch could cause confusion during debugging and version tracking.
Environment
- OS: Linux (Docker container)
- Runtime: Bun 1.3.12
- Node: N/A (Bun only)
- Package: lancedb-opencode-pro@0.8.1
Please verify the build/publish process to ensure the dist files are correctly updated before publishing.
Issue Description
The published npm package
lancedb-opencode-pro@0.8.1has a version mismatch between the package metadata and the actual compiled code.Observed Behavior
package.jsonversion field: 0.8.1dist/index.jshardcodedPLUGIN_VERSION: 0.7.0Plugin v0.7.0 initializedExpected Behavior
The version reported by the plugin should match the published package version (0.8.1).
Technical Details
This was discovered when running the plugin in a Docker container environment (codeforge/ai-dev) with:
Impact
While the plugin functionality appears to work correctly, this version mismatch could cause confusion during debugging and version tracking.
Environment
Please verify the build/publish process to ensure the dist files are correctly updated before publishing.