Workspace

Unified coding surface with Monaco, agent edits, preview, and diagnostics


Workspace

Workspace is the canonical in-app coding surface in ReformCode.

It replaces the old split between Code Editor, Workbench, and Builder with one shared shell that supports different focus modes:

  • Editor focus for direct file editing and analysis
  • Builder focus for agent-driven app generation and iteration
  • Shared infrastructure for tabs, change review, preview/runtime, diagnostics, and session recovery

What Workspace Includes

  • Monaco-based editing with file tree and tabs
  • Agent chat with staged patch review before apply
  • Problems panel for Monaco and runtime diagnostics
  • Preview panel with local frontend preview or remote runtime contract
  • Export and GitHub sync from the same canonical file model
  • Session history that reopens builder projects and editor drafts inside Workspace

Opening Workspace

Use ReformCode to open Workspace.

  • ?tab=editor opens the editor-focused view
  • ?tab=builder opens the builder-focused view
  • repo and history entry points can hydrate an existing Workspace directly

File And Session Model

Workspace uses one multi-file state contract for:

  • canonical file paths
  • open tabs and active file
  • staged agent changes
  • diagnostics
  • preview/runtime state
  • revision history

That model is the source of truth for local restore, builder persistence, repo imports, GitHub export, and ZIP export.

Legacy Notes

Older docs may still mention Builder or Workbench as separate surfaces. Treat those as legacy terms. Workspace is the authoritative coding experience in the shipped product.