Repository navigation
Add openzoo as a coding agent option: claude code, no api key, pays per call - #8487
staccDOTsol wants to merge 17 commits into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
Adds openzoo as a mise-installed coding agent with pay-per-call wallet utilities.
Changes:
- Adds openzoo installation and launch routing.
- Adds agent selection and wallet menu entries.
- Updates reset behavior and menu expectations.
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 2 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-agent |
Launches openzoo’s Claude client. |
bin/omarchy-default-agent |
Installs and selects openzoo. |
bin/omarchy-remove-preinstalls |
Removes the openzoo stub. |
default/omarchy/omarchy-menu.jsonc |
Adds agent and wallet menu entries. |
test/shell.d/menu-test.sh |
Adds the agent menu expectation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
213ae8b to
4d5b444
Compare
Every other agent in the picker is a vendor CLI that stops on first launch and asks for an API key. openzoo is Claude Code pointed at a pay-per-call gateway instead: no account, no key, no signup wall on a fresh install. - omarchy-default-agent: openzoo -> npm:openzoo via mise, like grok/omp - omarchy-agent: launches 'openzoo claude --permission-mode auto' - menu entry between OpenCode and Pi (agents sort case-insensitively by label) - menu-test: added to expectedAgents and the sort assertion Co-Authored-By: Claude Opus 5 <[email protected]>
4d5b444 to
af1a9be
Compare
|
Rebased onto |
… per call via openzoo' instead of 'Waiting for auth' openzoo runs the real Claude Code CLI against a pay-per-call proxy, so there is never an Anthropic OAuth token and never a limit bucket. The collector reported that as 'Waiting for auth', which reads as a broken sign-in on a machine where nothing is wrong.
|
One small follow-up commit (6aa4938), scoped to the same concern: with openzoo as the default agent, the agents panel's Claude card read "Waiting for auth" forever — the CLI is real but is never signed in to Anthropic, because each call is paid over x402 through the local proxy. The collector now says "Paid per call via openzoo" in that state (and points at the bar widget for spend) instead of describing a healthy machine as a broken sign-in. No change when openzoo is not the default agent. |
quattro added Muse Code, Cursor CLI, and OpenClaw to the agent picker after this branch last rebased, which conflicted in omarchy-default-agent and the menu sort assertion. Keep those new agents and put openzoo back in the same menu/install/launch slots. Co-authored-by: Jarett Dunn <[email protected]>
Match the house style for other picker agents: install/launch/bypass, Remove Preinstalls, and the agents-panel status when Claude has no Anthropic token because openzoo is paying per call. Co-authored-by: Jarett Dunn <[email protected]>
Keep the openzoo menu entry, npm install, launcher, and Claude usage status alongside the coding agents quattro added since the last merge. Co-authored-by: Jarett Dunn <[email protected]>
[High impact] The PR adds an optional agent path that can spend from a local wallet. Do not merge yet: automatic switching can still select a Claude account that has no sign-in token. FindingsSummaryAdds openzoo as a selectable coding agent.
The six unnumbered prior threads were resolved without explanatory replies. Current code addresses their reported concerns: the menu label exists, user-installed openzoo is preserved, separate Claude accounts keep their sign-in status, managed tool settings are present, and the exact-count and repeated-declaration checks are gone. Reviews (14) · Last reviewed commit: "Merge remote-tracking branch 'upstream/q..." · Reviewed by Greptile |
Mirror the openzoo agent row in the English menu catalog. Leave a user's ~/.local/bin/openzoo in place on Remove Preinstalls. Keep Waiting for auth and Sign-in expired on a registered Claude account when openzoo is the default agent. Declare npm:openzoo as a lazy mise tool that updates every four hours. Co-authored-by: Jarett Dunn <[email protected]>
Catch the openzoo agent branch up with quattro: OEM Snapdragon firmware, the Superwhisper migration shortcut, and Osaka Jade's own repo. Co-authored-by: Jarett Dunn <[email protected]>
Check each agent declaration, including openzoo, for lazy install and auto_update = "4h" without failing when an unrelated tool is added. Co-authored-by: Jarett Dunn <[email protected]>
The declared_bins entry only compared omarchy-tools.toml with the same settings written in the test. Selection, install, and launch coverage for openzoo stays. Co-authored-by: Jarett Dunn <[email protected]>
Bring in the Anduril BlueChip UCM profile and the NVIDIA app setup removal. Co-authored-by: Jarett Dunn <[email protected]>
| result["usageStatusText"] = "Paid per call via openzoo" | ||
| result["authHelpText"] = "No Anthropic sign-in: openzoo pays each call over x402 from a local wallet. Spend shows in the openzoo bar widget." |
There was a problem hiding this comment.
The new status and help text appear in English even when the user chose another language. statusDisplayText() and helpDisplayText() do not recognize either string, so they return them unchanged.
The translation guide requires shell text to have English catalog entries and be translated where it is displayed. Add those entries and map both strings in the panel before merging to satisfy this repository requirement.
File Used: docs/i18n.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Catch the openzoo agent branch up with quattro through the pointer-startup fix. Co-authored-by: Jarett Dunn <[email protected]>
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
Keep the openzoo harness menu entry, npm install, and launcher. Co-authored-by: Jarett Dunn <[email protected]>
| if pay_per_call: | ||
| result["usageStatusText"] = "Paid per call via openzoo" | ||
| result["authHelpText"] = "No Anthropic sign-in: openzoo pays each call over x402 from a local wallet. Spend shows in the openzoo bar widget." |
There was a problem hiding this comment.
Switching picks signed-out accounts
When the primary Claude account has lost its token but still has cached limits, selecting openzoo changes its status from Waiting for auth to Paid per call via openzoo without clearing those limits. usage_by_account() excludes signed-out accounts only by the old status. Automatic switching can therefore select this signed-out account, leaving the next Claude session needing a login.
Keep accounts with missing tokens out of Claude account switching, or return no subscription limits for the paid-per-call case.
Co-authored-by: Jarett Dunn <[email protected]>
Co-authored-by: Jarett Dunn <[email protected]>
what
adds openzoo as a coding agent option. it's claude code pointed at a pay per call gateway instead of an api key: no account, no subscription, no signup wall on a fresh install. your wallet signs, x402 settles on chain, the model answers. 435 models behind one endpoint.
why this belongs in the list
every other agent in this menu stops on first launch and asks for an api key or a login. openzoo is the one that doesn't, which felt like the most omarchy shaped gap in the lineup. a sovereign machine shouldn't have to phone home for a login to get work done.
category precedent is already in the tree: ori is openrouter's own agent (#7709, it even uses openrouter's glyph). openzoo is the same category with the account removed. pricing is a law, not a rate card: cost plus a third of whatever the compression layer saved you, hard capped at openrouter's list price. worst case you pay what you'd have paid anyway.
the diff
follows the same template as #6900 and #7709, nothing invented:
bin/omarchy-agent: launch case,openzoo claude --permission-mode auto(claude's flags, since that's the TUI it drives)bin/omarchy-default-agent:agent_package="npm:openzoo", lazy installed via mise like the restdefault/omarchy/omarchy-menu.jsonc: agent entry, plus a Setup > openzoo group (Balance, Deposit Address, Bound Corpora). every entry is read only and the whole group is gated onomarchy-cmd-present openzoo, so it's invisible unless you picked the agentbin/omarchy-remove-preinstalls: stub stripped on factory reset, same as ori and friendstest/shell.d/menu-test.sh: expectedAgents updated, sort order respected+26 / -4 across five files. menu tests 121/121, full suite green, zero introduced failures.
tested
daily driven on a real quattro install for a day. installed through this exact flow (Setup > Default > Agent > openzoo), funded the wallet from the menu, ran real sessions. every payment lands as a public tx, so the receipts for "it actually works" are on chain rather than my word: 691 settled payments in the 60 hours before this PR.
there's also a bar widget (live spend on the bar plus an ask box) but that ships through the plugin system,
omarchy plugin add, and is deliberately not part of this PR. the agent list entry stands alone.happy to rework anything that doesn't fit the house style, kind ser.
🤖 Generated with Claude Code