@vibest/cli 0.0.1-beta.16 → 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.
@@ -12,23 +12,23 @@ 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>` is `pi`, `claude` or `cursor` (`auto` only when a spawn plugin chooses).
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.
30
30
  - A subagent cannot see this conversation. Say what to achieve, where (paths, lines), what done means, and how to verify it. For code: run the tests and typecheck, commit, and report the branch and hash.
31
- - Long material: `vibest project write scratch <name>.md --if-version new -- '<text>'`. The absolute path is `scratchPath` from `vibest project info`, plus the file name. If write says the file already exists, `vibest project read scratch <name>.md`, then write again with the version it prints, or pick a new file name.
31
+ - Long material: write it with your file tool to `$VIBEST_PROJECT_DIR/artifacts/<name>.md` (a new file name if that one exists) and give the agent its absolute path: the value of VIBEST_PROJECT_DIR (`echo $VIBEST_PROJECT_DIR`, or `directory` from `vibest project info`) plus `/artifacts/` and the file name.
32
32
  - If the user approved a specific action, quote their exact words.
33
33
 
34
34
  ## After you start
@@ -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` lists sessions that have not exited: task (cut to 500 characters), live status, and latest result. `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.
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: `vibest project write memory <name>.md --if-version new -- '<lesson>'`. If write says the file already exists, `vibest project read memory <name>.md`, then write again with the version it prints, or pick a new file name.
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.
@@ -21,12 +21,13 @@ Show the plan in full, including open questions. Do not implement until the user
21
21
 
22
22
  ## 3. Implement
23
23
 
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
+
24
26
  ```
25
- vibest project write scratch pipeline-<topic>-plan.md --if-version new -- '<the agreed plan, verbatim>'
26
- vibest run <harness> --title 'Implement <topic>' -- 'Implement the plan at <absolute scratch 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.'
27
28
  ```
28
29
 
29
- Its id is <implementer id>. The absolute path is `scratchPath` from `vibest project info`, plus the file name. If write says the file already exists, `vibest project read scratch pipeline-<topic>-plan.md`, then write again with the version it prints, or pick a new 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.
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.
30
31
 
31
32
  ## 4. Review
32
33
 
@@ -34,7 +35,7 @@ Its id is <implementer id>. The absolute path is `scratchPath` from `vibest proj
34
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.
35
36
 
36
37
  ```
37
- vibest run <harness> --title 'Review <topic>' --peer <implementer id> -- 'Review the change on this branch against the plan at <absolute scratch 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.'
38
39
  ```
39
40
 
40
41
  Its id is <reviewer id>. Do not pass `--archive-on-completion`: later rounds go to this reviewer with `vibest send`.
@@ -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/apps/vibest-herdr/herdr-plugin
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.16",
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": "apps/vibest-herdr"
9
+ "directory": "packages/cli"
10
10
  },
11
11
  "bin": {
12
12
  "vibest": "./bin/vibest.cjs"
@@ -32,25 +32,28 @@
32
32
  "devDependencies": {
33
33
  "@effect/platform-bun": "4.0.2",
34
34
  "@effect/sql-sqlite-bun": "4.0.2",
35
- "@vibest/client": "0.0.1-beta.16",
36
- "@vibest/core": "0.0.1-beta.16",
37
- "@vibest/plugin": "0.0.1-beta.16",
38
- "@vibest/protocol": "0.0.1-beta.16",
39
- "@vibest/runtime-herdr": "0.0.1-beta.16",
40
- "@vibest/schema": "0.0.1-beta.16",
41
- "@vibest/server": "0.0.1-beta.16",
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",
42
45
  "effect": "4.0.2",
43
- "effect-herdr-sdk": "0.0.1-beta.16"
46
+ "effect-herdr-sdk": "0.0.1-beta.18"
44
47
  },
45
48
  "optionalDependencies": {
46
- "@vibest/cli-darwin-arm64": "0.0.1-beta.16",
47
- "@vibest/cli-linux-x64": "0.0.1-beta.16"
49
+ "@vibest/cli-darwin-arm64": "0.0.1-beta.18",
50
+ "@vibest/cli-linux-x64": "0.0.1-beta.18"
48
51
  },
49
52
  "scripts": {
50
53
  "build": "bun scripts/build.ts && bun scripts/build-harnesses.ts",
51
54
  "build:darwin-arm64": "bun scripts/build.ts ../../packages/cli-darwin-arm64/bin/vibest bun-darwin-arm64",
52
55
  "build:linux-x64": "bun scripts/build.ts ../../packages/cli-linux-x64/bin/vibest bun-linux-x64",
53
56
  "typecheck": "tsrs --noEmit --fast",
54
- "test": "cd ../.. && bun ./node_modules/vitest/vitest.mjs run apps/vibest-herdr"
57
+ "test": "cd ../.. && bun ./node_modules/vitest/vitest.mjs run packages/cli"
55
58
  }
56
59
  }