Repository navigation
Conversation
|
Cross-referencing with #7919, which wires the same agent entries ( The unique piece here is real and needed: there is no Suggestion: drop the duplicated agent wiring from this PR (that's #7919's territory) and either rebase this collector on top of #7919's wiring once it lands or offer it to #7919 directly. The collector is worth keeping; the overlapping wiring will just burn review time on conflicts. |
|
Thanks! OpenClaw is already a default agent on quattro through omarchy-install-openclaw-cli, so the agent wiring here is superseded. Closing. |
Add OpenClaw as an AI agent option
Summary
Adds OpenClaw (formerly Clawdbot/Moltbot) to the AI
coding-agent roster on
quattro, following the exact conventions of theexisting agents:
agent_package="npm:openclaw")omarchy-agent(openclaw tui, promptseeded via
--message)contract (
schemaVersion: 1), writingopenclaw.jsonnext toclaude.jsonandcodex.jsonWhy
OpenClaw is one of the most widely used agent harnesses, and its terminal UI
(
openclaw tui) is a full agent surface with tool approvals. Users who run italongside Claude Code / Codex / OpenCode currently get no agents-panel usage
tracking and no default-agent option. This patch closes both gaps the same way
every other agent is wired.
Changes
bin/omarchy-default-agent—openclaw/open-clawcase, usage stringsbin/omarchy-agent— launch case:openclaw tui(gateway-connected TUI),--message "$prompt"for prompt seedingdefault/omarchy/omarchy-menu.jsonc—setup.default.agent.openclawrowbin/omarchy-agent-usage-openclaw— new usage collector (same recordcontract as the packaged collectors; discovers sessions via
openclaw sessions --json --all-agentsand prompt counts from gatewayaudit events)
Notes for review
openclaw tuitalks to the local Gateway(loopback) and works headless, so the launch mapping needs no special flags.
openclawCLI rather than reading itsstate SQLite directly (the store uses the
sqlite-vecextension), whichalso keeps it stable across OpenClaw schema changes.
no message content, credentials, or provider keys are read or written.
Testing
bash -non both modified scripts; JSONC parse on the modified menuopenclaw tuilaunches against a running gateway and accepts--messageaggregates, atomic write to
~/.local/state/omarchy/agents/usage/openclaw.json