@mailmodo/cli 0.0.56-beta.pr58.95 → 0.0.56-beta.pr58.97

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.
@@ -4,7 +4,7 @@
4
4
  * when this is true so end users never see internal request metadata.
5
5
  */
6
6
  export declare const IS_DEV_MODE: boolean;
7
- export declare const API_BASE_URL = "https://app-vertex-debug.azurewebsites.net";
7
+ export declare const API_BASE_URL: string;
8
8
  export declare const API_ENDPOINTS: Readonly<{
9
9
  ANALYTICS: "/analytics";
10
10
  ANALYZE: "/analyze";
@@ -31,7 +31,7 @@ export declare const API_ENDPOINTS: Readonly<{
31
31
  SEQUENCES_SDK: "/sequences/sdk";
32
32
  SEQUENCES_VALIDATE: "/sequences/validate";
33
33
  }>;
34
- export declare const LOGIN_URL = "https://app-vertex-debug.azurewebsites.net/signup.html";
34
+ export declare const LOGIN_URL: string;
35
35
  export declare const PREVIEW_PORT = 3421;
36
36
  export declare const DEFAULT_BRAND_COLOR = "#1A56DB";
37
37
  export declare const TEMPLATES_DIR = "mailmodo";
@@ -1,13 +1,12 @@
1
1
  /** Set by `bin/dev.js` when running the CLI locally (tsx bootstrap). */
2
2
  const DEV_API_BASE_URL = 'https://app-vertex-debug.azurewebsites.net';
3
+ const PRODUCTION_API_BASE_URL = 'https://api.mailmodo.dev';
3
4
  /**
4
5
  * True when the CLI is running in a dev/debug context. Verbose request
5
6
  * diagnostics (URL, status, response body, error code) are only surfaced
6
7
  * when this is true so end users never see internal request metadata.
7
8
  */
8
9
  export const IS_DEV_MODE = Boolean(process.env.MAILMODO_DEV_TSX || process.env.MAILMODO_DEBUG);
9
- // const PRODUCTION_API_BASE_URL = 'https://api.mailmodo.com';
10
- const PRODUCTION_API_BASE_URL = 'https://app-vertex-debug.azurewebsites.net';
11
10
  export const API_BASE_URL = process.env.MAILMODO_DEV_TSX
12
11
  ? DEV_API_BASE_URL
13
12
  : PRODUCTION_API_BASE_URL;
@@ -37,9 +36,8 @@ export const API_ENDPOINTS = Object.freeze({
37
36
  SEQUENCES_SDK: '/sequences/sdk',
38
37
  SEQUENCES_VALIDATE: '/sequences/validate',
39
38
  });
40
- const DEV_LOGIN_URL = 'https://app-vertex-debug.azurewebsites.net/signup.html';
41
- // const PRODUCTION_LOGIN_URL = 'https://mailmodo.com/cli';
42
- const PRODUCTION_LOGIN_URL = 'https://app-vertex-debug.azurewebsites.net/signup.html';
39
+ const DEV_LOGIN_URL = 'https://app-vertex-debug.azurewebsites.net/signup';
40
+ const PRODUCTION_LOGIN_URL = 'https://app.mailmodo.dev/signup';
43
41
  export const LOGIN_URL = process.env.MAILMODO_DEV_TSX
44
42
  ? DEV_LOGIN_URL
45
43
  : PRODUCTION_LOGIN_URL;
@@ -237,14 +237,19 @@
237
237
  "index.js"
238
238
  ]
239
239
  },
240
- "domain": {
240
+ "edit": {
241
241
  "aliases": [],
242
- "args": {},
243
- "description": "Set up and verify your sending domain",
242
+ "args": {
243
+ "id": {
244
+ "description": "Email template ID to edit",
245
+ "name": "id",
246
+ "required": true
247
+ }
248
+ },
249
+ "description": "Edit an email using AI-assisted natural language changes",
244
250
  "examples": [
245
- "<%= config.bin %> domain",
246
- "<%= config.bin %> domain --verify",
247
- "<%= config.bin %> domain --status"
251
+ "<%= config.bin %> edit welcome",
252
+ "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
248
253
  ],
249
254
  "flags": {
250
255
  "json": {
@@ -260,22 +265,17 @@
260
265
  "allowNo": false,
261
266
  "type": "boolean"
262
267
  },
263
- "status": {
264
- "description": "Show domain health status",
265
- "name": "status",
266
- "allowNo": false,
267
- "type": "boolean"
268
- },
269
- "verify": {
270
- "description": "Verify DNS records",
271
- "name": "verify",
272
- "allowNo": false,
273
- "type": "boolean"
268
+ "change": {
269
+ "description": "Natural language description of the change",
270
+ "name": "change",
271
+ "hasDynamicHelp": false,
272
+ "multiple": false,
273
+ "type": "option"
274
274
  }
275
275
  },
276
276
  "hasDynamicHelp": false,
277
277
  "hiddenAliases": [],
278
- "id": "domain",
278
+ "id": "edit",
279
279
  "pluginAlias": "@mailmodo/cli",
280
280
  "pluginName": "@mailmodo/cli",
281
281
  "pluginType": "core",
@@ -285,23 +285,18 @@
285
285
  "relativePath": [
286
286
  "dist",
287
287
  "commands",
288
- "domain",
288
+ "edit",
289
289
  "index.js"
290
290
  ]
291
291
  },
292
- "edit": {
292
+ "domain": {
293
293
  "aliases": [],
294
- "args": {
295
- "id": {
296
- "description": "Email template ID to edit",
297
- "name": "id",
298
- "required": true
299
- }
300
- },
301
- "description": "Edit an email using AI-assisted natural language changes",
294
+ "args": {},
295
+ "description": "Set up and verify your sending domain",
302
296
  "examples": [
303
- "<%= config.bin %> edit welcome",
304
- "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
297
+ "<%= config.bin %> domain",
298
+ "<%= config.bin %> domain --verify",
299
+ "<%= config.bin %> domain --status"
305
300
  ],
306
301
  "flags": {
307
302
  "json": {
@@ -317,17 +312,22 @@
317
312
  "allowNo": false,
318
313
  "type": "boolean"
319
314
  },
320
- "change": {
321
- "description": "Natural language description of the change",
322
- "name": "change",
323
- "hasDynamicHelp": false,
324
- "multiple": false,
325
- "type": "option"
315
+ "status": {
316
+ "description": "Show domain health status",
317
+ "name": "status",
318
+ "allowNo": false,
319
+ "type": "boolean"
320
+ },
321
+ "verify": {
322
+ "description": "Verify DNS records",
323
+ "name": "verify",
324
+ "allowNo": false,
325
+ "type": "boolean"
326
326
  }
327
327
  },
328
328
  "hasDynamicHelp": false,
329
329
  "hiddenAliases": [],
330
- "id": "edit",
330
+ "id": "domain",
331
331
  "pluginAlias": "@mailmodo/cli",
332
332
  "pluginName": "@mailmodo/cli",
333
333
  "pluginType": "core",
@@ -337,7 +337,7 @@
337
337
  "relativePath": [
338
338
  "dist",
339
339
  "commands",
340
- "edit",
340
+ "domain",
341
341
  "index.js"
342
342
  ]
343
343
  },
@@ -765,5 +765,5 @@
765
765
  ]
766
766
  }
767
767
  },
768
- "version": "0.0.56-beta.pr58.95"
768
+ "version": "0.0.56-beta.pr58.97"
769
769
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mailmodo/cli",
3
3
  "description": "Email lifecycle automation for the AI-native builder generation.",
4
- "version": "0.0.56-beta.pr58.95",
4
+ "version": "0.0.56-beta.pr58.97",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"