Commit Graph
11 Commits
Author SHA1 Message Date
CatoandClaude 5b0f93f117 feat(copy): the machine that runs the work is a runner, not a builder (#1482)
"Builder" meant three things on Loki's screens: the machine that runs
agent work ("Cloud builder", "Waiting for a builder"), the role on a
project, and the approved builder a customer books through Bitbaum. The
person keeps the word; the machine becomes a runner, the word the code
and the desktop app already use (box-runner, Fleet Runner, "Hosted
runner"). Not "engine": on screen that is already the model and
subscription a change is built with.

- every user-facing string where "builder" meant the machine, with
  EXECUTOR_COPY as the source, plus docs, quickstart, pricing and voice
- unchanged: the Builder role, "a builder or owner can start work",
  people who build ("App builders", "for one builder running Loki"),
  the site widget's "Send to builder" (the site's maker), stored
  transcript parsing, and internal codes and paths (needs-builder,
  cloud-builder-private, /api/builder/presence)
- tests that pin the wording follow it


Claude-Session: https://claude.ai/code/session_019MDtmw5m9WhdN77N2YeqDm

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-30 22:30:16 +01:00
CatoandClaude Opus 5.5 62bf5f6935 feat: fixes where things fail, plain Sessions, calm alerts, even layouts (#1334)
* feat(home): every failure carries its fix; one list, no repeats

* feat(alerts): one calm row for the bell and /system — one thing to read, one thing to do

The bell put "WARNING"/"INFO" in capitals beside every title, the whole
description, a bordered "View" and a bare tick; /system put each alert in a
beige or red box holding its full text (owner, 2026-10-19: "a bunch of
text ... some are red, some are green. Very bad design").

- components/alerts/AlertList: shared by both. A dot only for urgent or
  warning; the title; the description's first paragraph in at most two
  lines, the technical record behind "Details"; when; "Dismiss" as a word;
  ONE button named for where it goes, and the whole row opens it. No button
  to the page you are already on.
- config/alert-types: an optional `action` per type ("Review", "Fix in
  Projects", "Reconnect"), else a label from the destination
  ("Get the update", "Open Home").
- The system alerts' producers now open with what is wrong and what to do,
  in plain words, with the old engineer's text kept as the record:
  runner version (and the cloud builder, which updates itself, no longer
  says "Get the update"), missing repositories, telemetry, a stalled queue,
  model ids.
- /system: a divided list in the card; the count reads "3 open · 1 urgent".
- scripts/test/alert-list-browser.ts mounts both at 390px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

* feat(sessions): open sessions in words, every other project one tap from its own

The Sessions drawer listed all 42 projects, each with one of four coloured
dots, one of six codes (ready / offline / open / closed / working / —), the
age of a database row and a git-branch icon; a tap went to Home. Owner,
2026-10-19: "what exactly do you mean by sessions? What will happen when I
click on AOZ Housing? ... super useless".

- Open now: only sessions the runner has seen open in the last ten minutes,
  each in words that say what a tap gives you (Working on <task> / Waiting
  for you / Finished — your turn / Open, nothing running). A tap attaches.
- Start in another project: plain rows with when an agent last worked there
  (its own handoff time, not the row's heartbeat), a search, Show all. A tap
  opens the project on the Sessions page, which now offers its Resume row
  instead of "Start it from Loki".
- No colour legend (one pulse for working), no branch icon, no codes.
- lib/session-list is the pure SSOT for the words; tests: session-list,
  sessions-drawer-browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

* fix(ui): chat starts under its header, nothing floats over the terminal, one shape for project settings

- Chat view: the thread no longer bottom-anchors (mt-auto) a short
  conversation onto the box, which left ~200px of nothing above the first
  message. Dispatch details is a centred 44px row; reply steps are one
  grouped list.
- Terminal: "Last screen · updating" was a pill over the output's first
  lines. It is a 2px edge bar now, and the header says "connecting…" until
  a live frame lands (the remembered screen no longer reports live).
- Project settings: every row is a SettingRow (what it is, its value, its
  actions), and every action one bordered 44px shape whichever control drew
  it. The phone section picker is one full-width control.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

* fix(projects): publish actions take the settings row's size

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 20:31:40 +02:00
CatoandClaude f2b6fc7e66 feat: Sessions, an even session sheet, a terminal that scrolls, no ragged choice rows (#1331)
What the owner saw on a phone, and what changed:

- "Terminal" over a "Claude | Terminal" pill: the page is now Sessions, and
  the pill is Chat | Terminal for every agent. The agent is named once, under
  the session's name; an agent with no chat view gets no switch.
- The black terminal would not scroll: vertical swipes now belong to the
  terminal (touch-action: pan-x), and a swipe past the oldest kept line says
  so and offers Chat, where the whole conversation is.
- The model sheet: Model and Effort are <Segmented> rows — equal cells, one
  line, the chosen one's meaning under it. "Next mode" (whose result showed
  only "with your next message") is a list of modes; a tap presses Shift+Tab
  until Claude Code's own footer names the one chosen, read live from the
  session's screen (use-live-mode, lib/claude-mode-footer).
- More: no duplicate "Feedback on this page" row (the edge tab is on every
  page); sections regrouped so none is a heading over one row — Build
  (Home, Projects, Sessions, Prompts), Loki (chat, Voice, Today,
  Suggestions), To review, The fleet. "No-screen" is Voice.
- Every pick-one row that wrapped into "4 + 1 orphan" on a phone is now
  <Segmented> (even row or grid), a one-line scrolling filter row, or one
  row per choice; scripts/test/choice-rows.ts fails on the old shape.
- A page whose header is only its (phone-hidden) title no longer leaves a
  blank band above its content — Home opened on one.


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 18:28:45 +02:00
CatoandClaude 556133788b feat: Home, four tabs, and a terminal that lists your sessions (#1327)
Walked as the owner (2026-10-19): what you expect, what happened.

- "I want something built." Control is now Home, and opens on the box:
  what to build, with a project chip (the one you were last in, one tap to
  change), sent to that project's agent via /api/inject. The empty
  "Nothing is being built right now" card and its "Start something" (which
  left for /loki) are gone. Done rows lead with what was done, not the
  request quoted back.
- "Where is everything?" The phone's bottom bar is Home · Projects · Loki ·
  More. Sections are grouped by thing — Build, Loki, To review, Your day,
  The fleet, Private — not by abstract question. "Control" is "Home" in
  every sentence that names it.
- "Where is my session?" With nothing open, the terminal lists your
  projects, each with Resume, which opens it and continues its last Claude
  conversation (/api/agent/launch {resume:true} → claude --resume of the
  folder's newest log; runner 0.8.48). No more form with two dropdowns.
- Autopilot's toggle is a quiet control, not the page's filled primary.


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 16:00:02 +02:00
CatoandClaude 9d53f55028 fix(terminal): name the agent, read the model from a limit, and make limit steps commands (#1324)
From the owner's phone (2026-10-19), a session that hit "You've reached your
Fable limit":
- The header and box said "cloud builder" and "Message the agent…": no
  live process badge yet. They now name the agent the tab resolves to.
- The model chip said "Model": Claude Code's limit line carries no model.
  It names the one that hit the limit, and the chip now reads it ("Fable").
- The replies were sentences sent to an agent that answers nothing until
  the limit is dealt with ("switch to a different model with /model",
  "request additional credits from the user"). A limit now offers Claude
  Code's own commands, typed as commands: Use Opus, Use Sonnet, Continue
  with usage credits (/usage-credits, added to the command list).
- The next-steps prompt now says every line is sent TO the agent.


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:34:47 +02:00
CatoandClaude cde8d5f688 feat(terminal): phone session reads like a chat app — name in the header, one "+" (#1320)
The phone terminal had five bands of chrome around the session: the app bar,
a scrolling row of session tabs with "+" beside it, a full-width view switch,
the box with a paperclip AND a slash button, and the bottom tabs.

- Header: back to Control · the session's name with "Claude · 2 sessions ·
  cloud builder" under it · ⋮, and the Claude | Terminal pill centred below.
  The name opens the session sheet (every session, New session, where it
  runs, agent); ⋮ opens TerminalMoreSheet (What's going on?, full screen,
  text size, live keystrokes). No row of tabs to run off the edge.
- An open session hides the app bar and bottom tabs below md
  (useImmersiveChat), so the session gets the screen and back is the way out.
- The box is + · model · mic · send. "+" opens one sheet: photo or
  screenshot (presses chatkit's hidden paperclip, so paste and
  Camera/Photos/Files stay chatkit's), Keys on a phone, the agent's
  commands, Loki's records and the prompt library.
- Conversation view: next steps are reply rows under the answer, sent by
  the box's own path (sendRequest). Terminal view: What's going on? and at
  most two steps in one sideways row.


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 13:12:58 +02:00
CatoandClaude 835e3f21e6 fix(terminal): one feedback launcher, "+" that stays, keys that close from the deck (#1318)
From the phone: the header's feedback button duplicated the widget's own
edge tab beside it; "+" scrolled off the right edge with two sessions
open; the key deck had no way out but the faint round button it came
from, and the owner refreshed the page to be rid of it; "Starting Claude
in …" after Start was a sentence with no spinner and read as a dead end.

- The terminal header has no feedback button. The widget's edge tab is
  on the page and is the one launcher.
- "+" sits outside the scrolling session row and keeps its place.
- The key deck's lane starts with a hide cap, and the corner button is
  solid when the keys are up.
- After Start, a spinner and "Opening Claude in … — the session appears
  here in a moment".


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 12:16:29 +02:00
CatoandClaude 882016e080 fix(terminal): a command is typed then entered, one Loki sheet on the phone, Keys keeps the terminal (#1316)
From a phone the owner switched the model and the session answered
"Model 'opusWhy is the name of the repo…' not found": the command and
its Enter went in one write, Claude Code read it as a paste, the Enter
became a newline, and the next message was typed after it. Then
"What's going on?" opened a sheet with a second composer and a second
model picker, which led to Loki chat and its own "Choose a model".

- Every command button types its words, then Enter as its own
  keystroke after a beat (lib/session-keystrokes typeCommand), and
  commands queue behind each other so two quick taps never interleave.
  Covers the model sheet, the commands sheet, the screen's action chips,
  the rail's "Type it" steps and a "/model opus" typed in the box.
- On a phone, "What's going on?" opens the answer: TerminalLokiRail in
  sheet form has no composer, no model picker, no run-status filler, a
  visible question button and one link to continue in Loki chat.
- Keys open hides the next-step row, so the terminal keeps its lines.
- Loki's model picker is named as Loki's ("Loki answers with"), and on
  a phone its button shows the model's name beside the count instead of
  "your key" alone.


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 11:19:23 +02:00
CatoandClaude 9e5319a9f8 fix(terminal): model chip in both views, commands as a sheet, nothing jumps when you type (#1314)
From a phone the owner could not switch models in the Terminal view, and
the screen jumped around whenever the keyboard came up.

- The model chip is in the Terminal view too. TerminalSessionInfo reads
  Claude Code's log itself, because the terminal view has no
  conversation loaded. The box's row is now identical in both views:
  attach, commands, model, microphone, send. The chip names only the
  model, so it fits.
- Keys moved onto the terminal's bottom corner. It acts on the screen,
  and in the row it squeezed the model's name to "Op…".
- The slash button opens a bottom sheet instead of a panel pinned above
  the box. The pinned panel ran over the header with the commands
  clipped. Its search no longer grabs the keyboard on a touch screen.
- While the phone keyboard is up, the app bar and the Chat/Terminal
  switch step aside, and the next steps go to one sideways row, so the
  terminal keeps its height.
- The conversation tab reads "Claude" from the first frame instead of
  "Chat" turning into "Claude".


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 06:28:15 +02:00
CatoandClaude 071ef57447 fix(session): switch to Fable or Opus from the phone, see it confirmed; the terminal says it is opening (#1312)
From a phone the owner could not switch a session from Fable to Opus, and
opening the terminal showed a black pane before the screen appeared.

- The model sheet offers each family by Claude Code's own alias: Fable,
  Opus, Sonnet, Haiku. Fable was missing. Versions are never written
  down, because the aliases resolve to the newest model in each family.
- Claude Code's own "Set model to Opus 5.5", "Set effort level to high"
  and refusals ("Model 'x' isn't available for your account") are read
  from the session log as setting items. The sheet settles on them at
  once and shows a refusal in Claude Code's words. The conversation
  gets a quiet line where the change happened. A runner too old to send
  these items still settles on the next answer.
- The chip reads "Model · Auto" instead of "Model? · Auto".
- The box's book button is now a slash button labelled "Commands and
  prompts". It always opened the agent's commands above the library.
- The terminal pane says "Opening the screen…" until the first frame.
  The server remembers each session's last screen, and a new viewer sees
  it at once, marked "Last screen · updating", until the runner's live
  replay lands. A remembered screen never counts as proof of life for
  the stall watchdog, and closing a session forgets it.
- The conversation view's wait reads "Opening the conversation…".
- Fleet Runner 0.8.46 carries the log reader.


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-18 20:09:04 +02:00
CatoandClaude adfbdcfe07 fix(session): the builder updates, the sheet changes things, one box, a preview is the site (#1305)
The owner used Loki from a phone (2026-10-18) and could not tell whether
anything worked. Four separate faults, each passing every check:

The cloud builder ran code days behind the app. Its restart waits for
every agent to be idle, and autopilot refilled the queue the instant one
finished: ten consecutive deploys (23:38 → 09:12) found "2 agent(s)
working — deferring restart". Hence "Model: not known yet" of an answer
the screen was showing. Now, while the cloud runner's heartbeat version is
behind the deploy's, the commands route hands it no work-starting
commands (dispatch, launch_agent, auto_continue, browser_task) — a
person's own words into a session still go through — so the idle moment
comes, the restart lands, the queue resumes on the new code. Server-side
on purpose: a runner-side rule would have waited for the very restart it
was meant to allow. Control's builder line says "a newer version waits
for its agents to finish" meanwhile.

An agent renamed a preview site, committed, and reported "the work lives
only on this machine — tell Loki where this preview's remote should
live". The box contract says push or fail loudly; a preview folder is
served from disk and has no remote by design, so the change had been live
since the save and the owner read a failure and a chore. Every dispatch
to a preview folder now carries "Where this goes" (lib/previews/
delivery-note), and the contract has the same section.

The session sheet's Change and Set typed /model and /effort into the
terminal and closed; Claude Code drew its picker behind the conversation
and nothing on screen moved. Each row now lists its choices; a tap sends
the command with the choice named (/model sonnet, /effort high), the
sheet stays open and says what is changing, and settles when the log
names it. The sheet is built like the Settings sheet.

The session box had a 26px library button beside 44px round ones, a 36px
chip and a 34px Keys pill, the microphone second from the left in one
view and beside Send in the other, and "claude" on the tab beside
"Message Claude…". One row, one size, one order in both views; the
agent's name everywhere (terminal-strip-tabs badgeNames).

Widget: the owner's change list reads what needs them first (the line
counted nine, the list showed none); "9 needs you" → "9 need you"; a
failed call is named ("my call to Loki to save your note failed… Your
words are still here — press it again") instead of "one of my calls to
Loki failed — nothing for you to do".

Tests: runner-update-hold, preview-delivery-note, owner-changes-order,
session-sheet-browser (new); builder-presence, widget-changes,
widget-self-report, inject-context-boundaries extended.


Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-18 13:37:05 +02:00