@rbbtsn0w/adg 0.6.0-beta.5 → 0.6.0-beta.6

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.
@@ -6,6 +6,7 @@ import { codexMarketplaceRoot, globalPluginsDir, marketplacePath } from "../path
6
6
  import { readMarketplace, writeMarketplace } from "../marketplace.js";
7
7
  import { makeCli, skippedResult } from "./base.js";
8
8
  const UNRECOGNIZED_PLUGIN_LIST = "codex plugin list returned unrecognized output";
9
+ const MARKETPLACE = "adg";
9
10
  /**
10
11
  * Codex agent.
11
12
  *
@@ -19,16 +20,16 @@ function codexHome(env) {
19
20
  }
20
21
  const { available, run } = makeCli("codex", { probeArgs: ["plugin", "--help"] });
21
22
  /**
22
- * Codex's default global marketplace is historically named `plugins`. Project
23
- * and explicit stores get a store-scoped name to avoid colliding with a global
24
- * or another project's configured marketplace.
23
+ * Keep Codex's global marketplace identity aligned with the Claude projection.
24
+ * Project and explicit stores get a store-scoped name to avoid colliding with
25
+ * the global store or another project's configured marketplace.
25
26
  */
26
27
  export function codexMarketplaceName(pluginsDir) {
27
28
  const normalized = resolve(pluginsDir);
28
29
  if (normalized === resolve(globalPluginsDir()))
29
- return "plugins";
30
+ return MARKETPLACE;
30
31
  const hash = createHash("sha1").update(normalized.split("\\").join("/")).digest("hex").slice(0, 8);
31
- return `adg-${hash}`;
32
+ return `${MARKETPLACE}-${hash}`;
32
33
  }
33
34
  /** Ensure the generated Codex marketplace export uses this store's scoped name. */
34
35
  export function writeCodexMarketplaceName(pluginsDir) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbbtsn0w/adg",
3
- "version": "0.6.0-beta.5",
3
+ "version": "0.6.0-beta.6",
4
4
  "description": "Agent Directory Group (ADG) toolkit — two domains: plugins and skills.",
5
5
  "type": "module",
6
6
  "license": "MIT",