@ogment-ai/cli 0.3.2 → 0.3.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.
@@ -3,6 +3,6 @@ export declare const APP_DESCRIPTION = "Ogment CLI - secure your AI agents' SaaS
3
3
  export declare const DEFAULT_OGMENT_BASE_URL = "https://dashboard.ogment.ai";
4
4
  export declare const CLI_CLIENT_NAME = "Ogment CLI";
5
5
  export declare const CLI_REDIRECT_HOST = "127.0.0.1";
6
- export declare const VERSION = "0.3.0";
6
+ export declare const VERSION: string;
7
7
  export declare const AGENT_SUCCESS_HINT = "Use `ogment servers` to list available servers.";
8
8
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,WAAW,CAAC;AACjC,eAAO,MAAM,eAAe,yDAAyD,CAAC;AAEtF,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AACrE,eAAO,MAAM,eAAe,eAAe,CAAC;AAC5C,eAAO,MAAM,iBAAiB,cAAc,CAAC;AAE7C,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B,eAAO,MAAM,kBAAkB,oDAAoD,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/shared/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,WAAW,CAAC;AACjC,eAAO,MAAM,eAAe,yDAAyD,CAAC;AAEtF,eAAO,MAAM,uBAAuB,gCAAgC,CAAC;AACrE,eAAO,MAAM,eAAe,eAAe,CAAC;AAC5C,eAAO,MAAM,iBAAiB,cAAc,CAAC;AAM7C,eAAO,MAAM,OAAO,QAAsB,CAAC;AAE3C,eAAO,MAAM,kBAAkB,oDAAoD,CAAC"}
@@ -1,7 +1,9 @@
1
+ import { readFileSync } from "node:fs";
1
2
  export const APP_NAME = "ogment";
2
3
  export const APP_DESCRIPTION = "Ogment CLI - secure your AI agents' SaaS credentials";
3
4
  export const DEFAULT_OGMENT_BASE_URL = "https://dashboard.ogment.ai";
4
5
  export const CLI_CLIENT_NAME = "Ogment CLI";
5
6
  export const CLI_REDIRECT_HOST = "127.0.0.1";
6
- export const VERSION = "0.3.0";
7
+ const packageJson = JSON.parse(readFileSync(new URL("../../package.json", import.meta.url), "utf8"));
8
+ export const VERSION = packageJson.version;
7
9
  export const AGENT_SUCCESS_HINT = "Use `ogment servers` to list available servers.";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ogment-ai/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Ogment Vault CLI — secure your AI agents' SaaS credentials",
5
5
  "type": "module",
6
6
  "bin": {
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@modelcontextprotocol/sdk": "^1.26.0",
65
- "@ogment-ai/cli-contract": "0.3.2",
65
+ "@ogment-ai/cli-contract": "0.3.3",
66
66
  "better-result": "^2.7.0",
67
67
  "commander": "^13.1.0",
68
68
  "open": "^10.2.0",