@agenticmail/enterprise 0.2.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.
Files changed (69) hide show
  1. package/ARCHITECTURE.md +183 -0
  2. package/agenticmail-enterprise.db +0 -0
  3. package/dashboards/README.md +120 -0
  4. package/dashboards/dotnet/Program.cs +261 -0
  5. package/dashboards/express/app.js +146 -0
  6. package/dashboards/go/main.go +513 -0
  7. package/dashboards/html/index.html +535 -0
  8. package/dashboards/java/AgenticMailDashboard.java +376 -0
  9. package/dashboards/php/index.php +414 -0
  10. package/dashboards/python/app.py +273 -0
  11. package/dashboards/ruby/app.rb +195 -0
  12. package/dist/chunk-77IDQJL3.js +7 -0
  13. package/dist/chunk-7RGCCHIT.js +115 -0
  14. package/dist/chunk-DXNKR3TG.js +1355 -0
  15. package/dist/chunk-IQWA44WT.js +970 -0
  16. package/dist/chunk-LCUZGIDH.js +965 -0
  17. package/dist/chunk-N2JVTNNJ.js +2553 -0
  18. package/dist/chunk-O462UJBH.js +363 -0
  19. package/dist/chunk-PNKVD2UK.js +26 -0
  20. package/dist/cli.js +218 -0
  21. package/dist/dashboard/index.html +558 -0
  22. package/dist/db-adapter-DEWEFNIV.js +7 -0
  23. package/dist/dynamodb-CCGL2E77.js +426 -0
  24. package/dist/engine/index.js +1261 -0
  25. package/dist/index.js +522 -0
  26. package/dist/mongodb-ODTXIVPV.js +319 -0
  27. package/dist/mysql-RM3S2FV5.js +521 -0
  28. package/dist/postgres-LN7A6MGQ.js +518 -0
  29. package/dist/routes-2JEPIIKC.js +441 -0
  30. package/dist/routes-74ZLKJKP.js +399 -0
  31. package/dist/server.js +7 -0
  32. package/dist/sqlite-3K5YOZ4K.js +439 -0
  33. package/dist/turso-LDWODSDI.js +442 -0
  34. package/package.json +49 -0
  35. package/src/admin/routes.ts +331 -0
  36. package/src/auth/routes.ts +130 -0
  37. package/src/cli.ts +260 -0
  38. package/src/dashboard/index.html +558 -0
  39. package/src/db/adapter.ts +230 -0
  40. package/src/db/dynamodb.ts +456 -0
  41. package/src/db/factory.ts +51 -0
  42. package/src/db/mongodb.ts +360 -0
  43. package/src/db/mysql.ts +472 -0
  44. package/src/db/postgres.ts +479 -0
  45. package/src/db/sql-schema.ts +123 -0
  46. package/src/db/sqlite.ts +391 -0
  47. package/src/db/turso.ts +411 -0
  48. package/src/deploy/fly.ts +368 -0
  49. package/src/deploy/managed.ts +213 -0
  50. package/src/engine/activity.ts +474 -0
  51. package/src/engine/agent-config.ts +429 -0
  52. package/src/engine/agenticmail-bridge.ts +296 -0
  53. package/src/engine/approvals.ts +278 -0
  54. package/src/engine/db-adapter.ts +682 -0
  55. package/src/engine/db-schema.ts +335 -0
  56. package/src/engine/deployer.ts +595 -0
  57. package/src/engine/index.ts +134 -0
  58. package/src/engine/knowledge.ts +486 -0
  59. package/src/engine/lifecycle.ts +635 -0
  60. package/src/engine/openclaw-hook.ts +371 -0
  61. package/src/engine/routes.ts +528 -0
  62. package/src/engine/skills.ts +473 -0
  63. package/src/engine/tenant.ts +345 -0
  64. package/src/engine/tool-catalog.ts +189 -0
  65. package/src/index.ts +64 -0
  66. package/src/lib/resilience.ts +326 -0
  67. package/src/middleware/index.ts +286 -0
  68. package/src/server.ts +310 -0
  69. package/tsconfig.json +14 -0
@@ -0,0 +1,442 @@
1
+ import {
2
+ getAllCreateStatements
3
+ } from "./chunk-7RGCCHIT.js";
4
+ import {
5
+ DatabaseAdapter
6
+ } from "./chunk-77IDQJL3.js";
7
+ import "./chunk-PNKVD2UK.js";
8
+
9
+ // src/db/turso.ts
10
+ import { randomUUID, createHash } from "crypto";
11
+ var libsqlClient;
12
+ async function getClient() {
13
+ if (!libsqlClient) {
14
+ try {
15
+ libsqlClient = await import("@libsql/client");
16
+ } catch {
17
+ throw new Error("Turso driver not found. Install: npm install @libsql/client");
18
+ }
19
+ }
20
+ return libsqlClient;
21
+ }
22
+ var TursoAdapter = class extends DatabaseAdapter {
23
+ type = "turso";
24
+ client = null;
25
+ async connect(config) {
26
+ const lib = await getClient();
27
+ this.client = lib.createClient({
28
+ url: config.connectionString || "file:./agenticmail-enterprise.db",
29
+ authToken: config.authToken
30
+ });
31
+ }
32
+ async disconnect() {
33
+ if (this.client) this.client.close();
34
+ }
35
+ isConnected() {
36
+ return this.client !== null;
37
+ }
38
+ async run(sql, args = []) {
39
+ return this.client.execute({ sql, args });
40
+ }
41
+ async get(sql, args = []) {
42
+ const result = await this.run(sql, args);
43
+ if (!result.rows || result.rows.length === 0) return null;
44
+ return result.rows[0];
45
+ }
46
+ async all(sql, args = []) {
47
+ const result = await this.run(sql, args);
48
+ return result.rows || [];
49
+ }
50
+ async migrate() {
51
+ const stmts = getAllCreateStatements();
52
+ await this.client.batch(
53
+ stmts.map((sql) => ({ sql, args: [] })).concat([
54
+ { sql: `INSERT OR IGNORE INTO retention_policy (id) VALUES ('default')`, args: [] }
55
+ ]),
56
+ "write"
57
+ );
58
+ }
59
+ // ─── Company ─────────────────────────────────────────────
60
+ async getSettings() {
61
+ const r = await this.get("SELECT * FROM company_settings WHERE id = ?", ["default"]);
62
+ return r ? this.mapSettings(r) : null;
63
+ }
64
+ async updateSettings(updates) {
65
+ const map = {
66
+ name: "name",
67
+ domain: "domain",
68
+ subdomain: "subdomain",
69
+ smtpHost: "smtp_host",
70
+ smtpPort: "smtp_port",
71
+ smtpUser: "smtp_user",
72
+ smtpPass: "smtp_pass",
73
+ dkimPrivateKey: "dkim_private_key",
74
+ logoUrl: "logo_url",
75
+ primaryColor: "primary_color",
76
+ plan: "plan"
77
+ };
78
+ const sets = [];
79
+ const vals = [];
80
+ for (const [key, col] of Object.entries(map)) {
81
+ if (updates[key] !== void 0) {
82
+ sets.push(`${col} = ?`);
83
+ vals.push(updates[key]);
84
+ }
85
+ }
86
+ sets.push("updated_at = datetime('now')");
87
+ vals.push("default");
88
+ await this.run(`UPDATE company_settings SET ${sets.join(", ")} WHERE id = ?`, vals);
89
+ return this.getSettings();
90
+ }
91
+ // ─── Agents ──────────────────────────────────────────────
92
+ async createAgent(input) {
93
+ const id = randomUUID();
94
+ const email = input.email || `${input.name.toLowerCase().replace(/\s+/g, "-")}@localhost`;
95
+ await this.run(
96
+ `INSERT INTO agents (id, name, email, role, metadata, created_by) VALUES (?, ?, ?, ?, ?, ?)`,
97
+ [id, input.name, email, input.role || "assistant", JSON.stringify(input.metadata || {}), input.createdBy]
98
+ );
99
+ return await this.getAgent(id);
100
+ }
101
+ async getAgent(id) {
102
+ const r = await this.get("SELECT * FROM agents WHERE id = ?", [id]);
103
+ return r ? this.mapAgent(r) : null;
104
+ }
105
+ async getAgentByName(name) {
106
+ const r = await this.get("SELECT * FROM agents WHERE name = ?", [name]);
107
+ return r ? this.mapAgent(r) : null;
108
+ }
109
+ async listAgents(opts) {
110
+ let q = "SELECT * FROM agents";
111
+ const params = [];
112
+ if (opts?.status) {
113
+ q += " WHERE status = ?";
114
+ params.push(opts.status);
115
+ }
116
+ q += " ORDER BY created_at DESC";
117
+ if (opts?.limit) q += ` LIMIT ${opts.limit}`;
118
+ if (opts?.offset) q += ` OFFSET ${opts.offset}`;
119
+ return (await this.all(q, params)).map((r) => this.mapAgent(r));
120
+ }
121
+ async updateAgent(id, updates) {
122
+ const fields = [];
123
+ const vals = [];
124
+ for (const [key, col] of Object.entries({ name: "name", email: "email", role: "role", status: "status" })) {
125
+ if (updates[key] !== void 0) {
126
+ fields.push(`${col} = ?`);
127
+ vals.push(updates[key]);
128
+ }
129
+ }
130
+ if (updates.metadata) {
131
+ fields.push("metadata = ?");
132
+ vals.push(JSON.stringify(updates.metadata));
133
+ }
134
+ fields.push("updated_at = datetime('now')");
135
+ vals.push(id);
136
+ await this.run(`UPDATE agents SET ${fields.join(", ")} WHERE id = ?`, vals);
137
+ return await this.getAgent(id);
138
+ }
139
+ async archiveAgent(id) {
140
+ await this.run("UPDATE agents SET status = 'archived', updated_at = datetime('now') WHERE id = ?", [id]);
141
+ }
142
+ async deleteAgent(id) {
143
+ await this.run("DELETE FROM agents WHERE id = ?", [id]);
144
+ }
145
+ async countAgents(status) {
146
+ const r = status ? await this.get("SELECT COUNT(*) as c FROM agents WHERE status = ?", [status]) : await this.get("SELECT COUNT(*) as c FROM agents", []);
147
+ return r.c;
148
+ }
149
+ // ─── Users ───────────────────────────────────────────────
150
+ async createUser(input) {
151
+ const id = randomUUID();
152
+ let passwordHash = null;
153
+ if (input.password) {
154
+ const { default: bcrypt } = await import("bcryptjs");
155
+ passwordHash = await bcrypt.hash(input.password, 12);
156
+ }
157
+ await this.run(
158
+ `INSERT INTO users (id, email, name, role, password_hash, sso_provider, sso_subject) VALUES (?, ?, ?, ?, ?, ?, ?)`,
159
+ [id, input.email, input.name, input.role, passwordHash, input.ssoProvider || null, input.ssoSubject || null]
160
+ );
161
+ return await this.getUser(id);
162
+ }
163
+ async getUser(id) {
164
+ const r = await this.get("SELECT * FROM users WHERE id = ?", [id]);
165
+ return r ? this.mapUser(r) : null;
166
+ }
167
+ async getUserByEmail(email) {
168
+ const r = await this.get("SELECT * FROM users WHERE email = ?", [email]);
169
+ return r ? this.mapUser(r) : null;
170
+ }
171
+ async getUserBySso(provider, subject) {
172
+ const r = await this.get("SELECT * FROM users WHERE sso_provider = ? AND sso_subject = ?", [provider, subject]);
173
+ return r ? this.mapUser(r) : null;
174
+ }
175
+ async listUsers(opts) {
176
+ let q = "SELECT * FROM users ORDER BY created_at DESC";
177
+ if (opts?.limit) q += ` LIMIT ${opts.limit}`;
178
+ if (opts?.offset) q += ` OFFSET ${opts.offset}`;
179
+ return (await this.all(q)).map((r) => this.mapUser(r));
180
+ }
181
+ async updateUser(id, updates) {
182
+ const fields = [];
183
+ const vals = [];
184
+ for (const key of ["email", "name", "role"]) {
185
+ if (updates[key] !== void 0) {
186
+ fields.push(`${key} = ?`);
187
+ vals.push(updates[key]);
188
+ }
189
+ }
190
+ fields.push("updated_at = datetime('now')");
191
+ vals.push(id);
192
+ await this.run(`UPDATE users SET ${fields.join(", ")} WHERE id = ?`, vals);
193
+ return await this.getUser(id);
194
+ }
195
+ async deleteUser(id) {
196
+ await this.run("DELETE FROM users WHERE id = ?", [id]);
197
+ }
198
+ // ─── Audit ───────────────────────────────────────────────
199
+ async logEvent(event) {
200
+ await this.run(
201
+ `INSERT INTO audit_log (id, actor, actor_type, action, resource, details, ip) VALUES (?, ?, ?, ?, ?, ?, ?)`,
202
+ [randomUUID(), event.actor, event.actorType, event.action, event.resource, JSON.stringify(event.details || {}), event.ip || null]
203
+ );
204
+ }
205
+ async queryAudit(filters) {
206
+ const where = [];
207
+ const params = [];
208
+ if (filters.actor) {
209
+ where.push("actor = ?");
210
+ params.push(filters.actor);
211
+ }
212
+ if (filters.action) {
213
+ where.push("action = ?");
214
+ params.push(filters.action);
215
+ }
216
+ if (filters.resource) {
217
+ where.push("resource LIKE ?");
218
+ params.push(`%${filters.resource}%`);
219
+ }
220
+ if (filters.from) {
221
+ where.push("timestamp >= ?");
222
+ params.push(filters.from.toISOString());
223
+ }
224
+ if (filters.to) {
225
+ where.push("timestamp <= ?");
226
+ params.push(filters.to.toISOString());
227
+ }
228
+ const wc = where.length > 0 ? `WHERE ${where.join(" AND ")}` : "";
229
+ const countRow = await this.get(`SELECT COUNT(*) as c FROM audit_log ${wc}`, params);
230
+ let q = `SELECT * FROM audit_log ${wc} ORDER BY timestamp DESC`;
231
+ if (filters.limit) q += ` LIMIT ${filters.limit}`;
232
+ if (filters.offset) q += ` OFFSET ${filters.offset}`;
233
+ const rows = await this.all(q, params);
234
+ return {
235
+ events: rows.map((r) => ({
236
+ id: r.id,
237
+ timestamp: new Date(r.timestamp),
238
+ actor: r.actor,
239
+ actorType: r.actor_type,
240
+ action: r.action,
241
+ resource: r.resource,
242
+ details: JSON.parse(r.details || "{}"),
243
+ ip: r.ip
244
+ })),
245
+ total: countRow.c
246
+ };
247
+ }
248
+ // ─── API Keys ────────────────────────────────────────────
249
+ async createApiKey(input) {
250
+ const id = randomUUID();
251
+ const plaintext = `ek_${randomUUID().replace(/-/g, "")}`;
252
+ const keyHash = createHash("sha256").update(plaintext).digest("hex");
253
+ const keyPrefix = plaintext.substring(0, 11);
254
+ await this.run(
255
+ `INSERT INTO api_keys (id, name, key_hash, key_prefix, scopes, created_by, expires_at) VALUES (?, ?, ?, ?, ?, ?, ?)`,
256
+ [id, input.name, keyHash, keyPrefix, JSON.stringify(input.scopes), input.createdBy, input.expiresAt?.toISOString() || null]
257
+ );
258
+ return { key: await this.getApiKey(id), plaintext };
259
+ }
260
+ async getApiKey(id) {
261
+ const r = await this.get("SELECT * FROM api_keys WHERE id = ?", [id]);
262
+ return r ? this.mapApiKey(r) : null;
263
+ }
264
+ async validateApiKey(plaintext) {
265
+ const keyHash = createHash("sha256").update(plaintext).digest("hex");
266
+ const r = await this.get("SELECT * FROM api_keys WHERE key_hash = ? AND revoked = 0", [keyHash]);
267
+ if (!r) return null;
268
+ const key = this.mapApiKey(r);
269
+ if (key.expiresAt && /* @__PURE__ */ new Date() > key.expiresAt) return null;
270
+ await this.run("UPDATE api_keys SET last_used_at = datetime('now') WHERE id = ?", [key.id]);
271
+ return key;
272
+ }
273
+ async listApiKeys(opts) {
274
+ let q = "SELECT * FROM api_keys";
275
+ const params = [];
276
+ if (opts?.createdBy) {
277
+ q += " WHERE created_by = ?";
278
+ params.push(opts.createdBy);
279
+ }
280
+ q += " ORDER BY created_at DESC";
281
+ return (await this.all(q, params)).map((r) => this.mapApiKey(r));
282
+ }
283
+ async revokeApiKey(id) {
284
+ await this.run("UPDATE api_keys SET revoked = 1 WHERE id = ?", [id]);
285
+ }
286
+ // ─── Rules ───────────────────────────────────────────────
287
+ async createRule(rule) {
288
+ const id = randomUUID();
289
+ await this.run(
290
+ `INSERT INTO email_rules (id, name, agent_id, conditions, actions, priority, enabled) VALUES (?, ?, ?, ?, ?, ?, ?)`,
291
+ [id, rule.name, rule.agentId || null, JSON.stringify(rule.conditions), JSON.stringify(rule.actions), rule.priority, rule.enabled ? 1 : 0]
292
+ );
293
+ const r = await this.get("SELECT * FROM email_rules WHERE id = ?", [id]);
294
+ return this.mapRule(r);
295
+ }
296
+ async getRules(agentId) {
297
+ let q = "SELECT * FROM email_rules";
298
+ const params = [];
299
+ if (agentId) {
300
+ q += " WHERE agent_id = ? OR agent_id IS NULL";
301
+ params.push(agentId);
302
+ }
303
+ q += " ORDER BY priority DESC";
304
+ return (await this.all(q, params)).map((r) => this.mapRule(r));
305
+ }
306
+ async updateRule(id, updates) {
307
+ const fields = [];
308
+ const vals = [];
309
+ if (updates.name !== void 0) {
310
+ fields.push("name = ?");
311
+ vals.push(updates.name);
312
+ }
313
+ if (updates.conditions) {
314
+ fields.push("conditions = ?");
315
+ vals.push(JSON.stringify(updates.conditions));
316
+ }
317
+ if (updates.actions) {
318
+ fields.push("actions = ?");
319
+ vals.push(JSON.stringify(updates.actions));
320
+ }
321
+ if (updates.priority !== void 0) {
322
+ fields.push("priority = ?");
323
+ vals.push(updates.priority);
324
+ }
325
+ if (updates.enabled !== void 0) {
326
+ fields.push("enabled = ?");
327
+ vals.push(updates.enabled ? 1 : 0);
328
+ }
329
+ fields.push("updated_at = datetime('now')");
330
+ vals.push(id);
331
+ await this.run(`UPDATE email_rules SET ${fields.join(", ")} WHERE id = ?`, vals);
332
+ const r = await this.get("SELECT * FROM email_rules WHERE id = ?", [id]);
333
+ return this.mapRule(r);
334
+ }
335
+ async deleteRule(id) {
336
+ await this.run("DELETE FROM email_rules WHERE id = ?", [id]);
337
+ }
338
+ // ─── Retention ───────────────────────────────────────────
339
+ async getRetentionPolicy() {
340
+ const r = await this.get("SELECT * FROM retention_policy WHERE id = ?", ["default"]);
341
+ if (!r) return { enabled: false, retainDays: 365, archiveFirst: true };
342
+ return { enabled: !!r.enabled, retainDays: r.retain_days, excludeTags: JSON.parse(r.exclude_tags || "[]"), archiveFirst: !!r.archive_first };
343
+ }
344
+ async setRetentionPolicy(policy) {
345
+ await this.run(
346
+ `UPDATE retention_policy SET enabled = ?, retain_days = ?, exclude_tags = ?, archive_first = ? WHERE id = 'default'`,
347
+ [policy.enabled ? 1 : 0, policy.retainDays, JSON.stringify(policy.excludeTags || []), policy.archiveFirst ? 1 : 0]
348
+ );
349
+ }
350
+ // ─── Stats ───────────────────────────────────────────────
351
+ async getStats() {
352
+ const [total, active, users, audit] = await Promise.all([
353
+ this.get("SELECT COUNT(*) as c FROM agents"),
354
+ this.get("SELECT COUNT(*) as c FROM agents WHERE status = 'active'"),
355
+ this.get("SELECT COUNT(*) as c FROM users"),
356
+ this.get("SELECT COUNT(*) as c FROM audit_log")
357
+ ]);
358
+ return {
359
+ totalAgents: total.c,
360
+ activeAgents: active.c,
361
+ totalUsers: users.c,
362
+ totalEmails: 0,
363
+ totalAuditEvents: audit.c
364
+ };
365
+ }
366
+ // ─── Mappers ─────────────────────────────────────────────
367
+ mapAgent(r) {
368
+ return {
369
+ id: r.id,
370
+ name: r.name,
371
+ email: r.email,
372
+ role: r.role,
373
+ status: r.status,
374
+ metadata: typeof r.metadata === "string" ? JSON.parse(r.metadata) : r.metadata || {},
375
+ createdAt: new Date(r.created_at),
376
+ updatedAt: new Date(r.updated_at),
377
+ createdBy: r.created_by
378
+ };
379
+ }
380
+ mapUser(r) {
381
+ return {
382
+ id: r.id,
383
+ email: r.email,
384
+ name: r.name,
385
+ role: r.role,
386
+ passwordHash: r.password_hash,
387
+ ssoProvider: r.sso_provider,
388
+ ssoSubject: r.sso_subject,
389
+ createdAt: new Date(r.created_at),
390
+ updatedAt: new Date(r.updated_at),
391
+ lastLoginAt: r.last_login_at ? new Date(r.last_login_at) : void 0
392
+ };
393
+ }
394
+ mapApiKey(r) {
395
+ return {
396
+ id: r.id,
397
+ name: r.name,
398
+ keyHash: r.key_hash,
399
+ keyPrefix: r.key_prefix,
400
+ scopes: typeof r.scopes === "string" ? JSON.parse(r.scopes) : r.scopes || [],
401
+ createdBy: r.created_by,
402
+ createdAt: new Date(r.created_at),
403
+ lastUsedAt: r.last_used_at ? new Date(r.last_used_at) : void 0,
404
+ expiresAt: r.expires_at ? new Date(r.expires_at) : void 0,
405
+ revoked: !!r.revoked
406
+ };
407
+ }
408
+ mapRule(r) {
409
+ return {
410
+ id: r.id,
411
+ name: r.name,
412
+ agentId: r.agent_id,
413
+ conditions: typeof r.conditions === "string" ? JSON.parse(r.conditions) : r.conditions || {},
414
+ actions: typeof r.actions === "string" ? JSON.parse(r.actions) : r.actions || {},
415
+ priority: r.priority,
416
+ enabled: !!r.enabled,
417
+ createdAt: new Date(r.created_at),
418
+ updatedAt: new Date(r.updated_at)
419
+ };
420
+ }
421
+ mapSettings(r) {
422
+ return {
423
+ id: r.id,
424
+ name: r.name,
425
+ domain: r.domain,
426
+ subdomain: r.subdomain,
427
+ smtpHost: r.smtp_host,
428
+ smtpPort: r.smtp_port,
429
+ smtpUser: r.smtp_user,
430
+ smtpPass: r.smtp_pass,
431
+ dkimPrivateKey: r.dkim_private_key,
432
+ logoUrl: r.logo_url,
433
+ primaryColor: r.primary_color,
434
+ plan: r.plan,
435
+ createdAt: new Date(r.created_at),
436
+ updatedAt: new Date(r.updated_at)
437
+ };
438
+ }
439
+ };
440
+ export {
441
+ TursoAdapter
442
+ };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@agenticmail/enterprise",
3
+ "version": "0.2.1",
4
+ "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
+ "type": "module",
6
+ "bin": {
7
+ "agenticmail-enterprise": "./dist/cli.js"
8
+ },
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ },
16
+ "scripts": {
17
+ "build": "tsup src/index.ts src/cli.ts --format esm --external better-sqlite3 --external mongodb --external mysql2 --external @libsql/client --external @aws-sdk/client-dynamodb --external @aws-sdk/lib-dynamodb && mkdir -p dist/dashboard && cp src/dashboard/index.html dist/dashboard/",
18
+ "dev": "tsx src/cli.ts"
19
+ },
20
+ "keywords": [
21
+ "ai",
22
+ "agent",
23
+ "email",
24
+ "enterprise",
25
+ "saml",
26
+ "oidc",
27
+ "scim",
28
+ "identity"
29
+ ],
30
+ "license": "MIT",
31
+ "dependencies": {
32
+ "@agenticmail/core": "^0.5.41",
33
+ "@hono/node-server": "^1.19.9",
34
+ "bcryptjs": "^2.4.3",
35
+ "chalk": "^5.0.0",
36
+ "hono": "^4.0.0",
37
+ "inquirer": "^9.0.0",
38
+ "jose": "^5.0.0",
39
+ "nanoid": "^5.0.0",
40
+ "ora": "^8.0.0"
41
+ },
42
+ "devDependencies": {
43
+ "@types/bcryptjs": "^2.4.0",
44
+ "@types/inquirer": "^9.0.0",
45
+ "@types/node": "^22.0.0",
46
+ "tsup": "^8.0.0",
47
+ "typescript": "^5.0.0"
48
+ }
49
+ }