allagents 0.26.4 → 0.26.5
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 +13 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23337,6 +23337,16 @@ async function resolvePluginSpecWithAutoRegister(spec, options = {}) {
|
|
|
23337
23337
|
error: `Marketplace '${marketplaceName}' not found`
|
|
23338
23338
|
};
|
|
23339
23339
|
}
|
|
23340
|
+
if (!didAutoRegister && !options.offline && marketplace.source.type === "github" && !updatedMarketplaceCache.has(marketplace.name)) {
|
|
23341
|
+
const results = await updateMarketplace(marketplace.name);
|
|
23342
|
+
const result = results[0];
|
|
23343
|
+
if (result?.success) {
|
|
23344
|
+
updatedMarketplaceCache.add(marketplace.name);
|
|
23345
|
+
}
|
|
23346
|
+
}
|
|
23347
|
+
if (didAutoRegister) {
|
|
23348
|
+
updatedMarketplaceCache.add(marketplace.name);
|
|
23349
|
+
}
|
|
23340
23350
|
const expectedSubpath = subpath ?? "plugins";
|
|
23341
23351
|
const resolveOpts = {
|
|
23342
23352
|
...subpath && { subpath },
|
|
@@ -23429,7 +23439,7 @@ async function ensureMarketplacesRegistered(plugins) {
|
|
|
23429
23439
|
}
|
|
23430
23440
|
return results;
|
|
23431
23441
|
}
|
|
23432
|
-
var registeredSourceCache;
|
|
23442
|
+
var registeredSourceCache, updatedMarketplaceCache;
|
|
23433
23443
|
var init_marketplace = __esm(() => {
|
|
23434
23444
|
init_esm();
|
|
23435
23445
|
init_constants();
|
|
@@ -23438,6 +23448,7 @@ var init_marketplace = __esm(() => {
|
|
|
23438
23448
|
init_git();
|
|
23439
23449
|
init_plugin();
|
|
23440
23450
|
registeredSourceCache = new Map;
|
|
23451
|
+
updatedMarketplaceCache = new Set;
|
|
23441
23452
|
});
|
|
23442
23453
|
|
|
23443
23454
|
// src/core/workspace-modify.ts
|
|
@@ -26689,7 +26700,7 @@ var package_default;
|
|
|
26689
26700
|
var init_package = __esm(() => {
|
|
26690
26701
|
package_default = {
|
|
26691
26702
|
name: "allagents",
|
|
26692
|
-
version: "0.26.
|
|
26703
|
+
version: "0.26.5",
|
|
26693
26704
|
description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
|
|
26694
26705
|
type: "module",
|
|
26695
26706
|
bin: {
|