ventgrisdocs

Workspace tools

Files and editor

Browse, upload, edit, preview, rename and trash the files of your workspace, and what Files refuses to open or write.

View .md

Files is the file explorer of your workspace. It shows the same folders the agent works in, so you can read what a session produced, fix a file by hand, upload material for the agent, or download a result. Every file opens in its best rendering (a Markdown page, a table, an image, a PDF) with the raw content one click away.

Files screen with the workspace tree on the left and a Markdown file open on the right

What Files shows

The tree on the left has two roots, picked with the switch at the top:

Root What it is
Workspace The workspace folder: projects, agents/, skills/, jobs/, the memory folder ventgris-os-memory/, what sessions write. This is where you work
Agent home The home folder of the agent Linux user, which contains the workspace. Hidden files are masked by default

On a workspace of the service, terminals and AI sessions run as the Linux user vg-ai, whose home (~ in a terminal) is a different folder. Files does not show that home. The workspace folder is the same for all of them.

Folders come first, then files, sorted by name with numbers in natural order (file2 before file10). A folder lists 200 entries at a time: a Show N more button loads the next ones.

Some entries look different:

Entry How it shows Why
node_modules, .git, __pycache__, .venv Greyed Listed, but never searched
Names starting with . Greyed, and hidden until you click Show hidden files (eye icon) Dotfiles
Symbolic link A link icon after the name; hover to see the target A link to a folder opens as a folder
Protected path A padlock icon See Protected paths

The size of each file shows at the right of its row. Hover a row, or select it, to get the ⋯ menu.

The tree does not follow changes on disk by itself. When the agent writes new files, click Refresh (the circular arrow): it reloads the root and every folder you have open.

Who can do what

Role In Files
admin, editor Everything on this page
member, viewer Browse, search, open, preview and download. No create, upload, save, rename, duplicate or trash: those buttons are not shown

Roles are explained in Roles.

Create a file or a folder

  1. Select the folder where the new entry goes (click it in the tree), or select nothing to create at the root.
  2. Click New file (file icon) or New folder (folder icon) in the toolbar.
  3. Type the name and confirm. A new file is proposed as untitled.md.

A new file opens in the editor at once. If the name is taken, Files says "A file with this name already exists" and creates nothing.

You can also right-click a folder (or use its ⋯ menu) and choose New file or New folder to create inside it.

Upload files

  1. Select the destination folder in the tree.
  2. Click Upload (arrow icon) and pick one or more files, or drag files from your computer onto the tree.

Files says "N file(s) uploaded" when it is done. Each file is written whole, in one request:

Case What happens
A file with the same name exists in the folder That file is refused with "NAME: A file with this name already exists". The others are uploaded
A file larger than about 9 MB Refused by the server. Put large files in the workspace another way: from a terminal (curl, git clone, scp from the machine), or as media
You dropped a folder Not supported: drop the files themselves

Dropping files on the tree uploads them into the folder selected in the tree, not into the folder under the pointer.

Download a file

  • From the tree: right-click the file (or ⋯) and choose Download.
  • From an open file: click the download icon in its header.

The file is read into your browser, then saved. Folders cannot be downloaded from Files: ask the agent to make an archive, or use a terminal (zip -r out.zip folder/) and download the archive.

Rename, move or duplicate

Right-click an entry (or ⋯):

Menu item Effect
Rename Asks for a New name in the same folder. Open tabs of the file, or of files inside a renamed folder, follow the new path
Duplicate Files only. Makes name copy.ext next to the original
Copy the path Copies the path relative to the root, such as projects/site/index.html, for a message to the agent or a terminal
Open a terminal here Folders of the Workspace root only, and only for roles with a terminal. Opens a new terminal in that folder

Files has no drag and drop between folders. To move an entry to another folder, use Rename with a path relative to the current folder (../archive/report.md), or mv in a terminal, or ask the agent. A name already taken is refused. The bottom of the menu shows the date of last change and the permissions of the entry.

Delete: the trash

Move to trash (in red at the bottom of the menu) asks "Move “NAME” to the trash?" and then moves the entry to the folder .trash at the root of the workspace, under the name YYYY-MM-DD-NAME (with -1, -2 added when that name is taken). Open tabs of the trashed file close.

Nothing is erased: to restore an entry, turn on Show hidden files, open .trash, and rename the entry back to where it was (or mv it in a terminal). Emptying the trash is done from a terminal or by the agent.

Search for a file

Type at least two characters in Search by name or content…. Results appear as you type.

Tab Searches Details
Names File and folder names Case-insensitive, part of the name is enough
Content Text inside files Case-insensitive, exact text (not a regular expression), files up to 1 MB. Each hit shows the file, the line number and the line

The search covers the current root. It skips node_modules, .git, __pycache__ and .venv, skips hidden files unless they are shown, and skips protected paths. It stops at 200 results and then says "first 200 results". Click a file to open it, or a folder to unfold it in the tree.

Open and preview a file

Click a file to open it in a tab on the right. Several files stay open as tabs; a dot on a tab means unsaved changes. The header shows the path as a breadcrumb, the size, and, for formats that have a rendering, a Rendered / Raw switch.

Format Extensions Rendered shows
Markdown .md, .markdown, .mdx The formatted page
HTML .html, .htm, .xhtml The page in a sandboxed frame, with widths Full width, Tablet and Mobile. Scripts do not run. Images and style sheets next to the file are loaded through Files (at most 60, 8 MB each); missing ones are counted ("N local file(s) not found")
SVG .svg The image
Image .png, .jpg, .jpeg, .gif, .webp, .avif, .ico, .bmp, .apng The image, fitted or at actual size (Fit), its dimensions, and a choice of background to judge transparency
Video .mp4, .webm, .mov, .m4v, .ogv A player
Audio .mp3, .wav, .m4a, .ogg, .oga, .flac, .aac, .opus A player
PDF .pdf The pages, drawn as you scroll, with zoom
CSV .csv, .tsv, .tab A table with sortable columns, the separator detected (comma, semicolon, tab or pipe). Up to 10,000 rows
JSON .json, .geojson, .webmanifest, .har A tree that folds (Tree), or a table (Table) when the file is a list of records
JSON Lines .jsonl, .ndjson One record per line, as a table or a tree. Unreadable lines are counted
Jupyter notebook .ipynb The cells and their outputs, images included
SQLite database .db, .sqlite, .sqlite3, .db3, .gpkg, .mbtiles The list of tables with their row counts, 100 rows per page of the table you pick, its schema, and a SQL box. The database is opened read-only
Font .ttf, .otf, .woff, .woff2 Sample text at several sizes and the main glyphs
Anything else Text opens in the editor. Binary content shows its size and a guess of its type (ZIP, gzip, tar, executable, Parquet, DuckDB…), with Show the bytes and Download

When a file has no known extension, or the wrong one, Files looks at its first bytes: a PNG named data.bin still shows as an image.

Raw shows text in the editor, and binary files as a hex dump of their first 64 KB (offset, hexadecimal and ASCII columns).

In the SQLite view, write a query and run it with Run or ⌘↵. A query returns at most 500 rows. Since the database is opened read-only, a statement that would change it fails.

Size limits for opening

Kind Limit Above it
Text in the editor 2 MB Opens read-only as a hex dump of the first 64 KB, with a message "SIZE: too large for the editor. Download it instead."
Image, video, audio, PDF 40 MB The same message, with Download
SQLite database none Read on the machine, page by page

Edit a file

Text files (code, Markdown, HTML, SVG, CSV, JSON, plain text) open in Raw in a code editor:

Feature Detail
Syntax highlighting Chosen from the file name, for most common languages (Markdown, Python, Go, JavaScript, TypeScript, HTML, CSS, JSON, YAML, TOML, SQL, shell, Dockerfile and many more)
Line numbers, folding, bracket matching, auto-indent Always on
Line wrap Always on
Search and replace ⌘F opens the search panel, with case, regular expression and whole word options
Several cursors ⌘-click adds a cursor; Alt-drag selects a rectangle
Undo, redo ⌘Z, ⌘⇧Z
Indent Tab and ⇧Tab indent and unindent the selection
Save ⌘S, or the Save button in the header

On Windows and Linux, Ctrl replaces ⌘. See Keyboard shortcuts for the shortcuts of the whole interface.

Editor in Raw mode on a Markdown report, with line numbers and the Save button

Saving

There is no auto-save. A changed file shows a dot on its tab and an active Save button; "Saved" confirms the write. Unsaved changes live only in the page: closing the tab asks "“NAME” has unsaved changes. Close it anyway?", and reloading the page loses them.

A save never leaves a half-written file: the new content is written to a temporary file next to it, then put in place in one step. A file written from the editor can be at most 32 MB.

When the file changed on disk

The agent and you may edit the same file. Each save carries the version of the file you opened. If the file changed on disk in between (a session rewrote it, a teammate saved it), the save is refused and a banner says "This file changed on disk since you opened it. Nothing was overwritten." Two buttons:

Button Effect
Reload from disk Loads the version on disk. Your unsaved changes are lost: copy them first if you need them
Overwrite Writes your version over the one on disk

Check the writing of a Markdown file

A Markdown file has a Check the writing button in its header. It runs the writing checks of the workspace (slopcheck and readcheck) on the saved file; a file with unsaved changes is saved first. The Writing check panel under the file lists each finding with its level (BLOCK or WARN), the check, the line, the passage and the advice. "Nothing to report" means no finding. When you edit the file after a check, the panel says "The file changed since this check".

Protected paths

These paths are protected, at any depth and whatever the case: .claude, .codex, .ssh, .config/gh, .env and .env.*. They hold logins, keys and tokens. They show with a padlock, and clicking one shows "Protected path: it needs a second code, which is not available yet." Files does not open, preview or search them, and a rename that would move a protected file out of its protected place is refused.

Keep credentials in Secrets, not in .env files: a secret in the vault is encrypted, granted to the processes that need it, and masked in outputs.

Confinement

Every file operation runs on the machine as an unprivileged Linux user, inside the two roots. A path cannot leave them: neither .. nor a symbolic link pointing outside works, and Files answers that the path is outside the root. A link from a message of a session to a file outside the roots says "PATH does not exist (or is outside Files)".

Files on a phone

Below 760 pixels wide, Files shows either the tree or the open file. The folder icon at the left of the tabs goes back to the tree.

Files is for humans. To read or write workspace files, use your own tools on the paths under $WORKSPACE_ROOT. When you tell a person about a file, give its path relative to the workspace (reports/2026-11-29-audit.md): the interface turns it into a link that opens the file in Files. Never put credentials in .env files or other files of the workspace: ask for a secret in the vault instead.