@khalilgharbaoui/opencode-claude-code-plugin 0.22.0 → 0.22.1
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/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3396,9 +3396,10 @@ function finishBridge(input) {
|
|
|
3396
3396
|
};
|
|
3397
3397
|
}
|
|
3398
3398
|
const body = JSON.stringify({ mcpServers: servers }, null, 2);
|
|
3399
|
+
const bodyDigest = crypto2.createHash("sha256").update(body).digest("hex").slice(0, 12);
|
|
3399
3400
|
const outPath = path3.join(
|
|
3400
3401
|
pluginTmpDir(),
|
|
3401
|
-
`mcp-${
|
|
3402
|
+
`mcp-${bodyDigest}.json`
|
|
3402
3403
|
);
|
|
3403
3404
|
try {
|
|
3404
3405
|
if (!fileExists(outPath)) {
|