ci / check (push) Failing after 3s
- Settings… lists the folders the agent may work in, with the system's folder dialog, remove, max mode and terminal, all through 'lembas remote … --json' (CLI 1.2.0). Turning the agent on with no folder opens it; the title bar says 'agent: no folders' instead of green. - The content webview's User-Agent carries LLeMbasDesktop/<v> (host=…), so the server can show this computer's device as Local. - The title bar menu pops up at the button (popup_menu_at): Wayland gave the pointer-less popup the middle of the window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
78 lines
3.2 KiB
HTML
78 lines
3.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="color-scheme" content="dark light">
|
|
<title>LLeMbas</title>
|
|
<link rel="stylesheet" href="tokens.css">
|
|
<link rel="stylesheet" href="app.css">
|
|
<script src="app.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<main class="card" aria-labelledby="title">
|
|
<header class="brand">
|
|
<img src="logo-mark.svg" alt="" width="40" height="40">
|
|
<div>
|
|
<h1 id="title"><b>LL</b>e<b>M</b>bas</h1>
|
|
<p class="muted">Desktop <span id="version"></span></p>
|
|
</div>
|
|
</header>
|
|
|
|
<section aria-labelledby="server-h">
|
|
<h2 id="server-h">[ SERVER ]</h2>
|
|
<form id="server-form" class="field" novalidate>
|
|
<label for="address">Address of your LLeMbas server</label>
|
|
<div class="row">
|
|
<input id="address" name="address" type="text" inputmode="url" autocomplete="url"
|
|
placeholder="https://ai.example" spellcheck="false" required>
|
|
<button type="submit" class="btn btn--primary">Connect</button>
|
|
</div>
|
|
<p class="hint" id="server-hint" aria-live="polite">Sign in there as you would in a browser.</p>
|
|
</form>
|
|
</section>
|
|
|
|
<section aria-labelledby="agent-h" id="agent-section" hidden>
|
|
<h2 id="agent-h">[ AGENT ]</h2>
|
|
<p class="muted">The agent lets agent chats on your server work in this computer's projects.
|
|
It is the LLeMbas CLI, built in, running in the background while the app runs.</p>
|
|
<p class="status" id="agent-status" aria-live="polite"></p>
|
|
<div class="row row--buttons">
|
|
<button type="button" class="btn" id="link">Link this computer</button>
|
|
<button type="button" class="btn" id="toggle">Start the agent</button>
|
|
<button type="button" class="btn btn--primary" id="open">Open the server</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section aria-labelledby="folders-h" id="folders-section" hidden>
|
|
<h2 id="folders-h">[ PROJECT FOLDERS ]</h2>
|
|
<p class="muted">Agent chats from your server can work in these folders and anything inside
|
|
them — nowhere else on this computer. Start one in the server's Agents tab, on
|
|
<strong>Local</strong>.</p>
|
|
<ul class="folders" id="folders"></ul>
|
|
<p class="status" id="folders-status" aria-live="polite"></p>
|
|
<div class="row row--buttons">
|
|
<button type="button" class="btn btn--primary" id="add-folder">Add folder…</button>
|
|
</div>
|
|
<div class="settings-grid">
|
|
<div class="field">
|
|
<label for="max-mode">The most an agent chat may do here</label>
|
|
<select id="max-mode">
|
|
<option value="manual">Manual — asks first</option>
|
|
<option value="edit">Edit — asks before commands</option>
|
|
<option value="auto">Auto — asks nothing</option>
|
|
<option value="plan">Plan — changes nothing</option>
|
|
</select>
|
|
<p class="hint">A chat asking for more is lowered to this.</p>
|
|
</div>
|
|
<div class="field">
|
|
<span class="label">Terminal</span>
|
|
<label class="check"><input type="checkbox" id="terminal"> Let the server open a terminal here</label>
|
|
<p class="hint">A shell as you, in one of these folders.</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|