@leonidstern/labit 0.6.2 → 0.6.3-edge.4.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/CHANGELOG.md +15 -0
- package/README.md +1 -1
- package/api/_schema.mjs +29 -0
- package/api/lab-comments.mjs +26 -10
- package/dist/{chunk-XZUZQFBJ.mjs → chunk-AVPXXSFF.mjs} +7 -1
- package/dist/{chunk-LNYMIFDQ.mjs → chunk-QTMKKULT.mjs} +1 -1
- package/dist/{commands-LAQNMF2X.mjs → commands-L2RJ7R5W.mjs} +19 -5
- package/dist/local.mjs +173 -58
- package/dist/{mcp-4UPGXLZR.mjs → mcp-CNZISCIA.mjs} +8 -5
- package/package.json +1 -1
- package/public/_lab/comments.js +14 -14
- package/skills/labit/SKILL.md +1 -1
package/skills/labit/SKILL.md
CHANGED
|
@@ -30,7 +30,7 @@ Start it with `npx @leonidstern/labit@latest`, so the person gets the newest ver
|
|
|
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
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
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
|
-
4. For each comment: edit the file (the page reloads by itself), then answer on the pin with `LAB reply <id> "
|
|
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>"`: `--done` tells the page the ask is done and closes the thread. Use the comment id that `wait` printed, not the number: numbers shift after a delete. Starting on something that takes a while: `--on-it`. If you need something from the person, ask in the reply with `--question` and leave it open. (Older labit read "Done: …" at the start of the text; that still works, the flag is clearer.) 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
|
|
|
36
36
|
## Zoom
|