Workspace
The Workspace page is a file browser and editor for your ~/.openclaw directory. It lets you view and edit agent configuration files, memory logs, and other OpenClaw files without leaving the dashboard.
File Browser
The left panel shows a directory listing with:
- Folder icons — yellow folder icons for directories
- File icons — different icons for
.md,.json, and other file types - File sizes — displayed next to each file
- Binary indicator — non-previewable files are marked as “binary”
Navigate using breadcrumbs at the top. Click any breadcrumb segment to jump to that directory.
Tabs
The workspace supports multiple tabs:
- Click the + button to open a new tab
- The tab bar appears above the breadcrumbs when more than one tab is open
- Each tab shows the current file or directory name (truncated to ~12 characters)
- Only the active tab shows a close button
- Tab state (open tabs and their paths) persists to
localStorage
File Preview
Click any file to open it in the preview panel. Supported formats:
- Markdown (
.md) — rendered with full Markdown formatting - JSON (
.json) — pretty-printed with syntax formatting - Plain text — displayed as-is with line numbers
Editor Options
Both read and edit modes have a settings popover with:
- Text size — adjustable font size (6–24px)
- Line wrap — toggle word wrapping
- File info — show/hide character and line counts
File Editing
Click Edit on any previewable file to enter edit mode:
- Full textarea editor with monospace font
- Line numbers gutter (synced via a hidden mirror div for accurate line heights)
- Cmd/Ctrl+S to save (shows confirmation dialog)
- Escape to cancel (warns if unsaved changes)
- Edit mode is indicated by an amber “Edit Mode” banner
File editing writes directly to disk via the workspace API. There’s no undo — save with care.
Starred Items
Star frequently accessed files or folders by clicking the ★ icon in the breadcrumb bar. Access your starred items from the Starred button in the header.