Repository navigation
NeoDesk 3.6.0-rc.4
Pre-releaseThis is the fourth release candidate of 3.6.0. It adds the neodesk command line with API tokens for scripts and AI agents, and a setup guide for the first admin of a new install. A computer whose key changed no longer passes as online while every session to it fails. It goes with the NeoDesk client 1.5.0-rc.6.
What's new
Command line and API tokens
Admins make API tokens for scripts under API tokens in the account menu. A token acts as the account that made it, with only the permissions picked for it, read only or read and write, for at most a year and, if you want, only from some addresses. It never gets the server's secrets or more than its account may do, and a revoked token stops working at once.
The neodesk command line uses such a token for everything the console's API does: 532 commands in 59 groups, all made from one table. neodesk describe prints every command with its arguments and permission as JSON or Markdown. neodesk mcp serves the commands as MCP tools for an AI agent, read only unless you add --allow-writes. Commands that run something on a device or the server need --allow-exec as well, and answers that hold secrets need --allow-secrets.
In the Docker image the command is neodesk. On Linux hosts /usr/local/sbin/neodesk is the installer's manager, so there the command line is neodesk-server cli.
neodesk login --url https://<console-address>
neodesk devices list
neodesk describe --format markdownPut your console's address in place of <console-address>. neodesk login asks for the token and saves it with the address for the next commands.
Setup guide for a new install
A new install opens with a setup guide on the overview, for the first admin. Its eight steps are: change the first password, turn on two-factor sign-in, set the address clients use, put HTTPS in front of the console, add your first computer, open a remote session, add the people who help, and make a backup. Each step leads to its place in the console and back, and the server ticks a step by itself once it sees it done. You can hide the guide, and Help and Settings bring it back. The backup step shows only to super admins, who may make a full backup. On the command line, neodesk setup-guide status lists the steps.
A computer keeps its connection after a restart
A Windows computer that joined with an invite could lose its key at the next restart. The server kept the old key and showed the computer online, but every session to it ended with "could not be secured". The server now asks a computer it knows for its key each time it registers. A changed key is refused, and with the client 1.5.0-rc.6 the computer's Home and tray say that the server refuses its key. Approve new key shows on its device page once its invite runs on the computer again, and the same invite works after the key is approved.
The client half, which keeps the key over a restart, is in the client 1.5.0-rc.6.
Smaller changes
- Leaving the settings while a save runs waits for the save instead of asking whether to discard what it saves.
- Leaving a page while part of it still loads no longer raises a page error, and a part that failed to load, such as the device panel, loads again the next time you open it.
- Help no longer lists sponsors and supporters, and CHANGELOG.md starts at 3.6.0-rc.2, the first release as NeoDesk.
- Tests that failed now and then, for chat sockets, the relay, mDNS and billing, are stable.
Upgrade notes
Update by running the installer again, as Updating describes. There is still no migration from 3.6.0-rc.1 or older: install NeoDesk fresh.
- Console sessions carry over: nobody has to sign in again.
- A computer whose key changed since it joined is refused after the update. It still shows Online in the list (see the known issues), but no session to it starts. To let it back in, run its invite on it again: its device page then offers Approve new key. Approve the key and run the same invite once more. Computers that joined with a client build from CI before 1.5.0-rc.6 lose their key at a restart, so expect this for them.
- The setup guide opens by itself only on a new install. On an install that is in use, Help and Settings show it.
- Quick support choices and the client half of the key fix need the client 1.5.0-rc.6. The client 1.5.0-rc.5 was never published.
GET /api/console/supportersis gone, with the supporters list in Help. Settings, Appearance no longer offers the theme preset of a former sponsor; a console that applied it keeps its look until you apply another one.- The core script for MeshCentral agents is served at
/neocore.js./meshcore.jsstill answers. - Custom CSS in Settings, Appearance that styles the accessibility helpers or the attestation badge by class name needs the new class names, which start with
nd-.
Install
With Docker, the first line installs this release. The second also serves the console over HTTPS at your domain, which has to point at the server, with ports 80 and 443 open:
curl -fsSL https://raw.githubusercontent.com/neodeskapp/neodesk/main/install.sh | sudo bash -s -- --version 3.6.0-rc.4
curl -fsSL https://raw.githubusercontent.com/neodeskapp/neodesk/main/install.sh | sudo bash -s -- --version 3.6.0-rc.4 --domain <domain> --letsencrypt-email <email-address>The image is ghcr.io/neodeskapp/neodesk:3.6.0-rc.4. The Linux and Windows pages have the commands without Docker.
Known issues
- A computer whose key the server refuses still shows Online in the console and in
neodesk devices list. Sessions to it are refused, and its client's Home and tray say that the server refuses its key. - Guest links, device tokens and support passwords that an API token made stay valid after the token is revoked.
neodesk mcpdoesn't ask you itself before a tool deletes or ends something. It makes the agent confirm first and leaves asking you to the agent and its MCP client, so give an agent a token with only the permissions it needs.- A few commands of the command line answer 404, because the console doesn't serve their route.
- Some command line tables show times without a time zone.
- Settings, Backup still shows a Server admin the buttons for full backups, which then refuse with 403.
- On SQLite, a backup archive holds the database file twice.
- The console's links that open a device in an app use
rustdesk://. They start stock RustDesk, and on a computer with only the NeoDesk client they open it on Windows and nothing on Linux and macOS. - HTTPS with Let's Encrypt hasn't been run against Let's Encrypt itself yet, not even its staging server. Whether Traefik replaces a staging certificate when you switch to a real one isn't known, and
--no-traefikalso removes aTRUST_PROXYyou had set for a proxy of your own. - Clients that use the console's address as their API server are signed out after the session duration even while they are in use: Extend session on activity and Maximum session lifetime don't apply to them.
- Some permissions only work together with another one, and the Permissions page doesn't say so. Delete devices, Ban, Change device ID and Change connection mode need Edit devices, and Create and Delete users need Edit users, for example.
- Access rules don't reach devices in device groups that are made from tags.
- Relay servers: the assignment rules are saved but not used; every device uses the default relay.
- USB and drive access and Fleet tasks can't save yet, as the banners on both pages say.
- Each browser session start logs a failed request for the quick support password (409), although the session works.
- A slow single sign-on provider ends in "OIDC authentication failed" or a bare page that says "OIDC callback proxy failed".
All changes since v3.6.0-rc.3
- chore: release 3.6.0-rc.4 (d7f76d8)
- docs: write the release notes of 3.6.0-rc.4 (241e306)
- chore: bump version to 3.6.4 [version-bump] (83d15d8)
- test: record the mail message vectors with NeoDesk's names (202ce61)
- test: record the QR code vectors with NeoDesk's names (215a912)
- refactor: drop the name parameters the old recordings needed in discovery, mail and the updater (11b58bf)
- refactor: remove the upstream name mapping now that the recordings use NeoDesk's names (f2dee56)
- fix: leave the old project's issue number out of the service unit's port change message (cb9d69e)
- test: record the update manifest signature vectors with NeoDesk's names (1e4e3ca)
- test: record the mail service's SMTP sessions with NeoDesk's names (e763f89)
- test: record the LAN discovery and mDNS answers with NeoDesk's names (1d0d2af)
- test: record the support client generator's vectors and routes with NeoDesk's names (fd629b7)
- test: record the branding vectors and store scenario with NeoDesk's names (6f982df)
- test: record the demo seed's rows with NeoDesk's names (baea1cd)
- ci: rename the CI test instances, test databases and web-ui volume to nd names (62eb296)
- refactor: rename the accessibility and attestation classes to nd (5ddf7fc)
- refactor: rename the bd packages, routes and contract groups to nd (7e3365a)
- docs: retake the README screenshots with the NeoDesk name (2d549a5)
- test: re-record the strings after the old project's texts are gone (cc768be)
- docs: cut the changelog to NeoDesk's own releases (27f6d45)
- docs: drop the old project's issue numbers from comments and messages (fdef23c)
- docs: remove the old project's credits and links (c24df8a)
- chore: remove the old project's logos and unused brand images (432fedb)
- chore: remove the old project's sponsors and supporters (9d377fd)
- chore: bump version to 3.6.3 [version-bump] (90679a3)
- fix: ask a known computer for its key when it registers again, so a changed key is refused instead of failing every session [L438] (f5d8c0f)
- fix: keep the device panel's stylesheets out of every page's head again [L422] (742b963)
- test: let the chat socket cases send the history they show and keep only the status before a too-big close [L432] (1fab8cf)
- test: give the relay's websocket tests a port whose websocket port is free too [L439] (eeed45b)
- test: allow the 404 for the month of a package another billing run deleted meanwhile [L427] (d1e6728)
- fix: stop code that loads on demand from raising a page error when you leave the page while it loads [L422] (d5fef50)
- test: let the mdns goodbye test accept a second announcement before the stop [L436] (df1c48f)
- chore: bump version to 3.6.2 [version-bump] (80fe5c8)
- test: record the contract goldens anew over the setup guide's texts and routes (5885758)
- test: record the language recordings anew over the setup guide's texts (90bed49)
- feat: let the command line show the setup guide's steps and show or hide the guide (766a8a4)
- fix: wait for a running save when leaving the settings instead of asking to discard what it saves (ca67881)
- test: let the setup guide's walk wait for a save to finish before it leaves the settings page (c2bd2af)
- ci: run the setup guide's walk on a new install in Chromium and Firefox (04b090a)
- fix: keep the way back to the setup guide on the screen on phones (72eb18e)
- fix: leave the setup guide's rows out when a settings file is restored (2b11cc1)
- fix: open the setup guide on the first start of an install nobody used yet, also when a command set its tables up first (eb306b0)
- fix: give the setup guide's backup step only to super admins, who may make a full backup (88a1446)
- test: walk the setup guide end to end on a fresh install, in Chromium and Firefox (f4df5ae)
- fix: center the way back to the setup guide on its line (28a27eb)
- test: add contract cases for the setup guide's routes (454d320)
- feat: show the setup guide on the overview, lead each step to its place and back, and bring it back from Help and Settings (5b8d4fa)
- feat: add the setup guide's texts in all 26 console languages (95b5197)
- feat: keep a setup guide for the first admin of a new install, with steps the server ticks itself (cd66ccc)
- chore: bump version to 3.6.1 [version-bump] (d42c675)
- test: re-record the goldens the api token texts change on 3.6.0-rc.3 (a95a3fd)
- test: record the language recordings anew over main's texts and the api token texts (12569a8)
- test: refuse a bad api token instead of falling back to the cookie that came with it (ad4ab30)
- test: re-record the goldens the api token texts and the admin_tokens table change on the new main (9855bc3)
- test: re-record the goldens the api token texts and main's new permissions change (15d79ff)
- fix: start the command line from a binary called neodesk.exe whatever system reads the path (75c0443)
- feat: let the command line accept the new key of a reinstalled computer and name the invite permissions (d300278)
- fix: name the agent permissions the device tools need in the cli help (337819b)
- test: give the full test token every permission the server knows (8c810fc)
- fix: show --password-stdin, the real defaults and what a setting switches off in the cli help (39d0972)
- test: record the api token contract cases and the goldens of the new console strings (b70ec41)
- fix: keep agents from running commands or reading secrets unless allowed, and the cli's token where it belongs (86c2f8c)
- fix: keep api tokens from the server's secrets and from checks by role they don't pass (2c17797)
- feat: serve the command line's commands as MCP tools, read only unless writes are allowed (ec5113b)
- feat: describe the command line as JSON and Markdown and generate its docs from the command table (fdbf4c1)
- test: fail when a console route has neither a command line command nor a reason to leave it out (220ab95)
- feat: add the neodesk command line for everything the console's API does (5e0473f)
- feat: let admins make API tokens for scripts and the command line (f0bbb5a)
Full Changelog: v3.6.0-rc.3...v3.6.0-rc.4

