ovis icon indicating copy to clipboard operation
ovis copied to clipboard

Ultracode as its own toggle, independent of effort (Claude Code 2.1.284+)

Open fivetaku opened this issue 1 month ago • 0 comments

Problem

Since Claude Code 2.1.284, Ultracode is its own toggle in /effort instead of an effort level: it "no longer forces xhigh effort and stays on at any effort level" (changelog, 2.1.284). Ovis still treats it as an effort level, in two places:

  1. New session dialog. CLAUDE_EFFORTS (shared/launch-rules.ts) lists ultracode next to low … max, and launchArgs (src/lib/agentLaunchMode.ts) turns the pick into claude --effort ultracode. Per the model-config docs, that flag "turn[s] it on and also set[s] the level to xhigh". So from Ovis you can start a Claude session with Ultracode on only at xhigh. Medium or High with Ultracode on isn't possible.
  2. /effort prompt card. The card picks levels with ←/→ and s, and "Ultracode is left to the terminal" (server/dialogs/claude.ts). On a phone, turning Ultracode on or off for a running session means opening the terminal pane and pressing Tab.

Proposal

  • New session: show Ultracode as a separate on/off control next to the effort select for Claude, and take ultracode out of the effort list. When it is on, launch with the effort the user picked plus the ultracode setting. The docs list --settings as a supported way to set it: claude --effort medium --settings '{"ultracode":true}'. If a launch already passes its own --settings, merge the two into one value. On Claude Code 2.1.311 I passed --settings <file> --settings '{"ultracode":false}', and only the last one applied: an env value from the file was missing in the session.
  • /effort card: read the Ultracode on|off state the screen already shows, render it as a toggle on the card, and send Tab when it is flipped. The card then re-reads the screen as it does for the level.
  • Keep accepting --effort ultracode in agent.args (launchArgsFault). It is still a valid Claude Code value meaning xhigh plus Ultracode.

Where

Chat and prompt cards, New session dialog

Where it exists today

  • Claude Code TUI: /effort has an Ultracode toggle (Tab, or /effort ultracode [on|off]) that keeps the current effort level.
  • Claude Code VS Code extension: 2.1.284 "Added an Ultracode on/off switch under the Effort slider, replacing the slider's Ultracode stop".
  • Paseo: it currently ships Ultracode as a thinking option that forces xhigh, the same shape Ovis has now. I opened https://github.com/getpaseo/paseo/pull/8115 to move it to a toggle next to Fast. I tested that change against a real Claude Code 2.1.311 session at Medium effort: the toggle turned Ultracode on and off and effort stayed Medium.

Workarounds and alternatives

  • Open the terminal pane, run /effort, and press Tab.
  • Put "ultracode": true in ~/.claude/settings.json. This turns it on for every Claude Code session on the machine, not just one.
  • Typing /effort ultracode in the chat composer might also work, since Claude Code applies it without opening the slider. I have not tested it in Ovis.

fivetaku avatar Oct 28 '26 09:10 fivetaku