@agentcentral/cli 0.1.3 → 0.1.4

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 +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17,7 +17,10 @@ var CliError = class extends Error {
17
17
  };
18
18
 
19
19
  // src/constants.ts
20
- var CLI_VERSION = "0.1.2";
20
+ import { createRequire } from "module";
21
+ var nodeRequire = createRequire(import.meta.url);
22
+ var pkg = nodeRequire("../package.json");
23
+ var CLI_VERSION = pkg.version;
21
24
  var DEFAULT_MCP_ENDPOINT = "https://mcp.agentcentral.to/mcp";
22
25
  var ENV_API_KEY = "AGENT_CENTRAL_API_KEY";
23
26
  var ENV_API_KEY_LEGACY = "AGENTCENTRAL_API_KEY";
@@ -4067,7 +4070,7 @@ async function profilesUse(ctx, name) {
4067
4070
  }
4068
4071
 
4069
4072
  // src/keychain.ts
4070
- import { createRequire } from "module";
4073
+ import { createRequire as createRequire2 } from "module";
4071
4074
  var SERVICE = "agentcentral-cli";
4072
4075
  var DEFAULT_ACCOUNT = "default";
4073
4076
  var DISABLE_ENV = "AGENT_CENTRAL_DISABLE_KEYCHAIN";
@@ -4076,7 +4079,7 @@ var loaderOverride = void 0;
4076
4079
  function disabled() {
4077
4080
  return process.env[DISABLE_ENV] === "1";
4078
4081
  }
4079
- var requireNative = createRequire(import.meta.url);
4082
+ var requireNative = createRequire2(import.meta.url);
4080
4083
  function loadEntryClass() {
4081
4084
  if (entryClassCache !== void 0) {
4082
4085
  return entryClassCache;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentcentral/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "license": "MIT",
5
5
  "description": "agentcentral CLI — local MCP bridge and generic tool runner for Amazon seller data",
6
6
  "keywords": [