@agenticmail/core 0.5.61 → 0.6.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.cjs CHANGED
@@ -1469,7 +1469,16 @@ var DEFAULT_CONFIG = {
1469
1469
  port: 143
1470
1470
  },
1471
1471
  api: {
1472
- port: 3100,
1472
+ // Default API port: 3829.
1473
+ //
1474
+ // We deliberately avoid 3000 (React/Express default), 3100 (Grafana
1475
+ // Loki, also a common Express convention), 3200 (Grafana Tempo),
1476
+ // 3300 (LMS-style apps), 4000/5000/8000/8080 (too common). 3829 sits
1477
+ // in a quiet stretch — unassigned by IANA, and far enough from
1478
+ // common dev tooling that a fresh `agenticmail setup` rarely
1479
+ // collides. Users can override via the `AGENTICMAIL_API_PORT` env
1480
+ // var or by editing `~/.agenticmail/config.json` after install.
1481
+ port: 3829,
1473
1482
  host: "127.0.0.1"
1474
1483
  },
1475
1484
  masterKey: "",
@@ -7756,7 +7765,7 @@ var SetupManager = class {
7756
7765
  },
7757
7766
  smtp: { host: "localhost", port: 587 },
7758
7767
  imap: { host: "localhost", port: 143 },
7759
- api: { port: 3100, host: "127.0.0.1" },
7768
+ api: { port: 3829, host: "127.0.0.1" },
7760
7769
  dataDir
7761
7770
  };
7762
7771
  (0, import_node_fs7.writeFileSync)(configPath, JSON.stringify(config, null, 2));
@@ -7767,7 +7776,7 @@ STALWART_ADMIN_PASSWORD=${stalwartPassword}
7767
7776
  STALWART_URL=http://localhost:8080
7768
7777
 
7769
7778
  AGENTICMAIL_MASTER_KEY=${masterKey}
7770
- AGENTICMAIL_API_PORT=3100
7779
+ AGENTICMAIL_API_PORT=3829
7771
7780
  AGENTICMAIL_DATA_DIR=${dataDir}
7772
7781
 
7773
7782
  SMTP_HOST=localhost
package/dist/index.js CHANGED
@@ -715,7 +715,16 @@ var DEFAULT_CONFIG = {
715
715
  port: 143
716
716
  },
717
717
  api: {
718
- port: 3100,
718
+ // Default API port: 3829.
719
+ //
720
+ // We deliberately avoid 3000 (React/Express default), 3100 (Grafana
721
+ // Loki, also a common Express convention), 3200 (Grafana Tempo),
722
+ // 3300 (LMS-style apps), 4000/5000/8000/8080 (too common). 3829 sits
723
+ // in a quiet stretch — unassigned by IANA, and far enough from
724
+ // common dev tooling that a fresh `agenticmail setup` rarely
725
+ // collides. Users can override via the `AGENTICMAIL_API_PORT` env
726
+ // var or by editing `~/.agenticmail/config.json` after install.
727
+ port: 3829,
719
728
  host: "127.0.0.1"
720
729
  },
721
730
  masterKey: "",
@@ -6997,7 +7006,7 @@ var SetupManager = class {
6997
7006
  },
6998
7007
  smtp: { host: "localhost", port: 587 },
6999
7008
  imap: { host: "localhost", port: 143 },
7000
- api: { port: 3100, host: "127.0.0.1" },
7009
+ api: { port: 3829, host: "127.0.0.1" },
7001
7010
  dataDir
7002
7011
  };
7003
7012
  writeFileSync5(configPath, JSON.stringify(config, null, 2));
@@ -7008,7 +7017,7 @@ STALWART_ADMIN_PASSWORD=${stalwartPassword}
7008
7017
  STALWART_URL=http://localhost:8080
7009
7018
 
7010
7019
  AGENTICMAIL_MASTER_KEY=${masterKey}
7011
- AGENTICMAIL_API_PORT=3100
7020
+ AGENTICMAIL_API_PORT=3829
7012
7021
  AGENTICMAIL_DATA_DIR=${dataDir}
7013
7022
 
7014
7023
  SMTP_HOST=localhost
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/core",
3
- "version": "0.5.61",
3
+ "version": "0.6.1",
4
4
  "description": "Core SDK for AgenticMail — email, SMS, and phone number access for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",