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.
- package/package.json +1 -1
- package/src/cli.mjs +70 -2
- package/src/commands/chat.mjs +2 -6
- package/src/commands/microsoft-auth.mjs +29 -0
- package/src/commands/plugin.mjs +481 -0
- package/src/commands/ui.mjs +6 -2
- package/src/commands/voice.mjs +845 -0
- package/src/config.mjs +23 -0
- package/src/constants.mjs +2 -1
- package/src/services/mail-router.mjs +298 -0
- package/src/services/microsoft-calendar.mjs +319 -0
- package/src/services/microsoft-mail.mjs +308 -0
- package/src/services/microsoft-oauth.mjs +345 -0
- package/src/services/ops-daemon.mjs +159 -5
- package/src/services/ops-pipeline.mjs +7 -8
- package/src/services/token-store.mjs +41 -14
- package/src/services/web-ui.mjs +238 -13
package/src/commands/ui.mjs
CHANGED
|
@@ -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/
|
|
18
|
-
import { getTodayEvents, getUpcomingEvents, createEvent, updateEvent, getEventsForDate } from '../services/
|
|
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
|
});
|