nothumanallowed 4.0.2 → 5.0.0

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.
@@ -13,9 +13,10 @@ import { exec } from 'child_process';
13
13
  import fs from 'fs';
14
14
  import path from 'path';
15
15
  import { loadConfig } from '../config.mjs';
16
+ import { detectMailProvider, hasMailProvider, getProviderStatus } from '../services/mail-router.mjs';
16
17
  import { callLLM, callAgent, parseAgentFile } from '../services/llm.mjs';
17
- import { getUnreadImportant, getMessage, listMessages, sendEmail, createDraft } from '../services/google-gmail.mjs';
18
- import { getTodayEvents, getUpcomingEvents, createEvent, updateEvent, getEventsForDate } from '../services/google-calendar.mjs';
18
+ import { getUnreadImportant, getMessage, listMessages, sendEmail, createDraft } from '../services/mail-router.mjs';
19
+ import { getTodayEvents, getUpcomingEvents, createEvent, updateEvent, getEventsForDate } from '../services/mail-router.mjs';
19
20
  import {
20
21
  getTasks,
21
22
  addTask,
@@ -431,6 +432,9 @@ export async function cmdUI(args) {
431
432
  provider: config.llm.provider,
432
433
  hasApiKey: !!config.llm.apiKey,
433
434
  hasGoogle: !!config.google?.clientId,
435
+ hasMicrosoft: !!config.microsoft?.clientId,
436
+ mailProvider: detectMailProvider(config),
437
+ mailProviders: getProviderStatus(),
434
438
  agentName: config.agent?.name || null,
435
439
  timestamp: new Date().toISOString(),
436
440
  });