@agentmanifest/cli 0.1.6 → 0.1.7

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to the AMP CLI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.7] - 2026-02-16
9
+
10
+ ### Fixed
11
+ - Fixed `amp --version` command to read version dynamically from package.json instead of hardcoded value
12
+
8
13
  ## [0.1.6] - 2026-02-16
9
14
 
10
15
  ### Fixed
package/dist/index.js CHANGED
@@ -2,14 +2,17 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const commander_1 = require("commander");
5
+ const fs_1 = require("fs");
6
+ const path_1 = require("path");
5
7
  const init_1 = require("./commands/init");
6
8
  const validate_1 = require("./commands/validate");
7
9
  const publish_1 = require("./commands/publish");
10
+ const packageJson = JSON.parse((0, fs_1.readFileSync)((0, path_1.join)(__dirname, '../package.json'), 'utf-8'));
8
11
  const program = new commander_1.Command();
9
12
  program
10
13
  .name('amp')
11
14
  .description('Agent Manifest Protocol (AMP) CLI - Create, validate, and publish API manifests')
12
- .version('0.1.0');
15
+ .version(packageJson.version);
13
16
  program
14
17
  .command('init')
15
18
  .description('Interactively create a new agent-manifest.json file')
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,yCAAoC;AACpC,0CAA8C;AAC9C,kDAAsD;AACtD,gDAAoD;AAEpD,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,KAAK,CAAC;KACX,WAAW,CAAC,iFAAiF,CAAC;KAC9F,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,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AC,0BAAe,CAAC,CAAC;AAE3B,OAAO;KACJ,OAAO,CAAC,SAAS,CAAC;KAClB,WAAW,CAAC,8DAA8D,CAAC;KAC3E,MAAM,CAAC,mBAAmB,EAAE,uBAAuB,EAAE,uBAAuB,CAAC;KAC7E,MAAM,CAAC,wBAAc,CAAC,CAAC;AAE1B,OAAO,CAAC,KAAK,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentmanifest/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "CLI tool for creating, validating, and publishing Agent Manifest Protocol (AMP) manifests",
5
5
  "main": "dist/index.js",
6
6
  "bin": {