@leonidstern/labit 0.6.1 → 0.6.3-main.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +22 -0
- package/README.md +7 -1
- package/api/lab-comments.mjs +8 -1
- package/dist/chunk-DIR2O7SK.mjs +13 -0
- package/dist/chunk-LNYMIFDQ.mjs +49 -0
- package/dist/{chunk-T4IF6ZJQ.mjs → chunk-X4RYDWNI.mjs} +1 -55
- package/dist/chunk-XZUZQFBJ.mjs +65 -0
- package/dist/{commands-BPVIWBCF.mjs → commands-LAQNMF2X.mjs} +36 -51
- package/dist/flags-PGKWZHJC.mjs +10 -0
- package/dist/local.mjs +309 -165
- package/dist/{mcp-BKU67CST.mjs → mcp-4UPGXLZR.mjs} +65 -21
- package/dist/settings-XLFKONNN.mjs +175 -0
- package/package.json +3 -3
- package/public/_lab/comments.js +18 -18
- package/skills/labit/SKILL.md +2 -2
package/skills/labit/SKILL.md
CHANGED
|
@@ -28,8 +28,8 @@ Start it with `npx @leonidstern/labit@latest`, so the person gets the newest ver
|
|
|
28
28
|
|
|
29
29
|
1. In the project, run `npx @leonidstern/labit@latest` in the background (no folder). With the project's dev server running (Astro, Next, Vite…) it puts comments on top of it by itself, ignoring other projects' servers. If it says the dev server isn't running, start it the way the project does (usually `npm run dev`, in the background), then run `LAB` again; never stop other servers. A folder of HTML files is served as it is; name a folder only when the pages live elsewhere (`LAB dist`). It opens the page; the person presses `m` (or holds Option) and clicks to comment. If the site has a base path, `/` is a 404: open a real page such as `/leo/<page>`.
|
|
30
30
|
2. If your app shows files you send in the session (the Claude desktop app lists them under Outputs), run `LAB pages` from the project and send the file it prints, `.lab/lab-pages.md`: this project's labs and saved cloud pages, as links (`--all` for every lab on the computer). Links only: an HTML file sent this way opens as a single file that can't follow links, so it never reaches the live page. Send it again whenever you start another lab; the same file keeps one row.
|
|
31
|
-
3. From the project, run `LAB wait --name "<short project name>" --model "<the model you run on, e.g. Sonnet 5.5>"` in the background. The page then says "talking to <your agent> · <model> (<name>)": labit tells Claude, Codex, Cursor, Amp, opencode and Antigravity apart by themselves (Copilot: set `LAB_AGENT=copilot`). It ends with the next comment, printed in full.
|
|
32
|
-
If your app doesn't tell you when a background command finishes, run it in the foreground instead and loop: `LAB wait --timeout 50 --name "<name>" --model "<model>"`; "No new comments yet" means run it again.
|
|
31
|
+
3. From the project, run `LAB wait --bg --name "<short project name>" --model "<the model you run on, e.g. Sonnet 5.5>"` in the background — in the background, always. A wait left in the foreground holds your turn open for as long as it listens: the person cannot say a word to you until it ends, and the message they send to reach you kills it. Nothing in the command can tell the two apart, so `--bg` is your word for it, and without that word a wait ends after a minute. The page then says "talking to <your agent> · <model> (<name>)": labit tells Claude, Codex, Cursor, Amp, opencode and Antigravity apart by themselves (Copilot: set `LAB_AGENT=copilot`). It ends with the next comment, printed in full.
|
|
32
|
+
If your app doesn't tell you when a background command finishes, run it in the foreground instead and loop, with no `--bg` and a short timeout so the person is never held up for long: `LAB wait --timeout 50 --name "<name>" --model "<model>"`; "No new comments yet" means run it again.
|
|
33
33
|
4. For each comment: edit the file (the page reloads by itself), then answer on the pin with `LAB reply <id> "Done: <what changed>"`. Use the comment id that `wait` printed, not the number: numbers shift after a delete. Add `--resolve` when the ask is fully done. If you need something from the person, ask in the reply instead and leave it open. Keep answers short, since they're read in a small window: one point per line or two, a blank line between points, `- ` lines for lists.
|
|
34
34
|
5. Start `wait` again right away, so the page never says "no agent listening" while you are around. If `wait` says the page was closed (no page for an hour), stop listening: start again only when the person asks.
|
|
35
35
|
|