@agentskillshub/cli 0.2.5 → 0.2.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.
Files changed (2) hide show
  1. package/bin/ash.mjs +4 -3
  2. package/package.json +1 -1
package/bin/ash.mjs CHANGED
@@ -26,9 +26,10 @@ import { join } from "node:path";
26
26
  const BASE = process.env.AGENTSKILLSHUB_BASE || "https://agentskillshub.top";
27
27
  const META_URL = `${BASE}/search-index-meta.json`;
28
28
  const INDEX_URL = `${BASE}/search-index.json.gz`;
29
- // ?ref=cli lets web analytics attribute clickthroughs that originate in the CLI
30
- // (anonymous, no in-CLI telemetry). Query comes before any #audit fragment.
31
- const HUB_SKILL = (full) => `${BASE}/skill/${full}/?ref=cli`;
29
+ // UTM params let GA4 (Traffic acquisition) and Plausible (UTM Sources) auto-
30
+ // attribute CLI-originated clickthroughs with zero report-building anonymous,
31
+ // no in-CLI telemetry. Query comes before any #audit fragment.
32
+ const HUB_SKILL = (full) => `${BASE}/skill/${full}/?utm_source=cli&utm_medium=cli`;
32
33
 
33
34
  const CACHE_DIR = join(process.env.AGENTSKILLSHUB_CACHE || join(homedir(), ".cache", "agentskillshub"));
34
35
  const CACHE_INDEX = join(CACHE_DIR, "search-index.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentskillshub/cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Search, audit, and install open-source AI agent skills & MCP servers from the terminal — security-graded, quality-scored.",
5
5
  "type": "module",
6
6
  "bin": {