agenticmail 0.5.54 → 0.5.56

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/cli.js +9 -3
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -5247,6 +5247,12 @@ function parseFriendlyError(rawText) {
5247
5247
  isAuthError: false
5248
5248
  };
5249
5249
  }
5250
+ if (error.includes("Stalwart API error") && error.includes("404")) {
5251
+ return {
5252
+ message: "Mail server is in bootstrap mode (likely Stalwart 0.16+ on `:latest`). Pull the pinned image and recreate the container: `docker compose -f ~/.agenticmail/docker-compose.yml pull && docker compose -f ~/.agenticmail/docker-compose.yml up -d --force-recreate`. See https://github.com/agenticmail/agenticmail/issues/10",
5253
+ isAuthError: false
5254
+ };
5255
+ }
5250
5256
  if (error.includes("Invalid API key") || error.includes("Master API key required")) {
5251
5257
  return {
5252
5258
  message: "Server authorization failed \u2014 the mail server may still be starting up. Try again in a moment.",
@@ -5951,7 +5957,7 @@ async function cmdOpenClaw() {
5951
5957
  if (gvEmail.trim() && gvEmail.toLowerCase().includes("@gmail.com")) {
5952
5958
  log2("");
5953
5959
  log2(` ${c2.dim("Get an app password at:")} ${c2.cyan("https://myaccount.google.com/apppasswords")}`);
5954
- const gvPass = await ask(` ${c2.green(c2.bold("App password for"))} ${c2.bold(gvEmail.trim())}: `);
5960
+ const gvPass = await askSecret(` ${c2.green(c2.bold("App password for"))} ${c2.bold(gvEmail.trim())}: `);
5955
5961
  if (gvPass.trim()) {
5956
5962
  forwardingEmail = gvEmail.trim();
5957
5963
  forwardingPassword = gvPass.trim();
@@ -5984,7 +5990,7 @@ async function cmdOpenClaw() {
5984
5990
  } else {
5985
5991
  log2("");
5986
5992
  log2(` ${c2.dim("Get an app password at:")} ${c2.cyan("https://myaccount.google.com/apppasswords")}`);
5987
- const gvPass = await ask(` ${c2.green(c2.bold("App password for"))} ${c2.bold(gvEmail.trim())}: `);
5993
+ const gvPass = await askSecret(` ${c2.green(c2.bold("App password for"))} ${c2.bold(gvEmail.trim())}: `);
5988
5994
  if (gvPass.trim()) {
5989
5995
  forwardingEmail = gvEmail.trim();
5990
5996
  forwardingPassword = gvPass.trim();
@@ -6010,7 +6016,7 @@ async function cmdOpenClaw() {
6010
6016
  if (gvEmail.trim() && gvEmail.toLowerCase().includes("@gmail.com")) {
6011
6017
  log2("");
6012
6018
  log2(` ${c2.dim("Get an app password at:")} ${c2.cyan("https://myaccount.google.com/apppasswords")}`);
6013
- const gvPass = await ask(` ${c2.green(c2.bold("App password for"))} ${c2.bold(gvEmail.trim())}: `);
6019
+ const gvPass = await askSecret(` ${c2.green(c2.bold("App password for"))} ${c2.bold(gvEmail.trim())}: `);
6014
6020
  if (gvPass.trim()) {
6015
6021
  forwardingEmail = gvEmail.trim();
6016
6022
  forwardingPassword = gvPass.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agenticmail",
3
- "version": "0.5.54",
3
+ "version": "0.5.56",
4
4
  "description": "Email and SMS infrastructure for AI agents — the first platform to give agents real email addresses and phone numbers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "prepublishOnly": "npm run build"
29
29
  },
30
30
  "dependencies": {
31
- "@agenticmail/api": "^0.5.53",
31
+ "@agenticmail/api": "^0.5.56",
32
32
  "@agenticmail/core": "^0.5.0",
33
33
  "json5": "^2.2.3"
34
34
  },