leonidstern/labit
Pin comments on pages; your agent reads them as plain text and answers on the pins. Skill: wait, fix, reply on the pin.
Changelog
Versions follow semver. Before 1.0, a minor version can change how things work.
Unreleased
0.7.1 · 2026-11-21
A big round on top of 0.7.0: pins that find their place again after edits and dev-server reloads, a calmer widget on phones, questions you answer with a tap, pictures in comments, drawings that send themselves, and a board you can open over a page (off for now, see below). The full list as it landed is at the end.
Better
- Pins that stay put. A pin is found again by one scored search and kept only when its words or place prove it; a doubtful one wears the unsure look, a lost one moves to the ⋯ menu and the agent is told. A reload puts back what you did to the page (scrolled boxes, opened details, typed words), and an open card stays beside its pin while the page scrolls.
- Dev servers. Pins follow the app's own navigation, a save patches what it should and keeps what you typed, React, Vue and Astro pins name their source line, and page errors reach the agent with the pin.
- Pictures. Paste, drop or
+a picture into a comment or the chat; the agent reads each as animage:line. - Questions with a tap. A tap answers at once (undo for 5 s), keys 1 to 6 pick on a computer, each choice can carry a hint line, and the card stays inside the window.
- Drawings are quick actions. The mark becomes the action the agent reads (X removes, a circle fixes, an arrow moves…); a drawing sends the moment you lift, with no box; a red pen that follows pressure; Shift makes a line straight and a box a rectangle.
- Agent pins grow up.
labit pincan ask (--question,--choice), pin on words (--quote), pin many at once (--file); "Do it" and ticks reach the agent; status lines lapse after 3 minutes. - Wifi without a second lab.
labit inviteturns wifi on in the running lab and prints the one-time link; links to this lab in a reply open on the device you read them on. - Phones and motion. Threads and the chat open at the right message, sheets carry on at the finger's speed, Reduce Motion crossfades, touch targets are 44 pt.
- Plugins for Codex, Cursor and opencode (no MCP): live status and wake from one hook file, next to the Claude Code plugin.
- Shortcuts. D draws (hold), E shows or hides done threads (and resolves an open one); the ¼ speed key can be rebound like the others.
Boards (a setting, off by default)
Boards (pictures and pages side by side, +board sections in a page, a board drawer over it) are behind a new boards setting for now: set "boards": true in labit.json or your settings, or LABIT_BOARDS=1. Off, the page offers none of it, and boards already made stay in .lab/boards/. On, a board opens empty, a plain drag draws a selection box, Space pans, frames move and delete together, and a page comment opened over a half board closes it first.
Removed
- Select mode, the fluid selected-words dialog, ink on selected words, the pointer/comment switch (Option pins on anything now), the actions editor on the page, and the
nativeflag (the browser does the work, always).
Smaller and steadier
- Page scripts ship brotli-packed and the page script is lazier (section bar, motion controls and the board are parts loaded when used); lab.css is built minified; the skill text is shorter.
- Browser tests run on eight runners on the maintainer's Mac, only the ones a change can break; thousands of seeded cases hunt silent failures in dev sync, hot reload and agent sync.
Every change as it landed
- Status lines lapse, pin numbers are their own. A pin's status line (
reply --progress, or the plugin's) counts as a sign of life for 3 minutes, then the pin greys and comes back to the next wait as if it had none; the plugin renews a line only for the session's own tool calls, only on a pin somebody claimed, and says "session activity" (no helper commands). Each new pin takes its number when it is made (the page's highest + 1, even when several are made at once), so two pins on a page never share a number and a resolved pin's number is not given again; older pins keep the numbers they showed. - A smaller package (−1.3 KB). The server bundle drops code nothing reaches: the page-script builder that only a checkout uses is no longer in the npm bundle, the comments API works on the lab's own store directly (no Redis-style command layer), the lab's mark is read from the tab icon file instead of a second copy, and
--helpand a few helpers say the same things in fewer words. Nothing you can use changed. - Ink on selected words (the
inkOnTextexperiment) is gone. Selecting words for a comment gives a pin on them, as it always did; an oldinkOnTextin a settings file gets the "not something being tried now" note and nothing else. - The server bundle (
dist/local.mjs) gets the same name shortening the page script has (scripts/build-cli.mjs): the npm package is 1.7 KB smaller. - Agent pins, six better. The skill has a short part of its own for them (when to pin, one point per pin, about 8 an ask, read the selector from the file, say how many were left). A browser checks the selector of
labit pin: the page the pin is on draws it, and when the selector matches nothing it marks the pin, and the command (it waits up to 3 s when a browser has the lab open;--no-checkskips that) and the agent's next wait saypin <id> matched nothing on /page: <selector>; when it matches, the browser saves the element's tag, words, box and heading once, so the pin is found again after edits. With no browser open the pin is saved unchecked, and the command says so. - Pins that ask.
labit pin <selector> "text" --question, or--choice "A" --choice "B" --recommend B, makes the pin itself an asking pin (amber ring); the first message of a thread can now carry choices, and the pick comes back in the nextwaitasPicked B: …. The server takesintent: questionandchoiceson an agent's first message. - "Do it" and ticks reach the agent. A "Do it" button on a pin the agent left sends "Do it" back as a reply marked
doit; the nextwaitshows it as " said: do it". When people tick (resolve) the agent's own pins, the nextwaitsays "ticked: 2 of your 5 pins" once. - Pin on words, many at once, on boards.
--quote "exact words"makes a text pin on those words (the browser finds them in the element).labit pin --file points.jsonsaves a list in one call (ids printed).--board <name> --frame <id> <selector> "text"pins on a frame's element,-instead of the selector on the frame itself (--atpx from its top left), and--board <name> - "text" --at x,yon the board. - Variants behind a dev server.
labit board new … --of /page --variants Nno longer refuses a page it can't copy (a lab in front of a dev server): each variant is the live page with?lab-variant=<frame>, and the agent branches onnew URLSearchParams(location.search).get('lab-variant')in the page's source. A pick says which branch won and to remove the branching. - A board of variants starts with the page as it is now.
labit board new … --of /page --variants Nadds the live page itself as the first frame,a, labelled "now" (the real page, not a copy), and the N copies come after it asb,c,d… so the options sit beside the current version. - Arrow keys on a question card. On a computer ArrowDown / ArrowUp move the ticked row (tried in the page, as pointing does), stopping at the ends, and Enter answers the ticked row. Same rules as Enter and 1 to 6: not while a text box has the focus, no modifiers, the open thread card only; the page does not scroll while they are used.
- No "sent · undo" strip above the bar. The first comment of a new pin still closes its card; undo stays for 3 s by opening the pin, and Command-Z. The skill asks agents to put a question's options on the pin they answer (
--choice), never elsewhere on the page. - Section bar: a tap only scrolls, and only new content marks. Tapping a section in the bar goes to that section and opens no comment; a section is in the half ink only when its own content is new or updated since you last looked, no longer because it holds an unread pin (pins keep their own unread marks). Headings that are titles of repeated items (the cards of a grid, a list, a set of articles) are not sections, so a page of option cards no longer fills the bar with one item per card.
- The agent's "on it" messages fold and never count as unread. Once a thread has its answer, the status messages before it become one small muted row, "2 updates ›" (tap to open them in place), in a pin's thread and in the chat. Until the answer comes the latest still shows. They no longer light the pin, the chat count, the section bar or the tab title. The skill now asks agents for no
--on-iton quick asks, one--progressline on long work,--questiononly when blocked, andresolvewith no words for a plain "go" or a pick. A status that arrives while you type in a thread is added in place, folds in the chat per thread (interleaved threads fold into one row each), and opening a row keeps its place and its keyboard focus. "On it, fixed by…" as a real answer is no longer taken for a status. - The built page script (
public/_lab/comments.jsand its parts) is no longer kept in git, so two PRs that change the widget no longer clash in it. A lab started from a checkout builds it when it's missing or older thansrc/,npm testbuilds it first, CI builds it before testing, and the npm package ships it built as before. - Pins on the same file are named together. When a wait hands over several pins, a line above them says which share a file (
Same file: options.html: 2, 5, 7), only for groups of two or more, so one helper can take the group. - Helpers, in the skill. One listener answers every pin itself and hands only long, independent jobs (builds, research) to helpers: one helper per group of pins on the same file, one writer per file, a
--progressline on each pin a helper works on, and the main agent sends every reply. - A progress line is a sign of work, always. The plugin's hook now renews a helper's line once a minute while the session waits on it, so a long build inside a helper no longer ends in "Still waiting for your answer … no sign for 3 min" while it runs. The hand-off's reminder and the 2-minute "not answered" check both count a line from the agent or the hook (tests added).
- The ¼ speed key can be moved like the others:
slowinshortcuts(labit.jsonor your settings) was refused as "not an action" and S stayed. Another action put on S is now said when the lab starts, as for any key used twice. - Select mode is gone (it was the flag
select, V, and select in the ⋯ menu): the code, its styles and its key with it. The quick actions on pins, words and areas stay. An oldselectunderflagsinlabit.jsonor your settings is now said at start as "not something being tried now" and otherwise ignored, and aselectundershortcutsas "not an action". - Undo a tap on a question. A tap shows "Picked B · undo" for 5 s; the pick goes after that, or at once when the card closes. Undo puts the rows back.
- Questions in the chat. The agent's question with choices shows its rows in the page chat too, and picks work the same.
- A question card no longer focuses its reply box on a computer, so keys 1 to 6 pick right away.
- Keys 1 to 6 pick that choice of an open question on a computer (A is 1), with the same undo; ignored while a text box has the focus.
- A scroll is not an answer. On a touch screen a press that moved more than 8 px picks nothing.
- A line under each choice.
labit reply --choice "Tabs" --hint "less scrolling" --choice "List": the hint (up to 120 characters, stored ashints) shows muted under its row. An older page ignores it. - The question card stays in the window on a computer: 8 px from the left edge, never past the bottom.
- The labit skill says when to ask with
--choice: copy, names, a risky step; one line per choice, always--recommend, one open question per pin; and to use a board, not choices, when the options are looks (layout, colour, spacing). - A tap answers a question. A question's choices send on tap, no Keep; pointing at one on a computer still tries it in the sentence. The rows are as wide as the messages.
- Drawings are quick actions. The agent gets an
action:line from the mark: X, strike or scribble remove; circle, box or a wavy line fix; underline rewrites; a side line reworks the block; an arrow moves (beside what's there); a caret adds. Words in the thread win. - A drawing sends with Enter, no words needed. Its box opens with the lines; Enter sends it as what it reads as ("circled"), or type a few words first.
- The agent is told where to look. On a plain HTML page each comment gets
in file: page.html:30, and an arrow's ends name their card or section. In sims this cut a third of Haiku's time in the model. - Drawn lines are a red pen, as wide as you pressed (a pen's pressure, or slower = wider), and settle to 35% once sent, full on hover or open. Arrows get a clean head at the tip, whatever the hand drew.
- A drawing with several marks lists each one with what it is on, in the order drawn ("mark 1: arrow from Integrations to Weekly digest", "mark 2: circled on Alerts"), so the words can refer to them.
- Hold Shift while drawing and a line drawn about straight comes out straight, flat, upright or at 45°; a rough box comes out a clean rectangle and a loop a clean ellipse.
- Lines are smooth curves through the kept points, so thinned lines stop looking jagged. The line you tap to open a drawing is 28 px wide, about a fingertip.
- A tapped action closes at once (go, fix, remove…): no undo card to close by hand on a phone. Command-Z still takes it back on a computer.
- Drawing edge cases fixed: loops that stop short or run past their start, wavy and slightly crooked lines, a palm on the glass, a scroll mid-stroke, a stroke into a frame or off the window, D typed into the box, a cancelled stroke, a loop ending on its own start, long scribbles and ten-stroke drawings kept whole, drawing over links, buttons and earlier lines.
- One board.
/_lab/board/<name>is now the same board view a page's board link opens, over an empty page: a bar with the board's name, and "‹ back" when the address names its page (?of=). ⇧B, Esc on an empty board and the browser's back go there as before, and the camera stays in the address. The package ships one board file (boardview.js), not two. - Fluid goes. Shift-selecting words on a computer opens the ordinary comment card on them (pinned at the words, with your actions row), not the dialog that followed the words; on a phone, selecting words no longer brings up the comment · rewrite · cut bar (hold to comment as before).
fluid.ts, its styles,test/browser/fluid.mjsand thefluidCI job go.
0.7.0 · 2026-11-19
The first release under a new license, and a big one: boards, select mode, drawn pins, one list of actions, undo, and labs that wake your agent and follow their install. MCP and cloud labs are parked. The full list of changes as they landed is at the end.
Before you update
- License. labit 0.7.0 and later are under PolyForm Small Business 1.0.0, not MIT: free for people and companies with fewer than 100 people and under $1M in yearly revenue, a paid license for larger ones. 0.6.2 and earlier stay MIT.
- MCP is parked (kept whole on the
park/mcpbranch).labit mcpis gone; agents use the command line:wait,reply,resolve,pin. Drop anyclaude mcp add labit …line and use the plugin orlabit skill. - Cloud labs are parked (on
park/cloud-lab).labit add/labit remove, saved cloud pages, invite links for hosted labs and the Vercel deploy are gone; labit is the local lab only. - Actions are a new setting.
actionsin your own settings.json is an ordered list of{ "name", "prompt" }, seeded once from your old buttons. The old{ words, spot }form and a project'sactionsare no longer read. - Keys moved.
1toggles comment / pointer,Cis comment mode,Topens the chat (was C),Vis select mode,Dheld draws,Ppauses andSslows motion. Go mode (2),3, zoom and theakey are gone; a stale key in settings is ignored with a note. - Zoom is out for now: no zoom pins,
labit zoomor zoom skill. Old zoom pins show as ordinary comments. .lab/is tidier. Seven small state files become onestate.json, moved on the first start. A lab last run before 16 Nov must runnpx @leonidstern/labit@0.6.2there once first.- npm gets releases only. Merges to main no longer publish
next.
New
- Boards.
labit board new "<topic>" --of /page --variants 3copies a page into variants side by side;--widthsand--flowshow real pages at several sizes or in order./_lab/board/<name>is one canvas of live frames to pan, zoom, select and enter, with pins on frames or on the board. Frames can be resized, duplicated, archived and undone;labit board pickmarks the winner and hands the agent what to put back into the real page. A board a page links opens over that page; Space + drag pans, zoom stays steady and the edges just stop. Boards are in ⌘K. - Select mode (flag
select).Vpicks a block; the same action box as a pin opens on it, one tap one pin. - Drawing pins. Hold
Dand drag: circles, arrows, crossings-out and carets reach the agent as what they read as, plus the path. - One list of actions for pins and select: a line of chips that fits the box, … for the rest, each sending
<name>: <your words>with its full prompt to the agent. Hold or right-click a row to edit it in place; delete (with undo) and + add are there too. - Undo a pin. For 3 s after you send, its card shows undo; a press on the page lets the card go without starting a new pin.
- Choices.
labit reply --choice A --choice B [--recommend B]asks with options; each is tried live in the sentence, and Keep sends the pick back asPicked B: …. - Never stuck.
reply --progress "…"keeps a live status line on the thread; the pin's ring shows sent, picked up, working, waiting in line, quiet, or asking; the pill counts the queue. A hand-off nobody answers within 2 minutes goes to the next wait. - Claude Code wakes for pins. The plugin's hook gives the session that listened last a new turn when pins land while it isn't waiting, even while it is busy, and from any folder.
- Labs & pages (⌘K). One list of every page in every running lab, last active first, with who listens; archive a page or a whole lab, name a lab (
labit --name), hop between labs from a phone without a new invite. - Labs follow their install and come back on the newest build once nobody is working; an idle lab parks itself after an hour (
LABIT_IDLE_MS).labit listand the ⋯ menu say which build each lab runs. - Updates from the page. For a lab run from npm, the ⋯ menu offers a newer release; pressing it asks your agent, and
labit updateprints what changed and moves the lab onto it. A held reload shows as a small green "!" on the labit mark. - Section bar on lab pages (any other page can ask with
<meta name="lab-sections" content="on">): every section along the top, new and updated ones and unread pins in the page's half ink, kept read per person across devices. It floats over pages with their own top bar, hides while a board is open, and never prints. - Motion control. Hold ⌥ over a video or loop for pause, ¼ speed and its moment in ms; on phones it sits in the thing's corner. Every pin on a loop, video or GIF keeps its moment for the agent, and a chip on the pin pauses the page there again.
- Agent pins.
labit pin <selector> "text"leaves the agent's own numbered pin, wearing labit's mark. - Action buttons on a page.
data-lab-action="merge #224"makes an element open a ready comment the agent acts on;data-lab-confirmasks first. labit publishputs a one-off page into your pages lab and prints its link;labit skillprints the agent's instructions for agents without the plugin.- Experiments in the ⋯ menu switch flags on and off from the page, saved to your settings.
- Trying, off by default:
nativelets the browser place pins, cards and menus (CSS anchor positioning, popovers, the Navigation API) in Chromium and Safari 26;inkOnTextshows a comment on words as low ink under them instead of a pin.
Better
- Threads arrive whole: a reply comes with the opening comment and its messages, the new ones marked, so an agent no longer answers one thread with another's context.
- Listening is per page: a page no wait covers says so, two sessions on one lab no longer end each other's wait in silence, and a
waitoutlives a lab restart. - Pins: done pins full size and faded, pins whose spot is gone leave the page (the ⋯ menu lists them to drag back), quoting snaps to whole words, pins move less and keep their state across redraws.
- Phones: chat and threads keep the newest message above the keyboard, pinch zoom keeps the widget usable, a hold always focuses its box, wifi guests stay in while they use the lab.
- Smaller to install: one minified CLI and no changelog in the npm package.
- One motion system (tokens in
docs/motion.md) and one design census checked in CI.
Fixed and safer
- A symbolic link into
.labor at a dot file is no longer served (it exposed the lab's keys). - Behind
--proxyanother site can't write to your dev server through the lab; only this computer keeps rules; request bodies are capped at 256 KB. - A comment whose save failed is kept and retried, not lost; a broken
settings.jsonorreplies.mdis no longer written over. - On Linux every change to a board file or a page saved by a rename reaches open pages, not only the first.
- With ⌥ held, motion controls no longer run off to the far corner of a box when the pointer crosses a gap.
labit publishcan no longer delete its own source; localhost links reach the agent as written; IME Enter in Safari no longer sends half a word; a crashed lab no longer misrouteswaitandpin.
Every change as it landed, newest first
- Fixed on Linux: the lab told your pages about the first change to a board file, or to a page saved by a rename (many editors and tools save that way), and then went quiet: the second change of a board didn't reach its page, and the second save of a page didn't reload it. Node's own recursive folder watcher follows each file, so a file replaced by a rename was seen once. Folders are now watched one by one there (
lib/watch.ts), and a folder namednode_modulesor starting with a dot isn't watched at all. macOS and Windows use the native recursive watcher as before. - One list of actions for a pin and for select:
actionsin your own settings.json is an ordered list of{ "name", "prompt" }(names 7 characters at most, said and left out when longer). A pin's box fills one line with as many chips as fit, in order, and … for the rest; … grows the line into the whole list (name over its prompt, tap to use one); on this computer, hold a row (450 ms) or right-click it to edit it where it is (name with a 7-character counter, prompt that grows; Enter in the name goes to the prompt, Enter there saves, Shift+Enter is a new line, Esc or a tap elsewhere cancels and uses nothing), delete ("deleted · undo" for 4 s, no confirm) and + add (at the end), each saved as the whole list to your settings through the lab (PUT /_lab/api/actions, this computer with the lab key only; a list the lab refuses keeps the row open and says why); a chip sends<name>: <your words>and the agent reads the full prompt asaction: …. Select mode opens that same box on the picked block (no pin drawn while open) in place of its bar; the second-tap flow of make like and move is gone (say which in words). The list is seeded once into your settings from go, fix, remove, like, move, states, variant (plus any old{ label, send }buttons), then it is yours: no default, no reset.labit settingslists it. The old{ words, spot }form and a project'sactionsare no longer read; selected words keep rewrite · cut · go. - Motion control on the moving thing, not beside every loop: on a computer, hold ⌥ over a video or a looping animation and a small control shows in its top right corner (pause / play · ¼ · its moment in ms) for it and what moves inside it; a click there never pins, and a paused one keeps a small ▶ after you let go. On a phone the same control sits, quieter, in the corner of each moving thing at least half in view, gone while scrolling or while a sheet is open. P pauses all, S slows all. The control stays where it first showed and is kept while you cross to it; one at a time, another thing takes it only after the pointer rests on it; it is placed from the thing at rest, not where its animation has it. Paused ▶s no longer redraw every frame.
- Select mode's bar: one tap sends one pin. The same ask on the same block is left alone while it is on its way and for 2 s after (a second tap on states sent it twice). The pin lands on the picked block itself, not on whatever is at its spot, so a block scrolled away or under the bar no longer pins
<body>. Phones: the bar steps away while the chat, a thread or a new comment is open, and comes back after. - Drawing pins: hold D and drag to draw on the page instead of marking a box. Strokes drawn while D is held are one drawing (an X, an arrow with its head); letting D go opens the comment box. The agent gets the area as for a box, plus what the drawing reads as (circled, a box, underlined, crossed out, an X, scribbled over, an arrow with what it starts on and points at, a caret for insert here, a side line for this block, or an unclear mark, when the comment's words decide) and the lines as a path. The drawing is the pin: no marker, click its line to open it. Tapping D alone still hides or shows done pins, now as the key is let go. The reading is its own file (draw.js), loaded the first time D is pressed.
- Section bar: the bar keeps its own room at the top, so at the top of the page it no longer covers the first heading. The page moves down by the bar's height (38 px, 44 on a phone), already in the page as the lab serves it so nothing jumps when the bar comes; not under a sticky bar of the page's own; a #link lands clear of the bar. A live update leaves that room alone.
- Labs follow their install. A lab started through a link to a build (the edge script's
.labit-edge, now a link to.labit-builds/<commit>) moves onto the build the link points at now, on the same folder and port, once no agent is working on its pins; a build that doesn't load leaves it where it is.labit listshows each lab's build (labit 0.6.2 (main ab303fa)) and "newer build installed". A lab from npm, parked and started again from ⌘K, comes back asnpx @latestinstead of the version it parked on.labit previewwritesnpx @leonidstern/labit@latestinto the Claude app's launch.json, so npx doesn't keep starting a copy it cached. - A
wait(orreply,pin) that outlives a restart of the lab keeps going: it reads the lab's new key again instead of ending on "forbidden", which left the lab showing nobody listening and its pins unanswered. - Kept: the section bar is simply labit now, no flag. A page with two or more sections gets it; the
sectionBarflag is gone, and a settings file that still names it is told so when the lab starts and otherwise ignored. - Kept: boards, tried as the
boardexperiment, are simply labit: every lab has the board page,labit board, board pins and boards in ⌘K, with no flag to turn on. - Arranging frames on the board (this computer only): the sizes on a selected frame's label (390, 820, 1280, 1440) resize it, ⌘D / Ctrl D duplicates it as a variant, Backspace archives it, ⌘Z / Ctrl Z undoes the last change. Frames stay where the lab or the agent put them: no key and no drag moves one. On a phone a horizontal swipe on a fitted frame goes to the next one. Past the edge of the board a drag gives way and settles back.
- Board page: the frames are the lab's live pages, 8 at once (3 on a phone), the nearest the middle first, the rest title cards. Keys: ⇧1 fits everything, ⇧2 is 100%. A board made from a page has a plain "‹ back" at its top left; ⇧B and Esc on an empty board go back too.
- On the board page a click selects a frame, Enter or a second tap enters it (it gets the pointer and the focus), Esc leaves it and then clears the selection; Tab and ⇧Tab step through the frames, ⇧0 fits the selected one, + and - zoom, the camera is kept in the page's address, and a title card says when its page was edited. On a phone a plain "done" leaves a frame.
- Comments on a board: with comments on and the comment mode (1), a tap on the board puts a pin there; it is kept with its nearest frame (px from its corner) and follows the frame when it moves, stays the same size on screen as the board zooms, and is read by the agent as "near: frame b". A board opens as a pointer (a tap selects a frame); 1 switches to the comment mode, and this is not remembered. ⌘D / Ctrl D on a board duplicates a frame, even though Control-D is also "next new comment".
- Boards in ⌘K: a board is a row after the pages (name, frames, when saved, no comment count) and opens the canvas. A page stays a normal scrolling page; nothing turns it into a canvas.
- On a board, ⇧B goes back to the page it is about.
- The board page:
/_lab/board/<name>shows a board's frames on one canvas, each a title card (label, path, size, when its page was edited). Pan with the wheel, two fingers or a drag; zoom with Ctrl/⌘ + wheel or a pinch, never the page's own zoom; panning stops with some of the board in view. The camera is kept in the address. A change to the board file shows at once. Live pages in the frames, keys, selecting and comments come next. - A board page (a page whose key is
/_board/<name>) never reloads or patches itself on a save of a file: its frames follow saves, the board does not. It still reloads for a new widget script and follows the comments. Other pages are as before. - Boards, skill: the skill gets a short section on boards: options as variants (three unless asked, each different in one way, edit the copied files, never write the page out again), widths, flows, the lab places frames, a pin on a frame changes that frame only, "Picked b" is put into the real page.
- Boards, what an agent reads and picking: a board's agent text (
/_lab/agent/_board/<name>) lists its frames in order, then its pins; a pin on a variant carries one line,frame: b of board pricing-hero (variant of /pricing, 1280×800, "price first", beside a, c); a pin on the board itself (anchorboard, signed px from the nearest frame) readson: the board, not a pageandnear: frame b …; a pin made on a page inside a frame saysseen on: board …, frame …. The frames are said once per session and again only when they change.labit board pick <board> <frame>marks that frame picked, archives the others (files kept) and arrives in the next wait as a pin from the person, with what to do (Put b's change into pricing.html, then reply --done); several frames named keep them all and mark none. A wait on a board, or on the page it is about, hears that board's pins and its variants'. - Boards, commands:
labit board new "<topic>" --of /page --variants 3copies a plain HTML page into.lab/boards/<board>/a.html,b.html,c.html(up to 6; the page's folder as<base>, so its styles and pictures still load) and prints the link;--widths 390,820,1280and--flow /a,/b,/cshow the real pages and copy nothing.board add(a frame, a page, or an .html file to copy in; label, width,--after),board move(--afteror--first) andboard listfollow. The lab places frames; the agent gives an order only. Behind a dev server a variant is not copied yet: the command says to use--widthsor--flow. - Boards, data layer: a board is
.lab/boards/<name>.json, frames that are lab pages at a device size.GET /_lab/api/board?name=(or?page=/x, the board of that page) returns it with every frame placed by the lab;PUTsaves it (this computer only; a stalerevgets 409, a frame is archived, never dropped). A variant file in.lab/boards/<name>/<frame>.htmlis served at/_lab/board/<name>/<frame>with the widget, and the lab watches.lab/boardsitself, also behind a dev server: a saved variant updates only its own frame, a changed board file counts inboardsin the live state, and no page reloads. A page loaded into a frame is not marked as opened. - A page behind a dev server can sit in a frame: the lab drops the dev server's
x-frame-optionson pages (it already dropped the content security policy). Other files keep their headers. - A page inside a board's frame (named
lab:<id>, with a board on top) draws nothing and binds nothing: no bar, pill, pins or menu, no key handler of the widget's. It still follows saves in place, reading the board's stream instead of opening its own, and passes the keys it hears to the board. Nothing changes for any other page; the board itself comes later. - Two frames of one page (the board's) no longer swap their scroll when a save reloads both: the position kept across a reload is stored per frame name, not per page. A page not in a frame keeps its key.
- A question's choices are tried in the sentence: pointing at a row or tapping it puts its words in the page where the quoted words are (only the words that differ, in their own text nodes, so a link or
<em>keeps its word), Esc, close, a pick or another card puts the page back exactly, and the page's own saves (HTML hot patch) keep the try or leave rows only when the words are gone. On a computer the card opens in the right margin beside the paragraph with a thin line to the words, or under the quote's last line when there is no room; it never covers the quoted lines or moves while you try.labit reply --choicesays in a note when a choice reaches past the quoted words, or when the note has no quoted words to try them in. - A phone or laptop on the wifi stays in while it uses the lab: a pin, a reply or the page's live stream renews its day-long pass, not only opening a page. A tab left open for a day lost its pins to the gate without a word.
- Phones: the go / remove / fix buttons under a new comment keep the computer's corner (radius − 8 px) instead of the sheet's, which made them read as pills.
- ¼ speed: S, or the ¼ under each pause / play, plays every page animation and video at a quarter of its speed (again: full speed); motion that starts later is slowed too. A pin made while paused carries the moment showing (
atMs, from the paused thing under the pin, else the first) and whether the page was slowed; the agent reads "page paused at 1234 ms, ¼ speed". - Sent comments, replies and chat messages lose stray spaces: a no-break space (Safari) becomes a plain one, two spaces between words (a keyboard suggestion's extra) become one, and spaces at a line's end go. A line's indent stays.
- Action buttons on a page, kept (no flag): an element with
data-lab-action="merge #224"is an action. With comments on, a click or a tap opens a new comment on it with those words in the box (anddata-lab-action-noteafter them); the person sends it and the agent readsaction: merge #224.data-lab-confirmadds "confirm first": the agent says what will happen and waits for a ✓. Nothing reaches out to any other site; the page shows what the agent wrote into it. - A tidier
.lab/folder. The lab's small state (its name, read marks, hand-offs, claims, when pages were opened, archived pages) is one file,state.json, in place of seven (name,reads.json,opened.json,archived.json,handed.json,claims.json,seen); a lab moves them over on its next start and removes them..lab/has its own.gitignore(*), so git skips it without an entry in the project's. A lab last run before 16 Nov (onecomments.json) is no longer moved by this version: it says to runnpx @leonidstern/labit@0.6.2there once. - Keys: C is comment mode (a click places a comment; it also leaves select mode and the pointer). The chat moved to T. 1 still switches between comment and pointer.
- Flag
select(off): select mode. V, or select in the ⋯ menu, makes a click pick the block under it (a green ring, no pin, links don't go); Tab and Shift+Tab step, Esc lets go, then leaves. A bar under the picked block asked the agent, as a pin on it, to remove it, make it like another block, move it after another, show its states or make three variants; pin starts a comment there. On phones too. The page's reload waits while select mode is on. - Phones: the chat and a pin's thread keep their newest message in view while the keyboard comes up. Safari fires a scroll as the list gets shorter, before the resize is reported, and that scroll counted as you scrolling back to read, so the list stayed put and the last message ended up under the box. Now only your own scrolls decide that; scrolled back to read, it still stays where you are. The chat had no such rule at all before; a thread had one this broke.
- Shift and a digit (⇧1, ⇧2, ⇧0), ⇧D, ⇧M and the like no longer work the comment, done and hide keys: Shift is left free for the board. A plain 1, D and M are as they were. An Escape that closes a comment box or the chat now says it was used.
- Only what never ends counts as motion: a transition, or any animation with an end (a fade, a highlight ring), no longer gets a pause button. Infinite animations and videos still do, and so does anything labit paused.
- MCP is parked (kept whole on the
park/mcpbranch); agents use the command line:wait,reply,resolve,pin. Gone:labit mcpandlib/mcp.ts,mcp.json, the MCP part of the skill, README and help, the MCP permissions inexamples/claude-settings.json, and its tests. In Codex's sandbox a blockedwaitnow says to allow the sandbox network (-c sandbox_workspace_write.network_access=true). - Section bar (flag sectionBar): new and updated show as the green ink on the name only, as on the page's words: no dot, no status word (still read out), no fill on the current section, no grey on hover or tap; "…" turns green when it holds something new. On a phone the bar hides while a sheet is open, so the sheet swipes down.
- Section bar (experiment
sectionBar, off by default): a bar at the top of the page lists each section (one heading level, usually h2). The current one is filled. A section that was not there when you last read is "new" (a filled green dot), one whose text changed is "updated" (a ring). A section counts as read after about 3 seconds in it, when you scroll on from it after a moment, or when you tap it in the bar. The lab keeps this by name, so your Mac and your phone agree. Phones: one line that scrolls sideways, above the dimmed page of a sheet. Computers: the page's title on the left, what does not fit under "…". It replaces the "Added" pill: thesinceLookedflag and theakey are gone. - The lab keeps which sections each person has read, per page, by name (
/_lab/api/sections, in.lab/state.json), so a Mac and a phone with the same name will agree. It is its own store: it never shows as someone who looked in the agent's text. Nothing in the widget uses it yet. - Phones: a comment made by holding the page always gets the cursor and the keyboard. The box used to focus itself during the hold, which Safari could do without a keyboard; now the finger's lift focuses it, once.
- Phones: a pinch zoom no longer breaks the widget. While zoomed, the bar, the chat, the list and a thread's or new comment's sheet stay on screen at their usual size; pins stay on the page and zoom with it.
- Experiments in the ⋯ menu: experiments with how many are on opens a list in the menu, one switch per flag with its one line (phones too, bigger to tap). A switch applies at once, no lab restart: every open page starts what came on (the section bar appears in place) and reloads for what went off. It is saved in your own
~/.config/labit/settings.jsonflags, so it holds in every lab you run; a flag the project'slabit.jsonsets still wins and shows greyed, "set by the project's labit.json". Only the computer running the lab switches them (the lab's newPOST /_lab/flagstakes the page's key); a wifi guest sees them greyed.labit settingsnames whose each flag is:sectionBar (yours). - Pause sits beside what moves, not in the bar: each video and each animated element on the page gets a small pause / play just past its top right corner, over the page (nothing shifts), that stops or starts only that one. It shows with the comments and hides with them (M). P still pauses everything, or plays what was paused. The bar's pause button is gone.
- A pin handed to a wait that gets no reply of any kind (on it, progress, a question, an answer) within 2 minutes counts as not answered: it goes to the next wait, any session's, and its card says "not answered". The pill says "Claude isn't answering" instead of "talking to Claude" until that session replies to anything, and a session that isn't answering no longer ends another session's wait.
LAB_ANSWER_MSsets the time. Before, a shell loop left running by a closed session kept waiting: pins went to it and sat unanswered. The skill,labit --helpand the README say never to wrapwaitin a shell loop. - Lighter page script (−1.6 KB gzipped, 59.2 → 57.6 KB): the
?kbdebugphone logger no longer ships, and a few unused pieces are gone (the chat's never-used "reply to a message" path, the hidden prev/next new-comment buttons, helpers nothing called, two comment-box options nobody set, the second copy of the labit mark, a long licence banner). Nothing changes on a page. - Comment boxes share one observer of the page. Each redraw built a new box with an observer of its own that stayed for good, so with a thread open the observers piled up and every change to the page ran all of them.
- The npm package is 122 KB packed, down from 133: the command line is one minified file (
dist/local.mjs), anddist/is cleaned before each build, so chunks from an older build no longer ship. Nothing changes in how labit runs. A dead second copy of thepublishcode is gone. - A long comment's scrollbar sits at the box's right edge. With your name already set the box keeps one row (text, name, arrow); once the words scroll, the name and arrow drop to a row of their own so the scrollbar is no longer left of them.
- Holding Shift over words (to quote them) shows the drawn I-beam with a low ink band at its foot, in place of the I-beam with a green pin tip.
- Fixed: with a chat, a thread or a draft open, a save that needs a reload (a script, a JSON file) made the page wait for it ("update waiting") and, until then, drop everything else the lab sent: the agent's answer didn't show in the open chat, read marks and the listening pill stood still. The reload still waits; the rest keeps coming.
- One key for the mode:
1(or a click on the switch) toggles between comment and pointer: once for the pointer, again for the comment. The switch reads "(1)" and the hint "1 comment / pointer". Key3and thepointershortcut are gone; apointerkey left in a settings file is ignored without a message. - The listening pill drops the session name: "talking to Claude · Opus 5.5", not "… (labit for writing)". The name is in the pill's tooltip, and still in the labs & pages list.
- Fixed: a symbolic link in the folder that pointed into
.lab(or at any dot file) was served, so a page script or a guest on the wifi could read the lab's keys through it (.lab/server.json,.lab/key). A link is now judged by what it points at, like any other path. - On computers a comment on a spot or an area is one card like the dialog on words: the page's colour, the card's shadow, and the box (and its actions row, where there is one) 8 px in, its corners concentric with the card's.
- The listening mark's colours: green while an agent listens or works, amber while the page reconnects to the lab (it was faded green), muted grey when no agent listens (it was black). Its tooltip names the state first (Listening, Working, Away), then the resume command.
- Fixed: a comment whose file could not be written (a full disk, a folder gone read-only) was shown as sent, logged once and never written again, so it was gone at the next start. The lab now keeps it and writes it again every 5 seconds until it works, and says so in its log. A wait started while
.lab/server.jsoncould not be written no longer answers 500 and ends the lab. - Done pins are as big as open ones, only faded (50%). Before, a done pin also shrank to 80% (64% on phones); a pin whose spot is gone still does.
- While a new comment is open the page shows its own pointer, empty or not (it used to switch only once you typed, so an empty box still showed the pin cursor).
- Fixed:
labit publishremoved the page's old copy before copying, so a source that was that copy (reached through a link to the pages folder), or sat inside it, deleted itself. It is now refused or left alone. The command's code was also in the file twice; the copy that never ran is gone. - Agents read a pin's or chat message's whole thread before answering, and don't guess from the page, URL or #section what it asks (
wait, the plugin's wake turn and the skill say so). - Removed the parked list window and draft mode (both were off): their code, styles and the held-draft pins. The bar's New pill, J/K and show/hide done work as before.
- Fixed, in your own files and the agent's text:
replies.md("Edit freely") lost every line that wasn't a rule the next time a rule was kept or undone, and now only its rule lines are rewritten, in place; undoing a rule that was offered with a line break works; asettings.jsonthat can't be read is no longer written over with one key when your name is saved; ahttp://localhost:3000/…link in a comment reaches the agent as written (it came out ashttp://localhost:4400:3000/…). - What
waithands an agent (and the skill) now says: work that takes more than a minute (a build, a restart, a PR) getsreply <id> --on-iton each pin first, then the work. A batch worked through without a word looked lost: picked up, then nothing for 13 minutes. - Two sessions waiting on the same pages are told: the one whose wait the other ended reads that it should leave those pages to that session, and the newcomer's first pins come with a heads-up naming the other. Before, they took turns ending each other's wait in silence, and a pin could go to the one about to stop.
- Safer: behind
--proxyanother website can no longer write to your dev server, or open its websocket, through the lab (the lab passed such requests on under the dev server's own Origin); the app's own requests, forms included, pass as before. A rule the agent offers can be kept only from this computer, not by a guest on the wifi. A request body over 256 KB is refused (413) and one that isn't JSON gets 400, where it was read whole and answered 500 with the error's text. The plugin's wake turn no longer carries page paths (a path is whatever a comment was posted to);waitnames the pages. - A lab nobody uses parks itself after an hour: no page open on it, no agent waiting or working on its pins. Start it again from the switcher (⌘K) in another lab, or run labit in its folder.
LABIT_IDLE_MSsets the time; 0 keeps a lab running. Started again, it hears the session that listened last: that session's labit plugin wakes it for the next pin, from any folder. - A click outside an open comment closes it even with text typed in it; the words stay as a draft (Escape still discards them). Before, the box held on to the click and couldn't be closed that way.
- Fixed, in front of a dev server and for agents: a redirect to the dev server's own address now stays on the lab (it took you off it, to a page with no comments); closing a tab ends its event stream at the dev server too (it was held open); more than 50 styles or pictures saved in one go reload the page (the rest were left stale); a lab that crashed no longer leaves a file that sends
waitandpinto whichever lab has its port now; a wait cancelled in its first moment is no longer kept as listening. - The npm package no longer carries CHANGELOG.md (−28 KB packed); the changelog lives on GitHub and in each release's notes.
- Pause: a page with video or animation gets a pause button in the bar (key P, changeable as
pauseinshortcuts). Paused, the page's videos and animations stand still (the widget's own keep moving) and the button says play. A comment written while paused carriespausedin its anchor, and the agent reads "page paused: …" with the video's second. - Fixed in the widget: the Enter that picks a word while typing Japanese, Chinese or Korean in Safari no longer sends the comment half-written; a pin far down a long page (past the first 400 elements of its kind) is found again when the page above it changes, where it showed as moved; a guest no longer gets the "rule?" button, which only this computer can use.
- The go action is just another comment: it sends a comment that says "go" on the words or the spot, and the pin looks like any other (your initial, the ring while the agent works, the tick when done). The separate go pin design (a green "go" face) is gone.
labit reply <id> "question" --choice "A" --choice "B" [--recommend B](also the MCPreplytool'schoicesandrecommend): the agent asks with 2 to 6 choices and its own pick. The thread card shows the question with no bubble, then the versions as a plain list (a tick on the one picked, the agent's own at first; no letters, no tags), then one Keep, always there and always reading Keep, which sends the pick; it comes back in the nextwaitasPicked B: …with the question's id. No keys on the card: tap, Keep; Esc closes. On phones the question is a half-height sheet with 44 pt rows. Version stays 2:choicesandrecommend(the agent's) andpicked(the person's) are only added fields, and an older lab or widget shows them as plain messages.- Fixed: Shift + double-click (or triple-click) on words now and then opened a plain comment box with a pin, not the dialog at the words. Chrome, for a moment after it selects the word, finds nothing under it, and the comment was put on the page as a whole; it now goes on the words' own element.
- Selecting words opens the comment dialog at once (computers): no actions bar first, the cursor in its box. Every action in its row sends at once on a click:
rewritesendsRewrite: “…”(no more box to edit; the agent proposes the wording),cut,goand your own as before; theaskoption of an action is gone. The regular dialog on a spot or an area has the same row, from theactions.spotsetting (defaultgo,remove,fix;removesendsRemove this,fixsendsFix this). Phones keep their bar. Action keys: ⌥ + 1 to 4 run the dialog's buttons in order (holding ⌥ shows the numbers); the slash keys (/c+ Enter …) and the "/ for actions" hint are gone. - A plain click on text is a point pin, never a quote of the word under it (it used to be saved as text with that word and highlight it); only a Shift-drag quotes words.
- Never stuck: a pin tells you it is moving.
labit reply <id> --progress "…"(CLI and MCPreplywithprogress) keeps one short line on the thread, the latest only, with its time: no message bubble, nothing marked done; an answer, a new message or resolving clears it. While an agent works, the connection pill reads "Claude · · 40 s ago" in a box of one width, so nothing beside it moves; phones have no pill, so the line heads the open thread's sheet. Hovering a working pin's ring shows the same line. - Never stuck: the queue. The pill adds "· 2 waiting" for pins handed to the agent but not answered; a waiting pin's thread says "waiting · 1st in line" in its stamp row; the list shows the pins being worked on first, then those waiting in order.
- Never stuck: the ring is the state. Sent: none. Picked up (handed over, nothing from the agent yet): a still pale green ring. Working (
--on-itor a progress line): the turning green ring. Waiting in line: a still muted ring. No sign for 5 minutes: a still grey ring, and the pill says "no update for 6 min · last: …". The agent's question (--question): an amber ring. Done: none, the ✓ face as before. They crossfade over 300 ms. The thread's stamp shows the turning ring only while the agent works (picked up is the ✓✓ again). - Never stuck: the reminder an agent gets for a handed pin with no answer after 3 minutes now also covers one it said it is on (
--on-it, or a progress line) and has shown no sign of since; each line says how long and its last progress line. - The skill and README tell agents to use
--progressduring long work. - Agent pins are in: a pin the agent left always wears labit's mark in place of a letter, with no flag. The
agentPinsandliveUrlflags are gone (liveUrl had no feature behind it yet). - The ⋯ menu no longer has a trying section of flag switches. Flags are set only in
labit.json("flags": { "<flag>": true }) or your own settings file, read when the lab starts; the lab'sPOST /_lab/flagsis gone. - Quoting words: a drag that starts or ends inside a word takes the whole word, so a note is on "Send … carry", not "nd … ca". A drag that stays inside one word keeps exactly its letters.
- Pins move less: hover 1.03, no movement on press, and the open pin gets only its green edge (no lift), so clicking away doesn't shift it. The send and bar buttons don't move on press.
- A pin stays the same element across redraws: clicking it, closing it, pointing away or clicking the page no longer restarts its ring, pop or face change. Reading a new reply no longer plays the face change, and the change is quieter.
- A reply in a thread the agent already has comes with its thread (
wait, CLI and MCP): the opening comment with its spot, then every message in order with name, time and state (on it / done / question), the new ones marked← new. A long thread shows the opening comment and its last 8 messages (and every new one) with a line for how many are left out; words stay whole. Before, it was the new words and the thread's first 70 characters, and an agent answered one thread with another's context. - Flag
sinceLooked: an "Added · N" pill of ids the agent added since you looked, and anakey (addedshortcut) that opens its list and steps through it; the agent seesunseen by Leo: #v3. - Go mode is gone: no
2key, no go state in the bar (its switch is now comment / pointer, keys1and3;2does nothing), no green go pointer, and nogoshortcut (one in a settings file is ignored). Go pins already on pages show as before ("go", the tick when done), and a comment whose text is "go" is handled by the server and agent as before. - "Pin over controls": with it on, the pointer over the page's links, buttons and clickable cards is the pin, not their hand. The menu item shows how to do it once without the switch: (⌥ click).
- Phones: a sent comment's card slides down whole, like any sheet, and its new pin pops in with one green ring. It used to shrink and fly into the pin, which squeezed the card, and the pin was already there while it flew (its pop-in had been dropped by a later change).
- Option-click on a pin resolves its thread without opening it (again opens it again), for whoever may resolve it.
labit skillprints the agent's instructions (the skill the plugin installs), and a lab's first lines point agents without the plugin to it. So an agent that is only told to runnpx @leonidstern/labit@latestreads the skill and answers pins.- Closed pins show on the page by default, faded and small (50% opacity, 80% size; hover or open brings them back to full), so the open ones stand out; D (or hide done in the ⋯ menu) still hides them, and that choice is kept per browser. This undoes 0.6.2's solid done tick for resolved pins.
- A pin whose spot is gone from the page is no longer a state of its own: it looks like a closed pin (same faded look) and says nothing about having moved. Nothing changes on disk or for the agent.
- Moved pins: a pin whose spot is gone from the page is no longer drawn on it. The ⋯ menu counts them ("moved · N"); a click opens each in turn, on the left edge, to drag onto a new spot or close. When the agent finishes one (
--done), it closes on its own. - Pause motion (P) is gone for now: it didn't work. A
pauseshortcut in a settings file is ignored with a warning. - One motion system: durations (
--lab-t-quick120 ms,-base200,-slow300,-loop,-hold) and curves (--lab-ease,-out,-in,-settle,-pop) are tokens next to the colours, in the widget and inlab.css, and every transition and animation uses them; reduced motion is one rule on the tokens. Seedocs/motion.md. - npm gets releases only: a merge to main no longer publishes
next. A version bump still goes out aslatest. - Claude Code wakes for pins: the labit plugin (
hooks/wake.ts) gives the session that last listened a new turn when pins land while it isn't listening (its wait ended, or it stopped waiting again), instead of the pins reaching nobody. It asks the lab's newGET /_lab/pendingevery 4 s while the session is idle, and wakes it once per set of pins. A wake taken back with Escape (it never started a turn) can wake it again after 15 s. Other agents keep usingwait. - A listener that can't lapse (Claude Code plugin,
hooks/wake.ts): the wake no longer waits for the session to be idle. A pin left while the session is busy (a long build, nowaitrunning) is submitted as its next turn ($.prompt.submitqueues it behind the running turn), so it starts the moment that turn ends instead of the pin sitting until someone runswait. A pin must be unheard on two looks (about 8 s) before it is queued while busy, so an agent about to runwaititself isn't woken for nothing, and a queued wake's 15 s "lost" clock starts when the busy turn ends, not before. The thread stamp does not say "queued" yet (that needs widget work). - The wake finds the lab from any folder: besides
.lab/server.jsonabove the session's folder it reads the lab registry (~/.labit/servers/<port>.json, whatlabit listreads), where each lab now recordslistener, the id of the session whosewaitran last. A session whose folder is elsewhere is woken for the labs that name it. Still only that session, only on a lab that says it listened last, localhost only, at most 4 labs per look. - The agent confirms a hand-off:
wait(CLI and MCP) says it showed the pins (POST /_lab/ack). A hand-off not confirmed within 20 s (LAB_ACK_MS), or one the same session waits again before confirming (an MCP wait cancelled after the lab answered), goes out again whole, rules included. Before, its pins showed "being worked on" and came back after 3 minutes as one line each. A reply from that session also confirms. - Open pages on other pages no longer fetch every comment change: the stream names the pages each change touched (
commentPages), and a tab skips a change that isn't on its page. - One write for a comment: who wrote it (the agent's session, or this computer / a wifi guest), what an agent's answer is, and an agent's done closing the thread are saved by the comments API in the same write. The lab used to rewrite each record after the API had saved it.
- The comments' shape (
lib/schema.mjsVERSION) is in the stream and the widget's tag: a page reloads when the lab stores comments in a newer shape. replyandpinrun again with the same words (the agent never saw the first answer) give back the first comment instead of posting twice. A reply after the person wrote again is a new one.- The listening badge has three looks: a plain green rabbit while an agent is connected and listening, green with twitching ears while it works on pins, and black only when nobody listens. Black used to mean listening, grey nobody. A dropped connection (a phone waking, the laptop sleeping) keeps the last look, faded, with "reconnecting", instead of going to nobody.
- Labs & pages: ⌘K (Control-K off a Mac), or "labs & pages" in the ⋯ menu, opens a box listing every lab running on this computer and its pages, with open comments and who's listening. Type to filter, ↵ goes, ⌘↵ opens a new tab. Each lab can be archived: Claude's wait on it ends with "stopped from the page" (it doesn't wait again until asked) and the lab stops. With nobody listening, get Claude listening copies a line to paste to your agent. The ⋯ menu now opens with the lab's name and port. On a phone the box is a sheet that holds still when the keyboard comes up. A wifi guest sees this lab's pages and the other labs open to the wifi: tapping one of their pages goes through
/_lab/hop, where this lab asks that one for a one-time link for the same name, so the phone needs no new invite. New routes:GET /_lab/labs,POST /_lab/labs(this computer, with the lab's key). - Labs & pages, in words and about pages: each lab is a heading (its folder, which goes to its home; its port, who listens, its totals, when it was made and how long it has run are on hover), and each page reads "Title /path 5m ago": its last activity, a comment, reply or close or someone opening it, and labs and pages are ordered by it, newest first; when it was last opened (kept in
.lab/opened.json), who commented, replies and the file's time are on hover. A guest's box lists only the keys that work for a guest, and this computer opened through its wifi address is told to use localhost for every lab and the lab keys. On a phone it is one of the widget's sheets, the comment and chat drawer: the handle, the swipe down, the dimmed page, the keyboard fit and back closing are theirs; on a computer the page dims with the widget's own.scrim. A phone also names the labs it can't open (not on the wifi, or on an older labit) under "on the computer only". - A lab's home (its list of pages) speaks to a phone in phone words: hold a spot to comment, ⋯ then "labs & pages" for another lab, instead of keys. On a computer it adds ⌘K.
- CI reuse check (
npm run reuse,ci/reuse.mjs): fails on a second drawer, dimmed page, swipe or keyboard fit, a new animation, a new widget module, or a long style copied into a second rule. Something genuinely new is listed inci/parts.json, on purpose, in the same pull request. - A lab no longer starts on a port another lab holds. A lab on the wifi listens on every address, and macOS still let a second lab take 127.0.0.1 on the same port, so localhost reached one lab or the other; ports in
~/.labit/serversare skipped now. labit publish <page.html | folder> [--name "topic"]shows a page the way an Artifact is shown: it goes into your one pages lab (pagesFolder), which starts if it isn't running, and prints the page's link. Publishing again updates it at the same link. The skill uses it for every page that isn't part of a project's site.- One lab per project, not one per topic: the skill has agents check
labit listand reuse the running lab, and put pages that belong to no project (tries, demos, options) in one pages lab, a folder per topic, instead of a new folder and lab each time. Its folder is the new personal settingpagesFolder(default~/lab-pages). - Labs & pages is one list of pages from every lab, last active first, with no lab headings: each row names its lab (its topic, or its folder) in grey beside the time. A lab is only the folder a page lives in. ⇧⌥A archives the chosen page's whole lab (press it twice); the heading buttons are gone. Opening "archived" keeps the list where it was and chooses its first row. Search also matches the grey lab label and the lab's folder; a long lab label gives way to the page title; a search with no results says "nothing matches" on a phone too.
- Labs & pages can archive a page: ⌥A on the chosen one folds it away under "archived" at the bottom, with its lab's name; ↵ still opens it and ⌥A there brings it back. The file stays; the list is the lab's
.lab/archived.json. A whole lab still archives with its button. NewPOST /_lab/labsactions:archive-page,unarchive-page(withpage). - A lab can be named for its topic:
labit --name "Lab navigation". Labs & pages (⌘K) and the ⋯ menu show the name instead of the folder (the folder is on hover); it's kept in.lab/name, so later starts keep it. The skill asks agents to name the labs they start. - ⌥W goes to the next new comment from the widget's text boxes too, where W types a letter (Shift-⌥W: the one before). Control-D still does.
- Labs & pages, archiving and dates: a lab can be archived (it stops and folds away under "archived · N" at the bottom; ↵ starts it again, same folder and port). Each lab is headed by its folder (~/projects/site), its port on hover. Parking was tried and taken out: a lab parked by an earlier build shows under archived too. One order: last active first (sorting was tried and taken out). Each page reads its last activity (a comment, reply or close, or someone opening it). ⌥A archives the chosen row's lab (asks twice); a separate stop listening was tried and folded into archive. The footer is one short line. On a phone: the sheet fills the space above the keyboard, a swipe down from the top of the list closes it, and it opens scrolled to the page you're on.
- Listening, per page: the lab tells pages which of them a wait hears (
heardin the state). A page that no wait covers (another session listens with--pageon a different one) says "no agent on this page" instead of "talking to Claude", and its comment box says "no agent listening yet". Hovering the pill says what to tell the agent to listen there. A wait that runs out keeps the pages saying listening for 45 s (LAB_BETWEEN_MS), so the agent's next wait doesn't flash "no agent" in between; a cancelled wait still shows it at once. - Two sessions on one lab: when one gets its pins, the lab stays "listening" while the other's wait is open, and the ten-minute timer after a hand-over no longer turns every page away while a wait is still open. Before, one session working on its pins turned the other's pages to "no agent listening".
reply <id> --wait --page /xlistens on /x, aswait --page /xdoes. It used to drop the page and listen on every page instead, so a session answering on one page stopped hearing it.- A pin between two blocks whose block above is gone (the section was deleted) no longer crashes the widget: it sits at the end of the box instead. Before, one such pin stopped the bar from drawing on its page.
- Actions are a setting (
actionsin labit.json or your settings.json):{ "words": ["rewrite", "cut", "go"], "spot": ["go"] }by default. Comment is always first and unlisted (the dialog opens as a comment, so its row has no comment button, and picking an action again goes back to the plain comment); list the built-in rewrite, cut and go, or your own{ "label": "tighter", "send": "Tighter: less space" }("ask": trueputs the text in the box first). Up to 5, labels up to 16 characters; slash keys follow the labels' first letters.spotis checked and kept for the regular box, which has no actions row yet. See docs/settings.md. - Selected words, one comment element: the actions bar (comment, rewrite, cut, go) appears at the end of the words, with no chip first, and the box joins it once you type, click comment or press Tab or Enter. The bar, the box and a sent box all come and go with the comment card's own motion (the same settle in and fade out); no growing or shrinking. Words are still quoted with Shift: Shift-drag (or Shift and a double or triple click) selects them and shows the bar, and the text cursor shows while Shift is held; a plain drag marks an area wherever it starts, without selecting text, and a click still pins a point. Typing a letter starts the comment with it; cut and go send at once (go is a go pin on the words, as in go mode) and rewrite fills the box;
/c,/r,/gpick cut, rewrite, go (Enter runs it); Escape closes the bar, or clears a/…, then closes the box and takes its words and spot with it, so a reload gives nothing back. A reload mid-typing brings the dialog back, and an open dialog follows its words (resize, scroll, a saved file; right-to-left text and fixed or sticky parts too). Phones: the bar comes once the selection is still, below the selection handles with 44 pt buttons; comment grows it into the bottom sheet. - License: from the next release labit is under PolyForm Small Business 1.0.0 instead of MIT. Free for companies with fewer than 100 people and under $1M in yearly revenue; larger companies need a paid license. Versions already on npm (0.6.2 and earlier) keep MIT.
- Phone links with two labs on one computer: each lab keeps its own pass (
lab_guest_<port>), so joining a try lab no longer logs the phone out of the other, and a used link again takes that phone to its page instead of "used up". - Cloud labs are parked (kept whole on the
park/cloud-labbranch); labit is the local lab only. Gone:labit add/labit removeand saved cloud pages inlistandpages, the MCPcommentstool'surl, the skill's Cloud lab part, the Vercel deploy (vercel.json,public/index.html), and from the comments API and widget everything only a hosted lab used: invite links and per-person admin keys (#lab-admin=,LAB_REVOKED), the lab-host check (LAB_HOST,data-host,data-enable), page revisions and the 10 s check, and the Upstash store. The API moved fromapi/tolib/comments-api.mjsand talks to the lab's in-memory store directly. The widget is 49.1 → 48.5 KB gzipped (152 → 151 KB). - With a dev server (
--proxy), its reload waits while the chat, a thread, the list or a new comment is open, not only while words are typed, so an update no longer closes the chat under you. It comes in once you close it, as the lab's own reload already did. - The ⋯ menu ends with which labit the lab runs (
labit 0.6.2), and for a local edge build what it merged on top of main (LABIT_EDGE, e.g.edge: main + #89 #91), so labs on different builds can be told apart at a glance. labit pin <selector> "text" [--page /path] [--at x,y]: the agent leaves its own pin on a spot of the page, for suggestions and questions, one pin per point, numbered, instead of a list in a reply. It prints the pin's id;--pagetakes the page's path, file or address (default: the lab's only page),--atwhere on the element (default its middle).- Zoom is out for now: no zoom pins, no
labit zoom, nozoomsetting, no zoom skill. The keys are 1 comment, 2 go, 3 pointer again (pointer was 4). Zoom pins saved earlier show as ordinary comments, and azoomleft in alabit.jsonor ashortcuts.zoomkey is named when the lab starts and ignored.#idlinks in messages stay. - Pins find their spot better after edits: own section first; text pins sit on their words (found anywhere on the page if the element is gone); gap pins stay between their blocks; made-up ids/classes ignored; a lost look-alike shows as moved; a pin found elsewhere saves its new path.
labit reply --done | --on-it | --questionsets the reply's intent;--donecloses the thread ("Done…" text still works).- Comments carry
v: 2, older ones upgrade on load:resolvedAt(archive a month after it), onesuggest: { text, state }, noanchoron replies, wait marks in.lab/handed.json. - The agent has its own key in
.lab/server.json; page scripts can't act as the agent. Older CLIs can't either. - The 500 cap skips owner, agent and done threads. One lab per folder (
.lab/lock). A new session gets whole threads. - A page file renamed with
mvkeeps its comments.waitsays how to answer once per session, then in one line. - Comments API: a write can't undo a change made meanwhile.
- Labs & pages: no hand pointer on its links, rows or buttons; they show the arrow.
0.6.2 · 2026-11-17
- A go pin is a pin like any other: once it is done or resolved it wears the tick, where before it said "go" for ever and a finished one looked unfinished. Checked in both engines by the browser job.
- A done pin is a solid green ✓, full size, even when the page changed under it: faded and small is how a pin that lost its spot looks, and done pins looked lost.
- Rules from how you reply: when a reply is about how the agent answered (too long, unclear, didn't show where), the agent offers a rule with its answer (
labit reply <id> "…" --suggest-rule "…") and your message shows rule? where its time was. One tap keeps it, ignoring it is a no, and undo on the answer takes it back. Rules live in~/.config/labit/replies.md(yours, every project, every agent; the same rule again counts again) and the 15 kept most go to each session once, and again when they change. - Threads: an answer to a later message in the thread quotes it, as the chat does; a plain "go" the agent resolves without a word shows one green ✓ on your message; an open thread stays at its newest message while it gets shorter (the keyboard) or an answer comes in, as the chat does, and goes to it when you tap the reply box.
- Phone links:
labit invite --page /pathopens that page. A used or old link opened again on a device the lab already lets in takes you to its page instead of the gate, and a guest who keeps using the lab stays in (each page they open renews the day). Only a path of this lab is a landing; anything else lands on/. - Phones: the quoted words of a comment are lit, not half the page. Safari painted that green over whole blocks of text that can't be selected, and with comments on the page was unselectable all the time; now only while a finger is down (the hold still never turns into a text selection).
- Phones: after a new comment is sent or dropped, the page glides back to where you were before the hold moved it up to keep the pin above the keyboard (once the card has landed in its pin; not if you scrolled yourself meanwhile).
test/phone/sim.mjs: phone checks in the iOS simulator's Safari and the Chrome stand-in, real touches step by step against a recorder on the page (focus, keyboard, scroll, selection, pins and boxes, every frame). Not in CI.- Things being tried arrive as flags: off unless somebody turns one on, tried in a real lab, then kept (the flag goes and it is simply labit) or dropped (the code goes with it).
flagsinlabit.jsonor your own settings, switches under a trying heading in the ⋯ menu (this computer only),labit settingslists them, and a switch writes the project'slabit.jsonso the agent sees the same thing. First two:liveUrl(a lab in front of a live page) andagentPins(a pin the agent left wears labit's own mark, the one the bar shows while an agent listens). - A wait can no longer hold someone's turn open:
labit wait(andreply --wait) sits for the full timeout only when the agent says it put the command in the background, with--bg. Without that it ends after a minute and says why. A wait left in an agent's foreground kept the person from saying anything to their agent until it ended, and the message they sent to reach them killed it; from inside the process a foreground run looks exactly like a background one, so--bgis the agent's word for it. At a terminal (a tty) nothing changes. - The bar's counts (chat, new) are green when something is new, grey at 0.
- Settings:
labit.jsonin the project (shared) and~/.config/labit/settings.json(yours) fill in what flags and variables leave out: port, proxy, folder, open, wifi (yours only), batchSeconds, stopListeningAfterMinutes, remindAfterMinutes, archiveAfterDays, updateCheck, name and model (yours only), shortcuts (every key on the page, shown in the bar) and zoom.skill (a project's own zoom skill).labit settingsshows each value and where it came from. Your name moves from me.json to settings.json (me.json is still read). docs/settings.md. - A lab's tabs share one live connection: the first tab holds it and passes every update to the others (Web Locks + BroadcastChannel; when it closes, the next tab takes over). Tabs in the background stay live, their title count and pins updating at once instead of every 20 s or so, and any number of tabs of one lab use one of the browser's 6 connections.
- Listening: the MCP server's
waitis its own request to the lab, no longer alabit waitprocess it starts, so a cancel or the client going away ends it at once by design. A tab that drops its connection without saying bye (crashed, or frozen by a phone) stops counting as open after 90 s without checking in, not after half an hour (LAB_TAB_TTL, in seconds). - MCP server, checked against the spec (2025-11-25, 2026-07-28) and the SDK's practice: when the client goes away (stdin closed, SIGTERM, SIGINT) a
waitin flight stops with it, so the page no longer says an agent is listening for up to the wait's length; awaitrefused for a bad argument no longer sends progress forever after its answer; a cancel for a request already answered is ignored (an id used again got no answer); roots are asked for after the client'sinitialized, not before; a batch gets an Invalid Request error instead of silence. examples/claude-settings.json: Claude Code settings to give people. labit's commands and MCP tools run without a prompt;--wifiandinvitestill ask. Checked withclaude -pin a fresh folder.- The last of the old name is gone: no
labfbcommand (uselabit), andLABFB_HOME/LABFB_NO_UPDATE_CHECKare no longer read (useLABIT_HOME/LABIT_NO_UPDATE_CHECK). - A saved file now reloads only the pages that use it. The lab says which files changed and each page decides: a file it loads, the page itself, or data it may fetch means a reload, while a README, another page's script or the project's own server code leaves it where it is. A burst too big to list (a branch switch, a build) reloads everything, as before.
- A reload held while you read or type now says so: an "update waiting" pill next to the status, and tapping it takes the update at once instead of waiting until you close the thread.
- The page lists count threads still waiting -- nobody answered, or the newest word in them is a person's -- instead of every unresolved one. An answered thread left open is bookkeeping, not work: on a real lab it turned "166 open" into "1 waiting".
- Both page lists say who is listening where, and "nobody listening" on a page with something waiting and no one to hear it. A page's last change now counts what was said on it, not only when its file was saved, and the list shows the page's own name without its file name.
.lab/comments.mdopens with the pages that have pins and nobody listening, and the one command that covers them. It follows who is listening, not only what changed.- The lab says which version it is: on the line it prints when it starts, in
labit list(with how long it has been up, which tells a lab left running for days from a fresh one) and in the state open pages read. labit --devandnpm run dev, for working on labit itself: the lab runs undernode --watchand comes back by itself whenlocal.mjsorlib/change, with the widget build in the same terminal. A runningwait(andreply,resolve,invite) holds on while the lab is away instead of ending with "the lab server isn't running".
0.6.1 · 2026-11-16
-
iPhones: a new comment no longer sometimes sits behind the keyboard's bar. When Safari (or Chrome) slid the page up for the keyboard instead of scrolling it, the widget counted that slide twice and saw no keyboard at all; it now measures the slide where WebKit measures boxes, from the screen's top.
-
The page list: newest first, each page with its open comments and when it last changed, a summary line under the folder's name, and a filter once there are more than 8 pages (
/to focus it). -
A flat drag no longer draws a green hairline across the page. Marking an area by dragging sideways (or straight down) made a rectangle with no height, which read as a line through everything rather than as something being marked. The outline now keeps a least size of 12 px each way while you drag — the size the saved area was already grown to.
-
The bar: hover, pressed and "its menu is open" (⋯) use the first grey step after white, not the second, which read as a dirty block on the white bar; menu rows the same. The mode switch's "off" pin (3, cursor) is the pin of 1 now (white, the pins' thin edge, bold letters) with the word in grey; it had a thicker, darker ring.
-
Zoom in the widget: 3 zooms in, 3 again zooms out (the pointer moves to 4; on phones a tap on the switch steps comment → go → in → out). A zoom is placed at once like a go, its pin shows arrows in or out, Command-Z takes it back, and the page scrolls to the block when it lands.
-
A
#idin a message links to that block on the page. -
Zoom, the lab side (plain HTML pages): a comment with
zoom: inorzoom: outasks the agent for one block, a deeper look or the bigger picture, not a change. The agent hands it over withlabit zoom <id> <file>; the lab places it next to the section the comment is in (a deeper look after, a bigger picture above) and names it; the agent's reply closes the zoom. Rules for agents:skills/labit/zoom.md. The widget's keys come next. -
Phones: the mark on the chat button sits on the word's baseline, 6 px from it (it hung 3 px low and 9 px away), and every sheet's grab handle is a pill with round ends.
-
The widget ships minified again, its stylesheet too: 218 → 138 KB, 58.2 → 43.9 KB gzipped, 50.2 → 39.3 KB brotli. Minifying was built on 15 Nov and lost when that work moved onto main (#41).
npm run buildrunsscripts/build-widget.mjs(esbuild's API through npx, still no dependencies), which also minifiesstyles.cssas it goes in. The readable source stayssrc/. -
A tap on the "talking to" pill no longer copies the agent's resume command: it only says who listens.
-
The page says which model the agent runs on: "talking to Claude · Sonnet 5.5 (project)". The agent says it with
wait --model "Sonnet 5.5"(or the MCPwaittool'smodel); without it, LAB_MODEL or ANTHROPIC_MODEL when set, an id like claude-sonnet-5-5 read as "Sonnet 5.5". The skill now asks agents to pass it. -
Go for guests: with go on and no name saved yet (a guest's first pin), the hold opens a small card that asks only your name, with "go" already in it; send and it's a go pin. It used to open the full comment box, and nothing sent until you typed a comment too. Once the name is saved, a go hold sends straight away as before. On phones a hold now pins after 0.4 s (was 0.5 s): at 0.5 s it raced iOS's own long press, which sometimes selected text instead.
-
Your name is remembered for this computer, not for one lab. The browser keeps it per origin and every lab takes its own port, so naming yourself in one lab left you a stranger in the next. Now the lab keeps the name you give in
~/.config/labit/me.json(XDG_CONFIG_HOMEis honoured) and hands it to the widget, so the next lab starts out knowing you. Phones too:labit invite [name]bakes a name into the one-time link — the one you give, or yours — and the device that opens it starts out named. -
On a phone, a tap on the send arrow sends on the first try. The arrow keeps the cursor in the box by preventing the default on pointerdown, and a prevented pointerdown can swallow the click that follows — the tap then only moved focus, the box went back to its one line, and it took a second tap to send. A touch now sends from the touch itself, and the click that may follow it is ignored.
-
A comment you sent no longer comes back in the box. The kept draft was let go after the send, and posting redraws the box, so the new one read the words straight back in. It is let go before the send now, and handed back only if the send fails.
-
New in the ⋯ menu: pin over controls. The page's own links and buttons keep their clicks, so a demo still works while comments are on — with this on they do not, and a click there places a comment, as option-click always has. Remembered per browser.
-
While you are writing a comment, the page's own pointer is back. The crosshair (and the drawn pin that follows the mouse) said a click would drop another comment, mid-sentence, which is never what you meant. It returns the moment the box is empty again.
-
While there are words in a box that you have not sent, the dev server's reload waits. Behind a dev server the lab now puts a small holder at the top of every page: it keeps a reload message until the last box is empty again (sent or cleared), then hands it on, so the page is never more than one comment behind and you never lose your place mid-sentence.
-
A comment you are part-way through writing survives the page reloading under you. A dev server rebuilding the page (or a crash, or a tab closed by mistake) used to take the words with it. Now what is typed is kept as you type — per page, per thread — and comes back with it: a reply reopens its thread, and an unsent new comment comes back with its pin, on the spot you put it. It is dropped the moment it is sent.
-
labit has a mark (our pin as a head, two slabs as ears) and uses it: the bar's listening pill shows it instead of a dot (dark with a blink now and then while an agent listens, green with twitching ears while one works, grey and still when nobody listens; same pill size), and on phones it sits on the chat button. The lab's own screens (page list, not found, the one-time-link screen) open with it. A page with no tab icon of its own gets labit's in a local lab. The README carries it beside the name.
-
A pin whose element is gone now waits beside the content (in the gutter left of what it sat in), not 10 px from the window's left edge. On a wide window with a centred column those pins were hundreds of px from the page and read as lost. Phones and full-width pages are unchanged.
-
Computers: a click on the page's own controls is the page's, and the pin pointer steps aside over them: links and buttons as before, and now anything the page gives a hand pointer (a card, a demo you tap to play). Option-click still pins there.
-
Pause motion (⋯ menu, P): everything that moves on the page stops where it is, so you can pin a moment of an animation; again to play on.
-
Phones move more like native sheets (checked frame by frame in the iOS 27 simulator):
- Closing a sheet with the keyboard up takes the keyboard with it at once; the keyboard used to stay alone for 0.6 s after the sheet was gone.
- After you send, the sheet slides off with the keyboard; it used to ride the keyboard halfway down and vanish mid-screen.
- The dimmed page fades with the sheet's position, as it slides and while a finger drags it; it used to be gone while most of the sheet was still up.
- The first sheet after the page loads slides in; it used to show up already open.
- A new pin low on the page scrolls up above the sheet, so you see what you're commenting on.
- A pin's state change (Claude on it, done, a reply) eases in, and the ring fades in and out; they used to be cuts.
- Tapping "your name" no longer drops the sheet behind the keyboard, and Safari no longer offers "AutoFill Contact" there.
- The bar's buttons no longer stay grey after a tap.
- Pins keep their look but take a 44 pt tap: a finger near one opens it (they were 22 pt to hit).
- Sheets float as cards, as iOS 27's do: inset from the screen's edges, round at every corner, the page behind not dimmed. A tapped sheet grows out of what you tapped and shrinks back into it (after a send, into the new pin); a swipe still slides it down.
- The new comment card moves up with the keyboard instead of jumping there.
- From the motion lab (Leo's picks): after a send the card flies into the new pin, which pops in (B2), the keyboard waiting until it lands; the send arrow turns dark with a tiny pop when you start typing (A5); Claude's ring draws its arc in (C2).
-
The widget is split into TypeScript modules in
src/widget/:composer(the message box),messages,list,chat,thread,sheets(phone sheets, back gesture, keyboard fit) andlive(live page updates), besideanchoringandstyles. Its shared state is one object, so the parts can share it. Same behaviour;src/comments.jskeeps setup, loading, drawing and the events (2,688 → 1,428 lines). -
The server is moving to TypeScript: all of
lib/is TypeScript now (dev,devserver,mcp,proxy), andlocal.mjshands its command line (args), agent detection (agents), the running-labs list (labs) and the commands that answer and exit (commands: preview, add, list, pages, wait, reply, resolve, invite) to their own files; it keeps the server. Node runs the.tssource directly while working on labit; npm gets a built copy,dist/(made bynpm run build:clibefore every pack), so the package stays plain JavaScript with no dependencies, now 109 kB instead of 120 kB. -
A phone on a
--wifilab now needs a one-time link (labit invite): one use, ten minutes, after which that browser keeps a signed cookie for a day. Being on the same wifi is no longer enough, so finding the port on a public network shows a gate and nothing else. The pages still travel unencrypted over the wifi.
0.6.0 · 2026-11-16
- New npm name:
@leonidstern/labit(npx @leonidstern/labit; npm turned down the plain namelabitas too close tolabandlit). Thelabitandlabfbcommands both work once installed. The GitHub repo is now leonidstern/labit (old links redirect). - Everything else is labit too: the command in help and docs, the MCP server and plugins (
claude mcp add labit -- npx labit@latest mcp), the skill (skills/labit/). Settings move to~/.labit;LABIT_HOMEandLABIT_NO_UPDATE_CHECKreplace theLABFB_names, which still work. - The widget's source is split into modules: its stylesheet is
src/widget/styles.cssand pin anchoring issrc/widget/anchoring.ts(TypeScript).npm run buildbundles them into the same singlecomments.js. - Needs Node 22 or newer: Node 20 reached end of life in April 2026. CI tests Node 22, 24 and 26.
- The page script ships without its code comments: 49 KB gzipped instead of 68 KB, same code. Its commented source is
src/comments.js;npm run buildwritespublic/_lab/comments.js(npm run build:watchwhile working on it). - Local labs keep comments one file per page in
.lab/comments/(a comment rewrites only its page's file). A lab with the old.lab/comments.jsonmoves it over on start and keeps the old file as.lab/comments.json.bak. - Each page's comments list is kept, compressed, until that page changes, instead of being built and compressed again for every page load.
- Done threads with nothing new in 30 days move to
.lab/archive/<page>.json(on start, then once a day): pages no longer load them. - Removed the quick model and its router: every pin goes straight to the listening session. Gone with it:
--fast/--no-fast, theLAB_FAST_*variables,.lab/quick.jsonl, picking a tool or model in the pin ("use haiku", "@codex", "model:…", "!"), and 👍 keep / 👎 put back on quick fixes. - Command-Z (Control-Z) takes back the last pin or go placed from the tab, newest first (deleted on this computer, resolved for guests).
- Keys: C chat, W next new comment (Shift-W the one before), 1 comment, 2 go, 3 cursor (pins shown, clicks are the page's own), M hide; in a text box Control-D goes to the next new comment. The bar marks them in its words: (c)hat, ne(w). Old N, J, K, V, L, A, D keys are gone.
- Tabs in the background stay connected to the lab, so their pins, chat and "(3)" title count keep up while you're in another tab.
- N goes to the next new comment (the pill shows the key); Control-N does it from anywhere, the reply box too (Control-Shift-N: the one before); J and K still step forward and back.
- Going to a new comment ("N new" or J / K) puts the cursor in its reply box (computers).
- The bar's "N new" has no ‹ › arrows: a click goes to the next new comment, J and K step forward and back.
- No pictures left in the widget's controls: the close cross and the send arrow are drawn with CSS, and the picture pointers are gone (where the drawn pin can't show, in an open dialog or before the mouse moves, the system crosshair / copy pointer stands in). Holding Option over a link shows the drawn pin too.
- ‹ N new › counts new messages in done threads too.
- A thread's reopen / resolve / delete sit on the right, a size smaller, out of the reading flow.
- Washes set to 5 / 10 / 15 / 50 % for black and white, 15 / 30 / 50 % and solid for green.
- Colours are washes, as in Cooking: white, black and green, each with 4 see-through steps (
--lab-black-1…4,--lab-white-1…4,--lab-green-1…4); soft fills, hovers, lines and secondary text are washes of black on light and of white on dark. - The bar keeps its pills in place: ‹ N new › and "show done" stay (quiet and disabled at 0) instead of appearing and shifting the others.
- The browser tab shows new messages as "(3) Page title".
- The chat's top is just the grab strip (no empty title row), as tall as a thread's.
- A pin on the page's body or main that was on a word sits on that word again after the page changes; if the word is gone it shows faded as moved. One with no word shows faded as moved once the page's height has changed under it (new pins keep that height).
- The list window is parked: the bar shows ‹ N new › while there are new comments (the middle and J go to the next, ‹ and K to the previous), and a "show done · N" / "hide done" pill. On phones the agent's light moves to the chat button.
LIST_WINDOWbrings the list back. - The list shows each pin on one line (longer ones end in …); rows highlight in Apple's hover grey.
- Done pins with nothing new in them are hidden on the page; "show done · N" in the list brings them back (remembered per browser). A done pin with a new reply shows as usual.
- A wait's message starts with what it holds ("In this message: 3 new, 1 reply"), so an agent that only read part of it can tell something is missing.
- A safety net for missed pins: a thread handed to the agent more than 3 minutes ago (
LAB_REMIND_MS) that still has no answer after the person's last words comes back in the next wait, under "Still waiting for your answer", at most every 10 minutes. - Chat: a reply shows what it answers, as in Telegram (the name and the start of that message, a green bar beside it); a tap there jumps to it.
- The bar has ‹ › around "list" while there are new comments: they step through the new ones from the top of the page, without opening the list.
- The chat has no "chat" title (phones and computers).
- Writing in a done thread reopens it on the page at once (the lab already reopened it on its side).
- Greys are Apple's system greys, four steps a scheme (gray 6 #f2f2f7, gray 5 #e5e5ea, gray 3 #c7c7cc, gray #8e8e93; dark #2c2c2e, #3a3a3c, #38383a), in the widget and
lab.css. - On a computer a thread or new comment closes at once, like the chat (its fade-out flickered); phones still slide the sheet away.
- Lighter talk between the lab and the agent:
- A reply in a thread the agent already has comes as one line (the new words, the thread's id and what it's about), not the whole thread again.
- A new pin wakes the agent after 2 s of quiet (
LAB_SETTLE_MS), so a quick run of pins goes over together. - Pins leave out details agents rarely use (computed looks, colours, window size, CSS path); they stay in the full text at
/_lab/agent/<page>. reply … --waitanswers and listens again in one command.
- Done shows as a small green ✓ beside the name (like the ticks on messages), not "✅ done".
- A thread's reply box is the chat's: soft grey, no border; the new comment box drops its border too and keeps only a soft shadow so it stands out on the page.
- Phones on their side get the same sheets as upright (they used to get the computer's floating chat, which a tap outside didn't close and which couldn't be pulled up).
- Phones: tapping a pin moves the page so the pin sits above its thread sheet instead of under it.
- Router, narrowed after the big benchmark (v5 put back 15 fixes a run, 11 of them wrongly):
- Shared code is a file loaded from two or more files in other folders (or the stylesheet of such a component, or a
:rootstylesheet). Imports are resolved by path, so a feature's ownstatus.jsisn't another feature's, and a stylesheet is named in full, so importingInvoicesTabledoesn't count as importingInvoicesTable.module.css. On the benchmark app this flags exactly the 6 shared library files and none of the 11 feature files. - Only risky quick changes go to the session to check: code, or more than one file. A one-file style fix the quick model kept no longer wakes it.
- Shared code is a file loaded from two or more files in other folders (or the stylesheet of such a component, or a
- The drawn pointer shows exactly where the system pointer is hidden, checked again when the page scrolls under a still mouse, Shift or Option is pressed, or go and comments are switched. A page's own pointers (a clickable card) win over it; editable text gets a text cursor and data-uncommentable parts the plain arrow; in an open dialog, popover or full screen (above the widget) the picture pointer stays.
- The comment pointer is drawn with CSS (your pin following the mouse) instead of an image, so it changes smoothly: it turns green with a tick for go, and fades out where the system pointer takes over (links, fields, the widget, Shift). Mice only.
- Lab pages draw dividers as Apple-style hairlines: half a pixel (one device pixel on Retina) in Apple's separator grey (
--lab-hair,--lab-gray-300). - Pins find their element again after the page changes above them: when the stored path leads to a different element (a section added, items reordered), the pin looks for the one with the same tag, classes and words under the same heading, nearest to where it was, and sits at the same spot inside it.
- Pin statuses. A go pin is an outline with a green tick when placed, gets the turning stroke while the agent is on it, and fills green once done. A comment pin shows your initial, the stroke, then a green tick when done (was grey).
- Closing the chat (Escape, the button or a click outside) takes the cursor out of its box, so keys like M and V work right away.
- Keys swapped: M shows and hides comments (was C), C opens and closes the chat (was M).
- Lab colours are set up like Cooking's: a fixed grey scale and greens as base colours (
--lab-gray-*,--lab-green-*), and named uses that point at them (--lab-page,--lab-bg,--lab-fg,--lab-muted,--lab-line,--lab-soft,--lab-green,--lab-green-soft); dark mode only re-points the uses. Same colours as before, now solid hex. - Pointers are drawn once as PNGs (1x and 2x) instead of SVG, which browsers re-decode on every pointer change (a flicker, Safari most), and are rewritten only when your initial changes.
- A newer version waits to reload until no thread, list or chat is open, so nothing moves while you read.
- Messages: no "↩ replied" mark, and an agent's name shows without its session id ("Claude", not "Claude · session 8a296ba1").
- The comment pointer looks like your own pin: the white teardrop with your initial (a + before you've given a name), clicking at its point; links and controls keep theirs, Shift gives the text cursor back. The go pointer is the same shape, green with a tick.
- The ✓ / ✓✓ in a message's corner are as tall as the time's digits.
- The list's and chat's close button: hovering only darkens the cross (no circle behind it), and no "close" tooltip.
- Your own messages are soft green with dark text, not black.
- Go mode's pointer is a go pin (green teardrop with a white tick), clicking where its point is.
- Computers, with comments shown: a click or drag no longer selects the page's text; hold Shift to select (and quote) words. Fields and editable text stay selectable.
- Switching go mode (V or the button) redraws nothing, so nothing flickers.
- Apple's continuous corners (squircle) on boxes, cards, bubbles, sheets, keys and rows wherever the browser draws them (Safari 26, Chrome); dots stay circles and the pin keeps its teardrop.
- The lab's design system in one file,
/_lab/lab.css: colours, three corners, type, boxes, pills, buttons, keys, rows and tables, with--lab-*names that are also the widget's theme hooks. The lab's page list and its "not found" page use it. - The bar's "hide comments" reads just "hide".
- Two corner sizes in all: 6 px for small things (keys, list rows, tabs, tags, text buttons), 12 px for boxes, cards, bubbles, sheets and buttons (the bar's pills too, no more round ends). Circles only for dots and the send button.
- The list has just two tabs, new and open, and opens on new each time. The work, resolved and mine tabs and draft mode are parked (hidden, code kept).
- Replied and done show as small marks beside the name again (↩ replied, ✅ done), not inside the message's words.
- Hovering a pin shows what it's on: a drawn area its green outline, selected words their highlight. An open area pin shows its outline again (it was hidden when the area also held a quoted word), steady: no dark flash or shadow as it opens.
- "copy link" sits on the left side of the screen, beside who's listening; the bar stays on the right.
- The list's and the chat's close button is a round, quiet button with a drawn cross, darker on hover.
- The bar's pills show their keys: chat C, list L, go V, hide M (hidden on touch screens).
- Escape closes the chat and the list too (after an open thread or new comment).
- On a computer, opening the chat closes an open thread (and a new comment with nothing typed in it).
- Scrollbars inside the chat, threads and the list are thin, on a clear track, like macOS ones (CSS only).
- Go mode: a "go" button in the bar, or V, switches it on and off. While it's on, every click, drawn area, selection or hold on a phone posts a "go" pin at once (approve what it's on), with no box to type in; in draft mode go pins wait with the other drafts. Needs your name set once. A go pin is green with a tick, apart from comments.
- A comment on selected words puts its pin on the last selected letter, where the selection ended (on the first when the selection runs over several items).
- A pin the agent is on (handed to it and not answered yet, or answered "On it") has a green stroke running round its own teardrop outline.
- The list has a "work" tab: Now (handed to the agent and not answered yet, or answered "On it"), Next (sent, not handed yet) and Done today, for this page's pins and chat.
- Drawn areas are a green dotted outline with no fill and no dark ring; a quote that runs over several items is found and lit.
- Phones: the chat has two heights, like iOS and Android sheets: pull it up (or flick) to fill the screen, pull it down from there to go back; from the lower height a pull down closes it as before, and a hard flick down from the top closes it too. It opens at the lower height.
- Links in the chat and in threads open in a new tab.
- On a computer, a click outside the chat closes it and does nothing else (no new comment, no press on what's under it); what you typed stays.
- A newer version reloads the page as soon as it's safe: not while you type, have words in a box, place a new comment or just touched the page. An open chat, list or thread no longer holds it back; they come back after the reload.
- Jumping to a pin (list, chat, J / K) puts the pin and its open thread in view together, in the middle of the window when they fit.
- A long thread scrolls inside its card (at most 460 px or 62% of the window) and opens at its first new message, or the newest.
- Hovering a pin on quoted words lights them up; the quote's highlight is green, with no dotted box behind it.
- Phones: the sheet's grab strip is 44 px tall (it reaches a little above the sheet's edge); the bar looks the same.
- Phone sheets, from the bottom-sheet research (Vaul, Ionic, iOS and Android sheets):
- Android's back gesture closes an open sheet (chat, list, thread, new comment) instead of leaving the page; with something typed it nudges, like a tap on the dimmed page.
- Right after the messages or the list scrolled (a fling up to the top), a pull down keeps scrolling for 100 ms instead of taking the sheet with it.
- For 200 ms after letting go of a drag, a tap does nothing, so a sheet springing back under the finger doesn't press a button or pop the keyboard.
- iOS 26.0's leftover 24 px viewport offset after the keyboard closes is ignored (with nothing focused to type in), so the sheet no longer sits off by that.
- Local labs: what's new and what's read is shared by name, so your phone and your Mac (the same name) show the same: open a pin or the chat on one and its "new" clears on the other. Kept in
.lab/reads.json. - Each comment is marked when it's handed to a wait, instead of one "seen up to" time: a comment a batch left out (or one saved a moment late) is no longer skipped for good.
- Chat and list buttons stand out (bold) when something is new, and the chat marks where unread messages start with a "new" line.
- Resolving a thread closes its card.
- Computers: Shift + drag selects words (a plain drag still marks an area), and letting go opens a comment quoting exactly them. Comments from the phone's Comment chip quote the whole selection too, not just the first word. A quote holds up to 300 characters (was 80), so a long selection isn't cut short.
- Threads read like the chat: bubbles (yours on the right), the time and ✓ ✓✓ in the corner, ✅ on a done answer, a "new" line above the first unread reply.
- "copy link" keeps its width while it says "copied", so nothing beside it moves.
- On a computer, opening the chat puts the cursor in its message box.
- Chat: each message has its time in the corner (no hover tooltip over the text), your own with ✓ / ✓✓; no "↩ name: …" quote above replies (the ✅ for done stays); no click to reply (phones swipe).
- The list names each pin by what it's on: when the pinned element says little ("4", an icon), the text of the box around it.
- Phones: holding a link or image no longer starts iOS's drag, which cancelled the hold before the box could open the keyboard.
- Phones: a sheet follows the finger like a native one: from any part, and from its list or messages when they're at the top; a fast flick or a pull past a third closes it at the finger's speed, else it springs back; pulled up, it stretches a little.
- Chat: swipe a message left to reply to it (it follows the finger, ↩ shows, the phone ticks), and the box says so: "message · swipe one to reply".
- Phones: closing the chat or list with the keyboard up no longer jumps: the sheet slides down behind the keyboard, which goes once the sheet is gone.
- Phones, Safari 26: with the keyboard up, the strip above it around Safari's address pill (where Safari draws nothing fixed) is covered by a solid block in the page, so the page no longer shows under the box; the sheet stays a half sheet above it.
- A tap anywhere on a message box puts the cursor in it; the box is taller and wider than its one line of text, so taps near its edge used to miss.
- Chat: your messages show ✓ when sent and ✓✓ once handed to the agent, as in messengers.
- Phones: the page behind an open sheet no longer scrolls, even when you drag on a part of the sheet with nothing to scroll.
- The chat closes from the dimmed page even with text in its box (the text stays for next time); a thread or new comment with typed text nudges instead of closing, since closing would lose it.
labfb pages: a lab serving this folder hides one serving a folder above it, so the list is this lab's pages, not everything up there.- Phones: the keyboard's ^ ˅ step to the previous or next pin while you write a reply, the keyboard staying up.
- The router, from the big-app benchmark (Haiku said Done on 29 of 30 pins, 25 were right):
- A quick change to shared code (a file two or more others load, its stylesheet, or a stylesheet that sets :root variables) is put back and goes to the session with why, since it can break pages nobody pinned.
- The quick model's changes always reach the session as "Quick changes to check", even when no pin was passed, with the ask to check each does what the pin asked and nothing broader.
- Phones: with the keyboard up, a thread, the list and the chat fill exactly what the screen shows (so iOS can't push them up and no page shows around them); a new comment stays just above the keyboard with the page dimmed above it, so you see what you comment on.
- Phones: a tap or a swipe down on the dimmed page above a sheet closes it (the tap now also works on iOS Safari).
- Phones: while a sheet is open, swiping down no longer triggers the browser's pull-to-refresh.
- The chat holds only its own messages (about the page as a whole) and their replies; pins stay on the page and in the list. Your own comments are never new to you (your name in any case or spacing, or a pin this browser started), and the list tags threads with unread replies with a "2 new" pill. The chat stays at its newest message while the keyboard shortens it.
- The list marks done threads with ✅ (resolved, fixed by the quick model, or answered "Done: …").
- Sending eases the new message or reply in and the arrow flies off; the chat keeps its box (and the phone's keyboard) after a send and only follows new messages while you're at the bottom. Phones: prev / next are thumb-sized and keep the keyboard as it was, and the thread sheet keeps its height while you step.
- Phone sheets: the thread, list and chat scroll natively and move only from their top (handle and header), so a swipe down never scrolls the messages; the message box is solid down to the screen's edge (behind the home bar and the keyboard too), the page is dimmed past the screen's edges, the ✕ is gone on phones, and sheets slide away when closed. A sheet sits above the keyboard and fits what the screen shows.
- Phones: the send button works on the first tap with the keyboard open (pressing it no longer takes the cursor out of the box).
- Opening a thread puts the cursor in its reply box, phones too; in the chat, messages of resolved threads and "Done:" answers carry ✅ by the reply mark; chat messages don't count among the comments.
- Phone sheets feel native: they slide up, follow the finger down from the header (always) or the top of their content, spring back or slide away (a flick counts), and the dimmed page fades with them.
- Phone sheets dim the page behind them (a tap there closes them, unless something is typed), never scroll the page, and the chat opens at its newest message.
- Phones: the comment and name boxes ask for no autofill, autocorrect or writing suggestions; prev / next swap the thread in place (no slide, no keyboard).
- Whoever started a thread can resolve and reopen it (the key their browser keeps for moving the pin), on a phone too; deleting stays admin-only.
- Phones: the agent's light sits in the "list" button (steady: listening, blinking: working, grey: nobody) instead of a separate label, and the bar is back at the bottom; the send button is a 36 px circle. On computers the label's light blinks while the agent works.
- Phones: swipe a sheet down to close it; a thread has ‹ prev, next › and new · 2 ›; a tap on the page puts the cursor in the new comment's box at once.
- The page waits to reload after a change while a thread, a new comment or the list is open, or a box has focus; it reloads when you close it.
- A chat ("chat" in the bar): the page's whole conversation in time order, pins (with what they're on) and every reply. A new message is about the page as a whole (no spot, no pin; the agent reads it as "on: the page as a whole"); tap a message to answer it instead. On phones the chat and the list are sheets from the bottom.
- A comments list ("list · 2 new" in the bar, or L), each comment with a few words of what it's on: new (unread replies), open, resolved (admins) and mine; J/K step through the pins and scroll to each, R replies, E resolves.
- Draft mode: with "draft mode" on in the list, new pins wait in this browser until "send 3 drafts", so the quick step doesn't start on pin 1 of 10.
- Phones: a tap only reads; hold a finger still for half a second anywhere to pin (links and buttons too), and the box opens with the keyboard (with comments on, the page's text isn't selectable, so iOS doesn't take the hold for a selection). A new comment or a thread opens as a sheet from the bottom, full width; selected text gets a Comment chip.
- The quick step, from the fix benchmark:
- It takes bug reports asked as questions ("why is this here twice?", "nothing happens") and one-line logic slips (a comparison, a rounding, a condition), not only wording and styles. Before, Haiku passed every pin worded as a question.
- When it passes, it says why ("PASS: needs a change in lib/orders.js"); the session gets that line with the pin.
- Each quick change is checked: labfb notes the project's files before, sees exactly what changed after, and keeps it only when the tool said Done and it is small (3 files, 40 lines). A pass, or a change too big, is put back, so the session starts from the files as they were.
- The quick model's changes ride along with the next pins the session gets, for a glance (they never wake it by themselves).
- Every quick decision is a line in
.lab/quick.jsonl(done, pass, put back; why; files; lines; seconds). - 👍 keep / 👎 put back on a quick fix (this computer): 👎 restores the files if nobody changed them since, and hands the pin to the agent marked as rejected.
- Sharper pins, from a frontend fix benchmark:
- Every element on a React dev build now gets its own JSX file and line ("written at") and the component that rendered it, not only a component's outermost element (it was 3 of 24 pins in the benchmark).
- The "looks" line names only CSS variables that are colours: a radius or spacing variable no longer names a text colour (it did on 12 of 24 pins).
- Behind a dev server, the app's index.html shell isn't given as a page's file; the route's source is, spelled as on disk (src/pages/Orders.jsx).
- An area comment lists what it holds: the elements wholly inside it, each with its text, component and line.
- Locally the agent text says to answer with
reply, not with a POST.
- Any agent, not just Claude:
- labfb tells which agent runs
waitandreply(Codex, Cursor, Amp, opencode, Antigravity, Claude; Copilot withLAB_AGENT=copilot). The page says "talking to Codex", replies are signed "Codex", and a Codex or Amp session shows its way back (codex resume <id>, tap to copy; Amp's thread link). - The quick step runs with whichever agent tool is installed (the listening agent's own first):
codex exec,cursor-agent -p,opencode run,copilot -p,amp -x,agy -p, never with "allow all" flags. A "Done" that changed no file counts as a pass.LAB_FAST_AGENTandLAB_FAST_MODELchoose. - Fixed: the quick step signed every answer "Claude", even when
LAB_FAST_CMDran another tool. - The skill reads the same for every agent;
npx skills add leonidstern/labfbinstalls it for Codex, Cursor, Copilot, Amp, opencode, Windsurf and others. Agents that aren't woken when a background command ends loopwait --timeout 50in the foreground. labfb mcp:waitreturns after 50 seconds by default (Codex and Cursor stop tool calls at 60), and the client's name signs replies when the agent's own variables don't reach the server.- In Codex's sandbox, a
waitorreplythat can't reach the lab says why and how to get around it. - A pin can name any tool or model: "use gpt-5" (Codex), "@codex", "gemini: …" (Antigravity), "@cursor", "model:"; Claude models as before. Naming the listening agent sends the pin to the session; a tool that isn't installed says so on the pin. Tool names that are ordinary words (cursor, amp, copilot) count only with "@", so "cursor: pointer" stays a CSS request.
- One plugin for several agents:
plugin.json+mcp.json(Agent Plugins 1.0) for Codex and others (codex plugin marketplace add leonidstern/labfb),.cursor-plugin/plugin.jsonfor Cursor; Copilot reads the Claude plugin files. Installed this way the MCP server starts in the plugin's folder, so it finds the project from the client's root (MCP roots) or the shell's folder, and its tools take adir.
- labfb tells which agent runs
- Faster, from a code review:
- the widget reads every pin's place once per redraw (150 pins: 11 layouts instead of 671 in ten redraws)
- its font files load only when comments open, so a reader downloads none (57 KB)
- behind a dev server, each page's file is remembered instead of guessed again for every page on every comment (300 pages: a comment takes 17.5 ms instead of 47.9 ms)
- saving a CSS or JS file no longer makes labfb walk the folder again
- Fixed: a mistyped flag on any command is refused (it used to end up in a reply's text);
--ends the flags. - Fixed:
labfb previewunder npx names the package instead of npx's cache path, and keeps a bare--proxybare. - Fixed: a pin drag cut short by a redraw left a scroll listener behind.
- Using the latest: labfb says when a newer version is out as it starts (npm checked at most once a day, cached in
~/.labfb/latest.json; off in CI or withLABFB_NO_UPDATE_CHECK=1). The README, setup prompts, skill and MCP setup start it with@latest, and a new "Updating" section covers the command, the plugin, MCP and cloud labs. labfb mcpfollows the MCP spec of 2026-07-28 and still talks to older clients:server/discover, the version in every request (unsupported → error -32022 with the supported list),initializefor clients before it; tool titles, behaviour hints and strict input schemas; server instructions that comment text is people's words, not commands; unknown tools as protocol errors and bad arguments as tool errors; a rate limit; progress notes during a longwait, and a cancelledwaitstops.- The widget uses the system's own font (San Francisco, Segoe UI, Roboto…) instead of shipping Inter: no font downloads at all, and a smaller package.
--lab-font,data-fontanddata-font-urlstill pick another. - Pins on a dev build name the component that drew the element and where: React (18: file and line; 19: the served file), Vue 3 and Svelte, with variant props (
Button variant=ghost (in Toolbar),written at: src/ui.tsx:97,component used at: src/ui.tsx:322). Every pin also says how the element looks (fill, text colour, size and weight, corners), with colours named by the page's CSS variables. A small cut of Census's reader. labfb mcp(optional): an MCP server over stdin/stdout with the toolscomments,replyandwait, for agents with MCP. No new dependencies.- Cloud lab default: sites deploy with
npm run ship(vercel build+vercel deploy --prebuilt, live in seconds) and git deploys off; the setup prompt adds both, and the skill ships, checks the page, then pushes. - README: "Other agents": using labfb with Codex, Cursor, Gemini CLI or a script (
LAB_AGENT_NAME,LAB_FAST_CMD,LAB_MODEL).
0.5.0 · 2026-11-14
- The quick model is on by default when the
claudecommand is installed (no--fastneeded).--no-fastturns it off; without the command it stays off. - Skill: "use lab" (or "in lab", "show it in lab") makes Claude show a page in labfb instead of publishing an Artifact: it writes the HTML file, runs labfb, opens the page, and answers your pins.
- Run it in your project:
npx @leonidstern/labfb, no folder. With the project's dev server running, it puts comments on top of it by itself: it finds the server run from this folder (or one inside it), even with other projects' servers running.--proxywith no port does the same. - A project with a dev server that isn't running is no longer served as a file listing of
srcandnode_modules: it says to start the server, and names the other projects' servers it saw. - README: local setup is one prompt to paste into Claude Code, like the cloud lab; the plugin is the shortcut for regular use. No
<folder>placeholders. The skill starts labfb with no folder. - A folder with no
index.htmlat the top opens its first page (public/index.html, say) instead of a list of folders. The list at/shows every page with its title, and leaves out folders with no pages. labfb pages: every running lab's pages as a Markdown list in.lab/lab-pages.md, with open comment counts. Running labs register in~/.labfb/servers/(removed on exit), and each lab answers/_lab/pagesfor this computer only. The skill sends the file to the person after starting a lab, so it sits under Outputs in the desktop app.- One lab per project:
labfb listshows the labs running on this computer; starting a lab in a folder that a running lab already serves opens that lab instead (--newstarts a separate one). The skill and the cloud setup prompt now check for an existing lab, project, page or session before creating one. labfb add <url>/labfb remove <url>: save cloud lab pages with the project (.lab/links.json).pageslists the project's labs and cloud pages, by domain with open comments;pages --alllists every lab on the computer.- Fixed: an area comment's text is now the words inside the area. It was the whole paragraph whenever the area reached above or below a line of text.
- Fixed: a comment card could stay see-through when the page was in the background (a stalled fade-in); cards now only slide in, never fade.
- Fixed: dragging on an image while a comment card was open dragged the image itself. Now it marks an area and closes the card; with comments on, images and videos never start a browser drag.
- Pins say more, so an agent finds the spot from the text alone (found with the benchmark in
bench/situations*):- the exact pixel next to the rounded percents; the real file size of
srcsetand<picture>images; a spot inside CSS background photos (using the photo's own layer under a gradient); pictures turned by a CSS transform measured with the transform undone; pictures inside an SVG<image> - the blocks above and below a click on empty space, and the page y; light or dark (the colour behind the pin)
- words in Chinese, Japanese, Korean and Thai; text added by CSS
::before/::after; the chosen option of a<select>; words inside open web components (Shadow DOM) - code: the page's own line numbers in excerpts, lines drawn one element per line (Docusaurus), and a block's title next to it
- animated pictures: a rough time since they loaded (a page can't read which frame is showing)
- the exact pixel next to the rounded percents; the real file size of
- Option-click is for commenting only: the page never sees it, so menus, buttons and folds don't act before the pin lands.
- A pin can pick its model in plain words: "@fable", "use opus", "with sonnet", "fable: …". That model makes the change, whatever its size (up to 10 minutes), and signs its answer "Claude · fable". "!" at the start or "@claude" sends the pin straight to the session. Plain mentions ("the fable of…", "Opus 23") don't count.
0.4.0 · 2026-11-14
- Package:
npx @leonidstern/labfb <folder>,--version,npm test, CI on Node 20, 22 and 24. - Claude plugin:
/plugin marketplace add leonidstern/labfb, then/plugin install labfb@leonidstern. The skill moved toskills/labfb/. - Delete asks inside the card, not with the browser's dialog.
- Hold Option to comment on links and buttons, also while comments are hidden with
c. - Posting a new comment closes its card; the pin stays.
- Closing the page: Claude keeps waiting quietly and wakes on your next comment; after an hour with no page open,
waitends and says so. Tabs in the background count as open. - Replies use the comment id (numbers shift after a delete).
- Fixed: an unknown option was read as a folder name; paths with spaces or on Windows.
0.3.0 · 2026-11-14
- Local mode on a running dev server:
--proxy <port>(Astro, Next, Vite). - New replies show in the open card; the reply box takes focus.
- The label says whether Claude is listening, working, or away.
- Thin dotted area line that shows on any page; smooth send arrow.
0.2.0 · 2026-11-14
- Drag your own pin to move it.
data-uncommentableanddata-comment-target, the same names as Claude artifact comments.--fast: a quick model tries small changes first.preview <folder>for the Claude desktop app's preview pane.
0.1.0 · 2026-11-14
- Local mode: comments on pages on your computer,
waitandreplyfor Claude. - Cloud lab: pin comments, agent text link, per-person admin links, paper look.