Repository navigation
Add Devin CLI as a default agent option - #8124
joaomcarlos wants to merge 62 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Devin CLI as a default coding agent and integrates its local usage into the agents panel.
Changes:
- Adds Devin selection, installation, and unattended launch support.
- Adds a Devin SQLite usage collector and panel asset.
- Updates menus, documentation, and tests.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 6 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-agent |
Adds Devin launch arguments. |
bin/omarchy-default-agent |
Adds Devin installation and selection. |
bin/omarchy-agent-usage-devin |
Collects usage from Devin’s SQLite database. |
default/omarchy/omarchy-menu.jsonc |
Adds the Devin menu entry. |
manual/17-ai.md |
Documents Devin support and installation. |
shell/plugins/agents/manifest.json |
Includes Devin in the plugin description. |
shell/plugins/agents/README.md |
Documents Devin usage collection. |
shell/plugins/agents/assets/devin.svg |
Adds the panel mark. |
test/shell.d/default-agent-test.sh |
Tests installation and launch behavior. |
test/shell.d/menu-test.sh |
Tests Devin menu metadata and ordering. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
1d48e29 to
c0987bc
Compare
c0987bc to
c11818b
Compare
A usage collector (bin/omarchy-agent-usage-devin) reads token stats from the Devin CLI session database and rate limits from the TUI's user-status cache, so the agents panel tracks Devin usage alongside Claude, Codex, and Fireworks. The collector follows the same patterns as the Codex collector: caching with file-lock dedup, PRAGMA query_only, sort_keys, and --limits-only for CLI compatibility with the panel's refreshLimits(). Rate limits (daily and weekly quota percentages with reset times) come from ~/.cache/devin/cli/user_status.*.bin — the same GetUserStatus response the TUI's /usage slash command renders. The collector parses the protobuf payload directly, so no network call is needed. Panel mark at shell/plugins/agents/assets/devin.svg (dark + light twins for Qt's SVG renderer, which doesn't resolve currentColor). Manifest providers default-enabled so the tab appears without manual setup.
Resolve conflicts: adopt quattro's agent_installer pattern for Devin (omarchy-install-devin-cli), move Devin glyph to U+E90B (Hermes took U+E90A), and merge skill symlink dirs and docs for both agents.
# Conflicts: # manual/17-ai.md
|
Merged current quattro (13 commits). One conflict in Also replied to the two open Greptile threads — both findings were already fixed (93805c5 scan-cache start date, d9046c7 README stale-limits wording); the threads just hadn't been answered.
|
|
No new merge needed — the branch already contains current quattro (0 commits behind). Icon font unchanged on quattro since the last merge — Devin stays at U+E90F. Replied to the two Greptile findings from Oct 16, both already fixed: the midnight-crossing scan cache now stamps the scan's start date (93805c5), and the agents README now describes stale-limit behavior accurately (d9046c7).
|
|
Branch already current with quattro — no merge needed. Icon font unchanged on quattro; Devin stays at U+E90F. The two Greptile findings from yesterday were already fixed on the branch but the threads hadn't been answered; replied to both:
|
|
Merged current quattro (1 commit). Clean merge; the incoming change (revert of the retired OpenClaw migration, #15854) touches only migrations and openclaw-cli-test.sh — no overlap with this branch. Icon font unchanged on quattro — Devin stays at U+E90F. menu-test, default-agent-test, and agent-usage-devin-scanner-test all pass. |
|
Merged current quattro (19 commits). Clean merge; the overlapping files (omarchy-agent, default-agent-test.sh) auto-merged with both sides kept — the incoming work is the OpenClaw migration update path (#14212), which touches different sections than the Devin additions. Icon font unchanged on quattro — Devin stays at U+E90F. menu-test, default-agent-test, and agent-usage-devin-scanner-test all pass. |
|
Merged current quattro (1 commit). Clean merge; the incoming change (revert of migration-core changes from #14212) touches openclaw/migrate internals only — no overlap with this branch. Icon font unchanged on quattro — Devin stays at U+E90F. Also replied to yesterday's Greptile findings; both were already fixed on the branch (93805c5 start-date scan stamp, d9046c7 README wording). |
|
Merged current quattro (3 commits). Clean merge; the incoming changes (per-monitor workspace repair, twin-monitor test fix) touch monitor-workspaces only — no overlap with this branch. Icon font unchanged on quattro — Devin stays at U+E90F. |
|
Merged current quattro (1 commit). Clean merge; the incoming change (Greptile review file index, #15891) adds .greptile/files.json only — no overlap with this branch. Icon font unchanged on quattro — Devin stays at U+E90F. |
|
Merged current quattro (3 commits). Clean merge; the incoming changes (OpenClaw move-into-way handling, vconsole.conf initramfs fix, console-migration parameter gap) touch OpenClaw and console/mkinitcpio internals only — no overlap with this branch. Icon font unchanged on quattro — Devin stays at U+E90F. Also fixed today's Greptile finding: the scanner test now exports DEVIN_CACHE_DIR at its own fixture dir, so a developer-exported value can't make user_status_dir() read the real account cache (8ce2bc2). Verified the suite still passes with a decoy DEVIN_CACHE_DIR in the environment.
|
now - 86400 can still be the same local date across a DST change, which would miscount the rows the collector buckets by local day.
|
Merged current quattro (3 commits). Clean merge; the incoming changes (fingerprint-reader platform naming, Snapdragon laptop cameras via Chromium, T3 Code AppImage install) don't overlap this branch. Icon font unchanged on quattro — Devin stays at U+E90F. |
|
Merged current quattro (113 commits). Clean merge; the overlapping files (omarchy-menu.jsonc, default-agent-test.sh, i18n en catalog) auto-merged with both sides kept. Icon font unchanged on quattro — Devin stays at U+E90F. |
|
Merged current quattro (2 commits). Clean merge; the incoming changes (channel-switch stable/rc fix, dev notification demo refresh) touch channel-set, refresh-pacman, and their tests — no overlap with this branch. Icon font unchanged on quattro — Devin stays at U+E90F. |
# Conflicts: # bin/omarchy-agent-usage-devin # bin/omarchy-default-agent # default/fonts/omarchy/README.md # default/fonts/omarchy/omarchy.ttf # default/i18n/en/menu.json # default/omarchy/omarchy-menu.jsonc # manual/17-ai.md # shell/plugins/agents/README.md # shell/plugins/agents/manifest.json # test/shell.d/agent-usage-devin-scanner-test.sh # test/shell.d/menu-test.sh
|
Hi @dhh @ryanrhughes, now that #14040 has merged with Devin support included, this PR is basically moot... everything else it added now lives upstream. If there's nothing else you'd like from it, shall we close it? One small request while I'm here: in #14040's description, the two Thanks! Note: I have removed the automated job that kept this PR up-to-date now |
Summary
omarchy-agent-usage-devincollector that reads token stats from the Devin CLI session database (~/.local/share/devin/cli/sessions.db) and rate limits from the TUI's user-status cache (~/.cache/devin/cli/user_status.*.bin)GetUserStatusprotobuf response the TUI's/usageslash command renders — the collector parses the cached file directly, so no network call or credentials are neededshell/plugins/agents/assets/devin.svg+ light variant) and enable it in the manifestomarchy-default-agent) and the AI manual pageTest plan
./test/shellpasses all 12 Devin collector testsomarchy-agent-usage-devin --forceoutputs correct limits (Daily 69%, Weekly 47%, matching/usage)readyisTrueonly when there are prompts or limits (matches Claude collector)Preview
Token tracker panel:

Default agent menu (and devin icon in font):
