Skip to content

Add standalone OpenUI OSS and Cloud chat demo#758

Merged
zahlekhan merged 17 commits into
mainfrom
codex/openui-chat-cloud-toggle
Jul 15, 2026
Merged

Add standalone OpenUI OSS and Cloud chat demo#758
zahlekhan merged 17 commits into
mainfrom
codex/openui-chat-cloud-toggle

Conversation

@zahlekhan

Copy link
Copy Markdown
Contributor

Summary

  • add a standalone /chat route with a black OpenUI OSS / OpenUI Cloud switcher, fresh-surface mode changes, Cloud model selection, and report/presentation support
  • add disabled-by-default Cloud status, frontend-token, and generation routes with signed anonymous sessions, persisted session-scoped conversations, ownership enforcement, bounded request validation, and sanitized failures
  • replace the legacy docs chat modal with semantic /chat links and add OpenUI Chat to the homepage Playground menu
  • preserve the OSS integration while removing cross-visitor prompt logging, propagating cancellation, and moving the credits/switch flows to accessible Radix dialogs
  • document runtime configuration, rollout safeguards, and the version-guarded Thesys 0.2.1 Turbopack minifier workaround

Validation

  • pnpm --filter @openuidev/docs types:check
  • focused ESLint across all changed/new TypeScript and config files (0 errors; 2 existing no-img-element warnings)
  • targeted Prettier checks and git diff --check
  • frozen lockfile installs with pnpm 9.15.4 and pnpm 10.33.0
  • browser smoke tests for disabled/enabled Cloud states, mode reset, navigation, generic failures, and the bodyless frontend-token 415 regression
  • production build and syntax validation of the lazy Cloud bundle

Rollout

OpenUI Cloud remains fail-closed and disabled by default. Keep it disabled on public deployments until shared session/IP rate limiting, Cloud organization budgets/token scopes, and the approved retention/deletion process are in place.

Comment thread docs/plans/openui-cloud-mode-toggle.md Outdated
@AbhinRustagi

Copy link
Copy Markdown
Contributor
Screenshot 2026-07-13 at 21 29 13

Can you review this CSS issue here?

Comment thread docs/app/chat/_components/agent-surfaces/cloud-chat-llm.ts Outdated
AbhinRustagi
AbhinRustagi previously approved these changes Jul 13, 2026
@AbhinRustagi

Copy link
Copy Markdown
Contributor

LGTM, can you just do a review of the visuals & styling?

@zahlekhan zahlekhan enabled auto-merge (squash) July 13, 2026 18:37
@zahlekhan zahlekhan disabled auto-merge July 13, 2026 18:37
]);

const CLOUD_STARTERS = [
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just added a starter for image search for OpenUI Cloud here. Can you add that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will fix in followup

@AbhinRustagi AbhinRustagi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The availability check for OpenUI Cloud is now deferred which kind of gives off a janky experience.

Can this be moved to the right & expand on hover instead? Looks off. Can be reviewed by @pr3khar
Image

Comment thread docs/app/api/openui-cloud/chat/route.ts Outdated
AbhinRustagi
AbhinRustagi previously approved these changes Jul 15, 2026
AbhinRustagi
AbhinRustagi previously approved these changes Jul 15, 2026
@zahlekhan

Copy link
Copy Markdown
Contributor Author

#758 (review)
Will fix in followup

@zahlekhan zahlekhan merged commit b507578 into main Jul 15, 2026
2 checks passed
@zahlekhan zahlekhan deleted the codex/openui-chat-cloud-toggle branch July 15, 2026 04:50
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