allagents 0.11.0 → 0.11.2
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 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22267,14 +22267,21 @@ var init_skill_name_resolver = __esm(() => {
|
|
|
22267
22267
|
});
|
|
22268
22268
|
|
|
22269
22269
|
// src/models/marketplace-manifest.ts
|
|
22270
|
-
var UrlSourceSchema, PluginSourceRefSchema, ContactSchema, LspServerSchema, MarketplacePluginEntrySchema, MarketplaceManifestSchema, MarketplaceManifestLenientSchema;
|
|
22270
|
+
var UrlSourceSchema, GitHubSourceSchema, PluginSourceRefSchema, ContactSchema, LspServerSchema, MarketplacePluginEntrySchema, MarketplaceManifestSchema, MarketplaceManifestLenientSchema;
|
|
22271
22271
|
var init_marketplace_manifest = __esm(() => {
|
|
22272
22272
|
init_zod();
|
|
22273
22273
|
UrlSourceSchema = exports_external.object({
|
|
22274
22274
|
source: exports_external.literal("url"),
|
|
22275
22275
|
url: exports_external.string().url()
|
|
22276
22276
|
});
|
|
22277
|
-
|
|
22277
|
+
GitHubSourceSchema = exports_external.object({
|
|
22278
|
+
source: exports_external.literal("github"),
|
|
22279
|
+
repo: exports_external.string().min(1)
|
|
22280
|
+
}).transform((val) => ({
|
|
22281
|
+
source: "url",
|
|
22282
|
+
url: `https://github.com/${val.repo}`
|
|
22283
|
+
}));
|
|
22284
|
+
PluginSourceRefSchema = exports_external.union([exports_external.string(), UrlSourceSchema, GitHubSourceSchema]);
|
|
22278
22285
|
ContactSchema = exports_external.object({
|
|
22279
22286
|
name: exports_external.string(),
|
|
22280
22287
|
email: exports_external.string().optional()
|
|
@@ -22399,10 +22406,9 @@ function extractPluginEntry(entry, index, warnings) {
|
|
|
22399
22406
|
warnings.push(`plugins[${index}] ("${name}"): missing "description" field`);
|
|
22400
22407
|
}
|
|
22401
22408
|
let source = "";
|
|
22402
|
-
|
|
22403
|
-
|
|
22404
|
-
|
|
22405
|
-
source = obj.source;
|
|
22409
|
+
const sourceResult = PluginSourceRefSchema.safeParse(obj.source);
|
|
22410
|
+
if (sourceResult.success) {
|
|
22411
|
+
source = sourceResult.data;
|
|
22406
22412
|
} else {
|
|
22407
22413
|
warnings.push(`plugins[${index}] ("${name}"): missing or invalid "source" field`);
|
|
22408
22414
|
}
|
|
@@ -24205,7 +24211,7 @@ var package_default;
|
|
|
24205
24211
|
var init_package = __esm(() => {
|
|
24206
24212
|
package_default = {
|
|
24207
24213
|
name: "allagents",
|
|
24208
|
-
version: "0.11.
|
|
24214
|
+
version: "0.11.2",
|
|
24209
24215
|
description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
|
|
24210
24216
|
type: "module",
|
|
24211
24217
|
bin: {
|