agentshq 0.1.0 → 0.1.1

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/cli.mjs +7 -5
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -22,8 +22,10 @@ import { createHash } from "crypto";
22
22
  var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
23
23
  const AGENTS_DIR$1 = ".agents";
24
24
  const AGENTS_SUBDIR = "agents";
25
- /** Base URL for the agents website/API. Override with AGENTS_BASE_URL env var. */
25
+ /** Base URL for the agents website (display links). Override with AGENTS_BASE_URL env var. */
26
26
  const BASE_URL = process.env.AGENTS_BASE_URL || "https://agentshq.sh";
27
+ /** Base URL for API requests. Override with AGENTS_API_URL env var. */
28
+ const API_URL = process.env.AGENTS_API_URL || "https://api.agentshq.sh";
27
29
  /** Default repo for agent definitions */
28
30
  const DEFAULT_REPO = "ulpi-io/agents";
29
31
  //#endregion
@@ -2632,8 +2634,8 @@ async function listInstalledAgents(options = {}) {
2632
2634
  }
2633
2635
  //#endregion
2634
2636
  //#region src/telemetry.ts
2635
- const TELEMETRY_URL = `${BASE_URL}/t`;
2636
- const AUDIT_URL = `${BASE_URL}/audit`;
2637
+ const TELEMETRY_URL = `${API_URL}/t`;
2638
+ const AUDIT_URL = `${API_URL}/audit`;
2637
2639
  let cliVersion = null;
2638
2640
  function isCI() {
2639
2641
  return !!(process.env.CI || process.env.GITHUB_ACTIONS || process.env.GITLAB_CI || process.env.CIRCLECI || process.env.TRAVIS || process.env.BUILDKITE || process.env.JENKINS_URL || process.env.TEAMCITY_VERSION);
@@ -2914,7 +2916,7 @@ var WellKnownProvider = class {
2914
2916
  const wellKnownProvider = new WellKnownProvider();
2915
2917
  //#endregion
2916
2918
  //#region package.json
2917
- var version$1 = "0.1.0";
2919
+ var version$1 = "0.1.1";
2918
2920
  //#endregion
2919
2921
  //#region src/add.ts
2920
2922
  const isCancelled$1 = (value) => typeof value === "symbol";
@@ -3878,7 +3880,7 @@ const BOLD$2 = "\x1B[1m";
3878
3880
  const DIM$2 = "\x1B[38;5;102m";
3879
3881
  const TEXT$1 = "\x1B[38;5;145m";
3880
3882
  const CYAN$1 = "\x1B[36m";
3881
- const SEARCH_API_BASE = process.env.AGENTS_API_URL || BASE_URL;
3883
+ const SEARCH_API_BASE = API_URL;
3882
3884
  function formatInstalls(count) {
3883
3885
  if (!count || count <= 0) return "";
3884
3886
  if (count >= 1e6) return `${(count / 1e6).toFixed(1).replace(/\.0$/, "")}M installs`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentshq",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The package manager for AI coding agents. Discover, install, and manage agent definitions across 43+ IDEs.",
5
5
  "type": "module",
6
6
  "bin": {