@proagentstore/cli 0.1.1 → 0.1.3

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/index.ts
4
+ import { createRequire } from "module";
4
5
  import { Command as Command5 } from "commander";
5
6
 
6
7
  // src/commands/check.ts
@@ -706,10 +707,12 @@ function createRunnerCommand() {
706
707
  }
707
708
 
708
709
  // src/index.ts
710
+ var require2 = createRequire(import.meta.url);
711
+ var { version } = require2("../package.json");
709
712
  var program = new Command5();
710
713
  program.name("pags").description(
711
714
  "ProAgentStore CLI \u2014 create and publish server-powered AI agents"
712
- ).version("0.1.0");
715
+ ).version(version);
713
716
  program.addCommand(initCommand);
714
717
  program.addCommand(checkCommand);
715
718
  program.addCommand(publishCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proagentstore/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "CLI for creating and publishing ProAgentStore agents",
5
5
  "license": "MIT",
6
6
  "type": "module",