mortgram-cli 1.0.0 → 1.0.1

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/dist/index.js CHANGED
@@ -10,8 +10,8 @@ const config_1 = require("./lib/config");
10
10
  const dotenv_1 = __importDefault(require("dotenv"));
11
11
  const path_1 = __importDefault(require("path"));
12
12
  // Load environment variables from the parent directory if possible, or current
13
- dotenv_1.default.config({ path: path_1.default.join(process.cwd(), "..", ".env.local") });
14
- dotenv_1.default.config(); // Fallback to current dir
13
+ dotenv_1.default.config({ path: path_1.default.join(process.cwd(), "..", ".env.local"), quiet: true });
14
+ dotenv_1.default.config({ quiet: true }); // Fallback to current dir
15
15
  const program = new commander_1.Command();
16
16
  program
17
17
  .name("mortgram")
@@ -8,7 +8,7 @@ const axios_1 = __importDefault(require("axios"));
8
8
  const dotenv_1 = __importDefault(require("dotenv"));
9
9
  const config_1 = require("./config");
10
10
  // ensure env is loaded
11
- dotenv_1.default.config();
11
+ dotenv_1.default.config({ quiet: true });
12
12
  const API_KEY = process.env.MG_LIVE_KEY || (0, config_1.loadConfig)();
13
13
  const API_URL = process.env.MORTGRAM_API_URL || "http://localhost:3000/api/ingest";
14
14
  const AGENT_ID = process.env.MG_AGENT_ID || "cli-agent";
@@ -9,7 +9,7 @@ const axios_1 = __importDefault(require("axios"));
9
9
  const guard_1 = require("./guard");
10
10
  const dotenv_1 = __importDefault(require("dotenv"));
11
11
  const config_1 = require("./config");
12
- dotenv_1.default.config();
12
+ dotenv_1.default.config({ quiet: true });
13
13
  const API_KEY = process.env.MG_LIVE_KEY || (0, config_1.loadConfig)();
14
14
  const API_URL = process.env.MORTGRAM_API_URL ? `${process.env.MORTGRAM_API_URL}/heartbeat` : "http://localhost:3000/api/cron/heartbeat";
15
15
  // Note: reusing cron heartbeat or creating a specific agent heartbeat endpoint?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mortgram-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Zero-code observability wrapper for AI agents",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {