@askexenow/exe-os 0.8.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 +21 -0
- package/README.md +139 -0
- package/dist/bin/backfill-responses.js +1912 -0
- package/dist/bin/backfill-vectors.js +1642 -0
- package/dist/bin/cleanup-stale-review-tasks.js +1339 -0
- package/dist/bin/cli.js +18800 -0
- package/dist/bin/exe-agent.js +1858 -0
- package/dist/bin/exe-assign.js +1957 -0
- package/dist/bin/exe-boot.js +6460 -0
- package/dist/bin/exe-call.js +197 -0
- package/dist/bin/exe-cloud.js +850 -0
- package/dist/bin/exe-dispatch.js +1146 -0
- package/dist/bin/exe-doctor.js +1657 -0
- package/dist/bin/exe-export-behaviors.js +1494 -0
- package/dist/bin/exe-forget.js +1627 -0
- package/dist/bin/exe-gateway.js +7732 -0
- package/dist/bin/exe-healthcheck.js +207 -0
- package/dist/bin/exe-heartbeat.js +1647 -0
- package/dist/bin/exe-kill.js +1479 -0
- package/dist/bin/exe-launch-agent.js +1704 -0
- package/dist/bin/exe-link.js +192 -0
- package/dist/bin/exe-new-employee.js +852 -0
- package/dist/bin/exe-pending-messages.js +1446 -0
- package/dist/bin/exe-pending-notifications.js +1321 -0
- package/dist/bin/exe-pending-reviews.js +1468 -0
- package/dist/bin/exe-repo-drift.js +95 -0
- package/dist/bin/exe-review.js +1590 -0
- package/dist/bin/exe-search.js +2651 -0
- package/dist/bin/exe-session-cleanup.js +3173 -0
- package/dist/bin/exe-settings.js +354 -0
- package/dist/bin/exe-status.js +1532 -0
- package/dist/bin/exe-team.js +1324 -0
- package/dist/bin/git-sweep.js +2185 -0
- package/dist/bin/graph-backfill.js +1968 -0
- package/dist/bin/graph-export.js +1604 -0
- package/dist/bin/install.js +656 -0
- package/dist/bin/list-providers.js +140 -0
- package/dist/bin/scan-tasks.js +1820 -0
- package/dist/bin/setup.js +951 -0
- package/dist/bin/shard-migrate.js +1494 -0
- package/dist/bin/update.js +95 -0
- package/dist/bin/wiki-sync.js +1514 -0
- package/dist/gateway/index.js +8848 -0
- package/dist/hooks/bug-report-worker.js +2743 -0
- package/dist/hooks/commit-complete.js +2108 -0
- package/dist/hooks/error-recall.js +2861 -0
- package/dist/hooks/exe-heartbeat-hook.js +232 -0
- package/dist/hooks/ingest-worker.js +4793 -0
- package/dist/hooks/ingest.js +684 -0
- package/dist/hooks/instructions-loaded.js +1880 -0
- package/dist/hooks/notification.js +1726 -0
- package/dist/hooks/post-compact.js +1751 -0
- package/dist/hooks/pre-compact.js +1746 -0
- package/dist/hooks/pre-tool-use.js +2191 -0
- package/dist/hooks/prompt-ingest-worker.js +2126 -0
- package/dist/hooks/prompt-submit.js +4693 -0
- package/dist/hooks/response-ingest-worker.js +1936 -0
- package/dist/hooks/session-end.js +1752 -0
- package/dist/hooks/session-start.js +2795 -0
- package/dist/hooks/stop.js +1835 -0
- package/dist/hooks/subagent-stop.js +1726 -0
- package/dist/hooks/summary-worker.js +2661 -0
- package/dist/index.js +11834 -0
- package/dist/lib/cloud-sync.js +495 -0
- package/dist/lib/config.js +222 -0
- package/dist/lib/consolidation.js +476 -0
- package/dist/lib/crypto.js +51 -0
- package/dist/lib/database.js +730 -0
- package/dist/lib/device-registry.js +900 -0
- package/dist/lib/embedder.js +632 -0
- package/dist/lib/employee-templates.js +543 -0
- package/dist/lib/employees.js +177 -0
- package/dist/lib/error-detector.js +156 -0
- package/dist/lib/exe-daemon-client.js +451 -0
- package/dist/lib/exe-daemon.js +8285 -0
- package/dist/lib/file-grep.js +199 -0
- package/dist/lib/hybrid-search.js +1819 -0
- package/dist/lib/identity-templates.js +320 -0
- package/dist/lib/identity.js +223 -0
- package/dist/lib/keychain.js +145 -0
- package/dist/lib/license.js +377 -0
- package/dist/lib/messaging.js +1376 -0
- package/dist/lib/reminders.js +63 -0
- package/dist/lib/schedules.js +1396 -0
- package/dist/lib/session-registry.js +52 -0
- package/dist/lib/skill-learning.js +477 -0
- package/dist/lib/status-brief.js +235 -0
- package/dist/lib/store.js +1551 -0
- package/dist/lib/task-router.js +62 -0
- package/dist/lib/tasks.js +2456 -0
- package/dist/lib/tmux-routing.js +2836 -0
- package/dist/lib/tmux-status.js +261 -0
- package/dist/lib/tmux-transport.js +83 -0
- package/dist/lib/transport.js +128 -0
- package/dist/lib/ws-auth.js +19 -0
- package/dist/lib/ws-client.js +160 -0
- package/dist/mcp/server.js +10538 -0
- package/dist/mcp/tools/complete-reminder.js +67 -0
- package/dist/mcp/tools/create-reminder.js +52 -0
- package/dist/mcp/tools/create-task.js +1853 -0
- package/dist/mcp/tools/deactivate-behavior.js +263 -0
- package/dist/mcp/tools/list-reminders.js +62 -0
- package/dist/mcp/tools/list-tasks.js +463 -0
- package/dist/mcp/tools/send-message.js +1382 -0
- package/dist/mcp/tools/update-task.js +1692 -0
- package/dist/runtime/index.js +6809 -0
- package/dist/tui/App.js +17479 -0
- package/package.json +104 -0
- package/src/commands/exe/assign.md +17 -0
- package/src/commands/exe/build-adv.md +381 -0
- package/src/commands/exe/call.md +133 -0
- package/src/commands/exe/cloud.md +17 -0
- package/src/commands/exe/employee-heartbeat.md +44 -0
- package/src/commands/exe/forget.md +15 -0
- package/src/commands/exe/heartbeat.md +92 -0
- package/src/commands/exe/intercom.md +81 -0
- package/src/commands/exe/kill.md +34 -0
- package/src/commands/exe/launch.md +52 -0
- package/src/commands/exe/link.md +17 -0
- package/src/commands/exe/logs.md +22 -0
- package/src/commands/exe/new-employee.md +12 -0
- package/src/commands/exe/review.md +14 -0
- package/src/commands/exe/schedule.md +108 -0
- package/src/commands/exe/search.md +13 -0
- package/src/commands/exe/sessions.md +25 -0
- package/src/commands/exe/settings.md +13 -0
- package/src/commands/exe/setup.md +171 -0
- package/src/commands/exe/status.md +15 -0
- package/src/commands/exe/team.md +11 -0
- package/src/commands/exe/update.md +11 -0
- package/src/commands/exe.md +181 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AskExe
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Exe OS
|
|
2
|
+
|
|
3
|
+
  
|
|
4
|
+
|
|
5
|
+
**AI Employee Operating System** — persistent memory, task management, and multi-agent orchestration that runs entirely on your machine.
|
|
6
|
+
|
|
7
|
+
Exe OS is a **Terminal Agent Orchestration System**. It manages AI employee sessions using standard Unix tools (tmux) and officially supported CLI features (hooks, MCP, permission configs). It does not intercept API calls, extract tokens, or proxy LLM traffic. Users bring their own LLM subscription — Exe OS provides the memory, identity, and coordination layer.
|
|
8
|
+
|
|
9
|
+
### How Exe OS works
|
|
10
|
+
|
|
11
|
+
- **No API interception.** Exe OS never extracts, proxies, or spoofs OAuth tokens. It does not call LLM APIs directly.
|
|
12
|
+
- **Native CLI automation.** Agents run inside official Claude Code CLI sessions. Exe OS sends keystrokes via `tmux send-keys` — standard Unix terminal multiplexing, the same way any developer scripts their terminal.
|
|
13
|
+
- **Officially supported features only.** All orchestration uses documented Claude Code capabilities: [hooks](https://docs.anthropic.com/en/docs/claude-code/hooks), [MCP servers](https://docs.anthropic.com/en/docs/claude-code/mcp), `.claude.json` permissions, and `--agent` identity injection.
|
|
14
|
+
- **BYOS — Bring Your Own Subscription.** Exe OS is the orchestration layer. The LLM subscription (Claude Max, API key, or any provider) belongs to you. Your subscription, your compute.
|
|
15
|
+
|
|
16
|
+
**What you're paying for with Exe OS:** encrypted persistent memory (SQLCipher + vector search), three-layer agent cognition (identity, expertise, experience), task orchestration, session lifecycle management, cloud sync (E2EE), and the multi-agent coordination protocol — not LLM compute.
|
|
17
|
+
|
|
18
|
+
## Quick Start
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install -g exe-os
|
|
22
|
+
exe-os-install # sets up hooks, MCP server, encryption
|
|
23
|
+
exe-os # launch the TUI
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Three commands. You're running.
|
|
27
|
+
|
|
28
|
+
## Features
|
|
29
|
+
|
|
30
|
+
| Feature | What it does |
|
|
31
|
+
|---------|-------------|
|
|
32
|
+
| **Persistent memory** | Every tool call stored, searchable. 27K+ memories across sessions. |
|
|
33
|
+
| **Multi-agent** | 5+ employees working in parallel via tmux sessions. |
|
|
34
|
+
| **Task system** | Create, assign, review, chain tasks. Auto-dispatch to employees. |
|
|
35
|
+
| **TUI dashboard** | 7 tabs: Command Center, Sessions, Tasks, Gateway, Team, Memory, Settings. |
|
|
36
|
+
| **Direct API mode** | Bring your own API key. Anthropic, OpenCode, Gemini, OpenAI, Chutes. |
|
|
37
|
+
| **External agents** | Customer-facing agents with deny-by-default security guardrails. |
|
|
38
|
+
| **Cloud sync** | End-to-end encrypted memory sync across devices. |
|
|
39
|
+
| **Skill learning** | Agents learn procedures from repeated task patterns. |
|
|
40
|
+
|
|
41
|
+
## How It Works
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
You
|
|
45
|
+
|
|
|
46
|
+
v
|
|
47
|
+
exe-os TUI ──> manages tmux sessions ──> Claude Code employees
|
|
48
|
+
| (yoshi, mari, tom, sasha)
|
|
49
|
+
|
|
|
50
|
+
├── persistent memory (SQLCipher encrypted, vector search)
|
|
51
|
+
├── task orchestration (assign, review, auto-chain)
|
|
52
|
+
├── behavior injection (learned patterns applied per-task)
|
|
53
|
+
└── session scoping (one exe per project, isolated)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**You talk to exe (the COO).** Exe coordinates the team. Yoshi (CTO) handles architecture. Mari (CMO) handles design and content. Tom (Principal Engineer) implements. Each employee has their own Claude Code session, persistent memory, and task queue.
|
|
57
|
+
|
|
58
|
+
## The TUI
|
|
59
|
+
|
|
60
|
+
Launch with `exe-os` (or `exe-os --demo` to see it with sample data):
|
|
61
|
+
|
|
62
|
+
- **Command Center** — team overview, system health, recent activity
|
|
63
|
+
- **Sessions** — navigate between projects and employees, view live output
|
|
64
|
+
- **Tasks** — kanban board of all active tasks across projects
|
|
65
|
+
- **Gateway** — external-facing agent channels and health
|
|
66
|
+
- **Team** — employee roster with live status (internal + external agents)
|
|
67
|
+
- **Memory** — search across all memories with semantic search
|
|
68
|
+
- **Settings** — providers, encryption, runtime config, employee models
|
|
69
|
+
|
|
70
|
+
Keyboard: `1-7` switch tabs, arrows navigate, `Enter` to drill in, `Escape` to go back, `q` to quit.
|
|
71
|
+
|
|
72
|
+
## Requirements
|
|
73
|
+
|
|
74
|
+
- **Node.js 18+**
|
|
75
|
+
- **Claude Code** subscription (Max or Pro)
|
|
76
|
+
- **tmux** — auto-detected, required for multi-agent
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# macOS
|
|
80
|
+
brew install tmux
|
|
81
|
+
|
|
82
|
+
# Linux
|
|
83
|
+
apt install tmux
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Employee Roster
|
|
87
|
+
|
|
88
|
+
Exe OS comes with 4 default employees. Create more with `/exe-new-employee`:
|
|
89
|
+
|
|
90
|
+
| Name | Role | Default Model |
|
|
91
|
+
|------|------|--------------|
|
|
92
|
+
| exe | COO | claude-opus-4-6 |
|
|
93
|
+
| yoshi | CTO | claude-opus-4-6 |
|
|
94
|
+
| mari | CMO | claude-sonnet-4-6 |
|
|
95
|
+
| tom | Principal Engineer | claude-sonnet-4-6 |
|
|
96
|
+
| sasha | Content Production | claude-sonnet-4-6 |
|
|
97
|
+
|
|
98
|
+
## Configuration
|
|
99
|
+
|
|
100
|
+
### Providers
|
|
101
|
+
|
|
102
|
+
Set API keys as environment variables:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
export ANTHROPIC_API_KEY=sk-...
|
|
106
|
+
export OPENCODE_API_KEY=... # optional
|
|
107
|
+
export GEMINI_API_KEY=... # optional
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Failover chain: Anthropic -> OpenCode -> Gemini -> OpenAI.
|
|
111
|
+
|
|
112
|
+
### Settings
|
|
113
|
+
|
|
114
|
+
Run `/exe-settings` or view the Settings tab in the TUI:
|
|
115
|
+
|
|
116
|
+
- **Memory**: SQLCipher encryption, Jina embeddings, hybrid search
|
|
117
|
+
- **Runtime**: consolidation (6h), skill learning (threshold: 3)
|
|
118
|
+
- **Per-employee models**: configurable in `~/.exe-os/config.json`
|
|
119
|
+
|
|
120
|
+
## Architecture
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
exe-os/
|
|
124
|
+
src/
|
|
125
|
+
tui/ # Ink-based terminal UI (7 tabs, keyboard nav)
|
|
126
|
+
runtime/ # Agent loop, tool registry, hooks, permissions
|
|
127
|
+
gateway/ # External agent adapters, failover, providers
|
|
128
|
+
lib/ # Core: memory, tasks, behaviors, search, sync
|
|
129
|
+
mcp/ # MCP server (9 tools for Claude Code integration)
|
|
130
|
+
adapters/ # Claude Code hooks (ingest, session-start, etc.)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**Storage**: libSQL (SQLCipher) for encrypted local-first data. Vector search via Jina v5 embeddings (GGUF, runs locally via daemon).
|
|
134
|
+
|
|
135
|
+
**Security**: External agents run in ExternalAgentMode with deny-by-default guardrails. No bash, no file writes, no git — only whitelisted MCP tools. Audit trail on every permission decision.
|
|
136
|
+
|
|
137
|
+
## License
|
|
138
|
+
|
|
139
|
+
CC-BY-NC-4.0
|