allagents 1.0.14 → 1.0.15

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30790,6 +30790,7 @@ function classifyDestination(dest) {
30790
30790
  function classifyCopyResults(copyResults) {
30791
30791
  const clientCounts = new Map;
30792
30792
  const seenDestinations = new Set;
30793
+ const seenClientArtifacts = new Set;
30793
30794
  for (const result of copyResults) {
30794
30795
  if (result.action !== "copied")
30795
30796
  continue;
@@ -30801,6 +30802,11 @@ function classifyCopyResults(copyResults) {
30801
30802
  continue;
30802
30803
  const { artifactType } = classification;
30803
30804
  const client = getDisplayName(classification.client);
30805
+ const artifactName = result.destination.replace(/\\/g, "/").split("/").pop() ?? result.destination;
30806
+ const clientArtifactKey = `${client}|${artifactType}|${artifactName}`;
30807
+ if (seenClientArtifacts.has(clientArtifactKey))
30808
+ continue;
30809
+ seenClientArtifacts.add(clientArtifactKey);
30804
30810
  let counts = clientCounts.get(client);
30805
30811
  if (!counts) {
30806
30812
  counts = { skills: 0, commands: 0, agents: 0, hooks: 0 };
@@ -30856,13 +30862,13 @@ function formatSyncHeader(result) {
30856
30862
  const successCount = result.pluginResults.filter((p) => p.success).length;
30857
30863
  return [
30858
30864
  `Updating ${pluginCount} plugin(s)...`,
30859
- `✓ Successfully updated ${successCount} marketplace(s)`
30865
+ "",
30866
+ `✓ Successfully updated ${successCount} plugin(s)`
30860
30867
  ];
30861
30868
  }
30862
- function formatSyncSummary(result, { dryRun = false, label = "Sync" } = {}) {
30869
+ function formatSyncSummary(result, { dryRun = false } = {}) {
30863
30870
  const lines = [];
30864
30871
  const allCopied = result.pluginResults.flatMap((pr) => pr.copyResults.filter((r) => r.action === "copied"));
30865
- lines.push(`${label} complete${dryRun ? " (dry run)" : ""}:`);
30866
30872
  const classified = classifyCopyResults(allCopied);
30867
30873
  if (classified.size > 0) {
30868
30874
  lines.push(...formatArtifactLines(classified));
@@ -33442,7 +33448,7 @@ var package_default;
33442
33448
  var init_package = __esm(() => {
33443
33449
  package_default = {
33444
33450
  name: "allagents",
33445
- version: "1.0.14",
33451
+ version: "1.0.15",
33446
33452
  description: "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
33447
33453
  type: "module",
33448
33454
  bin: {
@@ -36821,7 +36827,7 @@ native:`);
36821
36827
  }
36822
36828
  }
36823
36829
  console.log("");
36824
- for (const line of formatSyncSummary(result, { label: "User sync" })) {
36830
+ for (const line of formatSyncSummary(result)) {
36825
36831
  console.log(line);
36826
36832
  }
36827
36833
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allagents",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "CLI tool for managing multi-repo AI agent workspaces with plugin synchronization",
5
5
  "type": "module",
6
6
  "bin": {