allagents 1.0.12 → 1.0.14
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 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30851,6 +30851,14 @@ function formatPluginArtifacts(copyResults, indent = " ") {
|
|
|
30851
30851
|
}
|
|
30852
30852
|
return formatArtifactLines(classified, indent);
|
|
30853
30853
|
}
|
|
30854
|
+
function formatSyncHeader(result) {
|
|
30855
|
+
const pluginCount = result.pluginResults.length;
|
|
30856
|
+
const successCount = result.pluginResults.filter((p) => p.success).length;
|
|
30857
|
+
return [
|
|
30858
|
+
`Updating ${pluginCount} plugin(s)...`,
|
|
30859
|
+
`✓ Successfully updated ${successCount} marketplace(s)`
|
|
30860
|
+
];
|
|
30861
|
+
}
|
|
30854
30862
|
function formatSyncSummary(result, { dryRun = false, label = "Sync" } = {}) {
|
|
30855
30863
|
const lines = [];
|
|
30856
30864
|
const allCopied = result.pluginResults.flatMap((pr) => pr.copyResults.filter((r) => r.action === "copied"));
|
|
@@ -33434,7 +33442,7 @@ var package_default;
|
|
|
33434
33442
|
var init_package = __esm(() => {
|
|
33435
33443
|
package_default = {
|
|
33436
33444
|
name: "allagents",
|
|
33437
|
-
version: "1.0.
|
|
33445
|
+
version: "1.0.14",
|
|
33438
33446
|
description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
|
|
33439
33447
|
type: "module",
|
|
33440
33448
|
bin: {
|
|
@@ -35383,18 +35391,10 @@ var syncCmd = import_cmd_ts2.command({
|
|
|
35383
35391
|
}
|
|
35384
35392
|
let combined = null;
|
|
35385
35393
|
if (userConfigExists) {
|
|
35386
|
-
if (!isJsonMode()) {
|
|
35387
|
-
console.log(`Syncing user workspace...
|
|
35388
|
-
`);
|
|
35389
|
-
}
|
|
35390
35394
|
const userResult = await syncUserWorkspace({ offline, dryRun, force });
|
|
35391
35395
|
combined = userResult;
|
|
35392
35396
|
}
|
|
35393
35397
|
if (projectConfigExists) {
|
|
35394
|
-
if (!isJsonMode()) {
|
|
35395
|
-
console.log(`Syncing project workspace...
|
|
35396
|
-
`);
|
|
35397
|
-
}
|
|
35398
35398
|
const projectResult = await syncWorkspace(process.cwd(), {
|
|
35399
35399
|
offline,
|
|
35400
35400
|
dryRun
|
|
@@ -35426,6 +35426,10 @@ var syncCmd = import_cmd_ts2.command({
|
|
|
35426
35426
|
}
|
|
35427
35427
|
console.log("");
|
|
35428
35428
|
}
|
|
35429
|
+
for (const line of formatSyncHeader(result)) {
|
|
35430
|
+
console.log(line);
|
|
35431
|
+
}
|
|
35432
|
+
console.log("");
|
|
35429
35433
|
for (const pluginResult of result.pluginResults) {
|
|
35430
35434
|
const status = pluginResult.success ? "✓" : "✗";
|
|
35431
35435
|
console.log(`${status} Plugin: ${pluginResult.plugin}`);
|
|
@@ -36764,11 +36768,6 @@ Warnings:`);
|
|
|
36764
36768
|
return { ok: result.success && result.totalFailed === 0, syncData };
|
|
36765
36769
|
}
|
|
36766
36770
|
async function runUserSyncAndPrint() {
|
|
36767
|
-
if (!isJsonMode()) {
|
|
36768
|
-
console.log(`
|
|
36769
|
-
Syncing user workspace...
|
|
36770
|
-
`);
|
|
36771
|
-
}
|
|
36772
36771
|
const result = await syncUserWorkspace();
|
|
36773
36772
|
if (!result.success && result.error) {
|
|
36774
36773
|
if (!isJsonMode()) {
|