@bivy/bivy 0.10.1-staging.390 → 0.11.0
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/plugins/store.js +2 -2
- package/package.json +1 -1
package/dist/plugins/store.js
CHANGED
|
@@ -91,11 +91,11 @@ export function listInstalledPlugins(dataDir = defaultDataDir(), bivyVersion = c
|
|
|
91
91
|
* Flatten valid installed agent contributions. Duplicate agent ids are rejected
|
|
92
92
|
* across plugins rather than resolved by directory order.
|
|
93
93
|
*/
|
|
94
|
-
export function installedAgentContributions(dataDir = defaultDataDir()) {
|
|
94
|
+
export function installedAgentContributions(dataDir = defaultDataDir(), bivyVersion = currentBivyVersion()) {
|
|
95
95
|
const agents = [];
|
|
96
96
|
const errors = [];
|
|
97
97
|
const owners = new Map();
|
|
98
|
-
for (const plugin of listInstalledPlugins(dataDir)) {
|
|
98
|
+
for (const plugin of listInstalledPlugins(dataDir, bivyVersion)) {
|
|
99
99
|
if (!plugin.manifest || plugin.errors.length) {
|
|
100
100
|
for (const error of plugin.errors)
|
|
101
101
|
errors.push(`${plugin.id}: ${error}`);
|