leedab 0.1.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/LICENSE +6 -0
- package/README.md +85 -0
- package/bin/leedab.js +626 -0
- package/dist/analytics.d.ts +20 -0
- package/dist/analytics.js +57 -0
- package/dist/audit.d.ts +15 -0
- package/dist/audit.js +46 -0
- package/dist/brand.d.ts +9 -0
- package/dist/brand.js +57 -0
- package/dist/channels/index.d.ts +5 -0
- package/dist/channels/index.js +47 -0
- package/dist/config/index.d.ts +10 -0
- package/dist/config/index.js +49 -0
- package/dist/config/schema.d.ts +58 -0
- package/dist/config/schema.js +21 -0
- package/dist/dashboard/routes.d.ts +5 -0
- package/dist/dashboard/routes.js +410 -0
- package/dist/dashboard/server.d.ts +2 -0
- package/dist/dashboard/server.js +80 -0
- package/dist/dashboard/static/app.js +351 -0
- package/dist/dashboard/static/console.html +252 -0
- package/dist/dashboard/static/favicon.png +0 -0
- package/dist/dashboard/static/index.html +815 -0
- package/dist/dashboard/static/logo-dark.png +0 -0
- package/dist/dashboard/static/logo-light.png +0 -0
- package/dist/dashboard/static/sessions.html +182 -0
- package/dist/dashboard/static/settings.html +274 -0
- package/dist/dashboard/static/style.css +493 -0
- package/dist/dashboard/static/team.html +215 -0
- package/dist/gateway.d.ts +8 -0
- package/dist/gateway.js +213 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/dist/license.d.ts +27 -0
- package/dist/license.js +92 -0
- package/dist/memory/index.d.ts +9 -0
- package/dist/memory/index.js +41 -0
- package/dist/onboard/index.d.ts +4 -0
- package/dist/onboard/index.js +263 -0
- package/dist/onboard/oauth-server.d.ts +13 -0
- package/dist/onboard/oauth-server.js +73 -0
- package/dist/onboard/steps/google.d.ts +12 -0
- package/dist/onboard/steps/google.js +178 -0
- package/dist/onboard/steps/provider.d.ts +10 -0
- package/dist/onboard/steps/provider.js +292 -0
- package/dist/onboard/steps/teams.d.ts +5 -0
- package/dist/onboard/steps/teams.js +51 -0
- package/dist/onboard/steps/telegram.d.ts +6 -0
- package/dist/onboard/steps/telegram.js +88 -0
- package/dist/onboard/steps/welcome.d.ts +1 -0
- package/dist/onboard/steps/welcome.js +10 -0
- package/dist/onboard/steps/whatsapp.d.ts +2 -0
- package/dist/onboard/steps/whatsapp.js +76 -0
- package/dist/openclaw.d.ts +9 -0
- package/dist/openclaw.js +20 -0
- package/dist/team.d.ts +13 -0
- package/dist/team.js +49 -0
- package/dist/templates/verticals/supply-chain/HEARTBEAT.md +12 -0
- package/dist/templates/verticals/supply-chain/SOUL.md +49 -0
- package/dist/templates/verticals/supply-chain/WORKFLOWS.md +148 -0
- package/dist/templates/verticals/supply-chain/vault-template.json +18 -0
- package/dist/templates/workspace/AGENTS.md +181 -0
- package/dist/templates/workspace/BOOTSTRAP.md +32 -0
- package/dist/templates/workspace/HEARTBEAT.md +9 -0
- package/dist/templates/workspace/IDENTITY.md +14 -0
- package/dist/templates/workspace/SOUL.md +32 -0
- package/dist/templates/workspace/TOOLS.md +40 -0
- package/dist/templates/workspace/USER.md +26 -0
- package/dist/vault.d.ts +24 -0
- package/dist/vault.js +123 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Copyright (c) 2026 LeedAB Inc. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software is proprietary and confidential. Unauthorized copying, distribution,
|
|
4
|
+
modification, or use of this software, via any medium, is strictly prohibited.
|
|
5
|
+
|
|
6
|
+
For licensing inquiries, contact muiez@leedab.com.
|
package/README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# LeedAB
|
|
2
|
+
|
|
3
|
+
**Your enterprise AI agent. Local-first, private by default.**
|
|
4
|
+
|
|
5
|
+
LeedAB deploys an AI agent on your own hardware — Mac, Linux, or VPS. It connects to your team's messaging apps, remembers context across conversations, handles tasks with browser automation, and keeps every byte of data on your machine.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
mkdir my-agent && cd my-agent
|
|
11
|
+
npx leedab onboard
|
|
12
|
+
npx leedab start
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
That's it. The onboarding wizard walks you through:
|
|
16
|
+
|
|
17
|
+
1. **LLM provider** — Anthropic, OpenAI, Gemini, DeepSeek, Bedrock, or OpenRouter
|
|
18
|
+
2. **Channels** — Telegram, WhatsApp, Microsoft Teams
|
|
19
|
+
3. **Credential vault** — encrypted storage for service logins the agent uses
|
|
20
|
+
|
|
21
|
+
## What You Get
|
|
22
|
+
|
|
23
|
+
**Multi-channel messaging** — your team talks to the agent on Telegram, WhatsApp, or Teams. Each user gets an isolated session with their own context.
|
|
24
|
+
|
|
25
|
+
**Persistent memory** — the agent remembers across conversations. Daily notes, long-term memory, and workspace files survive restarts.
|
|
26
|
+
|
|
27
|
+
**Credential vault** — AES-256-GCM encrypted storage. The agent logs into services (Gmail, CRM, carrier portals) using stored credentials via browser automation.
|
|
28
|
+
|
|
29
|
+
**Dashboard** — web console at `localhost:3000` showing agent status, channel health, session history, and team management.
|
|
30
|
+
|
|
31
|
+
**Your data stays local** — files, credentials, memory, and logs live on your machine. Messages route through your channel provider and prompts go to your AI provider, but nothing is stored externally.
|
|
32
|
+
|
|
33
|
+
## Commands
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
leedab onboard Interactive setup wizard
|
|
37
|
+
leedab start Start the agent and dashboard
|
|
38
|
+
leedab terminal Chat with the agent in terminal
|
|
39
|
+
leedab stop Stop the agent
|
|
40
|
+
leedab configure model Change LLM provider or model
|
|
41
|
+
leedab vault add <svc> Store credentials for a service
|
|
42
|
+
leedab pairing add Add users to channel allowlist
|
|
43
|
+
leedab team add <name> Add a team member
|
|
44
|
+
leedab sessions View conversation sessions
|
|
45
|
+
leedab --help All commands
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Requirements
|
|
49
|
+
|
|
50
|
+
- Node.js 22+
|
|
51
|
+
- An LLM API key (Anthropic, OpenAI, etc.)
|
|
52
|
+
- At least one messaging channel (Telegram is the easiest to set up)
|
|
53
|
+
|
|
54
|
+
## How It Works
|
|
55
|
+
|
|
56
|
+
LeedAB runs an AI agent gateway on your machine with enterprise onboarding, a management dashboard, encrypted credential vault, team roles, and audit logging.
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
┌─────────────────────────────────────────────┐
|
|
60
|
+
│ LeedAB │
|
|
61
|
+
│ ┌─────────┐ ┌──────────┐ ┌──────────────┐ │
|
|
62
|
+
│ │ Onboard │ │Dashboard │ │ Vault/Audit │ │
|
|
63
|
+
│ └─────────┘ └──────────┘ └──────────────┘ │
|
|
64
|
+
│ ┌─────────────────────────────────────────┐ │
|
|
65
|
+
│ │ Agent Gateway │ │
|
|
66
|
+
│ │ Sessions │ Skills │ Memory │ Browser │ │
|
|
67
|
+
│ └─────────────────────────────────────────┘ │
|
|
68
|
+
│ ┌──────────┐ ┌──────────┐ ┌─────────────┐ │
|
|
69
|
+
│ │ Telegram │ │ WhatsApp │ │ Teams │ │
|
|
70
|
+
│ └──────────┘ └──────────┘ └─────────────┘ │
|
|
71
|
+
└─────────────────────────────────────────────┘
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Security
|
|
75
|
+
|
|
76
|
+
- All data stored locally in `.leedab/` (gitignored)
|
|
77
|
+
- Credentials encrypted with AES-256-GCM
|
|
78
|
+
- Per-channel allowlists control who can message the agent
|
|
79
|
+
- DM policies: open, pairing (approval required), or closed
|
|
80
|
+
- Team roles: admin, operator, viewer
|
|
81
|
+
- Full audit log of every interaction
|
|
82
|
+
|
|
83
|
+
## License
|
|
84
|
+
|
|
85
|
+
Proprietary. See [LICENSE](./LICENSE) for details.
|