@filecrop/reveil
v0.2.0
Published
A quiet, elegant master switch that wakes your curated arsenal of tools.
Maintainers
Readme
réveil (French) — awakening, alarm clock.
A quiet, elegant master switch that wakes your curated arsenal of tools.
One command. Every package manager you care about, updated in parallel with dependency-aware execution. Framed output you can actually read. A summary table that tells the whole story at a glance.
Quick start
npm install -g @filecrop/reveil
reveil detect # scan this machine and add the tools it finds
reveil # update everythingThe ritual
▌ Prelude
▌ Awakening wave 1/3
✓ mirrors 45s
✓ flatpak 2s
✓ snap 1s
✓ npm 39s
✓ pipx 1s
✓ rustup 0s
▌ Awakening wave 2/3
✓ pacman 4s
▌ Awakening wave 3/3
✓ paru 12s
✓ orphans 6s
▌ Summary
TOOL VERSION STATUS
──────────────────────────────────────────
mirrors n/a = current
flatpak n/a = current
npm 12.2.2 = current
pacman n/a = current
paru n/a = current
5 = current
▌ Aftermath
...Usage
reveil Awaken the arsenal — run all enabled jobs
reveil run [job…] Run specific jobs only
reveil detect [--yes] Scan this machine for package managers
reveil list Show the arsenal and last-run state
reveil add Add a job interactively
reveil remove <job> Remove a job
reveil schedule Install OS-native recurring schedule
reveil unschedule Remove the schedule
reveil daemon Run a foreground scheduler
reveil config Print the config file path
reveil agent Manage repo-backed agent configurations
reveil machine Manage machine dependencies and healthConfiguration
Config lives at ~/.config/reveil/config.json (Linux) or ~/Library/Application Support/reveil/config.json (macOS).
{
"version": 2,
"prelude": "sudo -v",
"aftermath": "~/.config/reveil/aftermath.sh",
"jobs": [
{
"name": "mirrors",
"run": { "linux": "sudo cachyos-rate-mirrors" },
"cadence": "7d",
"enabled": true
},
{
"name": "pacman",
"run": { "linux": "sudo pacman -Syu --noconfirm" },
"awaits": ["mirrors"],
"enabled": true
},
{
"name": "paru",
"run": { "linux": "paru -Sua --noconfirm --skipreview" },
"awaits": ["pacman"],
"env": { "PATH": "/usr/local/bin:/usr/bin:/bin" },
"enabled": true
},
{
"name": "npm",
"run": "npm update -g",
"version": "npm --version",
"enabled": true
}
]
}Job fields
| Field | Type | Description |
|-------|------|-------------|
| name | string | Unique job identifier |
| run | string or { darwin, linux, win32 } | Command to execute |
| version | string | Command to get current version |
| size | string | Path to measure with du |
| enabled | boolean | Whether job runs |
| cadence | string | Skip if last success within window: "7d", "1d", "12h" |
| awaits | string[] | Jobs that must succeed before this one starts |
| optional | boolean | Failure doesn't block jobs that await this one |
| env | object | Environment variables for this job only |
| osv | object or false | OSV.dev package mapping, or false to skip |
Config fields
| Field | Type | Description |
|-------|------|-------------|
| prelude | string | Shell command run before any job |
| aftermath | string | Shell command run after all jobs complete |
| schedule | object | OS-native schedule config |
| safety.osv | boolean | Enable/disable OSV.dev checks (default true) |
Execution model
- Prelude runs first (acquire sudo, clean stale locks)
- Cadence filters jobs that ran recently
- Waves execute in topological order based on
awaits - Jobs within a wave run in parallel
- Aftermath runs after all jobs (kernel check, notifications)
- Summary shows results
Safety
After each run, reveil checks updated tools against OSV.dev for known vulnerabilities:
▌ Safety
✓ npm [email protected] no known issues
1 clear- Runs after jobs finish — never blocks updates
- Fails open when offline
- No keys, no accounts, no telemetry
Disable with "safety": { "osv": false } or REVEIL_SKIP_OSV=1.
Agent sync
Reveil can keep configuration for 20+ coding agents in a Git repository shared between machines.
reveil agent new --remote https://github.com/you/agent-configs.git
reveil agent sync import
reveil agent push
# On another machine
reveil agent init https://github.com/you/agent-configs.git
reveil agent sync exportSupported agents: Amp, Antigravity, Claude Code, Clawdbot, Codex, Cursor, Devin, Droid, Gemini CLI, GitHub Copilot, Goose, Kilo Code, Kimi CLI, Kiro CLI, OpenCode, Roo Code, Shared Agents, Trae, VSCode, Windsurf.
See reveil agent --help for full documentation.
Scheduling
reveil schedule # interactive — sets cadence + time
reveil unschedule # removes it
reveil daemon # foreground schedulermacOS uses launchd. Linux systemd support is planned.
Platform support
| Feature | macOS | Linux | Windows | |---------|-------|-------|---------| | Run jobs | ✓ | ✓ | ✓ | | Version deltas | ✓ | ✓ | ✓ | | Size deltas | ✓ | ✓ | — | | OSV safety | ✓ | ✓ | ✓ | | OS scheduling | ✓ | stub | stub |
Philosophy
The world has enough noisy CLIs. reveil is structured, deliberate, understated. It doesn't shout when things go wrong. It doesn't celebrate when things go right. It synchronizes your environment and gets out of the way.
Configure once. Awaken daily.
License
MIT © jamubc
