Skip to content

docs: add cmux Cloud documentation in all locales - #15143

Merged
lawrencecchen merged 1 commit into
mainfrom
feat-cloud-docs
Sep 28, 2026
Merged

lawrencecchen merged 1 commit into
mainfrom
feat-cloud-docs

Conversation

@lawrencecchen

@lawrencecchen lawrencecchen commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

cmux.com had no Cloud documentation. This PR adds a cmux Cloud section with six pages, in all 20 site locales:

  • /docs/cloud: what a machine is, requirements, quickstart, the app UI and shortcuts, the CLI entry point, and the base machine.
  • /docs/cloud/machines: sizes, plan limits, resize, pause/resume, checkpoints/forks/restore, rename, status, delete, and what happens when a plan ends.
  • /docs/cloud/workspaces: durable terminals, vm agent/run/exec/dev, notifications, image paste, layouts, installed tools, model access, the guest CLI, and iPhone.
  • /docs/cloud/networking: push/pull, secret files, env vars, ports and the in-app browser, desktop, the private network, the optional system VPN, public URLs, and custom domains.
  • /docs/cloud/cli: every cmux vm / cmux cloud domains / cmux vpn / cmux ai-accounts verb.
  • /docs/cloud/troubleshooting: the security model and a table of common errors with fixes.

The facts come from source, not from the older copy. Every CLI example was checked against the usage text in CLI/. Sizes come from web/services/vms/images/sizes.ts, and limits from machineSpec.ts / entitlements.ts (50 active machines per seat, no shared resource pool, no create on Free, 32g/64g only on Max). The docs say that machines do not pause when idle, because FREESTYLE_PERSISTENT_IDLE_TIMEOUT_SECONDS = -1. The docs leave out the flagged Go plan, dev-only env vars, hidden CLI verbs, and features that exist only as designs (.cmux/cloud.json, devcontainer).

Known conflicts in existing copy, not fixed here: the pricing page still says Pro/Max resources are "shared across all VMs", and the compare table lists a Free Cloud VM size. Both contradict the enforced code.

The pages are wired into the docs nav (a new "cmux Cloud" section), the sitemap, the agent page index, the docs search aliases, and the audited SEO matrix in tests/seo.test.ts, so every locale's title and description are length-checked.

Verification

  • bun run typecheck, eslint on the changed files, and bun run lint:complexity pass.
  • bun test tests/seo.test.ts tests/docs-search-index.test.ts tests/docs-search-utils.test.ts tests/client-messages.test.ts tests/content-locale-link.test.tsx tests/docs-channel.test.ts: 53 pass.
  • Full bun run test: the only failure is vercel-ignore-build.test.ts ("outside a shallow clone"). It fails the same way on main in this checkout, and the change does not touch it.
  • Local docs-zone render (CMUX_DOCS_CHANNEL=release next dev): all six English pages and samples in ja, ar, km, de, zh-CN, and fr return 200 with localized titles and no raw message keys.

Changelog

  • Added: cmux Cloud documentation on cmux.com, in every supported language.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Adds cmux Cloud documentation to cmux.com in all 20 locales, covering six new pages under /docs/cloud (overview, machines, workspaces, networking, CLI reference, and troubleshooting).

  • Content is verified against the CLI usage text, enforced plan limits, and machine specs in source code rather than older copy.
  • Pages are wired into the docs nav, sitemap, agent page index, docs search aliases, and audited SEO matrix.
  • Adds ~250 localized strings per locale; all pages render with localized titles and no raw message keys.
  • Known conflicts in existing copy are not fixed here: the pricing page still claims Pro/Max resources are "shared across all VMs", and the compare table lists a Free Cloud VM size—both contradict the enforced code.

Migration

  • If you translate content, add the new cloudSection, cloudOverview, cloudMachines, cloudWorkspaces, cloudNetworking, cloudCli, and cloudTroubleshooting keys to any locale file not covered here.

Written for commit a9063c3. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Documentation
    • Added a Cloud documentation section with guides for getting started, managing machines, using workspaces, networking and file access, CLI commands, and troubleshooting.
    • Added translated documentation and navigation labels across supported languages.
    • Cloud guides are now included in documentation search and the sitemap.

Six pages under /docs/cloud (overview, machines, workspaces and agents,
files and networking, CLI reference, security and troubleshooting),
wired into docs nav, sitemap, agent page index, docs search aliases and
the audited SEO matrix. Copy is checked against the CLI usage text and
the enforced plan limits; translated into all 20 site locales.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: manaflow-ai/cmux/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: db54b0af-5547-4ef0-a76a-3ce4f3c23c86

📥 Commits

Reviewing files that changed from the base of the PR and between 55b4049 and a9063c3.

📒 Files selected for processing (32)
  • web/app/[locale]/(landing)/docs/cloud/cli/page.tsx
  • web/app/[locale]/(landing)/docs/cloud/machines/page.tsx
  • web/app/[locale]/(landing)/docs/cloud/networking/page.tsx
  • web/app/[locale]/(landing)/docs/cloud/page.tsx
  • web/app/[locale]/(landing)/docs/cloud/troubleshooting/page.tsx
  • web/app/[locale]/(landing)/docs/cloud/workspaces/page.tsx
  • web/app/[locale]/components/docs-nav-items.ts
  • web/app/lib/agent-page-paths.ts
  • web/app/sitemap.ts
  • web/i18n/audited-seo.ts
  • web/messages/ar.json
  • web/messages/bs.json
  • web/messages/da.json
  • web/messages/de.json
  • web/messages/en.json
  • web/messages/es.json
  • web/messages/fr.json
  • web/messages/it.json
  • web/messages/ja.json
  • web/messages/km.json
  • web/messages/ko.json
  • web/messages/no.json
  • web/messages/pl.json
  • web/messages/pt-BR.json
  • web/messages/ru.json
  • web/messages/th.json
  • web/messages/tr.json
  • web/messages/uk.json
  • web/messages/zh-CN.json
  • web/messages/zh-TW.json
  • web/tests/seo.test.ts
  • web/tools/build-docs-search.mjs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

Adds six localized Cloud documentation pages covering setup, machines, workspaces, networking, CLI commands, and troubleshooting. Adds navigation, search, sitemap, and SEO entries for those pages, with translations across the message catalogs.

Changes

Cloud documentation

Layer / File(s) Summary
Overview and machine guides
web/app/[locale]/(landing)/docs/cloud/page.tsx, web/app/[locale]/(landing)/docs/cloud/machines/page.tsx, web/messages/*.json
Adds localized overview and machine lifecycle guides. The pages describe setup, machine sizes and plan limits, resizing, pause and resume, snapshots, deletion, and related commands.
Workspaces and networking guides
web/app/[locale]/(landing)/docs/cloud/workspaces/page.tsx, web/app/[locale]/(landing)/docs/cloud/networking/page.tsx, web/messages/*.json
Adds localized guidance for persistent workspaces and agents, file transfers, secrets, environment variables, ports, private networking, VPN, public URLs, and custom domains.
CLI and troubleshooting guides
web/app/[locale]/(landing)/docs/cloud/cli/page.tsx, web/app/[locale]/(landing)/docs/cloud/troubleshooting/page.tsx, web/messages/*.json
Adds localized CLI references with Bash examples and troubleshooting content with security information and symptom-and-fix entries.
Navigation and page discovery
web/app/[locale]/components/docs-nav-items.ts, web/app/lib/agent-page-paths.ts, web/app/sitemap.ts, web/i18n/audited-seo.ts, web/tests/seo.test.ts, web/tools/build-docs-search.mjs, web/messages/*.json
Adds Cloud links to documentation navigation, agent-readable pages, the sitemap, audited SEO checks, and search aliases. The English message catalog also corrects malformed object punctuation.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Suggested reviewers: austinywang, teamleaderleo

Merge Risk: ⚪ Minimal · up to a9063

No actionable issue remains from this review; the Cloud documentation changes are mergeable after normal checks.


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error, 1 warning)

Check name Status Explanation Resolution
Cmux Full Internationalization ❌ Error The localized Cloud pages and all six new message namespaces have matching entries in all 20 locales. However, the PR adds six user-facing page titles as English literals in `web/app/lib/agent-page-pa… Replace the six literal agentReadablePages titles with locale-backed message keys and make the localized agent-readable index generation resolve those keys for every locale in web/i18n/routing.ts. Add and verify the corresponding entrie…
Docstring Coverage ⚠️ Warning Docstring coverage is 7.69% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 12 files. (20 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (23 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding cmux Cloud documentation in all locales.
Description check ✅ Passed The description provides a detailed summary, verification results, known test limitation, changelog entry, localization coverage, and integration details. It uses a "Verification" heading instead of "…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Cmux Cloud Persistent Session And Early Input ✅ Passed PASS: The PR changes only documentation pages, localized messages, navigation, sitemap, search aliases, SEO metadata, and an SEO test. The authoritative diff contains no Cloud terminal creation, cmux-…
Cmux Swift Actor Isolation ✅ Passed PASS: The review-scoped diff contains no Swift files or Swift production changes. It only adds web TypeScript/JSON documentation, navigation, sitemap, search, and SEO entries. The Swift actor-isolatio…
Cmux Swift Blocking Runtime ✅ Passed The pull request changes only web/TypeScript, JSON, and JavaScript files. The authoritative diff contains no Swift or Objective-C source changes, so it introduces no Swift blocking or timing-based run…
Cmux Browser Automation Off-Main ✅ Passed PASS: The pull request changes only web documentation pages, navigation, localization messages, sitemap, search metadata, and SEO tests. No changed path or diff content targets `Sources/TerminalContro…
Cmux Expensive Synchronous Load ✅ Passed The pull request changes only web TypeScript/TSX, JSON, and MJS files. The authoritative diff contains no Swift files or production Swift changes, so the expensive synchronous Swift load check is not …
Cmux Cache Substitution Correctness ✅ Passed The PR adds localized documentation, navigation, sitemap, SEO entries, agent page paths, and search aliases. The changed TypeScript/JavaScript code does not replace any authoritative read in a persist…
Cmux No Hacky Sleeps ✅ Passed PASS: The pull request adds documentation pages, navigation, metadata, locale messages, sitemap entries, search aliases, and SEO coverage. The changed TypeScript/JavaScript implementation contains onl…
Cmux Algorithmic Complexity ✅ Passed The pull request adds static documentation JSX, translation data, and fixed metadata entries. The six new pages contain no collection loops, sorting, filtering, joins, or per-record rescans. The searc…
Cmux Swift Concurrency ✅ Passed PASS — the authoritative PR diff changes only web/TypeScript, JSON, and documentation-index files. It contains no Swift or Swift concurrency changes, so the cmux Swift concurrency check is not applica…
Cmux Swift @Concurrent ✅ Passed The authoritative pull-request diff contains only TypeScript, JSON, JavaScript, and test changes. It contains no Swift files, Swift functions, or concurrency call-site changes. Therefore the Swift `@c…
Cmux Swift Package Boundaries ✅ Passed PASS: The reviewed diff contains only TypeScript/TSX, JSON, and MJS changes. It contains no Swift files, SwiftPM manifests, or Swift package targets, so the cmux Swift package-boundaries check is not …
Cmux Swiftpm Lockfiles ✅ Passed The PR changes only Cloud documentation, localization, navigation, sitemap, search, and SEO files. The authoritative diff contains no SwiftPM package, Package.resolved, Xcode project, .gitignore, work…
Cmux Swift Logging ✅ Passed PASS — The pull request changes only web documentation, navigation, metadata, locale JSON, sitemap, tests, and search tooling. The authoritative diff contains no Swift or app/runtime source changes, s…
Cmux User-Facing Error Privacy ✅ Passed PASS: The PR adds localized documentation pages and documentation wiring only. The new troubleshooting table and command examples are rendered through the /docs/cloud/... pages, and the custom check…
Cmux Swiftui State Layout ✅ Passed PASS: The pull request changes only TypeScript, JSON, and JavaScript files under web/. The authoritative diff contains no Swift, SwiftUI, AppKit, storyboard, or XIB paths, so it introduces no SwiftU…
Cmux Architecture Rethink ✅ Passed PASS: The review-scoped diff contains no Swift or Objective-C source files. It only adds documentation pages, translations, navigation, sitemap, search, and SEO metadata. Therefore, the Swift architec…
Cmux Swift Auxiliary Window Close Shortcuts ✅ Passed PASS: The pull request changes only web documentation, localization JSON, SEO, navigation, sitemap, and search files. The authoritative diff contains no Swift or window-related files, so the cmux auxi…
Cmux Source Artifacts ✅ Passed The 32 changed paths are intentional product files: six Cloud documentation pages, localization catalogs, navigation and sitemap sources, SEO/search indexes, and a test. The diff adds no artifact dire…
Cmux No Test Or Debug Seam In Production Source ✅ Passed PASS: The custom check applies only to changed Swift files under production Sources/ paths. The authoritative PR diff contains no .swift files and no changed production Sources/ paths; all chang…
Full details: Docstring Coverage

Explanation

Docstring coverage is 7.69% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 12 files. (20 skipped: 20 unsupported.)

Full details: Cmux Full Internationalization

Explanation

The localized Cloud pages and all six new message namespaces have matching entries in all 20 locales. However, the PR adds six user-facing page titles as English literals in web/app/lib/agent-page-paths.ts. buildLlmsText() emits these titles into the public /llms.txt rendered text response, so the new Cloud index copy does not use a locale-specific source or provide localized equivalents.

Resolution

Replace the six literal agentReadablePages titles with locale-backed message keys and make the localized agent-readable index generation resolve those keys for every locale in web/i18n/routing.ts. Add and verify the corresponding entries in all 20 web/messages/*.json files. If the global English /llms.txt must remain English, keep it as an explicitly English-only index and ensure each locale-specific Markdown/index surface uses the translated titles instead.

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lawrencecchen
lawrencecchen merged commit dcacaab into main Sep 28, 2026
68 of 69 checks passed
@lawrencecchen
lawrencecchen deleted the feat-cloud-docs branch September 28, 2026 04:54
@github-actions

Copy link
Copy Markdown
Contributor

Merge receipt for a9063c303c: every check was green at merge (20 verified; 16 skipped by policy). Full suite runs on main after merge.

rustybret pushed a commit to rustybret/bmux that referenced this pull request Sep 28, 2026
744176a docs: group the docs sidebar into sections (manaflow-ai#15164)
b4d72a9 Keep cmux's own keys out of the config error card; end restored scrollback on a new line (manaflow-ai#15152)
80dfbb3 zsh integration: use zsh/zselect for poll-loop sleeps (no fork) (manaflow-ai#6032)
426248d docs: stop table code cells wrapping per character (manaflow-ai#15165)
dcacaab docs: add cmux Cloud documentation section in all locales (manaflow-ai#15143)
10c4d52 Fix Mac discovery consent, live terminal resizing, and blank hibernated agents (manaflow-ai#14420)
55b4049 Keep Cloud sidebar drags free of hints (manaflow-ai#15123)
@coderabbitai coderabbitai Bot mentioned this pull request Sep 29, 2026
3 tasks done
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