Share a project
此内容尚不支持你的语言。
A project room lets several people work on the same files of a remote project at the same time: everyone’s edits go through the one backend on the host, which orders them, saves them and keeps a shared history. You invite people with a link that carries a role and an end. Project rooms are In progress: the backend part is tested end to end, the window parts exist and have not been hand-tested yet.
Before you start
Section titled “Before you start”- The project is opened from a host, over SSH or as a paired host (Work on a remote host over SSH, Pair a host). A room lives with the backend on the host; a local project has none.
- Everyone who joins needs their own way in: an account on the host with SSH keys, or a device paired with the host. A link never replaces that; it only gives a place and a role in the room. Nothing new listens on the network for a room.
| Role | May |
|---|---|
viewer |
read files, see the others and their carets, follow, watch runs |
commenter |
also comment on lines, reply, resolve |
editor |
also change files and commit |
runner |
also run, debug, use terminals and agent tools |
admin |
also share, change roles and remove people |
A role never exceeds the channel. A device paired with view stays a viewer even with an
editor link; the device’s rights are the host owner’s decision at pairing. Once a project has a
room, every session needs a place in it: a person who was removed cannot get back in through a
paired device or another link.
Start a room and invite someone
Section titled “Start a room and invite someone”- In the remote project’s window choose File › Share Project…, or the Share button left of the avatars in the toolbar.
- Without a room the dialog explains what a room does and offers Start Room. You become the room’s admin.
- Pick the role, Viewer (the default) or Editor, and how long the link works: 1 hour, 1 day (the default), 7 days or 30 days. Every link made in the dialog ends.
- Choose Create Link. The link is shown once with its role and end. Only Copy puts it on the clipboard; close the dialog and the link is gone from your screen. Send it over a channel you trust.
Below, the dialog lists the links still in force with how long each works and a Revoke button; the secret of a listed link is never shown again. A revoked or ended link stops working within a second, also for guests already in the room.
- PasteFile › Join Project by Link… reads the link from the clipboard and shows host, folder, role and end.If not: Malformed or ended links are refused before anything connects.
- Host keyThe link carries the host key fingerprint; it is compared with your own known_hosts.If not: Different: refused as a possible attack. Unknown: you add the key yourself first.
- SSHYour own ssh logs in with your own account, post-quantum key exchange and the matched key only.
- RoomThe room admits the link; the project window opens with the link's role.If not: Revoked, ended or not from this room: nothing stays open.
Join a room by link
Section titled “Join a room by link”- Copy the link you received, then choose File › Join Project by Link… in any window.
- Paste (or ⌘V in the dialog). Before connecting, the dialog shows the
host and port, the project folder, the room, the host key fingerprint, the role and how long
the link still works. The secret part is shown as
••••and its last four characters. - Read the host key line:
- The host key matches your known_hosts: Join is offered.
- The key in the link differs from the one you trust: joining is refused, because this can mean an attack or a forged link. Ask the room’s admin over another channel.
- The host is unknown: Ferris IDEA never adds host keys itself. Connect once in a terminal with
ssh -p <port> <host>and answer yes only if the fingerprint equals the link’s; to see the fingerprints without logging in, runssh-keyscan -p <port> <host> | ssh-keygen -lf -. Then choose Check Again.
- Join. A project window opens on the folder, already in the room with the link’s role (or your higher one). If that project is already open from the host, the link joins there.
A link is a bearer secret: whoever holds it holds its role within their own account. Ferris IDEA
registers no ferris-idea:// handler with the system, so a web page cannot start a connection with
one; links are always pasted.
Manage the people in the room
Section titled “Manage the people in the room”The Share dialog lists everyone in the room now, you first, with role and away. An admin also sees members who are not there (not here) and a Remove button at each other member, which asks once more in the row. A removed person’s sessions close within a second, and no link brings them back. The last admin cannot be removed. Agents and guests are not members; they leave with their person or link.
While you are in a room, the status bar shows Room · N with the number of people there. Its tooltip names the room, your role, the others and the connection; a click opens the Share dialog.
What the host can see
Section titled “What the host can see”The backend on the host sees the plain text of the project: language services, the index and running code need it. Each connection between a window and the host is encrypted; the host itself is not kept from reading what is shared. Share a room only on a host you trust with the project.
When it does not work
Section titled “When it does not work”| Message | What to do |
|---|---|
| Sharing needs a project opened from a host | Open the project with File › Remote Development… first. |
| This link ended … | Ask an admin of the room for a new link. |
| The host did not admit this link | It was withdrawn, has ended or is not from this room. Ask for a new link. |
| You were removed from this room | Ask an admin to add you. |
| No post-quantum key exchange | The host, a jump host or your own OpenSSH is too old; see How remote connections are protected. |
| Only an admin makes links | Your role is lower; the dialog shows the people and your role only. |
For agents
Section titled “For agents”Agents create rooms, make and revoke links and change roles with the user-granted right ssh
(sharing also needs the admin role); a link made by a tool appears only in its answer, never in a
log. room_join_link checks a link like the dialog does and defaults to a dry run. An anonymous
link (viewer only, always ending, within 7 days) can be made only by a tool, for the WebSocket
endpoint.
room_createCreate the shared room of a remote project (SPEC-0323, Experimental): one ordering authority for typing, change sets, file operations and changes from outside, per-person undo, roles and a shared history.room_joinJoin the room of a remote project (SPEC-0323, Experimental), with a link or as a known member; withagentas an agent under that name, shown with it in the history, its role at most the person's and never admin (a named version is recorded first).room_join_linkJoin a project room by a full room link (SPEC-0323 v7, Experimental): the link names host, port, project folder and the host key's SHA-256 fingerprint.room_linksThe links of a room (SPEC-0323, Experimental): id, role, audience, expiry and state, never the secret.room_revoke_linkWithdraw a link of a room (SPEC-0323, Experimental); guests who came through it leave within a second.room_set_roleChange a person's role in a room, or remove them with roleremoved(SPEC-0323, Experimental); takes effect within a second by closing their session, and a removed person cannot return through a link.room_shareMake a link to the room of a remote project (SPEC-0323, Experimental): role viewer and audience organisation unless given;anonymousis read-only, always expires and never runs anything.room_statusThe room of a remote project (SPEC-0323, Experimental): id, participants with role, kind and presence, members and the journal position.
No tool matches. Try fewer words, or .