@leonidstern/labit 0.7.1 → 0.8.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/README.md +3 -3
- package/dist/local.mjs +1 -1
- package/package.json +3 -2
- package/public/_lab/attach.js.br +0 -0
- package/public/_lab/boardview.js.br +0 -0
- package/public/_lab/comments.js.br +0 -0
- package/public/_lab/draw.js.br +0 -0
- package/public/_lab/motion.js.br +0 -0
- package/public/_lab/switcher.js.br +0 -0
- package/skills/labit/SKILL.md +17 -15
package/README.md
CHANGED
|
@@ -35,13 +35,13 @@ codex plugin marketplace add leonidstern/labit
|
|
|
35
35
|
|
|
36
36
|
**Cursor:** install labit from the repository as a plugin (it carries the skill and the hooks).
|
|
37
37
|
|
|
38
|
-
**opencode
|
|
38
|
+
**opencode** (2.x): one file, in your project (or `~/.config/opencode/plugins/` for every project), and the skill from the CLI:
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
mkdir -p .opencode/plugins && curl -fsSL https://raw.githubusercontent.com/leonidstern/labit/main/hooks/agent.mjs -o .opencode/plugins/labit.js
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Each gives your agent the skill and two hooks, with no MCP: while the session works, the pins it claimed show a live "session activity" line, and a pin that lands after it stopped listening comes in as its next turn (
|
|
44
|
+
Each gives your agent the skill and two hooks, with no MCP: while the session works, the pins it claimed show a live "session activity" line, and a pin that lands after it stopped listening comes in as its next turn (Cursor when the turn ends, opencode when the session goes idle, Codex when the turn ends or with your next message, since Codex can't be woken while idle). Without the hooks the agent still answers with `wait` and `reply`, as below.
|
|
45
45
|
|
|
46
46
|
**Any other agent:** tell it to run these in your project.
|
|
47
47
|
|
|
@@ -64,7 +64,7 @@ Run each `wait` from the agent itself, never in a shell loop (`while true; do
|
|
|
64
64
|
- You name yourself once. The name is kept for this computer in `~/.config/labit/settings.json`, so every later lab starts out knowing you — browsers keep it per port, labs don't. `labit invite [name]` carries a name to a phone the same way. `--page /path` makes the link open that page. Opening a used or old link again on a phone that's already in just takes you there, and a phone that keeps using the lab stays in.
|
|
65
65
|
- Settings (port, your dev server, keys, the quick-action buttons of the comment box, how long the lab waits…): `labit.json` in the project and `~/.config/labit/settings.json` for you (the `actions` list is set only there, not on the page). `labit settings` shows them all; [docs/settings.md](docs/settings.md) explains each.
|
|
66
66
|
- A pin on a React, Vue, Next or Astro dev page also says which component drew it (`component:`) and where (`written at:`): React 18 file and line; Vue the file, no line; Next none (its built chunks are not source); Astro the file and line of what its compiler wrote. The agent never gets a guessed one.
|
|
67
|
-
- Comments stay in `.lab/` in your project. Add it to `.gitignore`.
|
|
67
|
+
- Comments stay in `.lab/` in your project. Add it to `.gitignore`. `labit gc` lists every lab folder you have used, its `.lab` size and what could go; it only reports.
|
|
68
68
|
- A click on the page pins a comment; the page's own links and buttons keep their clicks. Hold ⌥ to pin on anything, controls included.
|
|
69
69
|
- No dependencies, Node 22+. `--help` lists everything else.
|
|
70
70
|
|