@jmylchreest/aide-plugin 0.0.55 → 0.0.56
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/bin/aide-wrapper.ts +9 -2
- package/package.json +1 -1
package/bin/aide-wrapper.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* aide-wrapper.ts - Ensures aide binary exists before executing
|
|
4
4
|
*
|
|
5
|
-
* Cross-platform TypeScript replacement for aide-wrapper.sh.
|
|
6
5
|
* Called by an assistant's MCP server configuration.
|
|
7
6
|
* Finds the aide binary, downloads it if missing, then delegates to it.
|
|
8
7
|
*
|
|
@@ -333,7 +332,15 @@ if (!binaryExists()) {
|
|
|
333
332
|
);
|
|
334
333
|
}
|
|
335
334
|
} else {
|
|
336
|
-
|
|
335
|
+
const pluginVersion = getPluginVersion();
|
|
336
|
+
if (pluginVersion && binaryVersion && !versionGte(binaryVersion, pluginVersion)) {
|
|
337
|
+
needsDownload = true;
|
|
338
|
+
log(
|
|
339
|
+
`Release binary v${binaryVersion} is older than plugin v${pluginVersion}, re-downloading`,
|
|
340
|
+
);
|
|
341
|
+
} else {
|
|
342
|
+
log(`Release binary v${binaryVersion ?? "unknown"} (plugin v${pluginVersion ?? "unknown"})`);
|
|
343
|
+
}
|
|
337
344
|
}
|
|
338
345
|
}
|
|
339
346
|
|
package/package.json
CHANGED