@orchagent/cli 0.1.1 → 0.1.2

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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -33,6 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  return result;
34
34
  };
35
35
  })();
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
36
39
  Object.defineProperty(exports, "__esModule", { value: true });
37
40
  const Sentry = __importStar(require("@sentry/node"));
38
41
  if (process.env.SENTRY_DSN) {
@@ -42,12 +45,13 @@ const commander_1 = require("commander");
42
45
  const commands_1 = require("./commands");
43
46
  const errors_1 = require("./lib/errors");
44
47
  const analytics_1 = require("./lib/analytics");
48
+ const package_json_1 = __importDefault(require("../package.json"));
45
49
  (0, analytics_1.initPostHog)();
46
50
  const program = new commander_1.Command();
47
51
  program
48
52
  .name('orchagent')
49
53
  .description('OrchAgent CLI')
50
- .version('0.1.0');
54
+ .version(package_json_1.default.version);
51
55
  (0, commands_1.registerCommands)(program);
52
56
  program
53
57
  .parseAsync(process.argv)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Command-line interface for the OrchAgent AI agent marketplace",
5
5
  "license": "MIT",
6
6
  "author": "OrchAgent <hello@orchagent.io>",