Skip to content

Tupychka/dev#19

Merged
tmlxrd merged 6 commits into
devfrom
tupychka/dev
Jun 8, 2026
Merged

Tupychka/dev#19
tmlxrd merged 6 commits into
devfrom
tupychka/dev

Conversation

@tmlxrd

@tmlxrd tmlxrd commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Changes

Screenshots / GIFs

How to test

Checklist

  • PR targets dev
  • npm run typecheck passes
  • npm run build passes
  • Updated CHANGELOG.md under [Unreleased] if user-visible
  • Updated ROADMAP.md if a planned item is now done
  • No new heavyweight dependencies (or motivated in the description)

tmlxrd and others added 6 commits June 7, 2026 23:58
…dges

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The sidebar gateway banner appeared whenever OpenClaw was offline, even in Work / Safe work / Incognito modes that never touch the gateway. Gate it on the same getComposerMode() === 'execute' check the composer overlay uses, and refresh it on both gateway-status and mode changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ser/sidebar UX

- Default mode after onboarding keys off whether the OpenClaw CLI is on the
  device: Full Power if installed, otherwise Work. New cached probe
  (openclawInstall.ts), primed at startup.
- Mode selector always renders; runtime modes show locked with a 'needs
  OpenRouter' hint when no key, and clicking one opens the connect chooser.
  New listComposerModes() feeds per-mode availability to the composer.
- Connect-a-model chooser (connectModal.ejs) replaces the post-Skip 'OpenClaw
  off' dead-end: composer stays usable and the chooser fires on first send (or
  on clicking a locked mode) when no backend is reachable.
- Sidebar 'Start OpenClaw' banner gated on Full Power being the selected mode.
- Sidebar declutter: Search after 15 chats, Projects after 5 (or once a project
  exists); the draft skips the project picker when there are no projects.
- Empty-state copy reworded; welcome card (scenarios + about iClaw) extracted to
  a partial and shown on empty chats while no project exists.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
A new chat now defaults to whatever's usable right now: Full Power when the
OpenClaw gateway is reachable; Work when it's off but an OpenRouter key is set
(don't drop the user into a dead Full Power); Full Power when off+no key but
OpenClaw is installed (startable on demand); otherwise Work.

Fixes two linked symptoms when OpenClaw is installed-but-off with a key: new
chats defaulted to Full Power, and the sidebar 'Start OpenClaw' banner showed
(it's gated on mode === 'execute'). Both now resolve to Work.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Quick skip past project selection: pressing Space on the "Choose a project"
stage commits the draft with No project, with a hint under the title. Guarded to
the active picking stage and ignored while a field is focused; Enter still
activates a focused project card.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tmlxrd
tmlxrd merged commit fe36f4a into dev Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant