Skip to content

feat: render the v0.1 bot client shell - #1

Open
sys520084 wants to merge 1 commit into
mainfrom
cursor/v01-client-shell-4d91
Open

sys520084 wants to merge 1 commit into
mainfrom
cursor/v01-client-shell-4d91

Conversation

@sys520084

Copy link
Copy Markdown
Contributor

What

Replaces the placeholder Bots page with the v0.1 client shell from docs/ui-design.md and docs/mockups/: chat list, conversation, details (Activity / Library), new bot, the four-step setup wizard, and settings.

The host health route and origin gate are unchanged. The page does not call the host. Bots, messages, approvals, routines, and settings live in memory for this page only. Deny / Allow once records the choice here and does not send it. The setup wizard does not keep a Rayrun token or a DeepSeek key.

Why

Opening the Bots sidebar entry should show the designed product UI, not the "bot layer is under construction" placeholder. The bot roster, remote approvals, and persistence are still not built, so the shell has to be navigable without pretending a cloud computer is attached.

How tested

  • node --check on packages/dsh-rayrun-bots/index.js and client.js
  • node packages/dsh-rayrun-bots/test/manifest-check.mjs
  • node packages/dsh-rayrun-bots/test/locale-audit.mjs
  • node packages/dsh-rayrun-bots/test/rpc-contract.mjs
  • node packages/dsh-rayrun-bots/test/client-contract.mjs
  • git diff --check
  • Rendered the client outside DSH (React 18, zh-CN locale, 1440×900) and compared it with the mockup PNGs. Clicked through library, new bot, setup (Continue stays disabled until the first-bot step; Skip walks the steps), settings, language, search, send, and Allow / Deny.
  • Not tested: loading the plugin inside a live DeepSeek Harness profile.

Checklist

  • The diff is small and surgical; one concern per pull request.
  • No tokens, API keys, .env files, or other secrets are included.
  • Docs are updated where behavior changed, and any links resolve.
  • Tests are added or updated for behavior changes (node test/*.mjs).
  • Commit messages are in English and use feat: / fix: / chore: / docs: prefixes.
Open in Web Open in Cursor 

Replace the placeholder Bots page with the three-column shell from the UI
design: conversation, library, new bot, setup, and settings. Copy stays in
the locale files. Bot, approval, and settings state is in-memory only; the
health route is unchanged.

Co-authored-by: sys520084 <sys520084@gmail.com>
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.

2 participants