Workspaces
A workspace is one folder that holds everything an assistant knows and may do: its chats, agents, extensions, permissions, work, memory and vault.




AskWhat did the plumber write last week? (in the workspace family)
family's mailbox. A workspace without a mailbox has no mail tools at all. AskRestart the web server for Acme. (in the workspace clients)
ssh_exec uses the keys and the trusted hosts of clients; nothing of family is in reach. AskUse the router-admin login. (in a workspace without it)
What it gives you
- One folder is the whole thing.
nocturn-data/workspaces/<name>/: copy it to back it up. - Separate vaults. Each workspace's vault has a key of its own, derived from its name.
- Separate tools. Extensions, the mailbox, SSH keys and the permission tree are per workspace, so the one for a client's servers has no way to the family's mail.
- Switch per device. Each phone or browser chooses its active workspace; the others are untouched.
- Nothing to restart. Workspaces are created, renamed and deleted while the daemon runs.
How it works
Every command the app sends names its workspace, and the daemon answers from that folder alone. On the command line, -w <name> chooses it; the default is main, which is always there.
Create one
- Open Settings › Workspaces and tap New workspace.
- Name: lowercase letters, digits,
-and_, starting with a letter or digit, such aswork. It is the folder's name and the input to the vault key: it never changes. - Display name (optional): a label you can change any time.
- Tap Create.
Switch to it from the drawer: tap the workspace at the top, then pick it. Manage workspaces opens the list.
Rename or delete one
On a workspace's page, change Title and tap Save title: only the label changes. Delete workspace moves the folder to workspaces/.trash/<name>-<time>, with its chats, notes and vault; nocturn stops serving it at once. main cannot be deleted: it is created again at start.
Back one up
Copy nocturn-data/workspaces/<name>/ together with nocturn-data/master.salt, and keep the passphrase apart. Never rename the folder: its encrypted files are keyed to the name.
What is inside
| File | What it holds |
|---|---|
workspace.json | its title and settings (Configuration) |
permissions.json | the permission tree's stored rules |
vault.enc, secrets.json | its secrets and where each may go |
extensions/, agents/ | installed extensions, agents |
chats/, agent-runs/ | conversations |
work.json, inbox.json, widgets.json | work items, the Inbox, Home's widgets and watches |
memory/, mnt/ | memory notes; the files the assistant may read and write |
mail/, ssh-hosts.json | the mailbox, trusted SSH host keys |
The full list: Configuration.