nothumanallowed 2.0.0 → 3.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/README.md +40 -0
- package/package.json +1 -1
- package/src/cli.mjs +11 -0
- package/src/commands/chat.mjs +730 -0
- package/src/commands/ui.mjs +632 -0
- package/src/constants.mjs +1 -1
- package/src/services/web-ui.mjs +788 -0
package/README.md
CHANGED
|
@@ -20,6 +20,46 @@ nha ask oracle "Analyze this dataset" --file data.csv
|
|
|
20
20
|
nha run "Design a Kubernetes deployment for a 10K RPS API"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
## Daily Operations (PAO)
|
|
24
|
+
|
|
25
|
+
Connect Gmail + Calendar. 5 specialist agents analyze your day.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Connect Google (one-time)
|
|
29
|
+
nha config set google-client-id YOUR_ID
|
|
30
|
+
nha config set google-client-secret YOUR_SECRET
|
|
31
|
+
nha google auth
|
|
32
|
+
|
|
33
|
+
# Generate your daily plan
|
|
34
|
+
nha plan
|
|
35
|
+
|
|
36
|
+
# Manage tasks
|
|
37
|
+
nha tasks add "Review PR #42" --priority high
|
|
38
|
+
nha tasks done 1
|
|
39
|
+
nha tasks week
|
|
40
|
+
|
|
41
|
+
# Background daemon (auto-alerts before meetings, email security scans)
|
|
42
|
+
nha ops start
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**What `nha plan` does:**
|
|
46
|
+
1. **Fetches** your emails + calendar events + tasks
|
|
47
|
+
2. **SABER** scans emails for phishing and security threats
|
|
48
|
+
3. **HERALD** generates intelligence briefs for each meeting
|
|
49
|
+
4. **ORACLE** analyzes schedule patterns and productivity
|
|
50
|
+
5. **SCHEHERAZADE** prepares talking points for meetings
|
|
51
|
+
6. **CONDUCTOR** synthesizes everything into a structured daily plan
|
|
52
|
+
|
|
53
|
+
OpenClaw reads your email with 1 generic agent. NHA sends it through 5 specialists.
|
|
54
|
+
|
|
55
|
+
### Privacy
|
|
56
|
+
|
|
57
|
+
**Zero data touches NHA servers.** The only network calls are:
|
|
58
|
+
- Google APIs (your OAuth token, direct from your machine)
|
|
59
|
+
- Your LLM provider (your API key, direct from your machine)
|
|
60
|
+
|
|
61
|
+
All data stored locally in `~/.nha/ops/`. Tokens encrypted with AES-256-GCM. You own everything. Inspect it, delete it, export it anytime.
|
|
62
|
+
|
|
23
63
|
## The Agents
|
|
24
64
|
|
|
25
65
|
38 agents across 11 domains. Each agent is a standalone `.mjs` file you own locally — inspect it, modify it, run it offline.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "NotHumanAllowed — 38 AI agents for security, code, DevOps, data & daily ops. Ask agents directly, plan your day with 5 specialist agents, manage tasks, connect Gmail + Calendar.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/cli.mjs
CHANGED
|
@@ -12,6 +12,8 @@ import { cmdAsk } from './commands/ask.mjs';
|
|
|
12
12
|
import { cmdPlan } from './commands/plan.mjs';
|
|
13
13
|
import { cmdTasks } from './commands/tasks.mjs';
|
|
14
14
|
import { cmdOps } from './commands/ops.mjs';
|
|
15
|
+
import { cmdChat } from './commands/chat.mjs';
|
|
16
|
+
import { cmdUI } from './commands/ui.mjs';
|
|
15
17
|
import { cmdGoogle } from './commands/google-auth.mjs';
|
|
16
18
|
import { banner, info, ok, warn, fail, C, G, Y, D, W, BOLD, NC, M, B, R } from './ui.mjs';
|
|
17
19
|
|
|
@@ -54,6 +56,12 @@ export async function main(argv) {
|
|
|
54
56
|
case 'ops':
|
|
55
57
|
return cmdOps(args);
|
|
56
58
|
|
|
59
|
+
case 'chat':
|
|
60
|
+
return cmdChat(args);
|
|
61
|
+
|
|
62
|
+
case 'ui':
|
|
63
|
+
return cmdUI(args);
|
|
64
|
+
|
|
57
65
|
case 'google':
|
|
58
66
|
return cmdGoogle(args);
|
|
59
67
|
|
|
@@ -351,6 +359,9 @@ function cmdHelp() {
|
|
|
351
359
|
console.log(` run "prompt" ${D}--agents saber,zero${NC} Collaborate with specific agents\n`);
|
|
352
360
|
|
|
353
361
|
console.log(` ${C}Daily Operations${NC} ${D}(Gmail + Calendar + Tasks)${NC}`);
|
|
362
|
+
console.log(` ui Open local web dashboard (http://127.0.0.1:3847)`);
|
|
363
|
+
console.log(` ui --port=4000 Custom port ui --no-browser Don't auto-open`);
|
|
364
|
+
console.log(` chat Interactive chat — manage email/calendar/tasks naturally`);
|
|
354
365
|
console.log(` plan Generate daily plan (5 agents analyze your day)`);
|
|
355
366
|
console.log(` plan --refresh Regenerate today's plan`);
|
|
356
367
|
console.log(` tasks List today's tasks`);
|