@vibest/cli 0.0.1-beta.17 → 0.0.1-beta.18
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/bin/vibest.cjs +0 -5
- package/harnesses/claude/.claude-plugin/plugin.json +1 -1
- package/harnesses/claude/README.md +18 -2
- package/harnesses/claude/hooks/register.mjs +6 -6
- package/harnesses/claude/skills/delegate/SKILL.md +5 -5
- package/harnesses/claude/skills/pipeline/SKILL.md +3 -3
- package/harnesses/cursor/.cursor-plugin/plugin.json +1 -1
- package/harnesses/cursor/hooks/hooks.json +13 -3
- package/harnesses/cursor/hooks/vibest.sh +3 -8
- package/harnesses/cursor/skills/delegate/SKILL.md +5 -5
- package/harnesses/cursor/skills/pipeline/SKILL.md +3 -3
- package/harnesses/pi/extension.mjs +460 -526
- package/harnesses/pi/skills/delegate/SKILL.md +5 -5
- package/harnesses/pi/skills/pipeline/SKILL.md +3 -3
- package/herdr-plugin/README.md +1 -1
- package/package.json +16 -14
|
@@ -12,18 +12,18 @@ You direct subagents. You stay with the user. Each result arrives in your inbox
|
|
|
12
12
|
Split independent pieces. Research and review run in parallel. One writing subagent per set of files. A few shell reads (`git diff`, `rg`) you do yourself.
|
|
13
13
|
|
|
14
14
|
```
|
|
15
|
-
vibest run <harness> --title '<Title>' -- '<self-contained task>'
|
|
15
|
+
vibest run [<harness>] --title '<Title>' -- '<self-contained task>'
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Its id is <id>.
|
|
19
19
|
|
|
20
20
|
```
|
|
21
|
-
vibest run <harness> --title '<Title>' --archive-on-completion -- '<task>'
|
|
21
|
+
vibest run [<harness>] --title '<Title>' --archive-on-completion -- '<task>'
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
`--archive-on-completion` is only for a session you will not message again after it completes. It archives once the session reports completed and that result has reached you. The branch is kept. Do not `vibest send` it after that. Any turn that ends normally archives it, a question included, so do not use it for a session that may need an answer. A `failed` result has not archived it: send the correction to the id it printed; the flag still archives the completed result that follows. A reviewer that gets later rounds is the pipeline skill and must stay open, without this flag.
|
|
25
25
|
|
|
26
|
-
- `<harness>`
|
|
26
|
+
- Leave `<harness>` out to use your own harness, provider and model; name one (`pi`, `claude`, `cursor`, or any harness a plugin adds; `vibest harness list`) to switch.
|
|
27
27
|
- Always pass `--title`: three to six words, verb first, first letter capitalised, no kebab-case, saying what is done rather than how ("Fix login redirect loop"). The user's language is fine.
|
|
28
28
|
- Each session gets its own new worktree.
|
|
29
29
|
- Several `vibest run` commands in one message start in parallel.
|
|
@@ -47,7 +47,7 @@ Then say what changed, the evidence, and the branch. `<id>` is the id the run pr
|
|
|
47
47
|
|
|
48
48
|
## Track
|
|
49
49
|
|
|
50
|
-
`vibest ls`
|
|
50
|
+
`vibest ls` prints `{ sessions, machines }`: the sessions that have not exited (task cut to 500 characters, live status, latest result), and the other machines with their connection state. `vibest ls --all` includes exited sessions. `vibest result <id>` is the full latest result, with the task uncut. Use these after a restart, after compaction, or when you are unsure. Do not trust memory.
|
|
51
51
|
|
|
52
52
|
## Follow up
|
|
53
53
|
|
|
@@ -59,7 +59,7 @@ Then say what changed, the evidence, and the branch. `<id>` is the id the run pr
|
|
|
59
59
|
|
|
60
60
|
- Archive a research agent with `vibest archive <id>` once its findings are saved, or start that session with `--archive-on-completion` when you will not message it again. Same for a review or verification you will not continue.
|
|
61
61
|
- Keep an agent that changed code until the user asks to remove it. Archiving keeps the branch, and the worktree whenever it holds unsaved work. `vibest archive --keep-worktree <id>` only when the user wants the directory kept.
|
|
62
|
-
- A `## Remember` section: write each lesson with your file tool to `$VIBEST_PROJECT_DIR/memories/<name>.md`, one lesson per file; edit the file when a lesson there changes.
|
|
62
|
+
- A `## Remember` section: write each lesson with your file tool to `$VIBEST_PROJECT_DIR/memories/<name>.md`, one lesson per file; edit the file when a lesson there changes. Start the file with a one-line summary (or frontmatter with `name` and `description`), because that line is what the memory index shows.
|
|
63
63
|
|
|
64
64
|
## The user steps into a pane
|
|
65
65
|
|
|
@@ -10,7 +10,7 @@ Plan → the user agrees → implement → review until the reviewer approves
|
|
|
10
10
|
## 1. Plan
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
vibest run <harness> --title 'Plan <topic>' -- 'Write an implementation plan for: <goal, paths, constraints>. Read the code. Report the approach, the files to change, the steps, how to verify, and open questions. Do not modify files.'
|
|
13
|
+
vibest run [<harness>] --title 'Plan <topic>' -- 'Write an implementation plan for: <goal, paths, constraints>. Read the code. Report the approach, the files to change, the steps, how to verify, and open questions. Do not modify files.'
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Its id is <planner id>. Tell the user the plan is being written and end your turn. Do not pass `--archive-on-completion`: the user has not agreed yet, and a completed result would archive the session before they can answer.
|
|
@@ -24,7 +24,7 @@ Show the plan in full, including open questions. Do not implement until the user
|
|
|
24
24
|
Save the agreed plan, verbatim, with your file tool as `$VIBEST_PROJECT_DIR/artifacts/pipeline-<topic>-plan.md` (a new file name if that one exists). Then:
|
|
25
25
|
|
|
26
26
|
```
|
|
27
|
-
vibest run <harness> --title 'Implement <topic>' -- 'Implement the plan at <absolute plan path> exactly. Run the tests and typecheck, commit on a branch, push, and report the branch and hash. Do not open a pull request.'
|
|
27
|
+
vibest run [<harness>] --title 'Implement <topic>' -- 'Implement the plan at <absolute plan path> exactly. Run the tests and typecheck, commit on a branch, push, and report the branch and hash. Do not open a pull request.'
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Its id is <implementer id>. The absolute plan path is the value of VIBEST_PROJECT_DIR (`echo $VIBEST_PROJECT_DIR`, or `directory` from `vibest project info`) plus `/artifacts/` and the file name. Do not pass `--archive-on-completion`: this session stays for review and the pull request. When it reports, check the diff and the tests yourself before review.
|
|
@@ -35,7 +35,7 @@ Its id is <implementer id>. The absolute plan path is the value of VIBEST_PROJEC
|
|
|
35
35
|
Read-only here is the prompt you pass, plus the peer git rule the session already has: no commit, and nothing that moves HEAD, a branch, or the index.
|
|
36
36
|
|
|
37
37
|
```
|
|
38
|
-
vibest run <harness> --title 'Review <topic>' --peer <implementer id> -- 'Review the change on this branch against the plan at <absolute plan path>. Run git diff main...HEAD. Do not modify files, commit, or move HEAD. Look for bugs, missing tests, and departures from the plan; run the tests. Start with "verdict: approve" or "verdict: changes requested", then each comment with file and line.'
|
|
38
|
+
vibest run [<harness>] --title 'Review <topic>' --peer <implementer id> -- 'Review the change on this branch against the plan at <absolute plan path>. Run git diff main...HEAD. Do not modify files, commit, or move HEAD. Look for bugs, missing tests, and departures from the plan; run the tests. Start with "verdict: approve" or "verdict: changes requested", then each comment with file and line.'
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
Its id is <reviewer id>. Do not pass `--archive-on-completion`: later rounds go to this reviewer with `vibest send`.
|
package/herdr-plugin/README.md
CHANGED
|
@@ -9,7 +9,7 @@ vibest does not link or enable this plugin. Registration is global for your user
|
|
|
9
9
|
From a checkout:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
herdr plugin link /absolute/path/to/
|
|
12
|
+
herdr plugin link /absolute/path/to/packages/cli/herdr-plugin
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
From a curl install, the directory is unpacked next to `bin/` and `harnesses/` and is not linked:
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibest/cli",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.18",
|
|
4
4
|
"description": "vibest: vibestd daemon and the vibest CLI. A coordinator directing sessions in herdr panes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/vibest-dev/vibest.git",
|
|
9
|
-
"directory": "
|
|
9
|
+
"directory": "packages/cli"
|
|
10
10
|
},
|
|
11
11
|
"bin": {
|
|
12
12
|
"vibest": "./bin/vibest.cjs"
|
|
@@ -32,26 +32,28 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@effect/platform-bun": "4.0.2",
|
|
34
34
|
"@effect/sql-sqlite-bun": "4.0.2",
|
|
35
|
-
"@vibest/
|
|
36
|
-
"@vibest/
|
|
37
|
-
"@vibest/
|
|
38
|
-
"@vibest/plugin
|
|
39
|
-
"@vibest/
|
|
40
|
-
"@vibest/
|
|
41
|
-
"@vibest/
|
|
42
|
-
"@vibest/
|
|
35
|
+
"@vibest/builtins": "0.0.1-beta.18",
|
|
36
|
+
"@vibest/client": "0.0.1-beta.18",
|
|
37
|
+
"@vibest/core": "0.0.1-beta.18",
|
|
38
|
+
"@vibest/plugin": "0.0.1-beta.18",
|
|
39
|
+
"@vibest/plugin-harnesses": "0.0.1-beta.18",
|
|
40
|
+
"@vibest/protocol": "0.0.1-beta.18",
|
|
41
|
+
"@vibest/runtime-herdr": "0.0.1-beta.18",
|
|
42
|
+
"@vibest/runtime-herdr-core": "0.0.1-beta.18",
|
|
43
|
+
"@vibest/schema": "0.0.1-beta.18",
|
|
44
|
+
"@vibest/server": "0.0.1-beta.18",
|
|
43
45
|
"effect": "4.0.2",
|
|
44
|
-
"effect-herdr-sdk": "0.0.1-beta.
|
|
46
|
+
"effect-herdr-sdk": "0.0.1-beta.18"
|
|
45
47
|
},
|
|
46
48
|
"optionalDependencies": {
|
|
47
|
-
"@vibest/cli-darwin-arm64": "0.0.1-beta.
|
|
48
|
-
"@vibest/cli-linux-x64": "0.0.1-beta.
|
|
49
|
+
"@vibest/cli-darwin-arm64": "0.0.1-beta.18",
|
|
50
|
+
"@vibest/cli-linux-x64": "0.0.1-beta.18"
|
|
49
51
|
},
|
|
50
52
|
"scripts": {
|
|
51
53
|
"build": "bun scripts/build.ts && bun scripts/build-harnesses.ts",
|
|
52
54
|
"build:darwin-arm64": "bun scripts/build.ts ../../packages/cli-darwin-arm64/bin/vibest bun-darwin-arm64",
|
|
53
55
|
"build:linux-x64": "bun scripts/build.ts ../../packages/cli-linux-x64/bin/vibest bun-linux-x64",
|
|
54
56
|
"typecheck": "tsrs --noEmit --fast",
|
|
55
|
-
"test": "cd ../.. && bun ./node_modules/vitest/vitest.mjs run
|
|
57
|
+
"test": "cd ../.. && bun ./node_modules/vitest/vitest.mjs run packages/cli"
|
|
56
58
|
}
|
|
57
59
|
}
|