Repository navigation
LLeMbas Desktop 1.0.0-beta.9
Pre-releaseLLeMbas CLI 2.0.0-beta.9 inside, the look and words of LLeMbas 2.0.0-beta.11.
Changed
-
Where a new agent chat works is one slim bar above the composer, the same bar the web
interface has. Computer, folder and mode are three chips of the header's family on one line
directly above the message box, each opening its menu upward -- no longer split between the
header's title (computer, folder) and its settings (mode). A long computer name or path gives
with an ellipsis (the whole of a longer one behind Details); the mode is never cut. Where the bar is
narrower than 30rem it is one summary chip across it -- "studio · project · Edit" -- that
opens the three as a column above it, each with its label in front; choosing closes it. The
computer is always said, also where it is the only one linked. An open agent chat is unchanged:
its folder and computer beside the title, its mode with the settings. -
The composer's chips wrap; nothing in it scrolls out of sight. The chips' line was a
sideways scroller with its scrollbar hidden. It wraps onto another line now, and a chip wider
than the line shortens with an ellipsis (checked at 1920, 1280, 1024, 800 and 390 px). -
A tool call is shown as in every LLeMbas app (harness specification 3.7.0). One row: a mark
for its state -- running, done, failed, denied, each told apart at a glance -- an icon for its
kind, what the tool is called, the call's one short title (the command, the file, the pattern,
as the server'sblocksays it), then the facts from its result:+3 −1for an edit,exit 2
for a command that failed, the hits of a search, and how long it took where the server keeps
it. An edit shows its change without a click, as a diff coloured line by line instead of raw
text. A failed or denied call says the first line of why beside its title. A tool that is not
a call (the plan's own) is not drawn; a call still "running" in a reply that has ended is shown
failed, never left spinning. What you opened stays open while the reply is written. -
How a reply that did not finish ended stays on it:
Stopped: by you,Stopped: step limit,Stopped, orFailed:with the error's first line (the whole of a longer one behind Details) --
one line under the reply, in place of the raw error and "Stopped.". -
The progress texts and the display rules are the specification's own.
ui/js/spec.jsis
written byscripts/fetch-spec.shfrom the CLI'sharness/loop.json(3.7.0), with the
specification's conformance cases beside the tests; the thirteen phase texts are no longer a
hand-kept copy in the page, andscripts/gen-i18n.pyreads the sentences to translate from
that file.
Added
-
The composer has the
/and@menus. Typing/at the start of the message lists the
commands: the app's own --/help,/usage,/compact,/effort,/mode,/title,
/terminal,/activity,/sidebar,/theme,/image,/new,/temp,/continue,
/stop,/devices,/scheduled, each doing what the app's own control does -- and, on an
agent chat, the computer's own commands and skills, which are sent to it as the message they
are. Typing@after a space lists what can be mentioned: on an agent chat the computer's
files first (chosen, the path goes into the message as the agent reads it), a web address as
a page to read, the server's files, and what is already in the chat. A file on the server
can be attached this way: in a chat on the server Enter mentions it by its path and
Shift+Enter (or the row's button) attaches a copy; in an agent chat it is attached. An
earlier attachment and a page are attached as the usual tile. Arrows choose, Tab completes,
Enter runs or attaches, Esc closes; a message that only starts with a slash (//, a path, an
unknown name) is sent as written. The menu is the composer's own width, directly above it, at
any window width. Needs a server with the menu routes (2.0.0-beta.11); an older one offers
the app's own commands only. -
The
pythontool runs in Desktop. A chat on the server open only in Desktop had no page
to run Python in, so everypythoncall in it failed ("no open browser page is attached to
this chat"). The window is the chat's page now: while such a chat is shown it says so to the
server, takes the chat's calls and answers them -- output, last value, errors, and the files a
call asks to save -- with the same limits as the web page's runner. The code runs in Pyodide
in a hidden frame of its own, with no way to call the app and no network: the app downloads
the server's pinned Pyodide files once, checks each one's size and SHA-256 against the
server's list, and serves them to that frame itself. Needs a server with Python switched on
and the app's runner routes (2.0.0-beta.11). An agent chat's code runs on its computer, as
before. -
The terminal: End shell, the open shells, and connecting again. The panel has End shell
(asked first: what runs in it stops). Where the server refuses one more shell, the ones you
have open are listed -- computer, folder, since when -- each with End. A connection that is
lost (the network, the server restarting, the link to the computer dropping) is tried again
by itself after 1, 2, 4, 8, 15 and 30 seconds, counted down, with Reconnect now; when a shell
opens again it says in one line whether it is the same one or a new one. A shell that exited or sat idle is not
replaced by itself: New shell is yours to press. Ending and listing shells need a server with
those routes (2.0.0-beta.11). -
The Terminal button says why it cannot open. On an agent chat whose computer is not linked
right now, or does not open terminals, the button is there, dimmed, and says why and how to
switch it on (for this computer, with a way straight to the setting). The computers are read
again every few seconds while it waits, so the button comes alive the moment the computer
links -- the chat need not be opened again. -
Approval cards: Deny, and say why. The four actions every LLeMbas app offers, under the
same words: Allow once, Always allow, Deny, and Deny, and say why -- your words go to the model
with the refusal, so it need not ask what you would rather. -
Question cards: Something else, and asking back. Under the options (the recommended one
first) a row of your own to type an answer, and one to ask the model a question back instead of
answering. Several questions are sent at once; a card that may be put aside has Dismiss. -
Plan cards: Revise, and the mode the work goes on in. A device's plan is approved into Edit
or Manual; Revise sends it back with what to change; Dismiss decides nothing. A plan sent as
text is drawn as Markdown. -
Something to do on the phone is said on a card (confirm it there), and can be declined.
-
A reply ends when it is saved; the chat's name follows. With server 2.0.0-beta.11 a new
chat is named by a model after the reply is done: the name arrives on the same stream and the
header and the sidebar take it, without waiting for the next refresh. -
A visual pass over every screen at 1920, 1280, 1024, 800 and 390 px, dark and light: the
composer's Send sits at the card's edge (a hidden Stop left its gap behind); a scheduled
task's history has its columns shared by every row, so a status is never cut short and the
dates line up; at 390 px a scheduled task's name is whole in its header with the buttons under
it, and Draw a picture is not cut; a model that only thinks or does not says Thinking instead
of a level's name; a subagent's row in the activity panel has the same room above its name
as under its last line. The test suite now walks every screen at those sizes in both looks and
refuses a sideways scroll or a control outside the window or cut off.
Security
- One chat's Python never meets another's. The
pythontool's worker kept its globals and
the files a call was handed for as long as the app ran, so code run for one chat could read
what another chat's call had been given. The runner's frame is now thrown away, behind any call
still running, whenever the window becomes another chat's page or leaves a chat; the next call
gets a new one, and the frame's own storage is cleared when it starts. Signing out, another
server or another Pyodide release on the server drop it too, and the app stops serving the
release it had made ready. A call's value, error and saved files are held to the call's limits
as its output already was. The window's own page can no longer be taken to the runner's address. - What is typed while the terminal reconnects is not sent to a new shell. Keys typed while a
lost connection was coming back went to whichever shell answered -- also a new one, where the
end of a half-typed line would have run alone. They are held until the server says which shell
it is: the one that was running gets them; for a new one they are dropped, and the panel says
that what was typed during the reconnect was not sent. Typing ahead of a shell that is being
opened for the first time works as before. - A device's command is sent to the device, never run as one of the app's own, and a name
that is not a command's (a space, punctuation) is not offered. Another computer's commands are
not offered while this one's are being read.
Fixed
- The window says it runs a chat's Python only once it can. It announced itself to the
server before the runner's files were there, and kept doing so when they could not be fetched:
calls went to it and timed out, also where a browser tab of the same chat could have run them.
It is announced when the runner is ready; until then, and where it cannot be made, nothing is
announced, nothing alarming is shown, and it is tried again more slowly each time. - A long reply is not declared lost for being followed again. Only a stream that gives
nothing -- closed as it opens -- counts towards "the connection to the reply was lost". - The terminal: a shell that answers and drops at once is tried again after longer each time
(it was every second, for ever); a window let go for not keeping up waits before it connects
again; a connection that failed late no longer writes over a newer one's line; End shell ends
the shell the panel showed when it was asked, found by its computer as well as its folder. - The
@menu: nothing of an earlier lookup can be chosen while a newer one is on its way;
Enter then neither picks from the old list nor sends half a mention. - Settings marks the last group when the page is scrolled to its end; the
/menu's line of
keys is not shown at a phone's width, where it wrapped and took the list's room. - Nothing asks the server again as fast as it answers. A
pythonpoll answered with nothing
at once waits before the next (1 s, doubling to 30 s); an activity stream that closes as soon as
it opens is opened again more slowly each time; a reply whose stream keeps ending without its
end is read again three times, then says the connection was lost, with Read again. - "Always allow" only where it may be. An approval the server says can only be allowed once
(always: false) offers Allow once, Deny and Deny, and say why. - The calls running right now are drawn while a reply is written (the stream's
tail.calls),
as finished ones are; a call's time is the server's own word for it. A failed reply's whole
error is behind Details under its last line, not in a tooltip. - The Terminal panel did not open once Settings had been visited. The switch "Let the server
open a terminal here" in Settings had the panel's own id, so after Settings was drawn every
later attempt to show the panel showed or hid that switch instead, and no shell was opened
until the app was started again. - Keys typed while a shell was still being opened were dropped. They are kept, in order, and
sent the moment it is open. - Typing in the terminal waited on a timer. The socket's thread looked at what was typed only
between reads that each waited up to 40 ms; a keystroke wakes it at once now, and its echo is
read within a few milliseconds while the shell is in use. - The terminal's last row and column could be cut off. Its fit counted the box's padding as
room; it measures the room inside it now. - The title bar at narrow widths: with the server's address hidden, every item after it moved
one column to the left -- the window's buttons onto the separator's and the menu's tracks,
unequal and off the edge -- and at the window's smallest size (360 px) the bar was wider than
the window, so the whole app scrolled sideways. Every item keeps its track, and the bar fits. - A question's typed answer was ignored when an option was also picked.
- A menu opened at the window's right edge could reach half a pixel past it.