Repository navigation
LLeMbas Desktop 1.0.0-beta.13
Pre-release
Pre-release
·
0 commits
to main
since this release
LLeMbas Desktop 1.0.0-beta.13
For LLeMbas server after 2.0.0-beta.15 (its files routes on /api/v2); with an older server the
server's tab keeps what it had, and what the server does not have says so in its own words.
Added
- Files › Server is a file manager. Move and Copy to… open a dialog that walks to the
folder -- no path is typed. Tick several things and a bar counts them and moves, copies or
deletes them at once, or downloads them as a zip; what the server refused is said by its
path, and the rest is done. A row dragged onto a folder (in the list, the tree or the crumbs) is
moved there, with everything ticked when it is ticked. Download saves a file, a folder (as
a zip) or one older version to a place chosen in the system's dialog; it is written there as it
arrives, never held in memory. Files dropped on the window from the computer are uploaded into
the folder they were dropped on. New file beside New folder. Trash: what was deleted,
restored or removed for good one by one, or emptied. Versions of a file: listed, an older
one made the current one again or downloaded. - A text file is edited in the viewer. Edit beside Preview and Source, Save (Ctrl+S), and
the edit can be looked at drawn before it is saved. A file somebody else changed meanwhile is
not overwritten: the server's sentence is shown with both ways on, Reload or Save
anyway. Closing an edit that was not saved asks first. A file you may not write has no Edit. - The viewer draws a file by what it is -- the server's own word for it, read from the file's
bytes, not from its name. Pictures; an SVG, only ever as a picture; sound and video in the
system's own players, which can seek; CSV and TSV as a table that scrolls in its own box (the
first 500 rows); a notebook, read-only, every cell and output as text; an archive of the
server's as the list of what is inside it (names and sizes; nothing is unpacked), where the
server lists it (LLeMbas after 2.0.0-beta.16); any other file as its details and Download. The
details pane shows a picture's thumbnail. - Files › This computer is one too, inside the agent's folders and nowhere else: new file and
folder, rename, move, copy, delete, several at once, drag onto a folder, edit and save with the
same care for a file changed meanwhile, and the same viewers from the file's own bytes. A
delete goes to the system's trash (on Linux, the desktop's own, through GIO); where a disk has
no trash the file is left alone and that is said. Every path is resolved and checked again in
Rust; a link that leads out of the folder is not followed for any write; and the LLeMbas CLI's
own files -- its configuration, data and state, and a project's.lembasor.agent-- can be
read here and are never changed. A folder that has a project's.lembasor.agentanywhere
inside it is not renamed, moved or deleted from here either, and a copy of such a folder leaves
those files out and says so. - A file is copied between the two. Copy to the server… on a file of this computer and
Copy to this computer… on a file of the server's, each into a folder walked to; a copy never
replaces what is there. - What a model made is shown in the chat. A generated or edited picture, a video, a piece of
music and a 3D model each get a card under the tool call that made them: the picture drawn,
video and music in the system's own players (they can seek), a 3D model drawn when you press
Preview. Each card has Open in Files, which shows the file in Files › Server where it
is now -- renamed or moved since, it is still found (LLeMbas after 2.0.0-beta.16) -- and
Download, to a place chosen in the system's dialog. A file since put in the trash says so.
A chat with very many pictures and players loads each as it comes into sight. - A long generation has a card of its own: what is being made, how it stands, for how long,
and Cancel. The card follows the job while it is on the screen; when the job is done the
player appears on the same card and the chat shows the reply the server adds. One that failed
says why, in the server's words. While the server cannot be reached the card asks less and
less often, and after a few tries says why and stops until the chat is opened again. - PDF and 3D models are drawn in the viewer (and a 3D model on a chat's card), by the same
viewers as the server's web interface, carried in the app: PDF.js for a PDF, pages drawn as
you ask for more; a preview of a model's shape (.glb,.gltf,.stl,.obj) that turns
with the pointer. Nothing is fetched from the network for it. - Sound and video attached to a message are shown with a player.
- Settings › MCP servers: the MCP servers your chats on the server may use, how many tools
each offers, and how its sign-in stands. One that needs you to sign in has a Sign in button
that opens your server's page for it in the system's browser; the list is read again when you
come back to the app.
Changed
- New file is made by the server and never written over an existing one: a name that is
taken is refused in the server's own sentence. (Before, the app looked at the folder first and
then wrote, and a file that appeared in between could have been emptied.) - Signing out with an edit that was not saved asks first. It used to be dropped without a
word. Signing out is also how another server is chosen. When it is the server that ends the
sign-in (a token that was revoked or ran out), the edit is kept: once you have signed in again
the file is open in the editor with your edit in it, still not saved -- and saving it over a
file that changed meanwhile is the usual question, not a silent overwrite. - A model that is not for chatting -- an embedding model, or one for speech, pictures or video --
is never offered in a chat's or a schedule's model picker, whatever a server lists.
Security
- A picture, sound or video reaches the viewer on a scheme of the app's own
(llembas-media:), a piece at a time: the page holds an address that names one file it was
allowed to open, never the app's sign-in, and Rust asks the server for exactly the piece the
player wanted. Only what a webview decodes and never runs is served there, each answer
sandboxed by its own policy. The page's policy gains that scheme for images and media, and
blob:for media (a player that will not take the address is handed the file whole, once). - A PDF and a 3D model are somebody else's file read by a parser, so they are never read in the
app's own page. They are drawn in a sealed frame on the app's sealed scheme: an opaque origin
with no access to the app, no network and no sign-in. The viewer's page and scripts are the
server's own, pinned by hash and compiled into the app; the app's page hands the frame the
file's bytes (read by Rust) and PDF.js as text, which the page's own policy does not let it
run. Nothing comes back from the frame but the word that it is ready. - A generated file is fetched by its id, and an attached sound or video by its attachment's id,
through the samellembas-media:tickets: the page still never holds the sign-in, and only
pictures, sound and video are served there. - A sign-in page for an MCP server is opened only when it is a page of the server the app is
signed in to; the app never sees or stores that sign-in. - Nothing the app saves or downloads is written in place or through a name that was already
there. A save and a download are written to a new file under a random name beside where they
are going, which takes the real name only once it is whole: a link planted in a project folder
is replaced, never written through, a save that breaks off leaves the file as it was, and a
download into one of the agent's folders never replaces something that took its name
meanwhile. A download larger than the disk has room for, or than 16 GB, is refused before it is
written. A copy reads only ordinary files, and when it fails it removes what it made and
nothing else.
Fixed
- A chat on a model that two connections serve named the wrong connection. The line under a
chat, the model under each reply, a scheduled task's model and the model a run ran on were
looked up by the model's id alone, and so named the first connection serving it, whichever the
chat was really on. The server now says the connection too (model_ref, LLeMbas after
2.0.0-beta.15), and that is what is shown and what the chat's menu ticks; a scheduled task
opened for editing keeps the connection it had. With an older server, or a connection that has
since been removed, the id is shown as before.